/* =========================================================
   EBC – zajednički stilovi (sve stranice)
   ========================================================= */

/* ---------- Fontovi (na sajtu, bez Google Fonts) ---------- */
@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/figtree-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: "Figtree";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/figtree-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;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 600 800;
  font-display: swap;
  src: url("/fonts/plus-jakarta-sans-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 {
  /* Boje */
  --navy: #0e2a4d;
  --text: #45607e;
  --muted: #56708c;
  --accent: #0a6fc2;
  --accent-hover: #085a9e;
  --ice: #f2f8fc;
  --ice-2: #e4f1fa;
  --ice-3: #e8f3fb;
  --line: #d6e6f2;
  --line-soft: #e1edf6;
  --line-btn: #cfe2f1;
  --line-hover: #9cc7e8;
  --ring: #dceaf5;
  --mint: #ddf6f2;
  --mint-soft: #e6f7f4;
  --mint-line: #cdefea;
  --mint-ink: #0b7d72;
  --mint-ink-2: #0b6a61;
  --footer: #eaf4fb;
  --white: #ffffff;
  --field-bg: #f7fbfe;
  --placeholder: #7e93a9;
  --required: #c2410c;
  --error-bg: #fdecea;
  --error-ink: #a1290b;
  --focus: #38a4fe;

  /* Tipografija */
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  /* Raspored */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-pad: clamp(72px, 8.5vw, 120px);
  --header-h: 84px;

  /* Senke */
  --shadow-soft: 0 1px 2px rgba(14, 42, 77, 0.04);
  --shadow-lift: 0 2px 4px rgba(14, 42, 77, 0.05), 0 28px 56px -24px rgba(14, 42, 77, 0.3);
  --shadow-float: 0 1px 2px rgba(14, 42, 77, 0.06), 0 20px 40px -18px rgba(14, 42, 77, 0.35);
  --shadow-panel: 0 1px 2px rgba(14, 42, 77, 0.04), 0 32px 64px -32px rgba(14, 42, 77, 0.28);
  --shadow-btn: 0 12px 24px -12px rgba(14, 42, 77, 0.45);
}

/* ---------- Osnova ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--footer);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

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

a {
  color: var(--accent);
}

a:hover {
  color: var(--accent-hover);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 50;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

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

/* ---------- Sekcije ---------- */
.section {
  position: relative;
  overflow: hidden;
  scroll-margin-top: var(--header-h);
}

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

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

.section--ice-2 {
  background: var(--ice-2);
}

.section__inner {
  position: relative;
  padding-block: var(--section-pad);
}

/* Dekorativni krugovi */
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.bubble--ring {
  border: 1.5px solid var(--ring);
}

.bubble--fill {
  background: var(--ice);
}

/* ---------- Tipografija ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.title-hero {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: clamp(40px, 4.4vw, 62px);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.title-section {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: clamp(30px, 3.2vw, 46px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.title-card {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.text-accent {
  color: var(--accent);
}

.lead {
  max-width: 34em;
  font-size: clamp(17px, 1.45vw, 20px);
  line-height: 1.6;
}

.hero__names {
  margin-top: -12px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero__name {
  white-space: nowrap;
}

.hero__sep {
  margin: 0 6px;
  color: var(--accent);
}

.text-lg {
  font-size: 18px;
  line-height: 1.7;
}

.text-md {
  font-size: 17px;
  line-height: 1.75;
}

.text-sm {
  font-size: 16px;
  line-height: 1.7;
}

/* Naslovni blok (eyebrow + naslov + tekst) */
.heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.heading--loose {
  gap: 20px;
}

.heading--center {
  max-width: 760px;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

/* ---------- Mreže ---------- */
.split {
  display: grid;
  grid-template-columns: var(--split-cols, repeat(2, minmax(0, 1fr)));
  gap: 48px 72px;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-1px);
}

.btn--shadow {
  box-shadow: var(--shadow-btn);
}

.btn--sm {
  height: 48px;
  padding: 0 22px;
  font-size: 16px;
}

.btn--ghost {
  padding: 0 26px;
  border: 1.5px solid var(--line-btn);
  background: var(--white);
  color: var(--navy);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.btn--ghost:hover {
  border-color: var(--line-hover);
  background: var(--ice);
  color: var(--navy);
  transform: none;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* ---------- Ikone u pločicama ---------- */
.tile {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--ice-2);
  color: var(--accent);
}

.tile--mint {
  background: var(--mint);
  color: var(--mint-ink);
}

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

.tile--white.tile--mint {
  color: var(--mint-ink);
}

.tile--xl {
  width: 60px;
  height: 60px;
  border-radius: 18px;
}

.tile--lg {
  width: 52px;
  height: 52px;
  border-radius: 16px;
}

.tile--sm {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.tile--xs {
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.tile--dot {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

/* ---------- Plutajuća kartica (uz slike) ---------- */
.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-float);
}

.float-card__text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.float-card__text strong {
  color: var(--navy);
  font-size: 15px;
}

.float-card__text span {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- Bedž (mint) ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--mint-ink-2);
  font-size: 14px;
  font-weight: 700;
}

.badge__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
}

/* ---------- Statistika ---------- */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 48px;
  width: 100%;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat strong {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  line-height: 1.15;
}

.stat span {
  color: var(--muted);
  font-size: 15px;
}

/* ---------- Pilule ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}

a.pill {
  transition: background 0.2s ease, border-color 0.2s ease;
}

a.pill:hover {
  border-color: var(--line-hover);
  background: var(--ice-2);
  color: var(--navy);
}

.pill svg {
  color: var(--mint-ink);
}

/* ---------- Hero ilustracija ---------- */
.hero-art {
  position: relative;
  width: 100%;
  justify-self: end;
}

.hero-art__dot {
  position: absolute;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.hero-art__dot--ring {
  border: 1.5px solid var(--line-btn);
  background: var(--white);
}

.hero-art__dot--mint {
  background: var(--mint);
}

/* =========================================================
   Gornja traka
   ========================================================= */
.topbar {
  border-bottom: 1px solid var(--line-soft);
  background: var(--ice);
  font-size: 14px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar__contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  text-decoration: none;
}

.topbar__link--strong {
  color: var(--navy);
  font-weight: 600;
}

.topbar__social {
  display: flex;
  align-items: center;
}

.topbar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--navy);
}

/* =========================================================
   Zaglavlje i meni
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line-soft);
  background: var(--white);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}

.logo img {
  width: auto;
  height: 50px;
}

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

.nav__link {
  padding: 10px 16px;
  white-space: nowrap;
  border-radius: 999px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

@media (max-width: 1280px) {
  .nav__link {
    padding: 10px 11px;
  }
}

.nav__link:hover {
  background: var(--ice);
  color: var(--accent);
}

.nav__link[aria-current="page"] {
  background: var(--ice);
  font-weight: 700;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

.menu-btn__close,
.menu-btn[aria-expanded="true"] .menu-btn__open {
  display: none;
}

.menu-btn[aria-expanded="true"] .menu-btn__close {
  display: block;
}

.mobile-panel {
  padding: 12px var(--gutter) 24px;
  border-top: 1px solid var(--line-soft);
  background: var(--white);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav__link {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  color: var(--navy);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] {
  background: var(--ice);
  color: var(--navy);
}

.mobile-nav__link[aria-current="page"] {
  font-weight: 700;
}

.mobile-nav .btn {
  margin-top: 12px;
}

/* =========================================================
   Kartice
   ========================================================= */
.card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--white);
}

.lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
}

.zoom img {
  transition: transform 0.6s ease;
}

.zoom:hover img {
  transform: scale(1.045);
}

.media {
  overflow: hidden;
  border-radius: 28px;
  background: var(--ice-2);
}

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

.media--4x3 {
  aspect-ratio: 4 / 3;
}

/* Lista sa kvačicama */
.checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-size: 16px;
  font-weight: 600;
}

/* =========================================================
   Forme
   ========================================================= */
.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: clamp(24px, 3.2vw, 44px);
  border: 1px solid var(--line-soft);
  border-radius: 28px;
  background: var(--ice);
}

.form--raised {
  border-color: var(--line);
  background: var(--white);
  box-shadow: var(--shadow-panel);
}

.form__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form__title {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.form__note {
  color: var(--muted);
  font-size: 15px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
}

.req {
  color: var(--required);
}

.field {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.form--raised .field {
  background: var(--field-bg);
}

.field::placeholder {
  color: var(--placeholder);
}

.field:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(56, 164, 254, 0.22);
}

textarea.field {
  height: auto;
  min-height: 128px;
  padding: 14px 16px;
  line-height: 1.6;
  resize: vertical;
}

.form--raised textarea.field {
  min-height: 150px;
}

.select {
  position: relative;
}

.select .field {
  padding-right: 44px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select svg {
  position: absolute;
  top: 17px;
  right: 16px;
  color: var(--muted);
  pointer-events: none;
}

/* Polje za poruku popunjava višak visine kad je forma rastegnuta */
.form-group:has(> textarea) {
  flex: 1;
}

.form-group > textarea.field {
  flex: 1;
}

.form .btn {
  margin-top: 4px;
}

.form__end {
  text-align: center;
}

.form-status {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--error-bg);
  color: var(--error-ink);
  font-size: 15px;
  font-weight: 600;
}

.form-status a {
  color: inherit;
}

/* Skriveno polje protiv spama */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* =========================================================
   Kontakt sekcija (Početna i O nama)
   ========================================================= */
.contact {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.contact__grid {
  --split-cols: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: stretch;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact__cards {
  flex: 1;
  grid-auto-rows: 1fr;
  gap: 16px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: 22px;
  background: var(--ice);
  color: inherit;
  text-decoration: none;
}

.contact-card:hover {
  color: inherit;
}

.contact-card--wide {
  grid-column: 1 / -1;
}

.contact-card .tile {
  margin-bottom: 10px;
}

.contact-card__title {
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
}

.contact-card__value {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-card--mint .contact-card__value {
  color: var(--mint-ink);
}

.office {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 28px;
  border-radius: 22px;
  background: var(--ice-2);
}

.office h3 {
  margin-bottom: 6px;
}

.office a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.office a:hover {
  color: var(--accent);
}

/* =========================================================
   Podnožje (svetlo)
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--footer);
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 32px;
}

.site-footer__grid {
  grid-template-columns: repeat(4, minmax(0, 1.1fr)) minmax(0, 0.7fr);
  gap: 28px;
}

.site-footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.site-footer__brand img {
  width: auto;
  height: 54px;
}

.site-footer__brand p {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.65;
}

.social {
  display: flex;
  gap: 8px;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.social a:hover {
  border-color: var(--line-hover);
  color: var(--accent);
}

.site-footer__col {
  display: flex;
  flex-direction: column;
}

.site-footer__col h4 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
}

.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer__col a:hover {
  color: var(--accent);
}

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   Prilagođavanje ekranima
   ========================================================= */
@media (max-width: 1100px) {
  .nav,
  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (min-width: 1101px) {
  .mobile-panel {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .site-footer__brand {
    grid-column: 1 / -1;
  }

  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .grid-3,
  .grid-4,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .img-last {
    order: -1;
  }

  .hero-art {
    justify-self: center;
  }
}

@media (max-width: 640px) {
  /* Tri brojke u jednom redu na telefonu */
  .stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 12px;
  }

  .stat strong {
    font-size: min(34px, 8vw);
  }

  .stat span {
    font-size: min(15px, 3.6vw);
  }

  /* Nazivi tri firme staju u jedan red na telefonu */
  .hero__names {
    font-size: min(16px, 3vw);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .hero__sep {
    margin: 0 4px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .form__row,
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .topbar__extra,
  .hide-sm {
    display: none;
  }

  .stack-sm {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .stack-sm > * {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
