/* =========================================================
   components.css – dijelovi stranica koji se ponavljaju:
   gumbi, hero s dijagramom, kartice, koraci, forma …
   ========================================================= */

/* =========================================================
   GUMBI
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 2.875rem;
  padding: 0.7rem 1.35rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.975rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn svg {
  width: 1.1em;
  height: 1.1em;
  transition: transform var(--transition);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
  box-shadow: 0 6px 16px rgb(14 124 114 / 0.22);
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-navy-900);
  border-color: var(--color-line-strong);
}

.btn--secondary:hover {
  border-color: var(--color-navy-900);
  color: var(--color-navy-900);
}

/* za tamnu pozadinu (CTA traka) */
.btn--light {
  background: var(--color-text-inverse);
  color: var(--color-navy-900);
}

.btn--light:hover {
  background: var(--color-accent-soft);
  color: var(--color-navy-900);
  transform: translateY(-1px);
}

.btn--sm {
  min-height: 2.5rem;
  padding: 0.5rem 1.1rem;
  font-size: 0.925rem;
}

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

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* poveznica sa strelicom, npr. "Više o uslugama →" */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-heading);
  font-weight: 700;
  text-decoration: none;
}

.link-arrow svg {
  width: 1em;
  height: 1em;
  transition: transform var(--transition);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* =========================================================
   HERO (početna)
   ========================================================= */
.hero {
  position: relative;
  padding-block: clamp(3rem, 2rem + 5vw, 6.5rem);
  overflow: hidden;
}

/* točkice blijede prema dnu */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, var(--color-line) 1px, transparent 0);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  z-index: -1;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}

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

.hero h1 {
  max-width: 14ch;
}

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

.hero .lead {
  margin-top: var(--space-5);
}

.hero .btn-row {
  margin-top: var(--space-6);
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-5);
  margin-top: var(--space-6);
  padding: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.check-list li {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.check-list svg {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--color-accent);
  flex-shrink: 0;
}

/* =========================================================
   PROCESNI DIJAGRAM (SVG u heru)
   Klase se postavljaju na elemente unutar <svg> u index.html.
   ========================================================= */
.flow {
  position: relative;
  padding: clamp(1rem, 0.5rem + 1.5vw, 1.75rem);
  background: rgb(255 255 255 / 0.85);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.flow__caption {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-3);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.flow svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.flow text {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 650;
  fill: var(--color-navy-900);
}

.flow .flow__small {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  fill: var(--color-text-muted);
}

/* čvorovi */
/* "> rect" = samo okvir čvora, ne i pravokutnici unutar ikone */
.flow__node > rect {
  fill: var(--color-surface);
  stroke: var(--color-line-strong);
  stroke-width: 1.25;
}

.flow__node--manual > rect {
  fill: var(--color-bg-soft);
  stroke-dasharray: 4 4;          /* isprekidano = ručno, nesređeno */
}

.flow__node--out > rect {
  stroke: var(--color-accent-bright);
  stroke-width: 1.5;
}

.flow__node--core > rect {
  fill: var(--color-navy-900);
  stroke: none;
}

.flow__node--core text {
  fill: var(--color-text-inverse);
}

.flow__node--core .flow__small {
  fill: #9fb3c8;
}

.flow__icon {
  fill: none;
  stroke: var(--color-text-muted);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow__node--out .flow__icon {
  stroke: var(--color-accent);
}

.flow__node--core .flow__icon {
  stroke: var(--color-accent-bright);
}

/* veze između čvorova */
.flow__link {
  fill: none;
  stroke: var(--color-line-strong);
  stroke-width: 1.5;
}

.flow__link--out {
  stroke: var(--color-accent-bright);
  stroke-width: 2;
}

/* "podaci koji teku": isprekidana linija preko izlaznih veza */
.flow__data {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 2;
  stroke-dasharray: 3 11;
  stroke-linecap: round;
  opacity: 0;
}

.flow__dot {
  fill: var(--color-accent-bright);
}

.flow__ring {
  fill: none;
  stroke: var(--color-accent-bright);
  stroke-width: 1.5;
  opacity: 0;
}

/* --- Animacije dijagrama (samo ako korisnik nije isključio animacije) ---
   1) veze se "iscrtaju": pathLength="1" u HTML-u znači da je duljina
      svake linije 1, pa stroke-dashoffset 1 → 0 iscrta liniju od početka do kraja;
   2) čvorovi se pojave jedan za drugim (kašnjenje --d upisano u HTML-u);
   3) po izlaznim vezama beskonačno "teku" podaci. */
@media (prefers-reduced-motion: no-preference) {
  .flow__link {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: flow-draw 0.9s ease-out forwards;
    animation-delay: var(--d, 0s);
  }

  .flow__node {
    opacity: 0;
    animation: flow-node-in 0.5s ease-out forwards;
    animation-delay: var(--d, 0s);
  }

  .flow__data {
    animation: flow-fade-in 0.4s ease-out 2.2s forwards, flow-run 1.2s linear 2.2s infinite;
  }

  .flow__ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: flow-ring 2.4s ease-out 2.4s infinite;
  }
}

@media (prefers-reduced-motion: reduce) {
  .flow__data {
    opacity: 0.6;
  }
}

@keyframes flow-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes flow-node-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes flow-fade-in {
  to {
    opacity: 1;
  }
}

@keyframes flow-run {
  to {
    stroke-dashoffset: -14;   /* zbroj crtice i razmaka iz stroke-dasharray (3 + 11) */
  }
}

@keyframes flow-ring {
  0% {
    opacity: 0.8;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.25);
  }
}

/* =========================================================
   KARTICE
   ========================================================= */
.card {
  position: relative;
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.card h3 {
  margin-bottom: var(--space-3);
}

.card p {
  color: var(--color-text-muted);
}

.card--hover:hover {
  border-color: var(--color-accent-bright);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ikona u kvadratiću */
.icon-box {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-5);
  background: var(--color-accent-soft);
  border-radius: var(--radius);
  color: var(--color-accent);
}

.icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* --- Usluge na početnoj: tri kartice povezane linijom --- */
.service-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-5);
  counter-reset: service;
}

/* vodoravna linija iza kartica (motiv procesa) */
.service-flow::before {
  content: "";
  position: absolute;
  top: 2.75rem;
  left: 8%;
  right: 8%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--color-accent-bright) 0 8px, transparent 8px 14px);
  z-index: 0;
}

.service-flow .card {
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.service-flow .card .link-arrow {
  margin-top: auto;
  padding-top: var(--space-5);
}

.service-flow__num {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: 800;
  color: var(--color-line-strong);
}

@media (max-width: 860px) {
  .service-flow {
    grid-template-columns: 1fr;
  }

  .service-flow::before {
    top: 4%;
    bottom: 4%;
    left: 2.5rem;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--color-accent-bright) 0 8px, transparent 8px 14px);
  }
}

/* --- Problemi ("Prepoznajete li ovo?") --- */
.pain-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: var(--space-4);
  padding: 0;
  list-style: none;
}

.pain-list li {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px dashed var(--color-line-strong);
  border-radius: var(--radius);
  color: var(--color-text);
}

.pain-list svg {
  width: 1.4rem;
  height: 1.4rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-text-muted);
}

.pain-solution {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
  padding: var(--space-5) var(--space-6);
  background: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-sm);
  color: var(--color-navy-900);
  font-weight: 550;
}

/* =========================================================
   KORACI PROCESA (vodoravno na desktopu, okomito na mobitelu)
   ========================================================= */
.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr));
  gap: var(--space-4);
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 3.75rem;
  counter-increment: step;
}

/* krug s brojem koraka */
.step::before {
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--color-surface);
  border: 2px solid var(--color-accent-bright);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--color-navy-900);
  z-index: 1;
}

/* linija do sljedećeg koraka */
.step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.375rem;
  left: 2.75rem;
  right: calc(var(--space-4) * -1);
  height: 2px;
  background: var(--color-line-strong);
}

.step:last-child::before {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-inverse);
}

.step h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

@media (max-width: 860px) {
  .steps {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .step {
    padding-top: 0;
    padding-left: 4rem;
    min-height: 2.75rem;
  }

  .step:not(:last-child)::after {
    top: 2.75rem;
    left: 1.3rem;
    right: auto;
    bottom: calc(var(--space-5) * -1);
    width: 2px;
    height: auto;
  }
}

/* =========================================================
   CTA TRAKA (tamna, na dnu stranica)
   ========================================================= */
.cta-band {
  position: relative;
  padding: clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  background: var(--color-navy-900);
  border-radius: var(--radius-lg);
  color: #c5d0de;
  overflow: hidden;
  isolation: isolate;
}

/* mreža linija u pozadini */
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 32px 32px;
  z-index: -1;
}

/* teal sjaj u kutu */
.cta-band::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -40%;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgb(20 184 166 / 0.28), transparent 65%);
  z-index: -1;
}

.cta-band__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
}

.cta-band h2 {
  color: var(--color-text-inverse);
  font-size: var(--fs-2xl);
  max-width: 30ch;
}

.cta-band p {
  margin-top: var(--space-3);
  max-width: 46ch;
}

/* =========================================================
   STRANICA USLUGE
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}

.service-detail + .service-detail {
  margin-top: var(--space-section);
  padding-top: var(--space-section);
  border-top: 1px solid var(--color-line);
}

@media (max-width: 860px) {
  .service-detail {
    grid-template-columns: 1fr;
  }
}

.service-detail__num {
  display: block;
  margin-bottom: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--fs-3xl);
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--color-accent-bright);
}

.service-detail h2 {
  font-size: var(--fs-2xl);
}

.service-detail__intro p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}

.service-detail__result {
  margin-top: var(--space-5);
  padding: var(--space-4) var(--space-5);
  background: var(--color-accent-soft);
  border-radius: var(--radius-sm);
  color: var(--color-navy-900);
  font-size: var(--fs-sm);
}

.feature-list {
  display: grid;
  gap: var(--space-3);
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
}

.feature-list svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--color-accent);
}

.feature-list strong {
  display: block;
}

.feature-list span {
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}

/* primjeri "prije → poslije" */
.example {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.example__before,
.example__after {
  font-size: var(--fs-sm);
}

.example__before {
  color: var(--color-text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--color-line-strong);
}

.example__arrow {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--color-accent-bright);
}

.example__after {
  color: var(--color-navy-900);
  font-weight: 550;
}

/* =========================================================
   STRANICA KAKO RADIMO – vremenska crta
   ========================================================= */
.timeline {
  position: relative;
  max-width: 52rem;
  padding: 0;
  list-style: none;
  counter-reset: tl;
}

.timeline__item {
  position: relative;
  padding-left: 4.5rem;
  padding-bottom: var(--space-7);
  counter-increment: tl;
}

.timeline__item:last-child {
  padding-bottom: 0;
}

.timeline__item::before {
  content: counter(tl);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-surface);
  border: 2px solid var(--color-accent-bright);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: var(--fs-lg);
  color: var(--color-navy-900);
  z-index: 1;
}

.timeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.45rem;
  top: 3rem;
  bottom: 0;
  width: 2px;
  background: var(--color-line-strong);
}

.timeline__item h2 {
  font-size: var(--fs-xl);
  padding-top: 0.6rem;
}

.timeline__meta {
  display: inline-block;
  margin-top: var(--space-2);
  padding: 0.15rem 0.65rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.timeline__body {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.timeline__body h3 {
  margin-bottom: var(--space-2);
  font-size: var(--fs-sm);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.timeline__body ul {
  padding-left: 1.1rem;
}

.timeline__body li + li {
  margin-top: var(--space-1);
}

/* =========================================================
   FAQ (<details> radi bez JS-a)
   ========================================================= */
.faq {
  max-width: 52rem;
}

.faq details {
  border-bottom: 1px solid var(--color-line);
}

.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) 0;
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--color-navy-900);
  cursor: pointer;
  list-style: none;
}

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

/* plus koji se okrene u minus */
.faq summary::after {
  content: "+";
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-line-strong);
  border-radius: 50%;
  font-weight: 500;
  color: var(--color-accent);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  content: "−";
}

.faq details > div {
  padding-bottom: var(--space-5);
  color: var(--color-text-muted);
  max-width: 44rem;
}

/* =========================================================
   STRANICA O NAMA
   ========================================================= */
.profile {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.profile__head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* inicijali umjesto fotografije */
.avatar {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
  background: var(--color-navy-900);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-surface), 0 0 0 6px var(--color-accent-bright);
  font-family: var(--font-heading);
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--color-text-inverse);
}

.profile__role {
  font-size: var(--fs-sm);
  color: var(--color-accent);
  font-weight: 600;
}

.profile h3 {
  margin-bottom: 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 0.2rem 0.7rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--color-text);
}

/* spoj dvaju profila: "informatika + ekonomija" */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

.duo__plus {
  display: grid;
  place-items: center;
  align-self: center;
  width: 3rem;
  height: 3rem;
  background: var(--color-accent);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-inverse);
}

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

  .duo__plus {
    justify-self: center;
  }
}

/* =========================================================
   KONTAKT I FORMA
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 1rem + 4vw, 4rem);
  align-items: start;
}

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

.form {
  display: grid;
  gap: var(--space-5);
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background: var(--color-surface);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--space-5);
}

.field {
  display: grid;
  gap: var(--space-2);
}

.field label {
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--color-navy-900);
}

.field__optional {
  font-weight: 400;
  color: var(--color-text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--color-bg);
  border: 1.5px solid var(--color-line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

/* crveni rub tek nakon što korisnik nešto upiše (ne odmah pri učitavanju) */
.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--color-danger);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.consent {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}

.consent input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  accent-color: var(--color-accent);
}

/* honeypot – skriveno polje za zaštitu od spam robota */
.hp-field {
  display: none;
}

.form__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.form__footer small {
  color: var(--color-text-muted);
}

/* poruke o statusu slanja */
.alert {
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
}

.alert:empty {
  display: none;
}

.alert--info {
  background: var(--color-bg-soft);
  border: 1px solid var(--color-line);
}

.alert--success {
  background: var(--color-success-soft);
  border: 1px solid var(--color-accent-bright);
  color: var(--color-navy-900);
}

.alert--error {
  background: var(--color-danger-soft);
  border: 1px solid #f3b7b0;
  color: var(--color-danger);
}

.contact-aside {
  display: grid;
  gap: var(--space-5);
}

.contact-aside .card {
  padding: var(--space-5) var(--space-6);
}

.contact-method {
  display: flex;
  gap: var(--space-4);
  align-items: center;
}

.contact-method .icon-box {
  margin: 0;
  flex-shrink: 0;
}

.contact-method small {
  display: block;
  color: var(--color-text-muted);
}

.contact-method a {
  font-weight: 650;
  word-break: break-all;
}

.mini-steps {
  display: grid;
  gap: var(--space-3);
  margin-top: var(--space-3);
  padding: 0;
  list-style: none;
  counter-reset: ms;
}

.mini-steps li {
  display: flex;
  gap: var(--space-3);
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  counter-increment: ms;
}

.mini-steps li::before {
  content: counter(ms);
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border: 1.5px solid var(--color-accent-bright);
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-navy-900);
}

/* =========================================================
   TEKSTUALNE STRANICE (privatnost)
   ========================================================= */
.prose {
  max-width: 46rem;
}

.prose h2 {
  margin-top: var(--space-7);
  margin-bottom: var(--space-3);
  font-size: var(--fs-xl);
}

.prose p,
.prose ul {
  margin-top: var(--space-3);
}

.prose ul {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: var(--space-2);
}

.notice {
  display: flex;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: #fff8e6;
  border: 1px solid #f5d98b;
  border-radius: var(--radius-sm);
  color: #6b4e00;
  font-size: var(--fs-sm);
}

.notice svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* =========================================================
   STATUSNE STRANICE (hvala, 404)
   ========================================================= */
.status-page {
  display: grid;
  place-items: center;
  min-height: 60vh;
  padding-block: var(--space-section);
  text-align: center;
}

.status-page__inner {
  max-width: 34rem;
}

.status-page svg.status-page__art {
  width: min(16rem, 70%);
  margin: 0 auto var(--space-6);
}

.status-page p {
  margin-top: var(--space-4);
  color: var(--color-text-muted);
}

.status-page .btn-row {
  justify-content: center;
  margin-top: var(--space-6);
}

/* =========================================================
   POJAVLJIVANJE PRI SKROLANJU
   Elementi s atributom data-reveal lagano se pojave kad uđu
   u ekran (main.js dodaje klasu .is-visible). Bez JS-a ili s
   isključenim animacijama sve je odmah vidljivo.
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }

  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }
}
