/* =========================
   1) DESIGN TOKENS (VARIJABLE)
========================== */
:root {
  --bg: #f6f6f6;
  --white: #fff;
  --text-primary: #143749;
  --text-secondary: #5e696f;

  --dark: #061116;

  --accent: #163e52;
  --accent-green: #1ad3a8;

  --radius-sm: 2px;
  --radius: 4px;
  --radius-card: 16px;

  --container: 1440px;
  --post-container: 1000px;

  /* ===== 4px GRID SPACING (core set) ===== */
  --s-4: 4px;
  --s-8: 8px;
  --s-12: 12px;
  --s-16: 16px;
  --s-24: 24px;
  --s-32: 32px;
  --s-40: 40px;
  --s-48: 48px;
  --s-64: 64px;
  --s-96: 96px;
  --s-128: 128px;

  /* Semantički spacing */
  --gap: var(--s-24);
  --gutter: clamp(var(--s-16), 4vw, 56px);
  --section: clamp(56px, 12vw, 96px);

  --nav-h: 68px;
  --drawer-pad: var(--s-24);

  --btn-py: var(--s-8);
  --btn-px: var(--s-16);

  --serif: "IBM Plex Serif", serif;
  --sans: "Geist", sans-serif;

  --h1: clamp(40px, 4vw, 64px);
  --h2: clamp(30px, 2.2vw, 48px);
  --h3: clamp(22px, 1.5vw, 36px);
  --h4: clamp(20px, 1.3vw, 28px);
  --p: 18px;

  --ease: cubic-bezier(0.2, 0.9, 0.2, 1);
  --dur: 0.75s;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text-secondary);
  background: var(--white);
  font-size: var(--p);
  line-height: 1.45;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  color: var(--text-primary);
  text-underline-offset: 0.18em;
  transition: text-decoration-color 0.25s ease;
}

a:hover {
  text-decoration-color: transparent;
}

strong {
  font-weight: 600;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (max-width: 1024px) {
  .container {
    margin: 0;
  }
}

.section {
  padding: var(--section) 0;
}

.section.light {
  background: var(--bg);
}

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

.section.dark {
  background: var(--text-primary);
}

.label {
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: var(--s-8);
}

h1 {
  font-family: var(--serif);
  font-size: var(--h1);
  font-weight: 500;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}

h2 {
  font-family: var(--serif);
  font-size: var(--h2);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}

h3 {
  font-family: var(--serif);
  font-size: var(--h3);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}

h4 {
  font-family: var(--serif);
  font-size: var(--h4);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}

p {
  font-family: var(--sans);
  font-size: var(--p);
}

section .container ul {
  padding-left: 20px;
  margin-bottom: var(--s-16);
}

section .container ul li {
  margin-bottom: var(--s-4);
}

section .container ul li::marker {
  color: var(--text-primary);
}

/* =========================
   2) NAV
========================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  color: var(--text-primary);
  border-bottom: 1px solid var(--bg);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}

.brand {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 1px;
}

.brand img {
  height: 48px;
}

#navToggle {
  display: none;
}

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  position: relative;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text-primary);
  transition:
    transform 0.25s var(--ease),
    top 0.25s var(--ease),
    opacity 0.25s var(--ease);
}

.burger span::before {
  top: -6px;
}
.burger span::after {
  top: 6px;
}

.mobile {
  display: flex;
  align-items: center;
  gap: var(--s-8);
}
.mobile .burger {
  margin-bottom: 0 !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--gap);
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-links a {
  text-decoration: none;
  opacity: 0.92;
  transition: opacity 0.2s ease;
}

.nav-links a:hover {
  opacity: 0.6;
}

.btn {
  font-size: 16px;
  font-weight: 500;
  font-family: var(--sans);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--btn-py) var(--btn-px);
  border-radius: var(--radius);
  white-space: nowrap;
  border: 0;
}
.btn:hover {
  cursor: pointer;
}

.btn.primary {
  background: var(--accent-green);
  color: var(--text-primary);
}
.btn.primary:hover {
  filter: brightness(0.98);
}

.btn.ghost {
  border: 1px solid var(--white);
  color: var(--white);
}
.btn.ghost:hover {
  filter: brightness(0.95);
}

/* mobile nav drawer */
@media (max-width: 860px) {
  .mobile .btn.primary {
    display: none;
  }
  .burger {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: var(--nav-h);
    right: 0;
    width: min(360px, 90vw);
    height: calc(100vh - var(--nav-h));
    background: var(--bg);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--drawer-pad);
    gap: var(--gap);
    transform: translateX(110%);
    transition: transform 0.35s var(--ease);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    width: 100%;
    display: block;
  }
  #navToggle:checked ~ .nav-links {
    transform: translateX(0);
  }

  #navToggle:checked + label.burger span {
    background: transparent;
  }
  #navToggle:checked + label.burger span::before {
    top: 0;
    transform: rotate(45deg);
  }
  #navToggle:checked + label.burger span::after {
    top: 0;
    transform: rotate(-45deg);
  }
}

/* ===== MENU DROPDOWN BASE ===== */
.has-dropdown {
  position: relative;
}

.dropdown-toggle {
  all: unset;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle:hover {
  opacity: 0.6;
}

/* arrow */
.dropdown-toggle::after {
  content: "▾";
  font-size: 15px;
  transition: transform 0.25s ease;
}

/* ===== DROPDOWN MENU ===== */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: -10px;
  min-width: 245px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 5px 0;
  list-style: none;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.1);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 50;
}

.dropdown li a {
  display: block;
  padding: 11px 15px;
  font-size: 15px;
  line-height: normal;
  text-decoration: none;
  color: var(--text-primary);
}

.dropdown li a:hover {
  background: var(--bg);
}

/* ===== DESKTOP HOVER ===== */
@media (min-width: 861px) {
  .has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .has-dropdown::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 10px;
  }

  .has-dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
  }

  .dropdown-check {
    display: none;
  }
}

/* ===== MOBILE DRAWER ===== */

@media (max-width: 860px) {
  .has-dropdown {
    width: 100%;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
  }

  .dropdown li a {
    padding-left: 12px;
    font-size: 15px;
  }

  .dropdown-check {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
  }

  .dropdown-check:checked ~ .dropdown {
    display: block;
  }

  .dropdown-check:checked + .dropdown-toggle::after {
    transform: rotate(180deg);
  }
}

/* =========================
   3) HERO
========================== */
.hero {
  height: 80vh;
  background:
    linear-gradient(
      to right,
      rgba(6, 17, 22, 1),
      rgba(6, 17, 22, 0.8),
      rgba(6, 17, 22, 0.4),
      rgba(6, 17, 22, 0.1)
    ),
    url("/assets/hero-image.webp");
  display: flex;
  align-items: end;
  padding-bottom: 48px;
  color: var(--white);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
.hero h1 {
  color: var(--white);
}

.tagline {
  font-style: italic;
  margin: var(--s-4) 0 var(--s-4);
}

.hero p {
  max-width: 56ch;
  margin-bottom: var(--s-24);
}

.hero-actions {
  display: flex;
  gap: var(--s-16);
  flex-wrap: wrap;
}

@media (min-width: 1024px) {
  .hero {
    height: 62vh;
    background-repeat: no-repeat;
    background-size: cover;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-card img {
    height: 320px;
  }
  .hero {
    background:
      linear-gradient(to top, rgba(6, 17, 22, 1), rgba(6, 17, 22, 0.05)),
      url("assets/hero-image.webp");
    background-position: center;
  }
}

/* =========================
   4) ABOUT
========================== */

.about-grid .left p,
.about-right p {
  margin-bottom: var(--s-12);
}

.about-right a,
.faq-item a {
  color: var(--text-primary);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(var(--s-24), 4vw, 56px);
  align-items: start;
}

.bullets {
  margin: var(--s-24) 0 var(--s-24);
  font-family: var(--sans);
  font-size: var(--p);
}
.bullets svg {
  width: 24px;
  height: 24px;
}

.bullets li {
  display: flex;
  align-items: center;
  gap: var(--s-8);
  margin: var(--s-16) 0;
  text-decoration: none;
}

.wide-image {
  background: var(--white);
  padding-bottom: var(--s-64);
  padding-top: 0;
}

.wide-image .img-wrap {
  overflow: hidden;
  border-radius: var(--radius-card);
}

.wide-image img {
  width: 100%;
  height: clamp(350px, 38vw, 550px);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   5) SERVICES
========================== */
.services-head {
  display: flex;
  justify-content: space-between;
  gap: var(--s-32);
  align-items: flex-end;
  margin-bottom: var(--s-32);
}

.services-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(var(--s-24), 4vw, 56px);
  align-items: start;
}

.services-head p {
  max-width: 62ch;
}

.cards-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.card {
  overflow: hidden;
  background: var(--white);
  padding: var(--s-24);
  border-radius: var(--radius-card);
  height: 100%;
}

.card .img svg {
  fill: var(--accent-green);
  width: 40px;
  height: 40px;
}

.card .body {
  padding: var(--s-4) 0;
}

.card .body p {
  margin-top: var(--s-12);
}

@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(1, 1fr);
  }
  .cards-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cards-4 {
    grid-template-columns: 1fr;
  }
}

/* SERVICES cards (7 items) */
.services-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  grid-auto-flow: dense;
}

/* link card */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* wide card (preko 2 kolone) */
.services-cards .card--wide {
  grid-column: 1 / -1;
}

/* hover */
.card-link {
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* ikonica */
.card .img svg {
  fill: var(--accent-green);
  width: 40px;
  height: 40px;
}

/* responsive */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-cards {
    grid-template-columns: 1fr;
  }
  .services-cards .card--wide {
    grid-column: auto;
  }
}

/* GLAVNI WRAPPER */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}

/* =========================
   PRVI RED
========================== */
.services-top {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: var(--gap);
  align-items: stretch;
}

.services-head p {
  max-width: 60ch;
}

/* DUGAČKI BOX */
.service-card--wide {
  display: flex;
  gap: var(--s-24);
  padding: var(--s-32);
}

/* =========================
   DRUGI DEO – 6 BOXOVA
========================== */
.services-grid-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

/* =========================
   CARD (zajednički stil)
========================== */
.service-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--s-24);
  text-decoration: none;
  color: inherit;

  display: flex;
  flex-direction: column;
  gap: var(--s-12);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.service-card h3 {
  margin: 0;
}

.service-card p {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
}

/* =========================
   RESPONSIVE
========================== */
@media (max-width: 1100px) {
  .services-top {
    grid-template-columns: 1fr;
  }

  .services-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-grid-6 {
    grid-template-columns: 1fr;
  }
}

/* Layout: prvi red text + wide, ispod 6 kartica (3 u redu) */
.services-layout {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vw, 72px);
}

.services-top {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr; /* kao tvoj original */
  gap: clamp(var(--s-24), 4vw, 56px);
  align-items: start;
}

/* grid za 6 kartica */
.services-cards-6 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

/* wide card samo u top redu */
.card--wide {
  display: block;
}

/* klikabilna kartica */
.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.14s ease,
    box-shadow 0.14s ease;
}
.card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 1100px) {
  .services-top {
    grid-template-columns: 1fr;
  }
  .services-cards-6 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .services-cards-6 {
    grid-template-columns: 1fr;
  }
}

/* =========================
   6) PROCESS
========================== */
.center-head {
  text-align: center;
  margin-bottom: var(--s-32);
}

.process-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: var(--s-48);
  align-items: center;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-64);
  align-items: center;
}

.item {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 80%;
}
.item .number {
  font-size: 60px;
  color: var(--accent-green);
}

.item p {
  margin-top: var(--s-4);
}

.process-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-image img {
    height: 320px;
  }
}
@media (max-width: 620px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }
  .stack {
    flex-direction: row;
    gap: var(--gap);
    align-items: flex-start;
  }
  .item {
    width: 100%;
  }
}

/* =========================
   PROCESS – UL/LI verzija
========================== */

.process-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: var(--s-48);
  align-items: center;
}

/* UL reset + postojeći layout */
.stack {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  flex-direction: column;
  gap: var(--s-64);
  align-items: center;
}

/* LI = item */
.item {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 80%;
}

.item .number {
  font-size: 60px;
  color: var(--accent-green);
  font-weight: 500;
  line-height: 1;
}

.item h3 {
  margin: 0;
}

/* Image */
.process-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.process-image img {
  width: 100%;
  height: 450px;
  border-radius: var(--radius-card);
  object-fit: cover;
}

/* =========================
   RESPONSIVE
========================== */

@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .process-image img {
    height: 320px;
  }
}

@media (max-width: 620px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: var(--gap);
  }

  .stack {
    flex-direction: row;
    gap: var(--gap);
    align-items: flex-start;
  }

  .item {
    width: 100%;
  }
}

/* =========================
   7) FOCUS
========================== */
.focus-head {
  display: flex;
  justify-content: space-between;
  gap: var(--s-24);
  margin-bottom: var(--s-24);
  align-items: flex-end;
}

.focus-head p {
  max-width: 62ch;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
}

.focus-card {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr 1fr;
  align-items: center;
  border-bottom: 1px solid #d8dddf;
  padding: var(--s-24) var(--s-16);
}
.focus-card h3 {
  margin: 0;
}
.icon svg {
  fill: var(--accent-green);
}

@media (max-width: 1100px) {
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-card {
    padding: var(--s-16) var(--s-8);
  }
}

@media (max-width: 620px) {
  .focus-head {
    flex-direction: column;
    align-items: flex-start;
  }
  .focus-grid {
    grid-template-rows: 1fr;
  }
  .focus-card {
    padding: var(--s-16) 0;
    display: flex;
    flex-direction: column;
    align-items: start;
  }
}

/* =========================
   8) FAQ
========================== */
.faq-grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-48);
}

details.faq {
  padding: var(--s-16) 0;
  border-bottom: 1px solid #d8dddf;
}

details.faq summary {
  font-weight: 600;
  color: var(--text-primary);
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
}

.faq-img {
  height: 500px;
  border-radius: var(--radius-card);
}

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

details.faq summary::after {
  content: "+";
  font-size: 26px;
  line-height: 1;
  transform: translateY(-1px);
  transition: transform 0.25s var(--ease);
}

details.faq[open] summary::after {
  transform: rotate(45deg);
}

details.faq .answer {
  margin-top: var(--s-4);
  padding-right: 28px;
  font-family: var(--sans);
}

@media (max-width: 980px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .faq-img {
    height: 300px;
  }
}

/* =========================
   9) CONTACT
========================== */

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-status {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status.success {
  background: #e9f7ef;
  border: 1px solid #bfe3cf;
  color: #1e6f43;
}

.form-status.error {
  background: #fdecec;
  border: 1px solid #f3c2c2;
  color: #8a1f1f;
}

.contact {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(to top, rgba(6, 17, 22, 1), rgba(6, 17, 22, 0.6)),
    url("assets/contact-image.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--white);
}
.contact h2 {
  color: var(--white);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-32);
  align-items: start;
}

.form {
  display: grid;
  gap: var(--s-16);
}

label {
  display: block;
  margin-bottom: var(--s-4);
}
.reveal-contact {
  max-width: 46ch;
}
.reveal-contact p {
  margin-bottom: var(--s-16);
}

input,
textarea {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  padding: var(--s-12) var(--s-12);
  font-family: var(--sans);
  font-size: 16px;
  outline: none;
  background: rgba(255, 255, 255, 0.05);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
  backdrop-filter: blur(100%);
}
input::placeholder,
textarea::placeholder {
  color: #ffffff;
}
textarea {
  min-height: 130px;
  resize: vertical;
}

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

/* =========================
   10) FOOTER
========================== */
footer {
  background: var(--dark);
  color: #fff;
  padding: 56px 0 28px;
}

.foot {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--gap);
  padding-bottom: var(--s-24);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.foot span {
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--s-12);
  font-weight: 600;
}

.foot p {
  color: #fff;
  font-size: 16px;
  margin-bottom: var(--s-24);
}

.foot a {
  font-family: var(--sans);
  font-size: 16px;
  text-decoration: none;
  display: block;
  padding: var(--s-4) 0;
  color: #ffffff;
}

.foot a:hover {
  opacity: 0.8;
}

.foot .left .logo {
  height: 70px;
  margin-bottom: var(--s-16);
}
/* SOCIAL ICONS */
.socials {
  display: flex;
  gap: 16px;
}

.socials a {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    transform 200ms ease,
    border-color 200ms ease,
    background-color 200ms ease;
}
.copy {
  padding-top: var(--s-24);
  font-family: var(--sans);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 980px) {
  .foot {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 620px) {
  .foot {
    grid-template-columns: 1fr;
  }
}

/* anchor offset ispod sticky nav */
section {
  scroll-margin-top: 60px;
}

/* =========================
   REVEAL ANIMATIONS (fade + slide)
   Usage:
   <div class="reveal up">...</div>
   JS adds: .is-visible
========================= */

.reveal {
  opacity: 0;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 520ms cubic-bezier(0.6, 0.8, 0.6, 1),
    transform 520ms cubic-bezier(0.6, 0.8, 0.6, 1);
  will-change: opacity, transform;
}

/* Directions */
.reveal.up {
  transform: translate3d(0, -18px, 0);
}
.reveal.down {
  transform: translate3d(0, 18px, 0);
}
.reveal.left {
  transform: translate3d(-18px, 0, 0);
}
.reveal.right {
  transform: translate3d(18px, 0, 0);
}

/* Visible state */
.reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* Optional: stagger by inline style: style="--d:120ms" */
.reveal {
  transition-delay: var(--d, 0ms);
}

/* Reduce motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/** NOVO **/

/* ===== Services/Edukacije - HERO ===== */

.svc-hero {
  background: var(--text-primary);
  color: var(--white);
  padding: clamp(40px, 7vw, 70px) 0;
}

.svc-hero-inner {
  max-width: 980px;
}

.svc-hero-inner h1 {
  max-width: 20ch;
}

.svc-breadcrumb {
  font-size: 14px;
  line-height: 14px;
  /*letter-spacing: 0.6px;
  opacity: 0.9;*/
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 14px;
}

.svc-breadcrumb a {
  color: var(--white);
  /*opacity: 0.9;*/
  text-decoration: none;
}

.svc-breadcrumb a:hover {
  opacity: 0.8;
}

.svc-breadcrumb .sep {
  opacity: 0.6;
}

.svc-hero h1 {
  color: var(--white);
}

/* Breadcrumbs for single blog posts */
.breadcrumbs {
  font-size: 14px;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--text-secondary);
}
.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}
.breadcrumbs a:hover {
  opacity: 0.85;
}
.breadcrumbs .sep {
  color: rgba(0, 0, 0, 0.45);
}

.svc-lead {
  /*color: var(--white);
  opacity: 0.9;*/
  margin: 0;
  max-width: 60ch;
}

/* ===== Services/Edukacije - 2 blocks ===== */
.svc-intro {
  background: var(--white);
}

.svc-two {
  display: grid;
  gap: clamp(28px, 5vw, 100px);
}

.svc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

.svc-row.reverse {
  direction: rtl; /* brza fora za swap kolona */
}
.svc-row.reverse > * {
  direction: ltr;
}

.svc-copy h2 {
  margin-top: 0;
  max-width: 26ch;
}

.svc-copy p {
  max-width: 66ch;
  margin-bottom: var(--s-12);
}

.svc-image {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.svc-image img {
  width: 100%;
  height: clamp(240px, 28vw, 430px);
  object-fit: cover;
  display: block;
}

.svc-bullets {
  margin: 14px 0 14px;
  padding-left: 18px;
}

.svc-bullets li {
  margin: 8px 0;
  color: var(--text-secondary);
}

/* responsive */
@media (max-width: 980px) {
  .svc-row {
    grid-template-columns: 1fr;
  }
  .svc-row.reverse {
    direction: ltr;
  }
}

/* =========================
   EDUKACIJE – TOPICS (2 reda)
========================== */

.svc-topics .center-head {
  margin-bottom: var(--s-40);
}

/* zajedničko */
.topics-row {
  display: grid;
  gap: var(--gap);
  align-items: stretch;
}

/* RED 1: 3 jednake kolone */
.topics-row--top {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/*
RED 2: 0.5 + 1 + 1 + 0.5
= praznina pola kartice levo/desno (ukupno jedna kartica)
*/
.topics-row--bottom {
  grid-template-columns: 0.5fr 1fr 1fr 0.5fr;
  margin-top: var(--gap);
}

.topic-spacer {
  /* namerno prazno */
}

/* KARTICE */
.topic-card {
  overflow: hidden;
  background: var(--white);
  padding: var(--s-24);
  border-radius: var(--radius-card);
  height: 100%;
}

.topic-card p {
  font-family: var(--serif);
  font-size: var(--h4);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--s-16);
}

/*
.topic-card h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}
*/
/* IKONICA */
/*.topic-ico {
  width: 34px;
  height: 34px;
  color: var(--accent-green);
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
}*/

.topic-ico svg {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .topics-row--top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* na tablet: nema spacer-a, sve u 2 kolone */
  .topics-row--bottom {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: var(--gap);
  }

  .topic-spacer {
    display: none;
  }
}

@media (max-width: 620px) {
  .topics-row--top,
  .topics-row--bottom {
    grid-template-columns: 1fr;
  }
}

/* =========================
   EDUKACIJE – FORMATi (split image + dark panel)
========================== */

.svc-formats {
  background: var(--white);
}

.formats-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}

.formats-media {
  position: relative;
  overflow: hidden;
}

.formats-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.formats-panel {
  background: var(--text-primary);
  color: var(--white);
  display: flex;
  align-items: center;
}

.formats-inner {
  padding: clamp(20px, 4vw, 64px);
  max-width: 665px;
}

.formats-panel h2 {
  color: var(--white);
  margin-bottom: 10px;
}
/*
.formats-lead {
  color: rgba(255, 255, 255, 0.86);
  margin-bottom: 18px;
}
*/
/* list sa check znakom */
.formats-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  gap: 10px;
}

.formats-list li {
  position: relative;
  padding-left: 26px;
}

.formats-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: 700;
}
/*
.formats-note {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 56ch;
}*/

/* responsive */
@media (max-width: 980px) {
  .formats-wrap {
    grid-template-columns: 1fr;
  }
  .formats-media img {
    min-height: 320px;
  }
  .formats-inner {
    max-width: none;
  }
}

/* =========================
   EDUKACIJE – CASE STUDY (Primer iz prakse)
========================== */

.case-hero-img {
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.06);
  margin-bottom: clamp(28px, 4vw, 56px);
}

.case-hero-img img {
  width: 100%;
  height: clamp(260px, 28vw, 420px);
  object-fit: cover;
  display: block;
}

/* 2 kolone ispod */
.case-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(var(--s-24), 4vw, 72px);
  align-items: start;
}

.case-grid.with-margintop {
  margin-top: 35px;
  border-top: 1px solid #d8dddf;
  padding-top: 30px;
}

.case-left h2 {
  margin-top: 0;
}

/* tipografija kao na slici */
.case-left p {
  max-width: 70ch;
  margin-bottom: var(--s-12);
}

.case-intro {
  margin-top: var(--s-16);
  margin-bottom: var(--s-12);
}

/* check lista */
.case-check {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--s-12);
  display: grid;
  gap: 10px;
}

.case-check li {
  position: relative;
  padding-left: 25px;
}

/* check znak */
.case-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-green);
  font-weight: 700;
}

/* završni pasus */
.case-outro {
  margin: 0;
  color: var(--text-secondary);
}

/* responsive */
@media (max-width: 980px) {
  .case-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   EDUKACIJE – FAQ
========================== */

.faq-head {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.faq-head h2 {
  margin: 0 auto;
  max-width: 29ch;
}

.faq-wrap {
  max-width: 760px;
  margin: 0 auto;
}

/* item */
.faq-item {
  border-bottom: 1px solid rgba(15, 42, 53, 0.12);
}

.faq-item h3 {
  margin-bottom: 0px;
}

.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 18px 0;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;

  text-align: left;
  font: inherit;
  color: var(--text-primary);
  font-weight: 600;
}

/* plus/minus */
.faq-ico {
  width: 28px;
  height: 28px;
  position: relative;
  flex: 0 0 auto;
}

.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  background: var(--text-primary);
  transform: translate(-50%, -50%);
  border-radius: 2px;
  opacity: 0.9;
}

.faq-ico::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

/* answer */
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}

.faq-a p {
  margin: 0 0 18px;
}

/* open state */
.faq-item.is-open .faq-a {
  max-height: 280px; /* dovoljno za 1-2 pasusa */
}

.faq-item.is-open .faq-ico::after {
  opacity: 0; /* minus */
}

/* =========================
   ORGANIZACIJE DOGADJAJA – PRIMER IZ PRAKSE 3 REDA liste
========================== */

.case-full.custom-case {
  border-top: 1px solid #d8dddf;
  margin-top: 30px;
  padding-top: 20px;
}

.case-full p {
  margin-bottom: var(--s-12);
}

.three-cols {
  display: flex;
  gap: 24px;
  margin-top: var(--s-16);
  margin-bottom: var(--s-16);
}

.three-cols .col {
  flex: 1;
  padding: var(--s-24);
  background: var(--bg);
  border-radius: var(--radius-card);
}

.three-cols p {
  margin-top: 0;
}

.three-cols ul,
.case-full ul {
  padding-left: 18px;
  margin: 0;
}

.three-cols .col ul li,
.case-full ul li {
  margin-bottom: var(--s-12);
}

/* Tablet */
@media (max-width: 900px) {
  .three-cols {
    flex-wrap: wrap;
  }

  .three-cols .col {
    flex: 0 0 48%;
  }
}

/* Mobilni */
@media (max-width: 767px) {
  .three-cols {
    flex-direction: column;
  }

  .three-cols .col {
    width: 100%;
    flex: 0 0 100%;
  }
}

.no-padding-bottom {
  padding-bottom: 0px;
}

.no-padding-bottom .about-grid {
  border-bottom: 1px solid #d8dddf;
  padding-bottom: 30px;
}

/* =========================
   4 ISTA DIVA UMESTO PET - SEKCIJA TOPIC
========================== */

.topics-row--top.four-in-row {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* TABLET – 2 + 2 */
@media (max-width: 900px) {
  .topics-row--top.four-in-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* MOBILNI – 1 ispod druge */
@media (max-width: 767px) {
  .topics-row--top.four-in-row {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BLOG
========================== */

.svc-hero.blog-hero {
  padding: clamp(40px, 7vw, 70px) 0 clamp(10px, 2vw, 24px);
}

.blog-grid-wrapper {
  padding: 85px 0px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.blog-card {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

/* image */
.blog-card__image {
  border-radius: 16px;
  overflow: hidden;
}

.blog-card__image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.05);
}

/* content */
.blog-card__content {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card__excerpt {
  margin-bottom: 10px;
}

/* read more */
.blog-card__more {
  margin-top: auto;
  color: #143749;
  display: inline-flex;
  align-items: center;
  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

.blog-card__more svg {
  margin-right: 5px;
}

.blog-card:hover .blog-card__more {
  transform: translateX(6px);
}

/* tablet */
@media (max-width: 1024px) {
  .blog-grid-wrapper {
    padding: 85px 0px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* mobile */
@media (max-width: 767px) {
  .blog-grid-wrapper {
    padding: 20px 0px 35px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   SINGLE POST
========================== */

.single-post-hero .breadcrumbs {
  justify-content: center;
}

.single-post-hero {
  /*padding: clamp(40px, 7vw, 70px) 0 clamp(10px, 2vw, 24px);*/
  text-align: center;
  background: var(--white);
  padding: clamp(20px, 7vw, 40px) 0;
  padding: clamp(15px, 7vw, 20px) 0 clamp(20px, 2vw, 24px);
}

.single-post-hero h1 {
  max-width: 34ch;
  font-size: clamp(40px, 4.5vw, 50px);
  margin-left: auto;
  margin-right: auto;
}
img.post-image {
  border-radius: var(--radius-card);
}

.page-title {
  text-align: center;
  margin-bottom: 12px;
}

.post-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #5e696f;
}

.post-date__icon {
  display: flex;
}

.container.post-container {
  max-width: var(--post-container);
  padding-bottom: 40px;
}

.post-container p {
  margin-bottom: var(--s-12);
}

hr.divider {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 25px 0;
}

.container.post-container ul {
  padding-left: 20px;
  margin-bottom: var(--s-16);
}

.container.post-container ul li {
  margin-bottom: var(--s-4);
}

.container.post-container ul li::marker {
  color: var(--text-primary);
}

img.post-image {
  margin: 25px 0 25px;
}
/* =========================
   404 PAGE
========================== */
.page-404 {
  min-height: calc(100vh - var(--nav-h) - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  padding: var(--s-64) 0;
}
.page-404 .inner {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
}
.page-404 .code {
  font-family: var(--serif);
  font-size: clamp(60px, 12vw, 160px);
  color: var(--accent);
  margin-bottom: var(--s-16);
  letter-spacing: -4px;
}
.page-404 h2 {
  font-size: clamp(20px, 4vw, 36px);
  color: var(--text-primary);
  margin-bottom: var(--s-12);
}
.page-404 p {
  color: var(--text-secondary);
  margin-bottom: var(--s-24);
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}
.page-404 .actions {
  display: flex;
  gap: var(--s-12);
  justify-content: center;
  flex-wrap: wrap;
}
.page-404 .btn {
  min-width: 160px;
}

/* =========================
   KONTAKT STRANICA
========================== */

.svc-hero.contact-page .svc-hero-inner h1,
.svc-hero.contact-page .svc-hero-inner .svc-lead {
  max-width: 100%;
}

.svc-intro.contact-page .container ol {
  padding-left: 20px;
  margin-bottom: var(--s-16);
}

.svc-intro.contact-page .container ol li {
  margin-bottom: var(--s-4);
}

.svc-intro.contact-page .container ol li::marker {
  color: var(--text-primary);
}

.svc-intro.contact-page .svc-row {
  grid-template-columns: 3fr 2fr;
  align-items: start;
  gap: clamp(22px, 4vw, 60px);
}

.svc-intro.contact-page form {
  margin-top: 20px;
}

.svc-intro.contact-page form input,
.svc-intro.contact-page form textarea {
  border: 1px solid #d8dddf;
  color: var(--text-secondary);
}

.svc-intro.contact-page form input::placeholder,
.svc-intro.contact-page form textarea::placeholder {
  color: var(--text-secondary);
}

.svc-intro.contact-page .svc-col.svc-media {
  background: #f7f9f8;
  padding: 30px;
  border-radius: 10px;
}

select#oblast {
  padding: 15px;
  border: 1px solid #d8dddf;
  font-size: 16px;
}

@media (max-width: 1024px) {
  .svc-intro.contact-page .svc-row {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .svc-intro.contact-page .svc-col.svc-media {
    padding: 20px;
  }
}
