/* ==========================================================================
   avallus.hr – stilovi javne stranice
   Brend boje prema smjernicama: tamnoplava #161543, off-white #FBF7F5,
   Avallus narančasta #FF9052 (prema web dizajnu agencije; u tiskanim smjernicama je #CB6828),
   Futuris mint #AADBCE (+ violet, light blue).
   ========================================================================== */

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

:root {
  --c-navy: #161543;
  --c-offwhite: #fbf7f5;
  --c-orange: #ff9052;
  --c-mint: #aadbce;
  --c-violet: #cca7cf;
  --c-lightblue: #9ed5e4;
  --c-sand-50: #fbf1ed;
  --c-sand-100: #f8efeb;
  --c-sand-200: #f6eae0;
  --c-accent: var(--c-orange);

  --font: 'Anek Latin', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --container: 1720px; /* 1640 px sadržaja + 2 × 40 px margine (kao u dizajnu: 140 px margina na 1920) */
  --gutter: 20px;
  --radius: 0;

  --fs-display: clamp(2.5rem, 1.6rem + 2.2vw, 4rem);
  --fs-h2: clamp(2rem, 1.35rem + 1.6vw, 3.125rem);
  --fs-h3: clamp(1.5rem, 1.2rem + 0.9vw, 2.5rem);
  --fs-h4: clamp(1.25rem, 1.1rem + 0.5vw, 2rem);
  --fs-lead: clamp(1.125rem, 1.02rem + 0.3vw, 1.375rem);
  --fs-body-lg: clamp(1.0625rem, 0.98rem + 0.35vw, 1.5rem);
  --fs-ui: 1.25rem;
}

/* Futuris tema (za buduće stranice pod Futuris brendom) */
[data-brand='futuris'] { --c-accent: var(--c-mint); }

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-navy);
  background: var(--c-offwhite);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, h4, h5, ul, ol, dl, dd, dt, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea { font: inherit; }
address { font-style: normal; }
::selection { background: var(--c-accent); color: var(--c-navy); }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- tipografija ---------- */
.display { font-size: var(--fs-display); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em; }
.h2 { font-size: var(--fs-h2); line-height: 1.12; font-weight: 700; letter-spacing: -0.01em; }
.h3 { font-size: var(--fs-h3); line-height: 1.15; font-weight: 700; }
.h4 { font-size: var(--fs-h4); line-height: 1.25; font-weight: 600; }
.h5 { font-size: 1.25rem; line-height: 1.3; font-weight: 600; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.body-lg { font-size: var(--fs-body-lg); line-height: 1.45; }
.eyebrow { font-size: clamp(1.125rem, 1rem + 0.4vw, 1.5rem); font-weight: 600; color: var(--c-accent); }
.accent { color: var(--c-accent); }
.muted { opacity: 0.7; }
.mt-lg { margin-top: 2.5rem; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 32px; } }
@media (min-width: 1024px) { :root { --gutter: 40px; } }

.section { padding: 4rem 0; }
@media (min-width: 1024px) { .section { padding: 6rem 0; } }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .section-head { margin-bottom: 3.5rem; } }

.bg-offwhite { background: var(--c-offwhite); color: var(--c-navy); }
.bg-sand { background: var(--c-sand-50); color: var(--c-navy); }
.bg-sand-100 { background: var(--c-sand-100); color: var(--c-navy); }
.bg-navy { background: var(--c-navy); color: var(--c-offwhite); }
.bg-mint { background: var(--c-mint); color: var(--c-navy); }
.bg-navy .lead, .bg-navy .rich-text { color: rgba(251, 247, 245, 0.9); }
.bg-sand .lead, .bg-sand-100 .lead, .bg-offwhite .lead, .bg-mint .lead { color: rgba(22, 21, 67, 0.82); }

/* ---------- gumbi i poveznice ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.875rem 2rem; font-size: 1.0625rem; font-weight: 500; line-height: 1.2;
  border-radius: var(--radius); transition: background-color 0.2s, color 0.2s; text-align: center;
}
@media (min-width: 640px) { .btn { padding: 0.95rem 2.5rem; font-size: 1.25rem; } }
.btn-primary { background: var(--c-accent); color: var(--c-navy); }
.btn-primary:hover { background: var(--c-navy); color: var(--c-offwhite); }
.bg-navy .btn-primary:hover, .hero .btn-primary:hover, .site-footer .btn-primary:hover { background: var(--c-offwhite); color: var(--c-navy); }
.btn-dark { background: var(--c-navy); color: var(--c-offwhite); }
.btn-dark:hover { background: var(--c-accent); color: var(--c-navy); }
.btn-sm { padding: 0.75rem 1.75rem; font-size: 1.125rem; }
.btn-block { width: 100%; }
.link-accent {
  display: inline-block; padding-bottom: 0.25rem; font-size: 1.125rem; font-weight: 500; line-height: 1;
  border-bottom: 2px solid var(--c-accent); transition: color 0.2s;
}
@media (min-width: 640px) { .link-accent { font-size: 1.25rem; } }
.link-accent:hover { color: var(--c-accent); }

/* ---------- najavna traka ---------- */
.announcement { background: var(--c-navy); color: var(--c-offwhite); }
.announcement__inner {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 48px;
  padding: 0.5rem 1rem; text-align: center; font-size: 0.9375rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.announcement__inner strong { color: var(--c-accent); font-weight: 700; }
a.announcement__inner:hover { color: var(--c-accent); }
@media (min-width: 640px) { .announcement__inner { min-height: 60px; font-size: 1.125rem; } }
@media (min-width: 1024px) { .announcement__inner { font-size: 1.25rem; } }

/* ---------- zaglavlje ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--c-offwhite); box-shadow: 0 6px 24px rgba(22, 21, 67, 0.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; }
@media (min-width: 1024px) { .site-header__inner { height: 110px; } }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 40px; width: auto; }
@media (min-width: 1024px) { .site-logo img { height: 54px; } }
.site-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
@media (min-width: 1280px) { .site-nav { gap: 2.5rem; } }
.site-nav .btn { margin-left: 1rem; }
.nav-link { font-size: 1.125rem; font-weight: 500; line-height: 1; color: var(--c-navy); transition: color 0.2s; }
@media (min-width: 1024px) { .nav-link { font-size: 1.25rem; } }
.nav-link:hover, .nav-link.is-active { color: var(--c-accent); }
.nav-toggle { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--c-navy); }
@media (min-width: 1024px) { .nav-toggle { display: none; } }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }
.mobile-nav {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 50; display: flex; flex-direction: column;
  height: calc(100dvh - 84px); overflow-y: auto; padding: 1.5rem var(--gutter) 2.5rem;
  background: var(--c-offwhite); box-shadow: 0 24px 40px rgba(22, 21, 67, 0.12);
}
.mobile-nav[hidden] { display: none; }
@media (min-width: 1024px) { .mobile-nav { display: none !important; } }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav__link { padding: 1rem 0; font-size: 1.375rem; font-weight: 500; border-bottom: 1px solid rgba(22, 21, 67, 0.1); }
.mobile-nav .btn { margin-top: 2rem; }
body.nav-open { overflow: hidden; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-offwhite); }
.hero .lead { color: rgba(251, 247, 245, 0.9); max-width: 720px; margin-top: 1.5rem; }
.hero .display + .lead { margin-top: 1.5rem; }
.hero__content { max-width: 900px; }
.hero__content--wide { max-width: 980px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero--standard .container { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.hero--tall .container { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 1024px) {
  .hero--standard .container { padding-top: 5rem; padding-bottom: 5rem; }
  .hero--tall .container { padding-top: 8rem; padding-bottom: 8rem; }
  .hero__actions { margin-top: 2.5rem; }
}
.hero--image .hero__grid { display: grid; align-items: center; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
@media (min-width: 1024px) {
  .hero--image .hero__grid { grid-template-columns: 1fr 1.05fr; gap: 4rem; padding-top: clamp(3rem, 3.45vw, 4.2rem); padding-bottom: clamp(3rem, 3.45vw, 4.2rem); }
}
@media (min-width: 1280px) { .hero--image .hero__grid { gap: 5rem; } }
.hero--image .hero__content { max-width: 760px; }
.hero__media { position: relative; }
@media (min-width: 1024px) { .hero__media { width: 82.5%; } }
.hero__image { position: relative; aspect-ratio: 11 / 10; overflow: hidden; }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 95% 50%; } /* izrez kao u dizajnu: desni dio fotografije, mobitel ispod trake */
/* dijagonalne trake: pozicionirane relativno na sliku, kut i širina kao u dizajnu */
.hero__bar { display: none; position: absolute; width: 21.2%; background: var(--c-accent); pointer-events: none; }
.hero__bar--top { left: 62%; bottom: 42.7%; height: 130%; transform-origin: bottom left; transform: skewX(-31.4deg); }
.hero__bar--bottom { left: 41.5%; top: 93.7%; height: 50%; transform-origin: top left; transform: skewX(-31.4deg); }
@media (min-width: 1024px) { .hero__bar { display: block; } }
.post-meta { margin-top: 1.5rem; font-size: 1.0625rem; color: rgba(251, 247, 245, 0.75); }
.hero .eyebrow a:hover { text-decoration: underline; }

/* ---------- usluge (kartice) ---------- */
.services__heading { max-width: 780px; }
.services__intro { max-width: 640px; margin-top: 1.25rem; }
.services__grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 768px) { .services__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .services__grid { margin-top: 4rem; gap: 2.5rem; } }
@media (min-width: 1280px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }
.service-card { display: flex; flex-direction: column; padding: 1.75rem; border: 1px solid var(--c-navy); background: var(--c-sand-100); scroll-margin-top: 8rem; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.service-card:hover, .service-card:focus-within { background: var(--c-accent); border-color: var(--c-accent); }
.service-card:hover .accent, .service-card:focus-within .accent { color: var(--c-offwhite); }
.service-card:hover .service-card__text, .service-card:focus-within .service-card__text { color: var(--c-navy); }
.service-card:hover .link-accent, .service-card:focus-within .link-accent { border-bottom-color: var(--c-navy); }
.service-card:hover .link-accent:hover { color: var(--c-offwhite); }
.service-card .accent, .service-card__text, .service-card .link-accent { transition: color 0.25s, border-color 0.25s; }
@media (min-width: 640px) { .service-card { padding: 2rem; } }
@media (min-width: 1024px) { .service-card { padding: 2.5rem; } }
.service-card__head { display: flex; align-items: center; gap: 1.25rem; }
.service-card__icon { height: 64px; width: auto; flex-shrink: 0; color: var(--c-navy); }
@media (min-width: 1024px) { .service-card__icon { height: 77px; } }
.service-card__head .h3 { line-height: 1.05; }
.service-card__text { flex: 1; margin-top: 1.5rem; font-size: var(--fs-body-lg); line-height: 1.45; color: rgba(22, 21, 67, 0.85); }
.service-card__more { margin-top: 2rem; }

/* ---------- logotipi (vrtuljak) ---------- */
.logos { --logos-gap: 4rem; padding: 3rem 0; background: linear-gradient(to bottom, var(--c-offwhite), var(--c-sand-200)); }
@media (min-width: 1024px) { .logos { --logos-gap: 6rem; padding: 4rem 0; } }
.logos__heading { margin-bottom: 2.5rem; text-align: center; font-size: 1.125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(22, 21, 67, 0.7); }
.logos__viewport { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos-marquee var(--logos-duration, 40s) linear infinite; will-change: transform; }
.logos__viewport:hover .logos__track { animation-play-state: paused; }
.logos__list { display: flex; align-items: center; flex-shrink: 0; gap: var(--logos-gap); padding-right: var(--logos-gap); }
.logos__list li { display: flex; align-items: center; }
.logos__img { height: 48px; width: auto; max-width: 160px; object-fit: contain; opacity: 0.9; transition: opacity 0.2s; }
.logos__img:hover { opacity: 1; }
@media (min-width: 640px) { .logos__img { height: 56px; } }
@media (min-width: 1024px) { .logos__img { height: 72px; max-width: 240px; } }
@media (min-width: 1280px) { .logos__img { height: 88px; } }
@keyframes logos-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
  .logos__list + .logos__list { display: none; }
  .logos__viewport { -webkit-mask-image: none; mask-image: none; }
}

/* ---------- brojke ---------- */
.stats { position: relative; overflow: hidden; padding: 3.5rem 0; }
@media (min-width: 1024px) { .stats { padding: 5rem 0; } }
.stats__watermark { position: absolute; left: -1.5rem; top: 50%; height: 150%; width: auto; transform: translateY(-50%); pointer-events: none; user-select: none; }
.stats .container { position: relative; }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; text-align: center; }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { display: flex; flex-direction: column; align-items: center; }
.stat__value { font-size: 2.75rem; font-weight: 700; line-height: 1; color: var(--c-accent); }
@media (min-width: 640px) { .stat__value { font-size: 3.25rem; } }
@media (min-width: 1024px) { .stat__value { font-size: 3.75rem; } }
.stat__label { margin-top: 0.75rem; font-size: var(--fs-body-lg); }

/* ---------- promo (Futuris) ---------- */
.promo { display: grid; }
@media (min-width: 1024px) { .promo { grid-template-columns: 1fr 1fr; } }
.promo__content { padding: 3.5rem var(--gutter); }
@media (min-width: 1024px) {
  .promo__content { padding: 6rem 4rem 6rem max(2.5rem, calc((100vw - var(--container)) / 2 + var(--gutter))); }
}
@media (min-width: 1280px) { .promo__content { padding-right: 6rem; } }
.promo__logo { margin-bottom: 2.5rem; }
.promo__logo img { height: 56px; width: auto; }
@media (min-width: 1024px) { .promo__logo { margin-bottom: 3.5rem; } .promo__logo img { height: 86px; } }
.promo__text { max-width: 640px; margin-top: 1.25rem; }
.promo__action { margin-top: 2rem; }
@media (min-width: 1024px) { .promo__action { margin-top: 2.5rem; } }
.promo__features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1.5rem; max-width: 600px; margin-top: 3rem; }
@media (min-width: 640px) { .promo__features { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .promo__features { margin-top: 4rem; } }
.promo__features li { display: flex; flex-direction: column; align-items: center; text-align: center; }
.promo__icon { display: flex; align-items: flex-end; height: 2.5rem; }
.promo__icon img { height: 2.25rem; width: auto; }
.promo__feature-label { margin-top: 0.75rem; font-size: 1rem; line-height: 1.3; }
.promo__media { position: relative; min-height: 320px; }
@media (min-width: 640px) { .promo__media { min-height: 420px; } }
@media (min-width: 1024px) { .promo__media { min-height: 640px; } }
.promo__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- slika i tekst ---------- */
.image-text { overflow: hidden; } /* dekorativni akcenti ne smiju proširiti stranicu (horizontalni scroll) */
.image-text__grid { display: grid; align-items: center; gap: 3rem; }
@media (min-width: 1024px) { .image-text__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (min-width: 1280px) { .image-text__grid { gap: 6rem; } }
.image-text__content { max-width: 640px; }
.image-text__text { margin-top: 1.25rem; }
.image-text__action { margin-top: 2rem; }
@media (min-width: 1024px) { .image-text__action { margin-top: 2.5rem; } }
.image-text__media { position: relative; }
.image-text__image { position: relative; z-index: 0; aspect-ratio: 3 / 2; overflow: hidden; }
.image-text__image img { width: 100%; height: 100%; object-fit: cover; }
/* narančasti akcenti IZNAD fotografije – položaj i veličina izmjereni iz dizajna (184×65 px na 1920) */
.image-text__media.has-decoration::before, .image-text__media.has-decoration::after {
  content: ''; display: none; position: absolute; z-index: 1; height: 4rem; width: 11.5rem; background: var(--c-accent); pointer-events: none;
}
.image-text__media.has-decoration::before { right: -4.2rem; top: 3.5rem; }
.image-text__media.has-decoration::after { left: -5.25rem; bottom: 4.9rem; }
@media (min-width: 1024px) {
  .image-text__media.has-decoration::before, .image-text__media.has-decoration::after { display: block; }
  .image-text--left .image-text__content { order: 2; }
  .image-text--left .image-text__media { order: 1; }
}

/* ---------- objave / kartice ---------- */
.cards-grid { display: grid; gap: 2rem; }
@media (min-width: 768px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-grid { gap: 2.5rem; } }
@media (min-width: 1280px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; height: 100%; background: var(--c-sand-100); }
.post-card__image { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post-card__image:hover img { transform: scale(1.03); }
.post-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
@media (min-width: 1024px) { .post-card__body { padding: 2.25rem; } }
.post-card__body .h4 { margin-top: 0.75rem; }
.post-card__body .h4 a:hover { color: var(--c-accent); }
.post-card__date { display: block; margin-top: 0.5rem; font-size: 1rem; color: rgba(22, 21, 67, 0.6); }
.post-card__excerpt { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; color: rgba(22, 21, 67, 0.8); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more { margin-top: auto; padding-top: 2rem; }

.tabs { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.tab { padding: 0.625rem 1.25rem; border: 1px solid rgba(22, 21, 67, 0.3); font-size: 1.0625rem; font-weight: 500; transition: border-color 0.2s, background 0.2s, color 0.2s; }
.tab:hover { border-color: var(--c-navy); }
.tab.is-active { border-color: var(--c-navy); background: var(--c-navy); color: var(--c-offwhite); }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-top: 3.5rem; font-size: 1.125rem; font-weight: 500; }

.post-body { max-width: 980px; margin: 0 auto; }
.post-cover { aspect-ratio: 2 / 1; overflow: hidden; margin-bottom: 3rem; }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .post-cover { margin-bottom: 4rem; } }
.post-excerpt { margin-bottom: 2rem; font-weight: 500; }
.post-back { margin-top: 3.5rem; padding-top: 2rem; border-top: 1px solid rgba(22, 21, 67, 0.15); }

/* ---------- rich text ---------- */
.rich-text { font-size: var(--fs-body-lg); line-height: 1.5; }
.rich-text--narrow { max-width: 900px; }
.rich-text > * + * { margin-top: 1.1em; }
.rich-text h2, .rich-text h3, .rich-text h4 { font-weight: 700; line-height: 1.2; margin-top: 1.6em; }
.rich-text > :first-child { margin-top: 0; }
.rich-text h2 { font-size: clamp(1.75rem, 1.25rem + 1.2vw, 2.5rem); }
.rich-text h3 { font-size: clamp(1.4rem, 1.15rem + 0.7vw, 2rem); }
.rich-text h4 { font-size: clamp(1.2rem, 1.05rem + 0.4vw, 1.5rem); }
.rich-text p { line-height: 1.6; }
.rich-text a { font-weight: 500; text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rich-text a:hover { color: var(--c-accent); }
.rich-text ul, .rich-text ol { padding-left: 1.75rem; }
.rich-text ul { list-style: disc; }
.rich-text ol { list-style: decimal; }
.rich-text li + li { margin-top: 0.4em; }
.rich-text blockquote { padding-left: 1.5rem; border-left: 4px solid var(--c-accent); font-style: italic; }
.rich-text hr { margin: 2.5rem 0; border: 0; border-top: 1px solid rgba(22, 21, 67, 0.2); }
.rich-text strong { font-weight: 600; }

/* ---------- tim ---------- */
.team__intro { max-width: 720px; margin-top: 1.25rem; }
.team__grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 640px) { .team__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .team__grid { grid-template-columns: repeat(3, 1fr); margin-top: 4rem; gap: 2.5rem; } }
@media (min-width: 1280px) { .team__grid { grid-template-columns: repeat(4, 1fr); } }
.team-member { display: flex; flex-direction: column; }
.team-member__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--c-navy); }
.team-member__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-member__initials { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 3.5rem; font-weight: 700; color: var(--c-accent); }
.team-member .h4 { margin-top: 1.25rem; }
.team-member__role { margin-top: 0.25rem; font-size: 1.125rem; font-weight: 500; color: var(--c-accent); }
.team-member__bio { margin-top: 0.75rem; font-size: 1.0625rem; line-height: 1.6; opacity: 0.85; }
.team-member__links { display: flex; gap: 1rem; margin-top: 0.75rem; font-size: 1rem; font-weight: 500; }
.team-member__links a { text-decoration: underline; text-underline-offset: 4px; }
.team-member__links a:hover { color: var(--c-accent); }

/* ---------- kontakt ---------- */
.contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.contact__text { max-width: 560px; margin-top: 1.25rem; }
.contact__details { margin-top: 2.5rem; }
.contact__details address { margin-top: 1rem; font-size: var(--fs-body-lg); }
.contact__details address p + p { margin-top: 0.75rem; }
.contact__details a { text-decoration: underline; text-underline-offset: 4px; }
.contact__details a:hover { color: var(--c-accent); }
.contact-form .field + .field { margin-top: 1.75rem; }
.contact-form label { display: block; font-size: 1.0625rem; font-weight: 600; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: 0.5rem; padding: 0.75rem 0; font-size: 1.125rem; color: inherit;
  background: transparent; border: 0; border-bottom: 1px solid rgba(22, 21, 67, 0.4); border-radius: 0; outline: none; transition: border-color 0.2s;
}
.contact-form textarea { resize: vertical; min-height: 6rem; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--c-accent); }
.contact-form--inverted input, .contact-form--inverted textarea { border-bottom-color: rgba(251, 247, 245, 0.6); }
.contact-form .btn { margin-top: 1.75rem; }
.field__error { margin-top: 0.5rem; font-size: 0.9375rem; color: var(--c-accent); }
.form-status { padding: 1.5rem 2rem; margin-bottom: 1.5rem; border: 1px solid currentColor; font-size: var(--fs-lead); }
.form-status--success { border-color: rgba(255, 255, 255, 0.4); }
.bg-offwhite .form-status--success, .bg-sand .form-status--success, .bg-mint .form-status--success { border-color: rgba(22, 21, 67, 0.3); }
.form-status--error { color: var(--c-accent); }

/* ---------- CTA ---------- */
.cta__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 2rem; }
@media (min-width: 1024px) { .cta__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 4rem; } }
.cta__content { max-width: 820px; }
.cta__content .lead { margin-top: 1rem; }
.cta .btn { flex-shrink: 0; }

/* ---------- podnožje ---------- */
.site-footer { background: var(--c-navy); color: var(--c-offwhite); border-top: 1px solid rgba(251, 247, 245, 0.15); }
.site-footer .container { padding-top: 3.5rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer .container { padding-top: 5rem; } }
.site-footer__grid { display: grid; gap: 3rem; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.3fr repeat(3, 1fr); gap: 2.5rem; } }
.site-footer__brand img { height: 56px; width: auto; }
@media (min-width: 1024px) { .site-footer__brand img { height: 70px; } }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; font-size: 1.125rem; font-weight: 500; }
.site-footer__social a:hover { color: var(--c-accent); }
.site-footer__col h2 { font-size: 1.25rem; font-weight: 600; }
.site-footer__col ul { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.site-footer__col a { font-size: 1.125rem; }
@media (min-width: 1024px) { .site-footer__col a { font-size: 1.25rem; } }
.site-footer__col a:hover { color: var(--c-accent); }
.site-footer__col address { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; font-size: 1.125rem; }
@media (min-width: 1024px) { .site-footer__col address { font-size: 1.25rem; } }
.site-footer__bottom { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251, 247, 245, 0.3); text-align: center; font-size: 0.9375rem; color: rgba(251, 247, 245, 0.8); }
@media (min-width: 1024px) { .site-footer__bottom { margin-top: 5rem; } }

/* ---------- traka za nacrt ---------- */
.draft-banner {
  position: fixed; left: 50%; bottom: 1rem; z-index: 60; transform: translateX(-50%);
  padding: 0.65rem 1.25rem; border-radius: 999px; background: var(--c-navy); color: var(--c-offwhite);
  font-size: 0.9375rem; font-weight: 500; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25); white-space: nowrap;
}
.draft-banner a { margin-left: 0.5rem; color: var(--c-accent); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Nadogradnja: navigacija pod-brenda, mrvice, kolačići, nove sekcije,
   natječaji / projekti / nekretnine
   ========================================================================== */

/* ---------- navigacija pod-brenda ---------- */
.brand-nav { background: var(--c-sand-100); border-bottom: 1px solid rgba(22, 21, 67, 0.08); }
.brand-nav__inner { display: flex; align-items: center; gap: 1.5rem; min-height: 56px; overflow-x: auto; }
.brand-nav__label { flex-shrink: 0; font-weight: 700; font-size: 1.0625rem; padding-right: 1.5rem; border-right: 1px solid rgba(22, 21, 67, 0.2); }
.brand-nav nav { display: flex; gap: 1.5rem; }
.brand-nav__link { flex-shrink: 0; padding: 1rem 0; font-size: 1.0625rem; font-weight: 500; border-bottom: 3px solid transparent; transition: color 0.2s, border-color 0.2s; }
.brand-nav__link:hover, .brand-nav__link.is-active { color: var(--c-accent); border-bottom-color: var(--c-accent); }
.mobile-nav__link--sub { font-size: 1.125rem; opacity: 0.85; }

/* ---------- mrvice ---------- */
.breadcrumbs { margin-bottom: 1.5rem; font-size: 0.9375rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem; }
.breadcrumbs li { display: flex; align-items: center; gap: 0.35rem; }
.breadcrumbs li + li::before { content: '›'; opacity: 0.5; }
.breadcrumbs a { opacity: 0.75; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: opacity 0.2s, text-decoration-color 0.2s; }
.breadcrumbs a:hover { opacity: 1; text-decoration-color: var(--c-accent); }
.breadcrumbs [aria-current] { font-weight: 600; }
.hero .breadcrumbs { margin-top: -1rem; margin-bottom: 1.5rem; color: rgba(251, 247, 245, 0.9); }
.hero--compact .container { padding-top: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 1024px) { .hero--compact .container { padding-top: 3.5rem; padding-bottom: 3.5rem; } }

/* ---------- traka za kolačiće (privola po kategorijama) ---------- */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 70; }
.cookie-banner[hidden] { display: none; }
.cookie-banner--static .cookie-banner__inner { padding: 1rem 1.5rem; }
.cookie-banner__inner { max-width: 1100px; max-height: calc(100vh - 2rem); margin: 0 auto; padding: 1.5rem; overflow: auto; background: var(--c-navy); color: var(--c-offwhite); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3); }
.cookie-banner__main { display: flex; flex-direction: column; gap: 1.25rem; }
@media (min-width: 900px) { .cookie-banner__main { flex-direction: row; align-items: center; justify-content: space-between; gap: 2.5rem; } }
.cookie-banner__title { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.cookie-banner__text { margin-top: 0.4rem; font-size: 0.95rem; line-height: 1.5; }
.cookie-banner__text a { text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__text a:hover { color: var(--c-accent); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner .btn-sm { padding: 0.7rem 1.4rem; font-size: 1rem; min-height: 44px; }
.btn-light { background: var(--c-offwhite); color: var(--c-navy); }
.btn-light:hover { background: var(--c-accent); color: var(--c-navy); }
.btn-outline-light { background: transparent; color: var(--c-offwhite); border: 1px solid rgba(251, 247, 245, 0.5); }
.btn-outline-light:hover { background: rgba(251, 247, 245, 0.12); }
.cookie-banner__customize { min-height: 44px; padding: 0.5rem 0.25rem; font-size: 1rem; font-weight: 500; color: var(--c-offwhite); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__customize:hover, .cookie-banner__customize[aria-expanded='true'] { color: var(--c-accent); }
.cookie-settings { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid rgba(251, 247, 245, 0.25); }
.cookie-settings[hidden] { display: none; }
.cookie-settings__list { display: grid; gap: 0.9rem; }
@media (min-width: 768px) { .cookie-settings__list { grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; } }
.cookie-settings__list label { display: grid; grid-template-columns: auto 1fr; gap: 0.15rem 0.75rem; align-items: start; cursor: pointer; font-size: 0.95rem; line-height: 1.45; }
.cookie-settings__list input { grid-row: 1 / span 2; width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--c-accent); cursor: pointer; }
.cookie-settings__list input[disabled] { cursor: default; opacity: 0.8; }
.cookie-settings__list strong { font-weight: 700; }
.cookie-settings__list span { opacity: 0.85; }
.cookie-settings__actions { display: flex; justify-content: flex-end; margin-top: 1.25rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem; }
.site-footer__bottom a, .site-footer__cookies { color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.site-footer__bottom a:hover, .site-footer__cookies:hover { color: var(--c-accent); }

/* ---------- pristupačnost: preskoči na sadržaj, smanjeno kretanje ---------- */
.skip-link { position: absolute; left: 1rem; top: -200px; z-index: 100; padding: 0.75rem 1.25rem; background: var(--c-navy); color: var(--c-offwhite); font-weight: 600; }
.skip-link:focus { top: 1rem; outline: 2px solid var(--c-accent); outline-offset: 2px; }
main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- vanjski sadržaj (YouTube, Vimeo, Google Maps) uz privolu ---------- */
.embed-gate { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 2rem 1.5rem; text-align: center; color: var(--c-navy); background: var(--c-sand-100); border: 1px solid rgba(22, 21, 67, 0.12); }
.video-embed.embed-gate { background: var(--c-sand-100); }
.embed-gate__text { max-width: 560px; font-size: 1rem; line-height: 1.5; opacity: 0.85; }
.embed-gate__text a, .embed-gate__always, .embed-gate__open { text-decoration: underline; text-underline-offset: 3px; }
.embed-gate__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem 1.5rem; }
.embed-gate__always, .embed-gate__open { font-size: 0.95rem; }
.embed-gate__text a:hover, .embed-gate__always:hover, .embed-gate__open:hover { color: var(--c-accent); }

/* ---------- napomena o obradi podataka ispod obrasca ---------- */
.form-notice { font-size: 0.95rem; line-height: 1.5; opacity: 0.85; }
.form-notice a { text-decoration: underline; text-underline-offset: 3px; }
.form-notice a:hover { color: var(--c-accent); }
.contact-form--grid .form-notice { grid-column: 1 / -1; }

/* ---------- tablice u tekstu (pravne stranice) ---------- */
.rich-text table { display: block; width: 100%; max-width: 100%; overflow-x: auto; font-size: 1.0625rem; line-height: 1.45; border-collapse: collapse; }
.rich-text table tbody { display: table; width: 100%; }
.rich-text th, .rich-text td { padding: 0.75rem 0.9rem; border: 1px solid rgba(22, 21, 67, 0.18); text-align: left; vertical-align: top; }
.rich-text th { width: 32%; background: var(--c-sand-100); font-weight: 600; }
.rich-text tr:first-child th:not(:first-child), .rich-text tr:first-child td:not(:first-child) { background: var(--c-sand-100); }
.rich-text table p + p { margin-top: 0.5em; }

/* ---------- prednosti ---------- */
.features__heading { max-width: 780px; }
.features__intro { max-width: 640px; margin-top: 1.25rem; }
.features__grid { display: grid; gap: 2rem; margin-top: 3rem; }
@media (min-width: 640px) { .features__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features__grid--3 { grid-template-columns: repeat(3, 1fr); } .features__grid--4 { grid-template-columns: repeat(4, 1fr); } .features__grid { margin-top: 4rem; gap: 2.5rem; } }
.feature__icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; background: var(--c-accent); color: var(--c-navy); }
.feature__icon img { width: 2rem; height: 2rem; object-fit: contain; }
.feature__title { margin-top: 1.25rem; }
.feature__text { margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.6; opacity: 0.85; }

/* ---------- galerija + lightbox ---------- */
.gallery-section__heading { margin-bottom: 2.5rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .gallery--3 { grid-template-columns: repeat(3, 1fr); } .gallery--4 { grid-template-columns: repeat(4, 1fr); } .gallery { gap: 1.5rem; } }
.gallery__item { display: block; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-sand-200); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gallery__item:hover img { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; background: rgba(22, 21, 67, 0.94); padding: 3.5rem 1rem; }
.lightbox[hidden] { display: none; }
.lightbox__figure { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.lightbox__img { max-width: 100%; max-height: calc(100vh - 7rem); object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox__caption { color: rgba(251, 247, 245, 0.85); font-size: 0.95rem; text-align: center; }
.lightbox__close, .lightbox__nav { position: absolute; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--c-offwhite); font-size: 2.25rem; line-height: 1; transition: color 0.2s; }
.lightbox__close { top: 0.75rem; right: 0.75rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); font-size: 3rem; }
.lightbox__nav--prev { left: 0.25rem; } .lightbox__nav--next { right: 0.25rem; }
.lightbox__close:hover, .lightbox__nav:hover { color: var(--c-accent); }
body.lightbox-open { overflow: hidden; }

/* ---------- FAQ ---------- */
.faq__inner { max-width: 900px; }
.faq__intro { margin-top: 1.25rem; }
.faq__list { margin-top: 2.5rem; border-top: 1px solid rgba(22, 21, 67, 0.15); }
.faq__item { border-bottom: 1px solid rgba(22, 21, 67, 0.15); }
.faq__question { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; font-size: var(--fs-h4); font-weight: 600; line-height: 1.3; cursor: pointer; list-style: none; }
.faq__question::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex-shrink: 0; width: 1.5rem; height: 1.5rem; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--c-accent); transform: translate(-50%, -50%); transition: transform 0.25s; }
.faq__icon::before { width: 100%; height: 3px; }
.faq__icon::after { width: 3px; height: 100%; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__answer { padding: 0 0 1.5rem; max-width: 800px; }

/* ---------- zajedničko: značke, činjenice, popisi ---------- */
.badge { display: inline-block; padding: 0.3rem 0.75rem; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.2; background: var(--c-navy); color: var(--c-offwhite); }
.badge--open, .badge--available { background: var(--c-accent); color: var(--c-navy); }
.badge--announced, .badge--construction { background: var(--c-lightblue); color: var(--c-navy); }
.badge--closed, .badge--sold { background: rgba(22, 21, 67, 0.12); color: var(--c-navy); }
.badge--reserved { background: var(--c-violet); color: var(--c-navy); }
.badge--draft { background: #f3ecdf; color: #8a5a10; }
.hero .badge--closed, .hero .badge--sold { background: rgba(251, 247, 245, 0.18); color: var(--c-offwhite); }
.entity__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-bottom: 1.25rem; }
.facts { display: grid; gap: 0.75rem 1.5rem; }
.facts div { display: flex; flex-direction: column; gap: 0.15rem; padding-bottom: 0.75rem; border-bottom: 1px solid rgba(22, 21, 67, 0.1); }
.facts dt { font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.6; }
.facts dd { font-size: 1.0625rem; font-weight: 500; }
.facts--inline { grid-template-columns: repeat(2, 1fr); margin-top: 1.25rem; }
.facts--inline div { border-bottom: 0; padding-bottom: 0; }
.check-marks { display: grid; gap: 0.6rem; margin-top: 0.75rem; }
.check-marks--grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.check-marks li { position: relative; padding-left: 1.75rem; font-size: 1.0625rem; }
.check-marks li::before { content: ''; position: absolute; left: 0; top: 0.35rem; width: 0.9rem; height: 0.5rem; border-left: 3px solid var(--c-accent); border-bottom: 3px solid var(--c-accent); transform: rotate(-45deg); }
.file-list { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.75rem; font-size: 1.0625rem; }
.file-list a { text-decoration: underline; text-decoration-color: var(--c-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.file-list a:hover { color: var(--c-accent); }
.file-card { display: flex; align-items: center; gap: 0.75rem; padding: 1rem; border: 1px solid rgba(22, 21, 67, 0.2); font-weight: 500; }
.file-card__ext { padding: 0.25rem 0.5rem; background: var(--c-navy); color: var(--c-offwhite); font-size: 0.75rem; font-weight: 700; }
.file-card:hover { border-color: var(--c-accent); }
.quote { margin: 2.5rem 0; padding: 1.5rem 2rem; border-left: 4px solid var(--c-accent); background: var(--c-sand-100); font-size: var(--fs-lead); font-style: italic; }
.quote footer { margin-top: 0.75rem; font-size: 1rem; font-style: normal; font-weight: 600; }
.video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 1rem; background: var(--c-navy); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.section-head__intro { margin-top: 0.75rem; max-width: 640px; }

/* ---------- detalj (natječaj / projekt / nekretnina) ---------- */
.entity__grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) { .entity__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 4rem; } .entity__side { position: sticky; top: 8rem; } }
@media (min-width: 1280px) { .entity__grid { grid-template-columns: minmax(0, 1fr) 460px; gap: 6rem; } }
.entity__main > .rich-text { margin-top: 0; }
.entity__main .post-cover { aspect-ratio: 3 / 2; }
.entity__subheading { margin-top: 2.5rem; margin-bottom: 0.75rem; }
.entity__text .check-marks li { font-size: inherit; }
.entity__text p + p { margin-top: 0.75em; }
.entity__external { margin-top: 2.5rem; }
.entity__gallery { margin-top: 2.5rem; }
.entity__side { display: flex; flex-direction: column; gap: 1.5rem; }
.entity__facts, .entity__inquiry { padding: 1.75rem; background: var(--c-sand-100); }
.entity__facts .facts { margin-top: 1.25rem; }
.entity__facts .facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.entity__files { margin-top: 1.25rem; }
.entity__inquiry .muted { margin-top: 0.5rem; font-size: 1rem; }
.entity__inquiry .muted a { text-decoration: underline; text-underline-offset: 3px; }
.entity__inquiry .contact-form { margin-top: 1.25rem; }
.entity__inquiry .contact-form .field + .field { margin-top: 1.25rem; }
.entity__inquiry .contact-form input, .entity__inquiry .contact-form textarea { background: #fff; padding: 0.7rem 0.9rem; border: 1px solid rgba(22, 21, 67, 0.2); }
.entity__inquiry .contact-form input:focus, .entity__inquiry .contact-form textarea:focus { border-color: var(--c-accent); }
.entity__inquiry .btn { margin-top: 1.25rem; }
.entity__inquiry .form-status { border-color: rgba(22, 21, 67, 0.3); font-size: 1.0625rem; padding: 1rem 1.25rem; }
.entity__inquiry .form-status--success { color: var(--c-navy); }

/* ---------- popisi i filteri ---------- */
.entities-list .breadcrumbs { margin-bottom: 2rem; }
.filters { display: grid; gap: 1rem; padding: 1.5rem; background: var(--c-sand-100); }
@media (min-width: 768px) { .filters { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .filters { grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; } .filters__field--search { grid-column: span 1; } }
.filters__field { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.875rem; font-weight: 600; }
.filters__field select, .filters__field input { width: 100%; padding: 0.7rem 0.9rem; font: inherit; font-weight: 400; font-size: 1rem; color: var(--c-navy); background: #fff; border: 1px solid rgba(22, 21, 67, 0.2); border-radius: 0; }
.filters__field select:focus, .filters__field input:focus { outline: none; border-color: var(--c-accent); }
.filters__actions { display: flex; align-items: center; gap: 1rem; }
.filters__reset { font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.filters__reset:hover { color: var(--c-accent); }
.entities-list__count { margin: 1.5rem 0; font-size: 1rem; }
.entities-list__empty { padding: 3rem 0; }

/* ---------- natječaj (kartica) ---------- */
.tender-card { display: flex; flex-direction: column; height: 100%; padding: 1.75rem; background: var(--c-sand-100); border-top: 4px solid transparent; }
.tender-card.is-featured { border-top-color: var(--c-accent); }
@media (min-width: 1024px) { .tender-card { padding: 2.25rem; } }
.tender-card__head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; }
.tender-card__deadline { font-size: 0.95rem; font-weight: 500; opacity: 0.75; }
.tender-card .h4 { margin-top: 1rem; }
.tender-card .h4 a:hover { color: var(--c-accent); }
.tender-card__program { margin-top: 0.5rem; font-size: 1rem; font-weight: 500; color: var(--c-accent); }
.tender-card__summary { margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; color: rgba(22, 21, 67, 0.8); }
.tender-card__more { margin-top: auto; padding-top: 1.75rem; }

/* ---------- projekt (kartica) ---------- */
.project-card__facts { margin-top: 1rem; }

/* ---------- nekretnina (kartica i detalj) ---------- */
.property-card { display: flex; flex-direction: column; height: 100%; background: var(--c-sand-100); }
.property-card__image { display: block; position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--c-navy); }
.property-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.property-card__image:hover img { transform: scale(1.03); }
.property-card__placeholder { display: block; width: 100%; height: 100%; background: linear-gradient(135deg, var(--c-navy), #2a2870); }
.property-card__badge { position: absolute; left: 1rem; top: 1rem; }
.property-card__draft { position: absolute; right: 1rem; top: 1rem; }
.property-card.is-sold .property-card__image img { filter: grayscale(0.6); opacity: 0.85; }
.property-card__body { display: flex; flex: 1; flex-direction: column; padding: 1.75rem; }
@media (min-width: 1024px) { .property-card__body { padding: 2rem; } }
.property-card__body .h4 { margin-top: 0.75rem; }
.property-card__body .h4 a:hover { color: var(--c-accent); }
.property-card__specs { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-top: 1rem; font-size: 1rem; color: rgba(22, 21, 67, 0.75); }
.property-card__specs li::before { content: '•'; margin-right: 0.5rem; color: var(--c-accent); }
.property-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; padding-top: 1.75rem; }
.property-card__price { font-size: 1.5rem; font-weight: 700; }
.property__price { margin-top: 1.5rem; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.5rem); font-weight: 700; color: var(--c-accent); }
.property__price-m2 { margin-left: 0.75rem; font-size: 1.0625rem; font-weight: 500; color: rgba(251, 247, 245, 0.75); }
.property__gallery-wrap { padding-top: 1.5rem; }
.property__gallery { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.property__gallery li:first-child { grid-column: span 2; }
.property__gallery li:first-child .gallery__item { aspect-ratio: 16 / 9; }
.property__gallery--single li:first-child .gallery__item { aspect-ratio: 2 / 1; }
@media (min-width: 1024px) {
  .property__gallery { grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .property__gallery li:first-child { grid-column: span 2; grid-row: span 2; }
  .property__gallery li:first-child .gallery__item { aspect-ratio: auto; height: 100%; }
  .property__gallery--single li:first-child { grid-column: span 4; }
}
.property__gallery li:nth-child(n + 6) { display: none; }
@media (min-width: 1024px) { .property__gallery li:nth-child(n + 6) { display: block; } .property__gallery li:nth-child(n + 8) { display: none; } }
.property__details.section { padding-top: 3rem; }
.entity__main > .lead + .rich-text { margin-top: 1.5rem; }

/* ==========================================================================
   Nadogradnja 2: novi dizajn podstranica (O nama, Consulting, Finance, Investing)
   ========================================================================== */

/* ---------- pozadine i mali naslovi ---------- */
.bg-peach { background: #fbece4; color: var(--c-navy); }
.bg-navy-light { background: #444267; color: var(--c-offwhite); }
.bg-orange { background: var(--c-accent); color: var(--c-navy); }
.bg-navy-light .lead, .bg-navy-light .rich-text { color: rgba(251, 247, 245, 0.9); }
.bg-peach .lead { color: rgba(22, 21, 67, 0.82); }
.kicker { margin-bottom: 1.25rem; font-size: 1rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-accent); }
.kicker--light { color: rgba(251, 247, 245, 0.85); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center > div { width: 100%; }
.section-head--center .section-head__intro { margin-left: auto; margin-right: auto; }
.entities__all { margin-top: 2.5rem; text-align: center; }
.container--narrow { max-width: 1440px; }

/* ---------- slika i tekst: omjeri, tamna varijanta ---------- */
.image-text .display { margin-top: 0; }
.image-text__image--standard { aspect-ratio: 4 / 3; }
.image-text__image--square { aspect-ratio: 1 / 1; }
.image-text__image--portrait { aspect-ratio: 5 / 6; }
.image-text__image--natural { aspect-ratio: auto; }
.image-text__image--natural img { height: auto; object-fit: contain; }
.image-text.bg-navy .rich-text { color: rgba(251, 247, 245, 0.9); }
.image-text.bg-navy .rich-text h3, .image-text.bg-navy-light .rich-text h3, .promo.bg-navy .promo__extra h3 { color: var(--c-accent); font-weight: 600; }
.image-text.bg-navy .rich-text a, .promo.bg-navy .rich-text a { text-decoration-color: var(--c-accent); }
.image-text .rich-text h3 { font-size: clamp(1.4rem, 1.15rem + 0.7vw, 2rem); margin-top: 1.4em; }
@media (min-width: 1024px) { .image-text__content { max-width: 800px; } }

/* ---------- promo: lijevo/desno, dodatni sadržaj, akcenti ---------- */
@media (min-width: 1024px) {
  .promo--left .promo__content { order: 2; padding: 6rem max(2.5rem, calc((100vw - var(--container)) / 2 + var(--gutter))) 6rem 4rem; }
  .promo--left .promo__media { order: 1; }
}
.promo .display { margin-top: 0; }
.promo .accent { color: var(--c-accent); }
.promo__extra { max-width: 640px; margin-top: 1.5rem; }
.promo__extra.rich-text { font-size: var(--fs-lead); }
.promo.bg-navy .promo__text, .promo.bg-navy-light .promo__text { color: rgba(251, 247, 245, 0.9); }
.promo.bg-navy .promo__extra { color: rgba(251, 247, 245, 0.9); }
.promo__media.has-decoration::before, .promo__media.has-decoration::after { content: ''; display: none; position: absolute; z-index: 1; width: 9rem; height: 3.6rem; background: var(--c-accent); pointer-events: none; }
.promo__media.has-decoration::before { left: -4.5rem; top: 6rem; }
.promo__media.has-decoration::after { left: -4.5rem; bottom: 6rem; }
.promo--left .promo__media.has-decoration::before, .promo--left .promo__media.has-decoration::after { left: auto; right: -4.5rem; }
@media (min-width: 1024px) { .promo__media.has-decoration::before, .promo__media.has-decoration::after { display: block; } }
.promo .kicker + .display, .promo .kicker + .h2 { margin-top: 0; }

/* ---------- prednosti: centrirana traka ---------- */
.features--centered { padding: 3.5rem 0; }
@media (min-width: 1024px) { .features--centered { padding: 4rem 0; } }
.features--centered .features__grid { margin-top: 0; gap: 2.5rem 1.5rem; align-items: start; text-align: center; }
.features--centered .features__heading { margin-bottom: 3rem; text-align: center; }
.features--centered .feature { display: flex; flex-direction: column; align-items: center; }
.features--centered .feature__icon { width: auto; height: 3.75rem; background: none; color: inherit; }
.features--centered .feature__icon img { width: auto; height: 3.25rem; max-width: 6rem; object-fit: contain; }
.features--centered .feature__title { margin-top: 1rem; font-size: 1.5rem; font-weight: 600; line-height: 1.3; max-width: 22rem; }
.features--centered .feature__text { margin-top: 0.5rem; font-size: 1.5rem; font-weight: 600; line-height: 1.3; opacity: 1; max-width: 22rem; }
.features--centered .feature--value .feature__title { margin-top: 0; font-size: clamp(2rem, 1.5rem + 1.5vw, 3.2rem); font-weight: 600; line-height: 1.15; }
.bg-orange .feature--value .feature__title { color: var(--c-offwhite); }
.bg-navy .features--centered .feature__title, .bg-navy .features--centered .feature__text { color: var(--c-offwhite); }

/* ---------- kartice s ikonom ---------- */
.cards-section__eyebrow { margin-bottom: 1rem; font-size: clamp(1.25rem, 1rem + 0.8vw, 1.875rem); }
.cards-section__heading { max-width: 940px; }
.cards-section__intro { max-width: 940px; margin-top: 1.5rem; }
.icards { display: grid; gap: 1.25rem; margin-top: 3rem; }
@media (min-width: 768px) { .icards--2 { grid-template-columns: repeat(2, 1fr); } .icards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .icards--3 { grid-template-columns: repeat(3, 1fr); } .icards { margin-top: 4rem; } }
.icard { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2.5rem 1.75rem; }
@media (min-width: 1024px) { .icard { padding: 3rem 2.5rem; } }
.icards--filled .icard { background: #fbece4; }
.bg-peach .icards--filled .icard { background: var(--c-offwhite); }
.icards--outline .icard { border: 1px solid var(--c-navy); }
.icards--outline .icard__content { text-align: left; align-self: stretch; }
.icard__icon { display: flex; align-items: flex-end; height: 3.75rem; }
.icard__icon img { height: 3.5rem; width: auto; max-width: 6rem; object-fit: contain; }
.icard__title { margin-top: 1.25rem; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2.5rem); font-weight: 600; line-height: 1.2; }
.icard__content { margin-top: 1.25rem; font-size: var(--fs-body-lg); line-height: 1.5; color: rgba(22, 21, 67, 0.9); }
.icard__content ul { text-align: left; }
.icard__action { margin-top: auto; padding-top: 2rem; }
.icard .btn-sm { font-size: 1.0625rem; padding: 0.8rem 1.5rem; }

/* ---------- tabovi ---------- */
.tabs-section__heading { margin-bottom: 1rem; }
.vtabs { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
@media (min-width: 1024px) { .vtabs { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2.5rem; align-items: start; } }
.vtabs__list { display: flex; flex-direction: column; }
.vtabs__tab { display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; padding: 1.1rem 1rem; border-bottom: 1px solid rgba(22, 21, 67, 0.2); font-size: 1.0625rem; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; text-align: left; transition: background-color 0.2s, border-color 0.2s; }
@media (min-width: 1024px) { .vtabs__tab { font-size: 1.25rem; padding: 1.2rem 1.25rem; } }
.vtabs__tab:hover { background: rgba(255, 144, 82, 0.15); }
.vtabs__tab.is-active { background: var(--c-accent); border-color: var(--c-accent); }
.vtabs__arrow { flex-shrink: 0; }
.vtabs__panel { display: none; gap: 2rem; padding: 2rem; background: #fbf1ed; }
.bg-sand .vtabs__panel, .bg-peach .vtabs__panel { background: var(--c-offwhite); }
.vtabs__panel.is-active { display: grid; }
@media (min-width: 1024px) { .vtabs__panel.has-image.is-active { grid-template-columns: minmax(0, 1fr) 300px; align-items: start; } .vtabs__panel { padding: 2.5rem; } }
.vtabs__body .rich-text { font-size: 1.25rem; }
.vtabs__body .rich-text li + li { margin-top: 0.75em; }
.vtabs__image { aspect-ratio: 1; overflow: hidden; background: #d9d9d9; }
.vtabs__image img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- kontakt podaci i osobe ---------- */
.contacts .h2 { margin-bottom: 2rem; }
.contacts__lines { font-size: var(--fs-lead); line-height: 1.65; }
.contacts__lines a, .contacts__person a { text-decoration: underline; text-underline-offset: 4px; }
.contacts__lines a:hover, .contacts__person a:hover { color: var(--c-accent); }
.contacts__grid { display: grid; gap: 2rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid rgba(251, 247, 245, 0.25); }
@media (min-width: 768px) { .contacts__grid { grid-template-columns: repeat(3, 1fr); } }
.contacts__dept { margin-bottom: 0.5rem; font-size: 1.25rem; font-weight: 700; }
.contacts__person p { font-size: 1.125rem; line-height: 1.65; }

/* ---------- harmonika s ikonama ---------- */
.faq--center .h2, .faq--center .faq__intro { text-align: center; }
.faq--center .faq__inner { max-width: 1440px; }
.faq--center .faq__intro { margin-left: auto; margin-right: auto; }
.faq--center .faq__list { max-width: 1360px; margin-left: auto; margin-right: auto; }
.faq__question { align-items: center; gap: 1.25rem; }
.faq__item-icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; flex-shrink: 0; }
.faq__item-icon img { height: 2.75rem; width: auto; max-width: 3.5rem; object-fit: contain; }
.faq__question-text { flex: 1; }
.faq__chevron { flex-shrink: 0; width: 0.85rem; height: 0.85rem; margin: 0 0.5rem 0.35rem 0; border-right: 2px solid var(--c-navy); border-bottom: 2px solid var(--c-navy); transform: rotate(45deg); transition: transform 0.25s; }
.faq__item[open] .faq__chevron { transform: rotate(-135deg); margin-top: 0.5rem; margin-bottom: 0; }
.faq__item:has(.faq__item-icon) .faq__answer { padding-left: 4.75rem; }
.faq__answer ul { padding-left: 1.25rem; }
.faq__answer li + li { margin-top: 0.5em; }
.faq__answer .rich-text > * + *, .faq__answer > * + * { margin-top: 0.8em; }

/* ---------- brojke ---------- */
@media (min-width: 1024px) { .stats__grid--3 { grid-template-columns: repeat(3, 1fr); } .stats__grid--2 { grid-template-columns: repeat(2, 1fr); } }
.stats.bg-navy-light .stat__value { color: var(--c-accent); }
.stat__value { font-variant-numeric: tabular-nums; }

/* ---------- logotipi: gumb ---------- */
.logos__action { margin-top: 2.5rem; text-align: center; }

/* ---------- tim: kartice ---------- */
.team--cards .team__grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (min-width: 1024px) { .team--cards .team__grid { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; } }
.team--cards .team-member { background: #fbf1ed; }
.bg-sand .team--cards .team-member, .team--cards.bg-sand .team-member { background: var(--c-offwhite); }
.team--cards .team-member__photo { aspect-ratio: 1 / 1; }
.team--cards .team-member__body { padding: 1.25rem 1rem 1.5rem; text-align: center; }
.team--cards .team-member .h4 { margin-top: 0; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.875rem); font-weight: 600; }
.team--cards .team-member__role { margin-top: 0.15rem; font-size: 1.125rem; font-weight: 400; color: var(--c-navy); }

/* ---------- projekti novogradnje: mozaik i kartice ---------- */
.dev-grid { display: grid; gap: 1.25rem; }
@media (min-width: 768px) {
  .dev-grid { grid-template-columns: repeat(5, 1fr); }
  .dev-grid > :nth-child(4n + 1), .dev-grid > :nth-child(4n + 4) { grid-column: span 2; }
  .dev-grid > :nth-child(4n + 2), .dev-grid > :nth-child(4n + 3) { grid-column: span 3; }
}
.dev-card { position: relative; min-height: 26rem; background: var(--c-navy); color: var(--c-offwhite); overflow: hidden; }
@media (min-width: 1024px) { .dev-card { min-height: 34rem; } .cards-grid .dev-card { min-height: 28rem; } }
.dev-card__link { display: flex; min-height: inherit; height: 100%; color: inherit; }
.dev-card__media { position: absolute; inset: 0; }
.dev-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.dev-card__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22, 21, 67, 0.92) 0%, rgba(22, 21, 67, 0.55) 40%, rgba(22, 21, 67, 0.05) 75%); }
.dev-card:hover .dev-card__media img { transform: scale(1.04); }
.dev-card__body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; width: 100%; padding: 1.75rem; }
@media (min-width: 1024px) { .dev-card__body { padding: 2rem 2.25rem; } }
.dev-card__badges { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.badge--orange { background: var(--c-accent); color: var(--c-offwhite); font-size: 0.75rem; padding: 0.35rem 0.75rem; }
.dev-card__title { margin-top: 1rem; font-size: clamp(1.5rem, 1.2rem + 0.9vw, 2.5rem); font-weight: 600; line-height: 1.15; }
.dev-card__title span { font-weight: 400; }
.dev-card__meta { margin-top: 0.75rem; font-size: 1.125rem; opacity: 0.9; }
.dev-card__more { margin-top: 1.5rem; align-self: flex-start; }

/* ---------- projekt novogradnje: detalj ---------- */
.dev__hero { padding-top: 1.5rem; background: var(--c-offwhite); }
.dev__hero .breadcrumbs { margin-bottom: 1rem; }
.dev__cover { position: relative; height: clamp(320px, 40vw, 600px); overflow: hidden; background: var(--c-navy); }
.dev__cover img { width: 100%; height: 100%; object-fit: cover; }
.dev__cover::after { content: ''; position: absolute; inset: 0; background: rgba(22, 21, 67, 0.45); }
.dev__cover-text { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem; text-align: center; color: var(--c-offwhite); }
.dev__cover-text .dev-card__badges { justify-content: center; }
.dev__title { margin-top: 1rem; font-size: clamp(2rem, 1.4rem + 2vw, 3.75rem); font-weight: 700; line-height: 1.1; }
.dev__subtitle { display: block; font-weight: 400; }
.dev__content.section { padding-top: 3.5rem; }
.dev__grid { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .dev__grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 5rem; } }
.dev__desc .lead, .dev__desc .rich-text { margin-top: 1.25rem; }
.dev__facts { margin-top: 2rem; }
.agent-card { display: flex; gap: 1rem; margin-top: 1.25rem; padding: 1rem; background: #fbf1ed; }
.agent-card__photo { width: 110px; flex-shrink: 0; aspect-ratio: 1; overflow: hidden; background: var(--c-navy); }
.agent-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.agent-card__body { display: flex; flex-direction: column; gap: 0.35rem; justify-content: center; font-size: 1.125rem; }
.agent-card__name { font-size: 1.5rem; font-weight: 600; }
.agent-card__body a:hover { color: var(--c-accent); }
.dev__inquiry { margin-top: 3rem; padding: 2rem; background: #efebec; }
@media (min-width: 1024px) { .dev__inquiry { padding: 2.5rem 3rem; } }
.contact-form--grid { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 768px) { .contact-form--grid { grid-template-columns: repeat(2, 1fr); } }
.contact-form--grid .field + .field { margin-top: 0; }
.contact-form--grid .field--wide, .contact-form--grid .hp { grid-column: 1 / -1; }
.contact-form--grid .btn { grid-column: 1 / -1; justify-self: start; margin-top: 0.25rem; }
.contact-form--grid input, .contact-form--grid textarea { border-bottom-color: rgba(22, 21, 67, 0.35); }
.dev__section { margin-top: 3.5rem; }
.dev__section > .h3 { margin-bottom: 1.5rem; }
.carousel { position: relative; }
.carousel__track { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 82%; scroll-snap-align: start; }
@media (min-width: 768px) { .carousel__item { flex-basis: calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .carousel__item { flex-basis: calc(33.333% - 0.84rem); } }
.carousel__item .gallery__item { aspect-ratio: 3 / 2; }
.carousel__nav { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; transform: translateY(-50%); background: var(--c-navy); color: var(--c-offwhite); font-size: 1.75rem; line-height: 1; transition: background-color 0.2s, color 0.2s; }
.carousel__nav--prev { left: -0.75rem; }
.carousel__nav--next { right: -0.75rem; }
@media (min-width: 1280px) { .carousel__nav--prev { left: -1.25rem; } .carousel__nav--next { right: -1.25rem; } }
.carousel__nav:hover { background: var(--c-accent); color: var(--c-navy); }
.dev__details { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem 2rem; padding: 0 1rem; font-size: 1.125rem; }
@media (min-width: 1024px) { .dev__details { padding: 0 2rem; } }
.dev__catalog { margin-top: 2.5rem; text-align: center; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.map-embed { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; aspect-ratio: 16 / 9; max-height: 560px; padding: 2rem; background: var(--c-sand-100); text-align: center; }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* duže vrijednosti u brojkama (npr. "50+ mil. eura") ostaju u jednom retku */
.stat__value--long { font-size: 2.25rem; }
@media (min-width: 640px) { .stat__value--long { font-size: 2.6rem; } }
@media (min-width: 1024px) { .stat__value--long { font-size: 3rem; } }
@media (min-width: 1440px) { .stat__value--long { font-size: 3.5rem; } }

/* ==========================================================================
   Prepravke teksta (v2): nova polja sekcija, vrtuljak tima, kalkulator,
   traka za usporedbu verzija
   ========================================================================== */
.hero__subheading { margin-top: 1.25rem; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.75rem); font-weight: 600; line-height: 1.3; color: var(--c-accent); }
.hero .lead + .lead { margin-top: 1rem; }
.hero__subheading + .lead { margin-top: 1.25rem; }
.service-card__subtitle { margin-top: 1.25rem; font-size: clamp(1.125rem, 1.05rem + 0.3vw, 1.375rem); font-weight: 600; line-height: 1.3; }
.service-card__subtitle + .service-card__text { margin-top: 0.75rem; }
.services .kicker, .latest-posts .kicker, .entities .kicker { margin-bottom: 0.75rem; }
.logos__head { max-width: 860px; margin: 0 auto 2.5rem; text-align: center; }
.logos__head .kicker { margin-bottom: 0.75rem; }
.logos__intro { margin-top: 1rem; }
.stats__heading { position: relative; margin-bottom: 2.5rem; text-align: center; font-size: 1rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(251, 247, 245, 0.85); }
.faq__intro .lead + .lead { margin-top: 0.9rem; }
.faq__action, .cards-section__action, .features__action, .team__action, .calculator__action { margin-top: 2.5rem; }
.faq--center .faq__action, .faq--center .kicker { text-align: center; }
.icard__eyebrow { margin: 1.25rem 0 -0.5rem; font-size: 0.9rem; }
.icards--filled .icard__eyebrow { text-align: center; }
.features__note { max-width: 860px; margin-top: 2rem; font-size: 0.95rem; line-height: 1.5; opacity: 0.75; }
.features .kicker { margin-bottom: 0.75rem; }
.features--centered .kicker { text-align: center; }

/* vrtuljak tima */
.team--carousel .team__carousel { margin-top: 3rem; }
.team__track { list-style: none; margin: 0; padding: 0; }
.team--carousel .carousel__item { flex: 0 0 72%; }
@media (min-width: 640px) { .team--carousel .carousel__item { flex-basis: calc(50% - 0.625rem); } }
@media (min-width: 1024px) { .team--carousel .carousel__item { flex-basis: calc(25% - 0.94rem); } .team--carousel .team__carousel { margin-top: 4rem; } }

/* kalkulator ulaganja */
.calculator__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 1024px) { .calculator__grid { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.calculator__intro { margin-top: 1.25rem; }
.calculator__intro .lead + .lead { margin-top: 0.9rem; }
.calculator__note { margin-top: 1.5rem; font-size: 0.95rem; line-height: 1.5; opacity: 0.75; }
.calculator__box { display: grid; gap: 1.5rem; padding: 1.75rem; background: var(--c-offwhite); border: 1px solid rgba(22, 21, 67, 0.15); }
@media (min-width: 640px) { .calculator__box { padding: 2.5rem; } }
.calculator__field { display: grid; gap: 0.6rem; }
.calculator__field label { font-weight: 600; }
.calculator__field input[type='number'], .calculator__field select { width: 100%; min-height: 48px; padding: 0.6rem 0.9rem; border: 1px solid rgba(22, 21, 67, 0.35); background: #fff; font: inherit; font-size: 1.25rem; color: var(--c-navy); }
.calculator__field input[type='range'] { width: 100%; accent-color: var(--c-accent); }
.calculator__results { display: grid; gap: 1rem; margin: 0.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(22, 21, 67, 0.15); }
.calculator__result dt { font-size: 0.95rem; opacity: 0.8; }
.calculator__result dd { margin: 0.25rem 0 0; font-size: 1.5rem; font-weight: 700; }
.calculator__result--main dd[data-calc-out='interest'] { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.75rem); color: var(--c-navy); }
.calculator__result dd.calculator__sub { font-size: 1rem; font-weight: 500; opacity: 0.8; }

/* traka za usporedbu verzija (/v1/, /v2/) */
.version-bar { position: sticky; top: 0; z-index: 80; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.5rem 1rem; padding: 0.5rem 1rem; background: #fff3c4; color: var(--c-navy); font-size: 0.9375rem; box-shadow: 0 1px 0 rgba(22, 21, 67, 0.15); }
.version-bar__label { font-weight: 600; }
.version-bar__link { padding: 0.25rem 0.75rem; border: 1px solid rgba(22, 21, 67, 0.3); border-radius: 999px; }
.version-bar__link:hover { border-color: var(--c-navy); }
.version-bar__link.is-active { background: var(--c-navy); border-color: var(--c-navy); color: var(--c-offwhite); }

/* FUTURIS tema: mint je akcent na tamnoj podlozi; na svijetloj podlozi tamnija nijansa radi kontrasta (WCAG AA) */
[data-brand='futuris'] { --c-mint-dark: #1f6b5a; }
[data-brand='futuris'] .kicker:not(.kicker--light) { color: var(--c-mint-dark); }
[data-brand='futuris'] .bg-navy .kicker, [data-brand='futuris'] .bg-navy-light .kicker { color: var(--c-mint); }
[data-brand='futuris'] .brand-nav__link:hover, [data-brand='futuris'] .brand-nav__link.is-active { color: var(--c-mint-dark); border-bottom-color: var(--c-mint-dark); }
[data-brand='futuris'] .rich-text a, [data-brand='futuris'] .link-accent { text-decoration-color: var(--c-mint-dark); }
