:root {
  --color-teal: #63AC9F;
  --color-soft-mint: #E6F4F2;
  --color-deep-slate: #2E3D3B;
  --color-blue-grey: #8FAEAE;
  --color-soft-grey: #F4F6F7;
  --color-warm-sand: #F7F3ED;
  --color-tech-blue: #3B7EA1;
  --color-neutral-grey: #E0E4E6;
  --color-tagline-grey: #ADAAA1;
  --color-background-white: #ffffff;

  --font-heading: "Bahnschrift", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1200px;
}

html {
  scroll-behavior: smooth;
}

/* Global reset-ish */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-deep-slate);
  background-color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Layout wrapper */

.page-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header / Nav */

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, var(--color-soft-mint) 0%, #ffffff 120%);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #edf0f2;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  position: relative;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

/* NAV container */

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* NAV menu (desktop default) */

.nav-menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.nav-menu a {
  position: relative;
  padding: 0.25rem 0;
  border-radius: 0.4rem;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-teal);
  transition: width 0.2s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

/* HAMBURGER BUTTON (hidden on desktop) */

.nav-toggle {
  display: none; /* shown only on <= 900px */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 38px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid var(--color-neutral-grey);
  background: #ffffffcc;
  cursor: pointer;
  padding: 0;
}

/* Mobile / tablet nav */
@media (max-width: 900px) {
  .nav-logo img {
    height: 32px;
    width: auto;
  }
}

.nav-toggle:hover {
  border-color: var(--color-teal);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  background: var(--color-deep-slate);
  border-radius: 999px;
}

/* Language dropdown */

.lang-switch {
  position: relative;
  font-size: 0.85rem;
  color: var(--color-tagline-grey);
  white-space: nowrap;
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid var(--color-neutral-grey);
  background: #ffffffcc;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: var(--color-teal);
  color: var(--color-deep-slate);
}

.lang-flag {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  object-fit: cover;
}

.lang-code {
  font-weight: 500;
}

.lang-menu {
  position: absolute;
  right: 0;
  margin-top: 0.35rem;
  background: #ffffff;
  border-radius: 0.6rem;
  border: 1px solid #dde2e5;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  padding: 0.3rem 0;
  list-style: none;
  min-width: 140px;
  display: none;
  z-index: 100;
}

.lang-menu.open {
  display: block;
}

.lang-menu li button {
  width: 100%;
  padding: 0.35rem 0.8rem;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  cursor: pointer;
  text-align: left;
}

.lang-menu li button:hover {
  background: var(--color-soft-grey);
}


/* Hero */

#hero {
  position: relative;
  overflow: hidden;
  background:
    url("images/hero-dots_new6.svg") right center / cover no-repeat,
    linear-gradient(180deg, var(--color-soft-mint) 0%, #ffffff 60%);
}

/* overlay radijalni highlight-i ostaju u ::before */
#hero::before {
  content: "";
  position: absolute;
  inset: -40% -50%;
  background:
    radial-gradient(circle at 10% 20%, rgba(99,172,159,0.22) 0, transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(58,126,161,0.18) 0, transparent 60%),
    radial-gradient(circle at 85% 90%, rgba(143,174,174,0.16) 0, transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding: 4rem 0 3rem;
  text-align: left;
}


.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4vw, 3rem);
  line-height: 1.1;
  margin: 0 0 1.1rem;
}

.hero-subtitle {
  max-width: 540px;
  font-size: 1rem;
  color: var(--color-tagline-grey);
  margin-bottom: 1.8rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease,
              transform 0.1s ease, box-shadow 0.1s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-teal);
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(99, 172, 159, 0.35);
}

.btn-primary:hover {
  background: #76bdb1;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(99, 172, 159, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-deep-slate);
  border-color: var(--color-teal);
}

.btn-secondary:hover {
  background: rgba(99, 172, 159, 0.08);
  transform: translateY(-1px);
}

/* Tertiary button – specifično za ovakve CTA-e */
.btn-tertiary {
  background-color: #2E3D3B;
  color: #ffffff;
  border: 1px solid #2E3D3B;
}

.btn-tertiary:hover {
  background-color: #3f4f4d;
  border-color: #3f4f4d;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 3.5rem 0;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 2.2rem;
}

/* What We Do */

#services {
  background: linear-gradient(180deg, var(--color-soft-mint) 0%, #ffffff 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.8rem 1.6rem 2rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
  border: 1px solid #edf0f2;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.09);
}

.feature-icon {
  width: 88px;
  height: 88px;
  border-radius: 22px;
  background: var(--color-soft-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.feature-icon img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.feature-text {
  font-size: 0.93rem;
  color: #4b5554;
}

/* Trusted By */

#trusted {
  background: #f7f8f9;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
}

.trusted-inner {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: center;
}

.trusted-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

.trusted-item {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-tagline-grey);
  transition: transform 0.15s ease;
  max-width: 260px;
}

.trusted-logo {
  height: 64px;
  margin: 0 auto 0.65rem;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.trusted-item:hover .trusted-logo {
  transform: scale(1.05);
  opacity: 1;
}

.trusted-meta {
  text-align: center;
}

/* Insights */

#insights {
  background: #ffffff;
}

.insights-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-tagline-grey);
  max-width: 520px;
  margin: 0 auto 2rem;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.insight-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #edf0f2;
  padding: 1.3rem 1.3rem 1.5rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.09);
}

.insight-thumb {
  margin-bottom: 0.8rem;
  border-radius: 0.8rem;
  overflow: hidden;
  background: var(--color-soft-grey);
}

.insight-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

/* na hover kartice: blagi zoom slike */
.insight-card:hover .insight-thumb img {
  transform: scale(1.04);
}

.insight-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-tagline-grey);
  margin-bottom: 0.4rem;
}

.insight-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.insight-excerpt {
  font-size: 0.88rem;
  color: #4b5554;
  margin-bottom: 0.8rem;
}

.insight-link {
  font-size: 0.85rem;
  color: var(--color-teal);
  font-weight: 500;
}

.insights-cta {
  text-align: center;
  margin-top: 2rem;
}

/* About */

#about {
  background: var(--color-warm-sand);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: center;
}

/* Improve readability + visual balance in About section */

/* 1) Narrow text column to improve alignment with photo */
.about-inner .fade-in-up {
  max-width: 650px;
}

/* 2) Increase line height for easier reading */
.about-text {
  line-height: 1.6;
}

.about-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-text {
  font-size: 0.95rem;
  color: #384241;
  margin-bottom: 0.75rem;
}

.about-meta {
  font-size: 0.9rem;
  color: var(--color-tagline-grey);
  margin-top: 0.4rem;
  display: flex;
  align-items: flex-start;
  gap: 0.35rem;
}

.location-pin-img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.about-photo {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-links {
  text-align: center;
  margin-top: 0.5rem;
}

.about-links a {
  font-size: 0.9rem;
  color: var(--color-teal);
  font-weight: 500;
}

/* Contact */

#contact {
  background: #ffffff;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.4fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-text-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
}

.contact-text-body {
  font-size: 0.95rem;
  color: #4b5554;
  margin: 0.8rem 0 0.6rem;
}

.contact-links {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--color-tagline-grey);
}

.contact-links ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

.contact-links li {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
}

.contact-links .icon {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-soft-grey);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-links .icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.contact-links a {
  color: var(--color-teal);
  font-weight: 500;
}

/* Form */

form {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #edf0f2;
  padding: 1.8rem 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
  color: #616a69;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  border: 1px solid #dde2e5;
  font-family: inherit;
  font-size: 0.9rem;
  margin-bottom: 0.9rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
textarea:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 1px rgba(99, 172, 159, 0.3);
  outline: none;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */

footer {
  background: var(--color-soft-grey);
  border-top: 1px solid #dde2e5;
  padding: 1.5rem 0 1.6rem;
  font-size: 0.68rem;
  color: var(--color-tagline-grey);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-text {
  max-width: 480px;
}

.footer-links {
  display: flex;
  justify-content: center;
}

.footer-tagline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-tagline-grey);
}

.footer-tagline-accent {
  color: var(--color-teal);
}

/* malo dodatno smanjenje na jako uskim ekranima */
@media (max-width: 620px) {
  .footer-tagline {
    font-size: 0.48rem;
    padding: 0.28rem 0.9rem;
    letter-spacing: 0.09em;
  }
}

/* ======================= */
/*   SCROLL ANIMATIONS     */
/* ======================= */

.fade-in-up {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.08s;
}

.delay-2 {
  transition-delay: 0.16s;
}

.delay-3 {
  transition-delay: 0.24s;
}

.zoom-in {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-25px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

fade-scale {
  opacity: 0;
  transform: translateY(15px) scale(0.97);
  transition:
    opacity 0.65s ease-out,
    transform 0.65s ease-out;
}

.fade-scale.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}



/* ======================= */
/*      RESPONSIVE BASE    */
/* ======================= */

/* 1) NAV breakpoint – 900px */

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.5rem 1rem;
    border-bottom: 1px solid #edf0f2;
    gap: 0.4rem;
    display: none;
    z-index: 40;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    padding: 0.35rem 0.1rem;
    border-radius: 0.35rem;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover,
  .nav-menu a:active {
    background: var(--color-soft-grey);
  }

  .trusted-logos {
    gap: 1.5rem;
  }

  .about-inner,
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* 2) Tablet – 768px */

@media (max-width: 768px) {
  .hero-inner {
    padding: 3rem 0 2.5rem;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .features-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .about-inner {
    text-align: center;
  }

  .about-meta {
    justify-content: center;
  }

  .contact-inner {
    gap: 2rem;
  }
}

/* 3) Phone – 480px */

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .page-container {
    padding: 0 1.2rem;
  }
}

/* =============================== */
/*  INSIGHTS PAGE – LAYOUT & UI    */
/* =============================== */

#insights-page {
  background: #f8fbfb;
}

/* HERO INSIGHTS PAGE */
.insights-hero {
  padding: 0.5rem 0 0.5rem;
}

.insights-hero-cover-wrap {
  width: 100%;
  margin: 0 auto 1.8rem;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
}

.insights-hero-cover {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.insights-hero-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.insights-hero-text h1 {
  font-size: 2rem;
  line-height: 1.2;
  color: var(--color-deep-slate, #2e3d3b);
  margin-bottom: 0.6rem;
}

.insights-hero-text p {
  margin: 0.25rem 0;
  font-size: 0.98rem;
  color: #46615d;
}

.insights-hero-sub {
  font-size: 0.93rem;
  opacity: 0.9;
}

/* SUBSCRIBE SEKCIJA */

.insights-subscribe {
  padding: 1.5rem 0 0.5rem;
}

.insights-subscribe-card {
  max-width: 640px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.8rem 1.6rem 1.9rem;
  box-shadow: 0 18px 40px rgba(103, 107, 106, 0.05);
  border: 1px solid #edf0f2;
  text-align: center;
}

.insights-subscribe-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.insights-subscribe-text {
  font-size: 0.9rem;
  color: #4b5554;
  margin-bottom: 1.1rem;
}

.insights-subscribe-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.insights-subscribe-input {
  flex: 1 1 220px;
  max-width: 320px;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #dde2e5;
  font-size: 0.9rem;
  font-family: inherit;
}

.insights-subscribe-input:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 1px rgba(99, 172, 159, 0.3);
}

.insights-subscribe-btn {
  padding-inline: 1.4rem;
}

.insights-subscribe-note {
  font-size: 0.78rem;
  color: #7a8c89;
}

/*GRID SEKCIJA */

.insights-list-section {
  padding: 2.3rem 0 2.8rem;
}

.insights-controls {
  max-width: 1200px;
  margin: 0 auto 1.4rem;
}

.insights-controls-main {
  display: flex;
  align-items: center;
  justify-content: flex-start; /* ← umjesto space-between */
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.86rem;
  color: #6b7a78;
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid #d3dddb;
  background: #ffffff;
  font-size: 0.85rem;
  cursor: pointer;
}

.filter-toggle-btn:hover {
  border-color: var(--color-teal);
  background: #f4f6f7;
}

.filter-toggle-btn.open {
  border-color: var(--color-teal);
  background: var(--color-soft-mint);
}

.filter-toggle-icon {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  opacity: 0.7;
}

.filter-toggle-btn.open .filter-toggle-icon {
  transform: rotate(180deg);
  opacity: 1;
}

.insights-controls-hint {
  font-size: 0.8rem;
  color: #7a8c89;
}

.insights-filters-row {
  margin-top: 0.7rem;
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.84rem;
  color: #6b7a78;
}

.insights-filters-row.open {
  display: flex;
}

.insights-controls-label {
  font-weight: 500;
}

/* Tag pill dugmad */


.filter-pill {
  border-radius: 999px;
  padding: 0.28rem 0.85rem;
  border: 1px solid #d3dddb;
  background: #ffffff;
  font-size: 0.8rem;
  cursor: pointer;
}

.filter-pill:hover {
  border-color: var(--color-teal);
}

.filter-pill.active {
  background: var(--color-soft-mint);
  border-color: var(--color-teal);
  color: var(--color-deep-slate);
}

/* Kartice – 3-kolonski GRID na desktopu */

.insights-list-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

/* osnovna kartica (scopovano na insights-page da ne dira home) */
.insights-list-inner .insight-card {
  background: #ffffff;
  border-radius: 1rem;
  border: 1px solid #edf0f2;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.04);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.insights-list-inner .insight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

/* da cijela kartica bude klikabilna */
.insights-list-inner .insight-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* thumbnail sa overlay tagom */
.insight-card-thumb {
  position: relative;
  border-radius: 1.2rem;
  overflow: hidden;
  height: 170px;            /* možeš probati i 170–190px */
  transition: transform 0.25s ease;
}

/* Slika unutar thumb-a */
.insight-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tag – spušten dolje lijevo */
.insight-card-tag {
  position: absolute;
  left: 0.4rem;
  bottom: 0.2rem;          /* umjesto top: ... */
  padding: 0.22rem 0.9rem;
  border-radius: 999px;
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 0, 0, 0.03);
  color: #4b5554;          /* neutralno sivo */
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

/* tekstualni dio */
.insights-list-inner .insight-card-body {
  padding: 0.9rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.insights-list-inner .insight-card-title {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
}

.insights-list-inner .insight-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4b5554;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;      /* 2–3 linije max */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insights-list-inner .insight-card:hover .insight-card-image {
  transform: scale(1.02);
}


/* ZA KOGA JE SADRŽAJ */

/* Insights – Audience */

.insights-audience {
  background: #F7F3ED; 
  padding: 4rem 0;
}

.insights-audience-title {
  text-align: center;
  margin-bottom: 2.6rem;
}

.insights-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.insights-audience-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.9rem 1.6rem 2.2rem;
  border: 1px solid #edf0f2;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.insights-audience-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
}

/* Icon wrapper */
.insights-audience-icon {
  width: 76px;
  height: 76px;
  border-radius: 20px;
  background: var(--color-warm-sand); 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.insights-audience-icon img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* Typography */
.insights-audience-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.insights-audience-card p {
  font-size: 0.93rem;
  color: #4b5554;
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 900px) {
  .insights-audience-grid {
    grid-template-columns: 1fr;
  }
}


/* AUTHOR BOX */

.insights-author {
  padding: 2.2rem 0 3rem;
}

.insights-author-card {
  max-width: 720px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.insights-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: #f4f6f7;
}

.insights-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.insights-author-body h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
}

.insights-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.insights-author-body p {
  font-size: 0.9rem;
  color: #4b5554;
  margin: 0 0 0.4rem;
}

.insights-author-body a {
  color: var(--color-teal);
  font-weight: 500;
}

/* mobile: poravnanje i layout */
@media (max-width: 560px) {
  .insights-author-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: start;
    text-align: left; /* default za tekst */
  }

  /* centriraj samo avatar + naslov */
  .insights-author-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto;            /* centriraj avatar */
  }

  .insights-author-body h2 {
    text-align: center;        /* centriraj "O autoru" */
  }

  /* opcionalno: i ime može biti centrirano, izgleda urednije */
  .insights-author-name {
    text-align: center;
  }
  /* opcionalno: i cijeli tekst može biti centrirano, izgleda urednije */
  .insights-author-body p {
    text-align: center;
  }

}


/* RESPONSIVE TWEAKS */

@media (max-width: 900px) {
  .insights-hero-cover {
    height: 220px;
  }

  .insights-audience-grid {
    grid-template-columns: 1fr;
  }

  /* na tablet / manjem laptopu: 2 kolone */
  .insights-list-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .insights-hero {
    padding-top: 2rem;
  }

  .insights-hero-cover {
    height: 190px;
  }

  .insights-subscribe-card {
    padding-inline: 1.2rem;
  }

  .insights-author-card {
    grid-template-columns: 1fr;
    text-align: left;
  }

  /* telefon: 1 kolona */
  .insights-list-inner {
    grid-template-columns: 1fr;
  }
}

/* === INSIGHTS ANIMATIONS === */

@keyframes insights-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes insights-fade-soft {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* === INSIGHTS ANIMATIONS === */

@keyframes insights-fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes insights-fade-soft {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* HERO animacija */
.insights-hero-cover-wrap,
.insights-hero-text {
  opacity: 0;
  animation: insights-fade-soft 0.7s ease-out forwards;
}

.insights-hero-text {
  animation-delay: 0.1s;
}

/* Subscribe kartica – lagani fade-in */
.insights-subscribe-card {
  opacity: 0;
  animation: insights-fade-soft 0.7s ease-out 0.48s forwards;
}

/* Subscribe kartica – lagani fade-in */
.insights-subscribe-card {
  opacity: 0;
  animation: insights-fade-soft 0.7s ease-out 0.48s forwards;
}

/* Za koga je sadržaj? */
.insights-audience-title,
.insights-audience-item {
  opacity: 0;
  animation: insights-fade-up 0.6s ease-out forwards;
}

.insights-audience-title {
  animation-delay: 0.2s;
}

.insights-audience-item:nth-child(1) {
  animation-delay: 0.26s;
}
.insights-audience-item:nth-child(2) {
  animation-delay: 0.32s;
}
.insights-audience-item:nth-child(3) {
  animation-delay: 0.38s;
}

/* Author box */
.insights-author-card {
  opacity: 0;
  animation: insights-fade-soft 0.7s ease-out 0.25s forwards;
}


/* NEWSLETTER - U PRIPREMI */

.newsletter-disabled {
  position: relative; /* da overlay može da se centrirа unutar kartice */
}

/* overlay koji sjedi iznad forme */
.newsletter-overlay {
  position: absolute;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;     /* overlay je samo vizuelan, klikovi ne trebaju */
}

.newsletter-overlay img {
  max-width: 280px;         /* prilagodi veličini tvog PNG/SVG-a */
  width: 30%;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));

  /* jednostavna animacija pojavljivanja / nestajanja */
  animation: newsletter-pulse 0.7s ease-in-out infinite;
}

/* keyframes za pulse efekat */
@keyframes newsletter-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(0.97);
  }
  20% {
    opacity: 1;
    transform: scale(1);
  }
}


/* vizuelno "disable" input + dugme */

.insights-subscribe-input[disabled],
.insights-subscribe-btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* malo blaži izgled dugmeta kad je disabled */
.insights-subscribe-btn[disabled] {
  background: #bcded7;              /* svjetlija teal nijansa */
  box-shadow: none;
}


/* Language overlay (Insights: EN not available) */
.lang-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 1.2rem;
}

.lang-overlay.is-visible {
  display: flex;
}

.lang-overlay-dialog {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem 2.2rem;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.18);
}

.lang-overlay-dialog h2 {
  margin: 0 0 0.7rem;
  font-size: 1.1rem;
}

.lang-overlay-dialog p {
  margin: 0 0 1.4rem;
  font-size: 0.95rem;
  color: #4b5554;
}

.lang-overlay-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

/* ========================= */
/*       LEGAL  PAGE         */
/* ========================= */

#legal-page {
  background: #f8fbfb;
}

.legal-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem 0 4rem;
}

.legal-intro h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.legal-intro p {
  font-size: 0.95rem;
  color: #3f5350;
}

.legal-intro p + p {
  margin-top: 0.5rem;
}

.legal-section {
  margin-top: 2.3rem;
  background: #ffffff;
  border-radius: 1.2rem;
  padding: 1.8rem 1.6rem 1.9rem;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.04);
}

.legal-section h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin: 0 0 1rem;
}

.legal-section h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  margin: 1.1rem 0 0.45rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.95rem;
  color: #3f5350;
}

.legal-section ul {
  padding-left: 1.1rem;
  margin: 0.3rem 0 0.6rem;
}

.legal-updated {
  margin-top: 1.4rem;
  font-size: 0.85rem;
  color: #7a8c89;
}

/* mob */
@media (max-width: 600px) {
  .legal-wrapper {
    padding: 3rem 0 3.5rem;
  }

  .legal-section {
    padding-inline: 1.2rem;
  }
}

/* Link za pravila privatnosti / uslove korištenja */

.legal-link {
  color: var(--color-teal);
  font-weight: 500;
}

.legal-link:hover {
  color: #3b857b;
  text-decoration: underline;
}


/* ======================================= */
/*            ARTICLE PAGE                 */
/* ======================================= */

/* Ako koristiš .article-body-bg kao wrapper u HTML-u, ostavi.
   Ako ne koristiš nigdje - slobodno obriši. */
.article-body-bg {
  background: #ffffff;
}

/* drži pozadinu kroz cijeli viewport */
#article-page {
  min-height: 100vh;
}

/* zajednička širina za sve sekcije na article page-u */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* TOPBAR */
.article-topbar {
  padding: 1rem 0 0.25rem;
}

.article-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between; /* desktop: lijevo/desno */
  gap: 0.75rem;
}

/* U topbaru dugmad trebaju biti manja (navigacija, ne CTA) */
.article-topbar-inner .btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.9rem;
  line-height: 1;
  white-space: nowrap;
}

/* Mobile: zadrži razmak, ali nemoj forsirati stacked dugmad */
@media (max-width: 520px) {
  .article-topbar-inner {
    gap: 0.6rem;
  }

  .article-topbar-inner .btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.88rem;
  }
}

/* ARTICLE */
.article-section {
  padding: 0.5rem 0;
}

.article {
  padding: 1.5rem 0 2rem;
}

.article-header {
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2rem;
  line-height: 1.25;
  margin: 0 0 0.75rem;
  color: var(--color-deep-slate);
}

.article-meta {
  font-size: 0.85rem;
  color: #7a8c89;
}

.article-hero {
  margin-top: 1.5rem;
  margin-bottom: 1.8rem; /* malo više da tekst diše */
}

.article-hero img {
  width: 100%;
  display: block; /* uklanja inline-gap */
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.05);
}

.article-body {
  font-size: 1rem;
  line-height: 1.7;
  color: #3f5350;
}

/* Ritam teksta */
.article-body p {
  margin: 0 0 1.25rem;
}

/* Veći razmak između glavnih sekcija */
.article-body h2 {
  margin-top: 3.2rem;
  margin-bottom: 0.9rem;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-deep-slate);
}

.article-body h2:first-of-type {
  margin-top: 2.2rem;
}

/* H3 diskretniji od H2 */
.article-body h3 {
  margin-top: 1.8rem;
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: #4b5f5c;
}

/* Liste */
.article-body ul {
  margin: 1.2rem 0 1.4rem;
  padding-left: 2rem;          /* ključni indent */
}

.article-body li {
  margin: 0.45rem 0;
  padding-left: 0.25rem;       /* mrvicu prostora iza bulleta */
}


/* Blockquote */
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1rem 1.1rem;
  border-left: 4px solid rgba(99, 172, 159, 0.55);
  background: rgba(255, 255, 255, 0.55);
  border-radius: 0.9rem;
  color: #3f5350;
}

/* ARTICLE INTRO / LEDE */
.article-intro {
  text-align: center;
  margin: 2rem 0 3rem;
}

.article-intro p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #63AC9F; /* mekše od body teksta */
  margin-bottom: 1rem;
}

.article-intro::after {
  content: "";
  display: block;
  width: 60px;
  height: 2px;
  margin: 2rem auto 0;
  background: rgba(99, 172, 159, 0.45); /* teal */
  border-radius: 999px;
}

.article-intro p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Editorial helpers */
.article-body strong {
  color: var(--color-deep-slate);
  font-weight: 700;
}

.article-body .key {
  color: var(--color-teal);
  font-weight: 600;
}

.article-body .mark {
  background: rgba(230, 244, 242, 0.85); /* soft-mint */
  border-radius: 0.5rem;
  padding: 0.08rem 0.32rem;
}

.article-body .u {
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(99, 172, 159, 0.55);
}


/* ARTICLE O AUTORU SEKCIJA */


.article-author {
  background: #F7F3ED; 
  padding: 1.4rem 0 3rem;
}

.article-author-card {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;

  padding: 1.6rem 1.5rem;
  background: #ffffff;
  border-radius: 1.4rem;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
}


.article-author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 999px;
  overflow: hidden;
  background: #f4f6f7;
}

.article-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-author-body h2 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin: 0 0 0.35rem;
  color: var(--color-deep-slate);
}

.article-author-name {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-deep-slate);
}

.article-author-body p {
  font-size: 0.9rem;
  color: #4b5554;
  margin: 0 0 0.5rem;
}

.article-author-body a {
  color: var(--color-teal);
  font-weight: 500;
  text-decoration: none;
}

.article-author-body a:hover {
  text-decoration: underline;
}

/* mobile: poravnanje i layout */
@media (max-width: 560px) {
  .article-author-card {
    grid-template-columns: 1fr;
    gap: 0.9rem;
    align-items: start;
    text-align: left; /* default za tekst */
  }

  /* centriraj samo avatar + naslov */
  .article-author-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto;            /* centriraj avatar */
  }

  .article-author-body h2 {
    text-align: center;        /* centriraj "O autoru" */
  }

  /* opcionalno: i ime može biti centrirano, izgleda urednije */
  .article-author-name {
    text-align: center;
  }

  /* opcionalno: i cijeli tekst može biti centrirano, izgleda urednije */
  .article-author-body p {
    text-align: center;
}
}

/* zajednička širina za sve sekcije na article page-u */
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Thank you page layout */
.thanks-page {
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.thanks-page .container {
  max-width: 640px;
  margin: 0 auto;
}

.thanks-page .btn {
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
  border-radius: 999px;
}




/* iOS/Safari: prevent default blue text on buttons */
.lang-switch button,
.lang-menu button,
.filter-toggle-btn,
.filter-pill {
  color: var(--color-deep-slate);
  -webkit-text-fill-color: var(--color-deep-slate); /* iOS */
  text-decoration: none;
}

/* opcionalno: da buttoni ne dobiju "native iOS" look */
.lang-switch button,
.filter-toggle-btn,
.filter-pill {
  -webkit-appearance: none;
  appearance: none;
  font: inherit;
}

.filter-pill,
.lang-switch button {
  -webkit-tap-highlight-color: transparent;
}


/* iOS/Safari: prevent weird scaling of the images */
.insights-hero-cover {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

