/* ============================================================
   TAUS — main stylesheet
   Compiled from /assets/styles/scss/main.scss
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Comfortaa:wght@400;500;600;700&family=Nunito+Sans:opsz,wght@6..12,400;6..12,500;6..12,600;6..12,700;6..12,800&family=Open+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap&subset=latin-ext");

/* -- Tokens ------------------------------------------------- */
:root {
  /* Brand — primary navy sampled from taus.rs (logo, headings, footer) */
  --color-navy-900: #15304e;
  --color-navy-800: #1c3a5e;
  --color-navy-700: #244a72;
  --color-navy-600: #364153;
  --color-navy-500: #4a5565;
  --color-navy-400: #8e98a8;
  --color-navy-200: #cfd5de;

  /* Brand cyan-blue (logo + hero gradients) */
  --color-blue-700: #2f74b8;
  --color-blue-500: #5aa0dc;
  --color-blue-300: #9cc8ee;
  --color-blue-200: #cfe4f6;
  --color-blue-100: #e0eefa;
  --color-blue-50:  #eef5fc;

  /* Warm cream surfaces — secondary from Figma */
  --color-cream-200: #f3e7d0;
  --color-cream-100: #f8efdd;
  --color-cream-50:  #fcf6ec;

  /* Peach accent — CTAs + "transformacija" gradient */
  --color-peach-500: #e3a47a;
  --color-peach-400: #ebbc99;
  --color-peach-300: #f1d9ba;
  --color-peach-200: #f7e6cf;
  --color-peach-100: #fbf2e3;

  /* Olive — tertiary accent */
  --color-olive-500: #8d8c4c;
  --color-olive-300: #b6b582;

  /* Gold — primary brand accent (collage yellow) */
  --color-gold-600: #e0a40f;
  --color-gold-500: #f5b81e;
  --color-gold-400: #f9c948;
  --color-gold-300: #fbd877;
  --color-gold-200: #fde6a8;
  --color-gold-100: #fcefce;

  /* Sky — secondary collage blue (Adult ego-state, dotted grids) */
  --color-sky-600: #2f74b8;
  --color-sky-500: #5aa0dc;
  --color-sky-400: #84bbe8;
  --color-sky-300: #aed3f1;
  --color-sky-200: #cfe4f6;
  --color-sky-100: #e6f1fb;

  /* Magenta — rare "pop" accent */
  --color-pink-500: #e6209a;
  --color-pink-200: #f8cce7;

  /* Neutrals */
  --color-ink:        #1d2330;
  --color-ink-soft:   #3b4252;
  --color-body:       #4a5163;
  --color-muted:      #7a8190;
  --color-rule:       #e6dfd0;
  --color-rule-soft:  #efe9da;
  --color-bg:         #f8efdd;
  --color-surface:    #ffffff;
  --color-white:      #ffffff;
  --color-black:      #0a0a0a;

  /* THEME */
  --brand:          var(--color-navy-800);
  --brand-strong:   var(--color-navy-900);
  --brand-soft:     var(--color-sky-100);
  --accent:         var(--color-gold-500);
  --accent-soft:    var(--color-gold-200);
  --surface-warm:   var(--color-cream-100);
  --surface-cool:   var(--color-sky-100);

  /* Typography — Comfortaa headings + Nunito Sans body (latin-ext for Serbian diacritics) */
  --font-display: "Nunito Sans", "Comfortaa", system-ui, sans-serif;
  --font-sans:    "Nunito Sans", "Open Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --heading-weight: 800;
  --heading-tracking: -0.01em;

  /* Type scale (fluid) */
  --fs-eyebrow: 0.75rem;     /* 12 */
  --fs-small:   0.875rem;    /* 14 */
  --fs-body:    1rem;        /* 16 */
  --fs-lead:    1.125rem;    /* 18 */
  --fs-h6:      1.125rem;
  --fs-h5:      1.375rem;
  --fs-h4:      1.75rem;
  --fs-h3:      clamp(1.5rem, 1rem + 1.6vw, 2.25rem);
  --fs-h2:      clamp(2rem,   1.2rem + 2.4vw, 3rem);
  --fs-h1:      clamp(2.5rem, 1.4rem + 3.6vw, 4.25rem);
  --fs-display: clamp(3rem,   1.6rem + 5vw,   6rem);

  /* Spacing (8pt grid) */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.5rem;
  --sp-6:  2rem;
  --sp-7:  2.5rem;
  --sp-8:  3rem;
  --sp-9:  4rem;
  --sp-10: 5rem;
  --sp-12: 6rem;
  --sp-14: 7rem;
  --sp-16: 9rem;

  /* Section rhythm */
  --section-y: 5rem;

  /* Layout */
  --container-max: 1280px;
  --container-wide: 1440px;
  --gutter: 1.5rem;
  --col-gap: 1.5rem;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(30,41,57,.06), 0 1px 1px rgba(30,41,57,.04);
  --shadow-md: 0 8px 24px -8px rgba(30,41,57,.18), 0 2px 6px rgba(30,41,57,.06);
  --shadow-lg: 0 24px 48px -12px rgba(30,41,57,.22);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* -- Breakpoints (reference values used in @media below)
   xs:  0           -> base
   sm:  ≥ 640px     small tablet / large phone landscape
   md:  ≥ 960px     tablet
   lg:  ≥ 1280px    desktop
   xl:  ≥ 1600px    wide desktop
   ---------------------------------------------------------- */

/* -- Reset -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--color-body);
  background: var(--surface-warm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--color-rule); margin: var(--sp-8) 0; }
::selection { background: var(--accent-soft); color: var(--brand-strong); }

/* -- Typography --------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--brand-strong);
  font-weight: var(--heading-weight);
  line-height: 1.12;
  margin: 0 0 var(--sp-4);
  letter-spacing: var(--heading-tracking);
}
h1 { font-size: var(--fs-h1); line-height: 1.05; letter-spacing: -0.02em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); }
h5 { font-size: var(--fs-h5); font-family: var(--font-sans); font-weight: 600; }
h6 { font-size: var(--fs-h6); font-family: var(--font-sans); font-weight: 600; }
p { margin: 0 0 var(--sp-4); }
.lead { font-size: var(--fs-lead); color: var(--color-ink-soft); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor;
}
.display {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--brand-strong);
  margin: 0 0 var(--sp-5);
}
/* No italics anywhere by default — keep only the hero's word-emphasis italic.
   This wins over browser defaults for <em> in body copy and <cite> in pull quotes. */
em, cite, .serif-italic, i {
  font-style: normal;
}
em, .serif-italic {
  color: var(--accent);
  font-weight: inherit;
}
cite { color: var(--color-muted); }

/* Hero — italic accent for word emphasis (the one place we keep it) */
.hero__title em,
.hero__title .serif-italic,
.u-mark {
  font-style: normal;
  font-weight: inherit;
  font-family: inherit;
  color: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 22' preserveAspectRatio='none'%3E%3Cpath d='M5,14 C70,5 130,19 185,11 C225,5 262,16 295,9' fill='none' stroke='%23f5b81e' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% 0.34em;
  padding: 0 .04em .08em;
}
.u-gold { color: var(--color-gold-600); font-weight: 800; }

.pull-quote {
  font-style: normal;
}
.ribbon {
  font-style: normal;
}
.ribbon__track {
  font-family: var(--font-display);
}

/* -- Container & grid (12-col) ------------------------------ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: var(--container-wide); }
.container--narrow { max-width: 880px; }
.container--prose { max-width: 720px; }

.row { display: grid; grid-template-columns: repeat(12, 1fr); gap: var(--col-gap); }
.col-12 { grid-column: span 12; }
.col-6  { grid-column: span 12; }
.col-4  { grid-column: span 12; }
.col-3  { grid-column: span 6; }
.col-8  { grid-column: span 12; }
.col-9  { grid-column: span 12; }

@media (min-width: 640px) {
  .row { gap: 1.5rem; }
  .col-sm-6 { grid-column: span 6; }
  .col-sm-4 { grid-column: span 6; }
  .col-sm-3 { grid-column: span 6; }
}
@media (min-width: 960px) {
  :root { --gutter: 2rem; --col-gap: 2rem; }
  .col-6 { grid-column: span 6; }
  .col-4 { grid-column: span 4; }
  .col-3 { grid-column: span 3; }
  .col-8 { grid-column: span 8; }
  .col-9 { grid-column: span 9; }
  .col-md-5 { grid-column: span 5; }
  .col-md-7 { grid-column: span 7; }
}
@media (min-width: 1280px) {
  :root { --gutter: 2.5rem; }
}

/* sections */
section { padding-block: var(--section-y); }
section.tight { padding-block: calc(var(--section-y) * .55); }
section.flush-top { padding-top: 0; }

/* -- Buttons ------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .85rem 1.5rem;
  font-family: var(--font-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .01em;
  border-radius: var(--radius-pill);
  transition: transform .2s var(--ease), background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--brand);
  color: var(--color-white);
  box-shadow: 0 6px 14px -8px rgba(45,74,104,.4);
}
.btn--primary:hover { background: var(--brand-strong); color: var(--color-white); }
.btn--accent {
  background: var(--accent);
  color: var(--brand-strong);
}
.btn--accent:hover { background: var(--color-peach-400); color: var(--brand-strong); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border: 1px solid currentColor;
}
.btn--ghost:hover { background: var(--brand); color: var(--color-white); }
.btn--link {
  padding: 0; background: transparent; color: var(--brand);
  border-radius: 0;
}
.btn--link::after { content: "→"; margin-left: .4rem; transition: transform .2s var(--ease); }
.btn--link:hover { color: var(--accent); }
.btn--link:hover::after { transform: translateX(4px); }
.btn--lg { padding: 1.05rem 1.85rem; font-size: 1rem; }
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }

.btn-group { display: inline-flex; flex-wrap: wrap; gap: .75rem; }

/* -- Tags / chips ------------------------------------------- */
.tag {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .35rem .7rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  color: var(--brand-strong);
}
.tag--accent { background: var(--accent-soft); color: var(--brand-strong); }
.tag--olive  { background: #ecead7; color: var(--color-olive-500); }
.tag--ghost  { background: transparent; border: 1px solid var(--color-rule); color: var(--color-ink-soft); }

/* -- Site header / nav -------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,251,243,.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(46,57,82,.06);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 2rem;
  padding-block: 1rem;
}
.site-header__logo {
  display: inline-flex; align-items: center; gap: .75rem;
  color: var(--brand-strong);
  /* TAUS wordmark next to logo is hidden via the rule below — the logo image carries the name already. */
}
.site-header__logo img { height: 52px; width: auto; }
.site-header__logo span { display: none; }
.site-nav {
  display: none;
  font-family: var(--font-display);
}
/* Nav breakpoint podignut sa 960 na 1120px — 7 top-level stavki ne staje ispod toga. */
@media (min-width: 1120px) {
  .site-nav { display: flex; align-items: center; gap: .25rem; }
}
.site-nav__link {
  position: relative;
  padding: .65rem .7rem;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--color-ink-soft);
  border-radius: var(--radius-sm);
}
.site-nav__link:hover { color: var(--brand-strong); background: rgba(46,57,82,.04); }
.site-nav__link.is-active { color: var(--brand-strong); }
.site-nav__link.is-active::after {
  content: ""; position: absolute; left: .6rem; right: .6rem; bottom: .2rem;
  height: 2px; background: var(--accent); border-radius: 2px;
}

.site-nav__group { position: relative; }
.site-nav__group:hover .site-nav__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav__caret { display: inline-block; margin-left: .25rem; font-size: .7em; opacity: .6; }
.site-nav__menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px;
  padding: .5rem;
  background: var(--color-white);
  border: 1px solid var(--color-rule-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .15s var(--ease);
}
.site-nav__menu a {
  display: block; padding: .6rem .85rem; border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: .95rem; color: var(--color-ink-soft); font-weight: 500;
}
.site-nav__menu a:hover { background: var(--surface-warm); color: var(--brand-strong); }

.site-header__cta { display: none; }
@media (min-width: 1280px) { .site-header__cta { display: inline-flex; } }

.menu-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  color: var(--brand-strong);
}
@media (min-width: 1120px) { .menu-toggle { display: none; } }
.menu-toggle svg { width: 22px; height: 22px; }

/* -- Mobile drawer ------------------------------------------ */
.mobile-drawer {
  position: fixed; inset: 0; z-index: 60;
  background: var(--surface-warm);
  padding: 1.25rem 1.25rem 2rem;
  transform: translateX(100%);
  transition: transform .25s var(--ease);
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-drawer a { display: block; padding: .9rem 0; font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--brand-strong); border-bottom: 1px solid var(--color-rule-soft); }
.mobile-drawer .site-header__logo img { height: 44px; }

/* -- Site footer -------------------------------------------- */
.site-footer {
  background: var(--color-navy-900);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2rem;
  margin-top: 6rem;
}
.site-footer h4, .site-footer h5, .site-footer .footer-title {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.site-footer a { color: rgba(255,255,255,.7); }
.site-footer a:hover { color: var(--color-blue-300); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer__brand img { height: 44px; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: .9; }
.site-footer__brand p { font-size: .95rem; max-width: 32ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; }
.site-footer__bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem;
  font-size: .8rem; color: rgba(255,255,255,.45);
}
.social { display: flex; gap: .75rem; margin-top: 1.5rem; }
.social a {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.social a:hover { background: var(--accent); color: var(--brand-strong); }

/* -- Hero ---------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 6vw, 6rem) clamp(4rem, 7vw, 7rem);
  overflow: hidden;
}
.hero__inner { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr .95fr; gap: 4rem; } }
.hero__eyebrow { margin-bottom: 1.25rem; }
.hero__title {
  font-size: var(--fs-display);
  line-height: 1; letter-spacing: -0.025em;
  color: var(--brand-strong);
  margin: 0 0 1.5rem;
}
.hero__title em { /* underline styled in typography section */ }
.hero__lead { font-size: 1.2rem; max-width: 48ch; color: var(--color-ink-soft); margin-bottom: 2rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: auto; border-radius: var(--radius-md); }
.hero__media::after { content: none; }
.hero--cream { background: var(--surface-warm); }

/* Hero with full-bleed collage background on the right */
.hero--bg { position: relative; overflow: hidden; min-height: clamp(500px, 62vh, 660px); display: flex; align-items: center; }
.hero--bg .container { position: relative; z-index: 2; width: 100%; }
.hero__bg {
  position: absolute; inset: 0 0 0 auto;
  width: 60%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center right;
  z-index: 0;
}
.hero--bg::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--surface-warm) 50%, rgba(248,237,221,0) 72%);
}
.hero__copy { max-width: 600px; }
@media (max-width: 959px) {
  .hero__bg { width: 100%; background-position: center top; }
  .hero--bg::after {
    background:
      linear-gradient(180deg, rgba(248,237,221,.35) 0%, var(--surface-warm) 62%),
      linear-gradient(90deg, var(--surface-warm) 18%, rgba(248,237,221,.2) 80%);
  }
  .hero--bg { align-items: flex-end; min-height: clamp(560px, 86vh, 720px); }
  .hero__copy { background: rgba(248,237,221,.72); border-radius: var(--radius-md); padding: 1rem 1rem 0; backdrop-filter: blur(2px); }
}
.hero--blue { background: linear-gradient(160deg, var(--color-blue-200) 0%, var(--color-cream-100) 60%); }
.hero--type {
  background:
    radial-gradient(60% 60% at 80% 10%, var(--color-peach-200) 0%, transparent 60%),
    radial-gradient(60% 60% at 10% 90%, var(--color-blue-100) 0%, transparent 60%),
    var(--surface-warm);
  text-align: center;
}
.hero--type .hero__inner { grid-template-columns: 1fr; text-align: center; place-items: center; }
.hero--type .hero__title { font-size: clamp(3rem, 1rem + 8vw, 8rem); max-width: 14ch; margin-inline: auto; }
.hero--type .hero__lead { margin-inline: auto; }

.page-hero {
  padding-block: clamp(4rem, 7vw, 7rem) clamp(2.5rem, 4vw, 4rem);
  background: linear-gradient(180deg, var(--color-cream-200), var(--surface-warm));
}
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { max-width: 18ch; margin-bottom: 1.25rem; }
.page-hero p { max-width: 60ch; font-size: 1.15rem; color: var(--color-ink-soft); }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: .35rem;
  font-size: .85rem; color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.breadcrumb a { color: var(--color-muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb span { color: var(--brand-strong); }
.breadcrumb .sep { opacity: .5; }

/* -- Cards --------------------------------------------------- */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-rule-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--color-rule); }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--color-rule-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; gap: .75rem; }
.card__meta { display: flex; gap: .75rem; align-items: center; font-size: .8rem; color: var(--color-muted); }
.card__meta .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.card__title { font-family: var(--font-display); font-size: 1.35rem; color: var(--brand-strong); line-height: 1.2; margin: 0; }
.card__excerpt { color: var(--color-ink-soft); font-size: .95rem; margin: 0; }
.card__foot { margin-top: auto; padding-top: .75rem; display: flex; align-items: center; justify-content: space-between; }

.card--feature {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--color-surface);
}
@media (min-width: 960px) { .card--feature { grid-template-columns: 1.1fr 1fr; } }
.card--feature .card__media { aspect-ratio: 16/11; }
.card--feature .card__body { padding: 2.25rem; gap: 1rem; justify-content: center; }
.card--feature .card__title { font-size: 1.85rem; }

.card--accent { background: var(--surface-cool); border-color: transparent; }
.card--warm   { background: var(--color-cream-200); border-color: transparent; }
.card--peach  { background: var(--accent-soft); border-color: transparent; }
.card--dark   { background: var(--brand-strong); color: rgba(255,255,255,.8); border-color: transparent; }
.card--dark .card__title { color: var(--color-white); }
.card--dark .card__excerpt { color: rgba(255,255,255,.7); }
.card--dark a { color: var(--color-blue-300); }

/* -- Accordion ---------------------------------------------- */
.accordion { border-top: 1px solid var(--color-rule); }
.accordion__item { border-bottom: 1px solid var(--color-rule); }
.accordion__trigger {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.5rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, .8rem + .8vw, 1.5rem);
  color: var(--brand-strong);
  font-weight: 500;
}
.accordion__icon {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--color-rule);
  color: var(--brand);
  font-size: 1.25rem;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--brand); color: var(--color-white); border-color: var(--brand); }
.accordion__panel {
  max-height: 0; overflow: hidden;
  transition: max-height .35s var(--ease);
}
.accordion__panel-inner { padding-bottom: 1.5rem; max-width: 70ch; color: var(--color-ink-soft); }
.accordion__item.is-open .accordion__panel { max-height: 1200px; }

/* -- Forms --------------------------------------------------- */
.form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-size: .85rem; font-weight: 600; color: var(--color-ink-soft); }
.field input, .field textarea, .field select {
  font: inherit; padding: .85rem 1rem; color: var(--color-ink);
  background: var(--color-surface);
  border: 1px solid var(--color-rule);
  border-radius: var(--radius-md);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--inline { flex-direction: row; align-items: center; gap: .65rem; font-size: .9rem; }
.field--inline input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--brand); }

/* -- Stats / numbers ---------------------------------------- */
.stat-row { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(4, 1fr); } }
.stat { border-top: 2px solid var(--brand); padding-top: 1rem; }
.stat__num { font-family: var(--font-display); font-size: clamp(2.5rem, 1rem + 3vw, 3.5rem); color: var(--brand-strong); line-height: 1; }
.stat__label { font-size: .85rem; color: var(--color-ink-soft); margin-top: .5rem; }

/* -- Timeline ----------------------------------------------- */
.timeline { display: grid; gap: 1.5rem; }
.timeline__item {
  display: grid; gap: 1.25rem;
  grid-template-columns: auto 1fr;
  align-items: start;
}
.timeline__marker {
  width: 56px; height: 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.timeline__title { font-family: var(--font-display); font-size: 1.35rem; color: var(--brand-strong); margin: .25rem 0 .35rem; }
.timeline__meta { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--color-muted); margin-bottom: .35rem; }

/* -- Quote / pull ------------------------------------------- */
.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 0 0 0 1.5rem;
  font-size: clamp(1.4rem, .9rem + 1vw, 1.85rem);
  color: var(--brand-strong);
  line-height: 1.4;
}
.pull-quote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-sans);
  font-style: normal;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* -- Section header (eyebrow + title row) ------------------- */
.section-head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: 3rem; }
@media (min-width: 960px) { .section-head { grid-template-columns: 1fr auto; } }
.section-head h2 { max-width: 18ch; margin: 0; }
.section-head p { max-width: 50ch; color: var(--color-ink-soft); margin: 0; }

/* -- Decorative ribbon (peach -> blue, taus aesthetic) ------ */
.ribbon {
  background: var(--color-gold-300);
  color: var(--color-navy-900);
  padding: 1rem 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .01em;
  overflow: hidden;
}
.ribbon__track {
  display: flex; gap: 3rem;
  white-space: nowrap;
  animation: marquee 32s linear infinite;
}
.ribbon__track span { display: inline-flex; align-items: center; gap: 1rem; }
.ribbon__track span::after { content: "•"; color: var(--color-navy-800); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* -- Calendar / event list ---------------------------------- */
.event {
  display: grid; gap: 1.5rem; align-items: center;
  grid-template-columns: 1fr;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-rule);
}
@media (min-width: 640px) { .event { grid-template-columns: 96px 1fr auto; } }
.event__date {
  background: var(--brand-soft);
  border-radius: var(--radius-md);
  padding: .75rem;
  text-align: center;
}
.event__day { font-family: var(--font-display); font-size: 2rem; color: var(--brand-strong); line-height: 1; }
.event__mon { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-ink-soft); margin-top: .35rem; }
.event__title { font-family: var(--font-display); font-size: 1.3rem; color: var(--brand-strong); margin: 0 0 .35rem; }
.event__meta { font-size: .85rem; color: var(--color-muted); display: flex; gap: 1rem; flex-wrap: wrap; }

/* -- Filter bar --------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: .5rem;
  padding: .5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-rule-soft);
  border-radius: var(--radius-pill);
}
.filter-bar button {
  padding: .55rem 1rem;
  font-size: .85rem; font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--color-ink-soft);
}
.filter-bar button.is-active { background: var(--brand); color: var(--color-white); }
.filter-bar button:not(.is-active):hover { background: var(--surface-warm); color: var(--brand-strong); }

/* -- Utility ------------------------------------------------- */
.text-center { text-align: center; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.muted { color: var(--color-muted); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: .5rem; } .gap-3 { gap: .75rem; } .gap-4 { gap: 1rem; } .gap-5 { gap: 1.5rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-4 { margin-top: 1rem; } .mb-4 { margin-bottom: 1rem; }
.mt-6 { margin-top: 2rem; } .mb-6 { margin-bottom: 2rem; }
.mt-8 { margin-top: 3rem; } .mb-8 { margin-bottom: 3rem; }
.bg-cream { background: var(--surface-warm); }
.bg-cool  { background: var(--surface-cool); }
.bg-peach { background: var(--accent-soft); }
.bg-dark  { background: var(--brand-strong); color: rgba(255,255,255,.85); }
.bg-dark h1,.bg-dark h2,.bg-dark h3,.bg-dark h4 { color: var(--color-white); }

.divider {
  display: flex; align-items: center; gap: 1rem;
  font-family: var(--font-display);
  color: var(--brand);
  margin-block: 3rem;
}
.divider::before, .divider::after {
  content: ""; flex: 1; height: 1px; background: var(--color-rule);
}

/* -- Collage doodles & decoration --------------------------- */
.has-deco { position: relative; }
.has-deco > .container { position: relative; z-index: 2; }
.deco { position: absolute; pointer-events: none; z-index: 1; opacity: .9; }
.deco-dots {
  width: 92px; height: 120px;
  background-image: radial-gradient(var(--color-sky-300) 2px, transparent 2.3px);
  background-size: 16px 16px;
}
.deco-dots--gold { background-image: radial-gradient(var(--color-gold-300) 2px, transparent 2.3px); }
.deco-loop {
  width: 116px; height: 64px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 70'%3E%3Cpath d='M10,42 C8,10 60,8 58,38 C57,58 30,62 28,46 C26,28 72,28 112,52' fill='none' stroke='%23f5b81e' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}
.deco-wave {
  width: 190px; height: 22px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 24'%3E%3Cpath d='M4,12 C24,2 44,22 64,12 C84,2 104,22 124,12 C144,2 164,22 196,12' fill='none' stroke='%231c3a5e' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}
.deco-blob {
  width: 320px; aspect-ratio: 1.1/1;
  background: var(--color-sky-200);
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  filter: blur(2px);
}
.deco-blob--gold { background: var(--color-gold-200); }

/* Eyebrow-with-dot pill used on collage sections */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .4rem .9rem .4rem .7rem;
  background: var(--color-surface);
  border: 1px solid var(--color-rule-soft);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: .76rem; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-strong);
  box-shadow: var(--shadow-sm);
}
.kicker::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.kicker--sky::before { background: var(--color-sky-500); }
.kicker--navy::before { background: var(--color-navy-800); }

/* Ego-state explainer rows (Roditelj / Odrasli / Dete) */
.ego-list { display: grid; gap: 1.1rem; }
.ego-item { display: flex; gap: 1.1rem; align-items: flex-start; }
.ego-badge {
  width: 52px; height: 52px; flex: 0 0 auto;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: #fff; box-shadow: var(--shadow-sm);
}
.ego-badge--r { background: var(--color-navy-800); }
.ego-badge--o { background: var(--color-sky-500); }
.ego-badge--d { background: var(--color-gold-500); color: var(--color-navy-900); }
.ego-item h4 { font-size: 1.15rem; margin: .15rem 0 .25rem; }
.ego-item p { margin: 0; font-size: .95rem; }

/* Collage photo that blends into cream surfaces */
.collage-img { display: block; width: 100%; height: auto; border-radius: var(--radius-md); }

/* Tagline band words */
.tagline-band { background: var(--color-gold-300); color: var(--color-navy-900); padding-block: 1.4rem; }
.tagline-band__inner {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1rem 2.2rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.1rem, .8rem + 1vw, 1.6rem);
}
.tagline-band__inner span { display: inline-flex; align-items: center; gap: 2.2rem; }

/* Feature panel — bounded, distinct module (e.g. Savetovalište) */
.feature-panel {
  position: relative;
  background: var(--color-surface);
  color: var(--color-ink-soft);
  border: 1px solid var(--color-rule-soft);
  border-top: 5px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3.5vw, 3.25rem);
  overflow: hidden;
  display: grid; gap: 2rem; align-items: center;
  box-shadow: var(--shadow-md);
}
@media (min-width: 960px) { .feature-panel { grid-template-columns: 1fr 1fr; gap: 3.25rem; } }
.feature-panel h2 { color: var(--brand-strong); }
.feature-panel p { color: var(--color-ink-soft); margin: 0; }
.feature-panel .btn-group { margin-top: 2rem; }
.feature-panel__media img { width: 100%; display: block; border-radius: var(--radius-md); box-shadow: var(--shadow-md); }

/* -- Skip link, a11y ---------------------------------------- */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* -- Print -------------------------------------------------- */
@media print {
  .site-header, .site-footer { display: none; }
}
