:root {
  --bg: #0b0f14;
  --bg-elevated: #121925;
  --bg-soft: #0f1622;
  --text: #eaf0ff;
  --muted: #a8b3cf;
  --outline: #263247;
  --primary: #21d4c3;
  --primary-dim: rgba(33, 212, 195, 0.14);
  --danger: #ff5c7a;
  --radius: 14px;
  --max: 720px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 10% -10%, rgba(33, 212, 195, 0.12), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(80, 120, 200, 0.1), transparent 50%),
    var(--bg);
}

a {
  color: var(--primary);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #5ee6d8;
}

img {
  max-width: 100%;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  padding: 1.25rem 0 0.5rem;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

body.has-hero-bleed .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
}

body.has-hero-bleed .site-header .brand,
body.has-hero-bleed .site-header .nav a {
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55);
}

.brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
  text-decoration: none;
}

.brand span {
  color: var(--primary);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.1rem;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
}

.hero-bleed {
  position: relative;
  isolation: isolate;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: flex-end;
  padding: 6.5rem 0 3.25rem;
  overflow: hidden;
  background-color: #0b0f14;
}

.hero-bleed__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  pointer-events: none;
  user-select: none;
}

.hero-bleed__shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11, 15, 20, 0.92) 0%, rgba(11, 15, 20, 0.72) 42%, rgba(11, 15, 20, 0.28) 70%, rgba(11, 15, 20, 0.45) 100%),
    linear-gradient(180deg, rgba(11, 15, 20, 0.55) 0%, transparent 35%, rgba(11, 15, 20, 0.75) 100%);
  pointer-events: none;
}

.hero-bleed .wrap {
  position: relative;
  z-index: 2;
}

.hero-bleed h1 {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(2.6rem, 6.5vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  max-width: 14ch;
  animation: heroIn 0.9s ease both;
}

.hero-bleed .lead {
  font-size: 1.15rem;
  color: #c8d2e8;
  max-width: 28rem;
  margin: 0 0 1.75rem;
  animation: heroIn 0.9s ease 0.08s both;
}

.hero-bleed .actions {
  animation: heroIn 0.9s ease 0.16s both;
}

.hero-bleed .note {
  max-width: 28rem;
  background: rgba(15, 22, 34, 0.72);
  border-color: rgba(38, 50, 71, 0.9);
  animation: heroIn 0.9s ease 0.24s both;
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-bleed {
    min-height: 85vh;
    background-position: 80% center;
  }

  .hero-bleed__shade {
    background: linear-gradient(
      180deg,
      rgba(11, 15, 20, 0.5) 0%,
      rgba(11, 15, 20, 0.35) 40%,
      rgba(11, 15, 20, 0.92) 78%
    );
  }
}

.hero {
  padding: 4.5rem 0 3rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 550;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.hero .lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 36rem;
  margin: 0 0 1.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary);
  color: #041016;
}

.btn-primary:hover {
  color: #041016;
  filter: brightness(1.05);
}

.btn-ghost {
  background: transparent;
  border-color: var(--outline);
  color: var(--text);
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--muted);
}

.section {
  padding: 1.5rem 0 3.5rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  margin: 0 0 0.75rem;
}

.muted {
  color: var(--muted);
}

.cards {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (min-width: 720px) {
  .cards.cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--outline);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.card li {
  margin-bottom: 0.35rem;
}

.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--primary-dim);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal {
  padding: 2rem 0 4rem;
}

.legal h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 0 0 0.5rem;
  letter-spacing: -0.02em;
}

.legal .meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 2rem 0 0.65rem;
}

.legal h3 {
  font-size: 1.05rem;
  margin: 1.35rem 0 0.45rem;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal strong {
  color: var(--text);
  font-weight: 600;
}

.legal ul {
  padding-left: 1.2rem;
}

.legal li {
  margin-bottom: 0.4rem;
}

.site-footer {
  border-top: 1px solid var(--outline);
  padding: 1.5rem 0 2.5rem;
  margin-top: 1rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--primary);
}

.note {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--outline);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.95rem;
}

/* —— Upute: jasno odvojene kategorije —— */
.guide {
  --max: 720px;
  padding: 1rem 0 5rem;
}

.guide h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.5rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.02em;
}

.guide .meta {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 42rem;
  line-height: 1.55;
}

.guide-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.25rem;
  padding: 0 0 2rem;
  list-style: none;
  border-bottom: 1px solid var(--outline);
}

.guide-nav a {
  display: inline-block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--outline);
  background: transparent;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.guide-nav a:hover {
  color: var(--text);
  border-color: rgba(33, 212, 195, 0.5);
  background: var(--primary-dim);
}

.gstep {
  display: block;
  margin: 0 0 2.75rem;
  padding: 1.85rem 1.6rem 2rem;
  background: var(--bg-elevated);
  border: 2px solid rgba(148, 163, 184, 0.32);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: none;
  clear: both;
}

.gstep + .gstep {
  margin-top: 0;
}

.gstep__num {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.28rem 0.65rem;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(33, 212, 195, 0.35);
  border-radius: 999px;
  background: var(--primary-dim);
}

.gstep h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
  line-height: 1.25;
}

.gways {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.gways li {
  margin: 0;
  padding: 1rem 1.1rem;
  border: 2px solid rgba(33, 212, 195, 0.35);
  border-radius: var(--radius);
  background: var(--primary-dim);
  color: var(--muted);
  line-height: 1.5;
}

.gways li strong {
  display: block;
  color: var(--primary);
  font-size: 1.02rem;
  margin-bottom: 0.35rem;
}

.gstep h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 1.6rem 0 0.75rem;
  color: var(--text);
  letter-spacing: -0.01em;
}

.gstep h3:first-of-type {
  margin-top: 0.35rem;
}

.gstep > ul:not(.gways) {
  color: var(--muted);
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
  max-width: 40rem;
}

.gstep > ul:not(.gways) li {
  margin-bottom: 0.45rem;
  line-height: 1.5;
}

.gstep__text > p {
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.gstep ol {
  margin: 0 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--muted);
  max-width: 40rem;
}

.gstep li {
  margin-bottom: 0.65rem;
  line-height: 1.5;
  padding-left: 0.2rem;
}

.gstep li strong {
  color: var(--text);
}

.gnote {
  margin: 0 0 1.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  border-top: 1px solid rgba(33, 212, 195, 0.18);
  border-right: 1px solid rgba(33, 212, 195, 0.18);
  border-bottom: 1px solid rgba(33, 212, 195, 0.18);
  background: var(--primary-dim);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
  max-width: 40rem;
}

.gstep__img {
  display: block;
  margin: 2rem 0 0;
  width: min(100%, 280px);
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  overflow: hidden;
  background: #05080c;
  line-height: 0;
}

.gstep__img--wide {
  width: min(100%, 100%);
  max-width: 560px;
  margin: 1.25rem 0 0.5rem;
}

.gstep__img--mrz {
  border: 2px solid rgba(33, 212, 195, 0.45);
  border-radius: 14px;
  background: #0b0f14;
}

.gstep__img--mrz img {
  min-height: 180px;
  object-fit: contain;
}

.gstep__img img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.gstep__cap {
  margin: 0.65rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  max-width: 40rem;
}

@media (min-width: 720px) {
  .gstep {
    margin-bottom: 3.25rem;
    padding: 2.1rem 2rem 2.25rem;
  }
}
