/* ==========================================================================
   TrueFalse Hosting, dizajn sistem
   ========================================================================== */

:root {
  --brand: #4597fe;
  --brand-600: #5aa4ff;
  --brand-700: #4597fe;
  --brand-800: #2f7ee6;
  --brand-50: #eef5ff;
  --brand-100: #dcecff;
  --brand-200: #b8d6fe;

  /* Akcent iz logoa. Zasad ga koristi samo pregled dizajna D, pa dugmad i
     linkovi na ostalim stranama ostaju na --brand. */
  --brand-accent: #3399ff;

  --ink: #0a2252;
  --ink-2: #0a2252;
  --ink-3: #4d6485;
  --ink-4: #7a8eab;

  --surface: #ffffff;
  --surface-2: #f8fafc;
  --surface-3: #f1f5f9;
  --surface-brand: #f3f8ff;

  --line: #e2e8f0;
  --line-2: #cbd5e1;

  --ok: #047857;
  --ok-bg: #ecfdf5;
  --ok-line: #a7f3d0;

  --shadow-1: 0 1px 2px rgba(10, 34, 82, 0.06), 0 1px 3px rgba(10, 34, 82, 0.05);
  --shadow-2: 0 4px 12px rgba(10, 34, 82, 0.06), 0 2px 4px rgba(10, 34, 82, 0.04);
  --shadow-3: 0 12px 32px rgba(10, 34, 82, 0.1), 0 4px 8px rgba(10, 34, 82, 0.04);
  --shadow-brand: 0 8px 24px rgba(69, 151, 254, 0.22);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;

  --topbar-h: 40px;
  --header-h: 72px;
  --max: 1200px;

  --font: "Inter", -apple-system, "Segoe UI", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 24px);
  color-scheme: light;
}

body {
  margin: 0;
  min-height: 100vh;
  padding-top: calc(var(--topbar-h) + var(--header-h));
  background: var(--surface);
  color: var(--ink-2);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: -0.022em;
  line-height: 1.2;
}

svg {
  flex-shrink: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 12px 18px;
  border-radius: var(--r-sm);
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── Layout ───────────────────────────────────────────────────────────── */

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow {
  width: min(820px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 56px 0;
}

.bg-soft {
  background: var(--surface-2);
}

.bg-brand-soft {
  background: var(--surface-brand);
}

.bg-ink {
  background: var(--ink);
}

/* ── Typography ───────────────────────────────────────────────────────── */

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--brand-700);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.display {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.section-title-sm {
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 700;
}

.lead {
  max-width: 62ch;
  color: var(--ink-3);
  font-size: 1.075rem;
  line-height: 1.65;
}

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

.dim {
  color: var(--ink-4);
  font-size: 0.9rem;
}

.note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--line-2);
  color: var(--ink-3);
  font-size: 0.875rem;
  line-height: 1.55;
}

/*
 * Napomena o PDV-u uz cene hosting paketa (components/vat-note.blade.php).
 * Isti tekst u tri okruženja: ispod kartica i tabele (block), u panelu
 * zaglavlja (panel) i u padajućem meniju (nav). Boje su ink i plava iz logoa;
 * tekst je ink-2/ink-3, pa prolazi kontrast i na beloj i na svetloj podlozi.
 */
.vat-note {
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.note.vat-note--block {
  max-width: 62ch;
  padding: 10px 14px;
  border-left: 3px solid var(--brand-accent);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  background: var(--surface-brand);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 500;
}

.hero-plans-vat {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 0.78rem;
}

/*
 * Red ispod kartica sa cenama: PDV levo, link ka izboru paketa desno.
 * Link ima cilj dodira od 44px, a negativna margina ga drži van visine reda
 * da napomena ostane tik ispod kartica.
 */
.price-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 24px;
  margin-top: 15px;
}

.price-foot .vat-note--price {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 500;
}

.price-foot .price-foot-link {
  min-height: 44px;
  margin-block: -12px;
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--brand-200);
  text-underline-offset: 3px;
}

.price-foot-link svg {
  flex: none;
  color: var(--brand-800);
}

.price-foot-link:hover {
  text-decoration-color: currentColor;
}

/* Globalni prsten --brand-600 ima 2.6:1 na beloj podlozi, ink ima 15:1. */
.price-foot .price-foot-link:focus-visible {
  outline-color: var(--ink);
}

@media (max-width: 720px) {
  .price-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .price-foot .price-foot-link {
    margin-block: 0;
  }
}

.nav-sub-vat {
  margin: 6px 2px 0;
  padding: 10px 12px 4px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.75rem;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 44px;
}

.section-head .lead {
  margin-top: 12px;
}

.section-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head-row > div {
  max-width: 62ch;
}

.section-head-row .lead {
  margin-top: 12px;
}

/* ── Topbar ───────────────────────────────────────────────────────────── */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 70;
  height: var(--topbar-h);
  background: var(--ink);
  color: #fff;
  font-size: 0.82rem;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-facts {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.topbar-facts span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.topbar-facts svg {
  color: #fff;
}

/* Rastegnuto do pune visine trake, da dodirna površina linkova ne bude
   visoka samo koliko i sam tekst (21px). */
.topbar-links {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  gap: 20px;
  white-space: nowrap;
}

.topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar a {
  color: #fff;
  font-weight: 600;
  transition: color 0.15s ease;
}

.topbar a:hover {
  color: var(--brand);
}

/* ── Header ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  inset: var(--topbar-h) 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-2);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
}

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

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

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-right: auto;
}

.nav a {
  padding: 9px 14px;
  border-radius: var(--r-sm);
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav a:hover {
  background: var(--surface-3);
  color: var(--ink);
}

.nav a.is-active {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* Podmeni za hosting stranice */

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-parent svg {
  color: var(--ink-4);
  transition: transform 0.18s ease;
}

.nav-item:hover .nav-parent svg,
.nav-item:focus-within .nav-parent svg {
  transform: rotate(180deg);
}

.nav-sub {
  position: absolute;
  top: 100%;
  left: -8px;
  z-index: 80;
  padding-top: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-item:hover .nav-sub,
.nav-item:focus-within .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav-sub-inner {
  display: grid;
  gap: 2px;
  width: 336px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-3);
}

.nav .nav-sub-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 11px 12px;
  white-space: normal;
}

.nav-sub-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-700);
}

.nav-sub-body strong {
  display: block;
  color: var(--ink);
  font-size: 0.94rem;
}

.nav-sub-body small {
  display: block;
  margin-top: 2px;
  color: var(--ink-4);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.nav .nav-sub-link:hover {
  background: var(--surface-2);
}

.nav .nav-sub-link.is-active {
  background: var(--brand-50);
}

.nav .nav-sub-link.is-active .nav-sub-body strong {
  color: var(--brand-700);
}

/* Portal u mobilnom meniju: na desktopu je isti link u .header-utility. */

.nav-utility {
  display: none;
}

.nav .nav-utility-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-utility-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-700);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Jezik i klijentski portal. Stalno su na dohvat ruke, ali tiši od linkova
   ka proizvodima i od glavnog dugmeta, pa ih tanka linija drži na strani. */

.header-utility {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-right: 14px;
  border-right: 1px solid var(--line);
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
}

.lang-switch a,
.lang-switch .is-current {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.lang-switch a {
  color: var(--ink-4);
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-switch a:hover {
  background: var(--surface);
  color: var(--ink);
}

.lang-switch .is-current {
  background: var(--brand-50);
  color: var(--brand-700);
}

.header-portal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  border-radius: var(--r-sm);
  color: var(--ink-3);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

.header-portal svg {
  color: var(--ink-4);
  transition: color 0.15s ease;
}

.header-portal:hover {
  background: var(--surface-3);
  color: var(--ink);
}

.header-portal:hover svg {
  color: var(--brand-700);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  cursor: pointer;
}

.menu-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease,
    box-shadow 0.15s ease, transform 0.15s ease;
}

.btn-lg {
  min-height: 54px;
  padding: 0 28px;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  white-space: normal;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 8px 24px rgba(10, 34, 82, 0.22);
}

.btn-primary:hover {
  background: var(--brand);
  transform: translateY(-1px);
  box-shadow: var(--shadow-brand);
}

.btn-ghost {
  border-color: var(--line-2);
  background: var(--surface);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: var(--brand-600);
  background: var(--brand-50);
  color: var(--brand-700);
}

.btn-quiet {
  color: var(--brand-700);
  padding: 0 8px;
}

.btn-quiet:hover {
  background: var(--brand-50);
}

.btn-on-ink {
  border-color: rgba(255, 255, 255, 0.28);
  background: transparent;
  color: #fff;
}

.btn-on-ink:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-weight: 600;
  font-size: 0.94rem;
}

.link-arrow svg {
  transition: transform 0.15s ease;
}

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

/* ── Hero ─────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: 72px 0 80px;
  background:
    radial-gradient(60rem 30rem at 15% -10%, var(--brand-50), transparent 65%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero .lead {
  font-size: 1.15rem;
  max-width: 54ch;
}

/* Isti plavi ton kao --brand-700, samo tamniji: sitan verzal na sjaju
   heroja mora da drži 4.5:1 i na najtamnijem delu pozadine. */
.hero .eyebrow {
  color: #0156c1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-assure {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-assure span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-assure svg {
  color: var(--ok);
}

/* ── Efekat u hero sekcijama ───────────────────────────────────────────────
   Mreža tačaka i svetlo koje se lagano pomera. Sve je CSS, bez slika,
   i gasi se kada korisnik traži manje animacija. */

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: radial-gradient(rgba(69, 151, 254, 0.32) 1px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(76% 68% at 62% 0%, #000, transparent 72%);
  mask-image: radial-gradient(76% 68% at 62% 0%, #000, transparent 72%);
  opacity: 0.55;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: -1;
  top: -32rem;
  right: -16rem;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(69, 151, 254, 0.2), transparent 62%);
  animation: heroGlow 22s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes heroGlow {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(-5rem, 3rem, 0) scale(1.14);
  }
}

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

.reveal-group > * {
  animation: reveal 0.6s cubic-bezier(0.22, 0.68, 0.28, 1) both;
}

.reveal-group > *:nth-child(1) {
  animation-delay: 0.04s;
}

.reveal-group > *:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal-group > *:nth-child(3) {
  animation-delay: 0.16s;
}

.reveal-group > *:nth-child(4) {
  animation-delay: 0.22s;
}

.reveal-group > *:nth-child(5) {
  animation-delay: 0.28s;
}

.reveal-group > *:nth-child(6) {
  animation-delay: 0.34s;
}

/* Naslov, uvod i dugmad su prvi prikaz strane (i LCP), pa ne kreću od
   opacity: 0; ulazna animacija ostaje samo na sporednim redovima. */
.reveal-group > :is(h1, .lead, .hero-actions) {
  animation: none;
}

/* Panel u heroju: cene odmah vidljive */
.hero-panel {
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-3);
}

.hero-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 14px;
}

.hero-panel-head h2 {
  font-size: 1rem;
  font-weight: 700;
}

.hero-panel-head p {
  color: var(--ink-4);
  font-size: 0.82rem;
}

.hero-panel-list {
  display: grid;
  gap: 6px;
}

.pick {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid transparent;
  border-radius: var(--r);
  background: var(--surface-2);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pick:hover {
  background: var(--brand-50);
  border-color: var(--brand-200);
}

.pick-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--r);
  background: var(--brand-100);
  color: var(--brand-700);
}

.pick-body strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.pick-body span {
  display: block;
  color: var(--ink-3);
  font-size: 0.85rem;
  line-height: 1.45;
}

.pick-price {
  text-align: right;
}

.pick-price b {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.pick-price small {
  display: block;
  color: var(--ink-4);
  font-size: 0.75rem;
}

.hero-panel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 16px 18px 12px;
  color: var(--ink-3);
  font-size: 0.86rem;
}

/* ── Testimonials ─────────────────────────────────────────────────────── */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-grid.is-single {
  grid-template-columns: minmax(0, 640px);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #f59e0b;
}

.testimonial-card blockquote {
  margin: 0 0 22px;
  flex: 1;
}

.testimonial-card blockquote p {
  color: var(--ink);
  font-size: 1.05rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

.testimonial-card figcaption {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.testimonial-card figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 700;
}

.testimonial-card figcaption span {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.84rem;
}

.testimonial-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  color: var(--brand-700);
  font-size: 0.84rem;
  font-weight: 600;
}

.testimonial-source:hover {
  color: var(--brand-800);
}

.testimonial-source.is-static {
  color: var(--ink-3);
  font-weight: 600;
  pointer-events: none;
}

.testimonial-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 22px;
}

.testimonial-foot .note {
  margin: 0;
  max-width: 62ch;
}

/* ── Logos / proof strip ──────────────────────────────────────────────── */

.proof {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.proof-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.proof-item svg {
  margin-top: 2px;
  color: var(--brand-600);
}

.proof-item b {
  display: block;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.proof-item span {
  display: block;
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.45;
}

/* ── Chooser ──────────────────────────────────────────────────────────── */

.chooser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.chooser-card {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.chooser-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-3);
  transform: translateY(-2px);
}

.chooser-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: var(--r);
  background: var(--brand-50);
  color: var(--brand-700);
}

.chooser-card h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.chooser-card > p {
  color: var(--ink-3);
  font-size: 0.94rem;
}

.chooser-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 22px;
  padding: 0;
  list-style: none;
  font-size: 0.9rem;
}

.chooser-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-2);
}

.chooser-list svg {
  margin-top: 4px;
  color: var(--ok);
}

.chooser-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.chooser-foot b {
  color: var(--ink);
  font-size: 1.05rem;
}

.chooser-foot small {
  display: block;
  color: var(--ink-4);
  font-size: 0.76rem;
  font-weight: 500;
}

/* ── Feature cards ────────────────────────────────────────────────────── */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

.feature {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: var(--r-sm);
  background: var(--brand-50);
  color: var(--brand-700);
}

.feature h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.feature p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ── Included list ────────────────────────────────────────────────────── */

.included {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.included li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.94rem;
}

.included svg {
  margin-top: 4px;
  color: var(--ok);
}

/* Jedna kolona, kada lista stoji uz tekst a ne preko cele širine. */
.included.is-stacked {
  grid-template-columns: minmax(0, 1fr);
  margin-top: 24px;
}

/* Posle druge bele sekcije dva paddinga bi stajala jedan uz drugi bez promene pozadine. */
.section:not(.bg-soft):not(.bg-brand-soft):not(.bg-ink) + .included-section {
  padding-top: 0;
}

/* ── Pricing ──────────────────────────────────────────────────────────── */

.billing-toggle {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface-2);
}

.billing-toggle button {
  min-height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink-3);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.billing-toggle button.is-active {
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-1);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 26px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}

.price-card.is-featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-3);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-card .tier {
  color: var(--brand-700);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-card h3 {
  margin: 6px 0 4px;
  font-size: 1.4rem;
}

.price-for {
  margin-bottom: 20px;
  color: var(--ink-3);
  font-size: 0.9rem;
  min-height: 2.8em;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price strong {
  color: var(--ink);
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.price span {
  color: var(--ink-3);
  font-size: 0.88rem;
  font-weight: 500;
}

.price-order-note {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.price-order-note[hidden] {
  display: none;
}

.price-sub {
  margin-top: 6px;
  color: var(--ink-4);
  font-size: 0.82rem;
  line-height: 1.5;
}

.price-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 26px;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  color: var(--ink-2);
  font-size: 0.92rem;
}

.price-card li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.price-card li svg {
  margin-top: 4px;
  color: var(--ok);
}

.price-card .btn {
  margin-top: auto;
}

/* ── Support ──────────────────────────────────────────────────────────── */

.support-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

/*
 * Kada su kolone različite visine, centriranje ostavlja praznu rupu iznad
 * kraće kolone. Uz obrazac i tekst pored njega poravnanje ide na vrh.
 */
.support-grid.is-top {
  align-items: start;
}

/* Bez prave fotografije ostaje samo tekst, u jednoj čitkoj koloni. */
.support-grid.is-text-only {
  grid-template-columns: minmax(0, 720px);
}

.founder-note.is-text-only {
  grid-template-columns: minmax(0, 1fr);
}

.support-photo {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  aspect-ratio: 4 / 3;
}

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

/* ── Founder / self-touch ─────────────────────────────────────────────── */

.founder-hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-3);
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
}

.founder-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.founder-hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 18px 20px 16px;
  background: linear-gradient(transparent, rgba(8, 18, 36, 0.72));
  color: #fff;
}

.founder-hero-caption strong {
  font-size: 1.05rem;
}

.founder-hero-caption span {
  font-size: 0.88rem;
  opacity: 0.9;
}

.founder-placeholder-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(8, 18, 36, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  max-width: calc(100% - 24px);
}

.founder-placeholder-badge.is-sm {
  font-size: 0.68rem;
  padding: 4px 8px;
}

.founder-creds {
  margin: 22px 0 8px;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.founder-note {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
}

.founder-note-photo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  max-width: 220px;
  box-shadow: var(--shadow-2);
}

.founder-note-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.founder-note-body .section-title-sm {
  margin-bottom: 10px;
}

.founder-note-body > p {
  color: var(--ink-3);
  max-width: 54ch;
}

.founder-note-sign {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 18px 0 4px;
}

.founder-note-sign strong {
  color: var(--ink);
}

.founder-note-sign span {
  color: var(--ink-4);
  font-size: 0.9rem;
}

.contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin: 28px 0;
}

.contact-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
}

.contact-card svg {
  margin-bottom: 12px;
  color: var(--brand-600);
}

.contact-card h3 {
  margin-bottom: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card a,
.contact-card p.value {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 700;
  word-break: break-word;
}

.contact-card a:hover {
  color: var(--brand-700);
}

.contact-card small {
  display: block;
  margin-top: 4px;
  color: var(--ink-4);
  font-size: 0.82rem;
}

/* ── Domain search ────────────────────────────────────────────────────── */

.domain-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.domain-bar input {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  outline: none;
}

.domain-bar input::placeholder {
  color: var(--ink-4);
}

.domain-result {
  display: none;
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--brand-200);
  border-radius: var(--r-lg);
  background: var(--brand-50);
}

.domain-result.is-open {
  display: block;
}

.domain-result-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.domain-result-top strong {
  color: var(--ink);
  font-size: 1.2rem;
}

.domain-result-price {
  color: var(--brand-800);
  font-size: 1.2rem;
  font-weight: 800;
}

/* Dugme za registraciju: u rezultatu (posle provere cene) i, bez rezultata, ispod polja. */
.domain-result-cta {
  margin-top: 14px;
  white-space: normal;
  text-align: center;
}

.domain-cta {
  margin-top: 16px;
}

.domain-cta .btn {
  white-space: normal;
  text-align: center;
}

.domain-cta .btn[hidden],
.domain-cta:has(.btn[hidden]) {
  display: none;
}

.tld-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tld-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 0.88rem;
}

.tld-chip b {
  color: var(--ink);
  font-weight: 700;
}

.tld-chip span {
  color: var(--ink-3);
}

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  overflow: hidden;
}

.faq details[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-1);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--ink-3);
  border-bottom: 2px solid var(--ink-3);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.2s ease;
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.faq summary:hover {
  background: var(--surface-2);
}

.faq-body {
  padding: 0 22px 22px;
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── CTA ──────────────────────────────────────────────────────────────── */

.cta {
  padding: 72px 0;
  background: linear-gradient(135deg, var(--ink) 0%, #0a2252 55%, #2f7ee6 100%);
  color: #cbd5e1;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta h2 {
  color: #fff;
  margin-bottom: 10px;
}

.cta p {
  max-width: 52ch;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta .btn-primary {
  background: #fff;
  color: var(--brand-800);
  box-shadow: none;
}

.cta .btn-primary:hover {
  background: var(--brand-50);
}

/* ── Page hero (podstranice) ──────────────────────────────────────────── */

.page-hero {
  padding: 48px 0 56px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(50rem 24rem at 10% -30%, var(--brand-50), transparent 65%),
    var(--surface);
}

.crumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  color: var(--ink-4);
  font-size: 0.86rem;
}

.crumbs a {
  color: var(--ink-3);
  font-weight: 500;
}

.crumbs a:hover {
  color: var(--brand-700);
}

.crumbs span[aria-current] {
  color: var(--ink);
  font-weight: 600;
}

.page-hero h1 {
  max-width: 20ch;
  margin-bottom: 16px;
}

.page-hero.has-visual {
  padding: 56px 0 64px;
}

.page-hero.has-visual .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 56px;
  align-items: center;
}

.page-hero.has-visual h1 {
  max-width: 24ch;
}

.hero-note {
  margin-top: 18px;
  color: var(--ink-4);
  font-size: 0.84rem;
}

/* Panel sa cenama paketa u zaglavlju stranice */

.hero-visual {
  position: relative;
  animation: reveal 0.7s cubic-bezier(0.22, 0.68, 0.28, 1) 0.18s both;
}

.hero-plans {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-3);
  animation: floaty 9s ease-in-out infinite alternate;
}

@keyframes floaty {
  from {
    transform: translateY(-6px);
  }
  to {
    transform: translateY(6px);
  }
}

.hero-plans-head {
  margin-bottom: 14px;
  color: var(--ink-4);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-plan {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}

.hero-plan + .hero-plan {
  margin-top: 8px;
}

/*
 * Red koji vodi na svoj paket je <a>, pa mora da odbije podrazumevanu boju i
 * podvlačenje linka i da zadrži vidljiv fokus, jer se do panela dolazi i
 * tastaturom.
 */
.hero-plan.is-link {
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease;
}

.hero-plan.is-link:hover {
  border-color: var(--brand-200);
  background: var(--brand-50);
}

.hero-plan.is-link:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

.hero-plan.is-featured {
  border-color: var(--brand-200);
  background: var(--brand-50);
}

.hero-plan-name strong {
  display: block;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 700;
}

.hero-plan-name small {
  color: var(--ink-4);
  font-size: 0.8rem;
}

.hero-plan-price {
  text-align: right;
  white-space: nowrap;
}

.hero-plan-price b {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.hero-plan-price small {
  color: var(--ink-4);
  font-size: 0.74rem;
}

.hero-plans-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.84rem;
}

.hero-plans-foot svg {
  color: var(--ok);
}

/* ── Table ────────────────────────────────────────────────────────────── */

.table-wrap {
  overflow-x: auto;
  /*
   * Tabela šira od ekrana pomera se unutar ovog okvira. Bez containmenta
   * njena širina naduva scrollWidth cele strane (merljivo na /hosting),
   * pa mobilni pregledači pomere i samu stranu u stranu.
   */
  contain: paint;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.94rem;
  min-width: 560px;
}

.compare thead th {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--ink-3);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: left;
  white-space: nowrap;
}

.compare tbody td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
  vertical-align: middle;
}

.compare tbody tr:last-child td {
  border-bottom: 0;
}

.compare tbody tr:hover {
  background: var(--surface-2);
}

.compare td:first-child {
  color: var(--ink);
  font-weight: 700;
}

/*
 * Naziv karakteristike. Ostaje na mestu dok se tabela pomera u stranu, jer
 * na telefonu sedam kolona ne staje na ekran, a bez naziva red ne znači ništa.
 */
.compare th[scope='row'] {
  position: sticky;
  left: 0;
  z-index: 1;
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.94rem;
  font-weight: 650;
  text-align: left;
  vertical-align: top;
}

.compare th[scope='row']::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: var(--line);
}

.compare thead th .dim {
  display: block;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
}

/* Objašnjenje uz naziv reda, za stavke koje su žargon. */
.compare-help {
  display: block;
  max-width: 34ch;
  margin-top: 4px;
  color: var(--ink-4);
  font-size: 0.8rem;
  font-weight: 400;
  line-height: 1.5;
}

.compare-yes svg {
  color: var(--ok);
}

.compare-no {
  color: var(--ink-4);
}

.compare-prices {
  margin-bottom: 14px;
}

/* Uputstvo za pomeranje tabele. Na širokom ekranu nema šta da se pomera. */
.compare-hint {
  display: none;
  margin: 0 0 12px;
  color: var(--ink-4);
  font-size: 0.86rem;
}

@media (max-width: 900px) {
  .compare-hint {
    display: block;
  }
}

/*
 * Grupe karakteristika. Otvorena je samo prva, da tabela ne bi počela sa
 * pedeset redova. Radi bez JavaScripta, jer je <details>.
 */
.compare-group {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.compare-group[open] {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-1);
}

.compare-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

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

.compare-group summary:hover {
  background: var(--surface-2);
}

.compare-group summary .dim {
  margin-left: auto;
  font-size: 0.82rem;
  font-weight: 600;
}

.compare-group summary::after {
  content: '';
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--ink-4);
  border-bottom: 2px solid var(--ink-4);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.18s ease;
}

.compare-group[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}

.compare-group-body {
  padding: 0 14px 14px;
}

.compare-group-note {
  margin: 0 8px 14px;
  color: var(--ink-4);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Tekst samo za čitače ekrana: kvačica i crtica moraju nešto da izgovore. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Form ─────────────────────────────────────────────────────────────── */

.form-card {
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.form {
  display: grid;
  gap: 18px;
}

.form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--surface);
  font-size: 0.98rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus,
.domain-bar input:focus {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-100);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  color: var(--ink-4);
  font-size: 0.84rem;
}

.form-success {
  display: none;
  padding: 16px 18px;
  border: 1px solid var(--ok-line);
  border-radius: var(--r-sm);
  background: var(--ok-bg);
  color: #065f46;
  font-size: 0.94rem;
}

.form-success.is-open {
  display: block;
}

.form-success.is-error {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}

.form-success a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

/* Zbirni pregled pogrešnih polja u kontakt formi. */
.form-success > p {
  margin: 0;
  font-weight: 600;
}

.form-success ul {
  margin: 6px 0 0;
  padding-left: 1.2em;
}

/* Greška ispod pojedinačnog polja, ispisuje je server. */
.field-error {
  display: block;
  margin-top: 6px;
  color: #b91c1c;
  font-size: 0.84rem;
  font-weight: 500;
}

.form label:has(.field-error) input,
.form label:has(.field-error) textarea {
  border-color: #fca5a5;
}

/* Kontakt forma: oznaka, polje i poruka o grešci su susedi u omotaču (isti razmak kao ranije unutar label-a). */
.form-field {
  display: grid;
  gap: 7px;
}

.form-field [aria-invalid="true"] {
  border-color: #fca5a5;
}

.form-card .section-title-sm {
  margin-bottom: 6px;
}

.form-note-head {
  margin-bottom: 22px;
}

/*
 * Kartica koja nosi spisak i dugme, a ne obrazac. Unutar obrasca razmake
 * daje grid, pa se ovo odnosi samo na elemente odmah u kartici.
 */
.form-card > .form-note:not(.form-note-head),
.form-card > .btn {
  margin-top: 18px;
}

/* Zamka za spam skripte u kontakt formi. Polje ne vidi ni čitač ekrana. */
.is-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ── Objašnjenja i vodiči na hosting stranicama ───────────────────────── */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: start;
}

.prose {
  max-width: 66ch;
}

.prose > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 1.01rem;
  line-height: 1.72;
}

.checklist {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}

.checklist-title {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.checklist ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-2);
  font-size: 0.93rem;
  line-height: 1.55;
}

.checklist svg {
  margin-top: 3px;
  color: var(--ok);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.step-num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.step p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

.glossary {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  overflow: hidden;
}

.glossary-row {
  display: grid;
  grid-template-columns: minmax(0, 0.3fr) minmax(0, 0.7fr);
  gap: 24px;
  padding: 20px 24px;
}

.glossary-row + .glossary-row {
  border-top: 1px solid var(--line);
}

.glossary dt {
  color: var(--ink);
  font-weight: 700;
}

.glossary dd {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.65;
}

.picks {
  display: grid;
  gap: 14px;
}

.pick-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pick-row:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-2);
}

.pick-row.is-featured {
  border-color: var(--brand-200);
  background: var(--surface-brand);
}

.pick-row-tag strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
}

.pick-row-tag span {
  display: block;
  margin-top: 2px;
  color: var(--ink-3);
  font-size: 0.9rem;
  font-weight: 600;
}

.pick-row-tag em {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pick-row-body h3 {
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.pick-row-body p {
  color: var(--ink-3);
  font-size: 0.95rem;
  line-height: 1.65;
}

.picks-cta {
  margin-top: 24px;
}

.compare .btn-order {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.pick-row-order {
  display: inline-block;
  margin-top: 12px;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--brand-200);
  text-underline-offset: 3px;
}

.pick-row-order:hover {
  text-decoration-color: currentColor;
}

.chooser-pick {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-left: 3px solid var(--brand);
  background: var(--surface-brand);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 600;
}

.feature.is-link {
  display: flex;
  flex-direction: column;
}

.feature.is-link .link-arrow {
  margin-top: 16px;
}

/* ── Nacionalni domeni ────────────────────────────────────────────────── */

.kinds {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.kind {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.kind-tag {
  display: grid;
  place-items: center;
  padding: 10px 8px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.kind h3 {
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.kind p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* Kartica sa zvaničnim znakom RNIDS-a */

.rnids-card {
  padding: 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface-2);
}




.rnids-marks-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 20px;
}

.rnids-mark,
.rnids-tld-marks {
  display: inline-flex;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
}

.rnids-mark {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}



.rnids-card > .rnids-mark {
  margin-bottom: 18px;
}

.rnids-mark:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-2);
}

.rnids-mark img {
  width: 132px;
  height: auto;
}




.rnids-marks-row .rnids-mark img {
  width: 168px;
}

.rnids-tld-marks {
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
}

.rnids-tld-marks img {
  width: auto;
  height: 40px;
}

.rnids-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.rnids-card > div > p {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.65;
}

.rnids-card > div > p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rnids-card > div > p a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.rnids-card > div > p a:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.rnids-dids {
  margin: 14px 0 0;
}

.rnids-dids-open {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--ink);
  overflow: hidden;
  line-height: 0;
}

.rnids-dids-open[hidden] {
  display: none;
}

.rnids-dids-open:focus-visible {
  border-radius: var(--r);
}

.rnids-dids-thumb {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 520 / 292;
  object-fit: cover;
}

.rnids-dids-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease;
}

.rnids-dids-play svg {
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}

.rnids-dids-open:hover .rnids-dids-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.rnids-dids-player {
  margin: 12px 0 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: #fff;
  overflow: hidden;
}

.rnids-dids-frame {
  background: #000;
}

.rnids-dids-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.rnids-dids-close {
  display: block;
  min-height: 44px;
  margin-left: auto;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.section.bg-soft:has(.nd-rules) {
  padding-block: 56px;
}

.nd-rules-head {
  margin-bottom: 22px;
}

.nd-rules-head .eyebrow {
  margin-bottom: 10px;
}

.nd-rules {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.nd-rules-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nd-rules-list li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.nd-rules-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.nd-rules-list li:last-child {
  padding-bottom: 0;
}

.nd-rules-list h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.nd-rules-list p {
  max-width: 62ch;
  margin: 0;
  color: var(--ink-3);
  font-size: 0.98rem;
  line-height: 1.65;
}

.rnids-card--registrar {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-radius: var(--r);
  background: #fff;
  container-type: inline-size;
}

.rnids-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rnids-card--registrar .rnids-card-head h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
}

.rnids-card--registrar .rnids-mark {
  flex: 0 0 auto;
  padding: 6px;
}

.rnids-card--registrar .rnids-mark img {
  display: block;
  width: 60px;
}

.rnids-card--registrar p {
  margin: 0;
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.65;
}

.rnids-card--registrar p a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rnids-card--registrar p a:focus-visible {
  outline: 2px solid var(--brand-600);
  outline-offset: 2px;
}

.rnids-card-group {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.rnids-card--registrar .rnids-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin-top: 8px;
}

.rnids-card--registrar .rnids-links a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rnids-card--registrar .rnids-dids-group {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}

.rnids-card--registrar .rnids-dids-group p {
  margin-bottom: 10px;
}

.rnids-card--registrar .rnids-dids {
  margin: 0;
}

.rnids-card--registrar .rnids-dids-player {
  margin-top: 10px;
}

.rnids-dids-group .rnids-dids-player {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.rnids-dids-group .rnids-dids-frame {
  border-radius: 6px;
  overflow: hidden;
}

@container (min-width: 440px) {
  .rnids-dids-group {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 260px);
    align-items: center;
    gap: 0 16px;
  }

  .rnids-card--registrar .rnids-dids-group p {
    margin-bottom: 0;
  }

  .rnids-card--registrar .rnids-dids {
    display: contents;
  }

  .rnids-dids-group:has(.rnids-dids-open[hidden]) p,
  .rnids-card--registrar .rnids-dids-player {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .nd-rules {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .section.bg-soft:has(.nd-rules) {
    padding-block: 44px;
  }

  .rnids-card--registrar {
    padding: 16px;
  }
}

.rnids-links {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.rnids-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--brand-700);
  font-size: 0.9rem;
  font-weight: 600;
}

.rnids-links a:hover {
  color: var(--brand-800);
}

.rnids-links svg {
  transition: transform 0.15s ease;
}

.rnids-links a:hover svg {
  transform: translateX(3px);
}



.site-footer {
  padding: 64px 0 24px;
  background: var(--ink);
  color: #94a3b8;
  font-size: 0.92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .logo img {
  width: 220px;
  margin-bottom: 16px;
}

.footer-about {
  max-width: 34ch;
  line-height: 1.6;
}

.footer-col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-col strong {
  color: #fff;
  font-weight: 700;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.footer-social a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.28);
}

/* Traka platnih znakova: tih red logoa iznad copyright reda. Kartice više ne
   nose svoju belu podlogu — SVG-ovi su iskrojeni na sam znak, pa na ink-u
   ostaje jedan mek, monohroman red, a ne izlog belih kartica. Redosled je
   isti kao na starom sajtu. */

.footer-payments {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  padding: 18px 0 0;
}

.footer-payments-label {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-payments-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.footer-payments-list a,
.footer-payments-list span {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

/* Jedna mera tišine za celu traku: znakovi stoje prigušeni, a link se pojača
   na hover i fokus. Bez podloga i bez slotova. */
.footer-payments-list img {
  display: block;
  object-fit: contain;
  object-position: center;
  opacity: 0.6;
  max-width: none;
  overflow: visible;
}

/* Vektorski znakovi: viewBox je sada okvir samog logoa, pa svaki nosi svoj par
   mera. Oba su obavezna — width:auto + height na SVG u Chromiumu pada na 0.
   ?v= cache-bust lomi selektore po ekstenziji, otuda src*= na ime fajla. */
.footer-payments-list img[src*="visa.svg"] {
  width: 35px;
  height: 11px;
}

/* Amex je natpis u konturi, pa mu treba šira mera da se pročita. */
.footer-payments-list img[src*="amex.svg"] {
  width: 56px;
  height: 18px;
}

/* Jedini znakovi koji ostaju u boji: roundel je jedina razlika između
   Mastercarda i Maestra, pa se stišavaju smanjenom zasićenošću, ne belinom. */
.footer-payments-list img[src*="mastercard.svg"],
.footer-payments-list img[src*="maestro.svg"] {
  width: 34px;
  height: 21px;
  filter: saturate(0.45);
}

/* Rasterski znakovi se ne mogu prebojiti, a DinaCard i Visa Secure nose punu
   belu podlogu koju opacity samo posivi. Recept: grayscale(1) invert(1) belo
   spusti na crno a tamni natpis podigne u svetlo, pa screen crno čita kao
   prozirno — ostaje samo znak, bez pločice. Radi i za providni ID Check. */
.footer-payments-list img[src*="dinacard"],
.footer-payments-list img[src*="visa-secure"],
.footer-payments-list img[src*="mastercard-id-check"] {
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: 0.85;
}

/* Visa Secure je jedini pun blok, pa mu treba niži nivo od natpisa. */
.footer-payments-list img[src*="visa-secure"] {
  opacity: 0.7;
}

.footer-payments-list .is-card.is-raster img {
  width: auto;
  height: 13px;
  max-width: 64px;
}

/* Banca Intesa: beli PNG na tamnom; hairline je razdvaja od 3-D Secure znakova. */
.footer-payments-list .is-bank {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 4px;
}

.footer-payments-list .is-bank img {
  width: auto;
  height: 15px;
}

.footer-payments-list .is-bank::after {
  content: "";
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.1);
}

/* 3-D Secure znakovi stoje niže od kartica jer su kvadratni. */
.footer-payments-list .is-secure img {
  width: auto;
  height: 20px;
}

/* WHTop se odvaja na desni kraj reda da ne pravi gužvu uz kartice; jedini je
   šareni znak u traci, pa stoji najtiše i boju vraća samo na hover. */
.footer-payments-list .is-badge {
  margin-left: auto;
}

.footer-payments-list .is-badge img {
  width: auto;
  height: 30px;
  filter: saturate(0.4);
  opacity: 0.42;
  transition: opacity 0.15s ease, filter 0.15s ease;
}

.footer-payments-list a:hover img,
.footer-payments-list a:focus-visible img {
  filter: none;
  opacity: 0.95;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 18px;
  color: var(--ink-3);
  font-size: 0.82rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.footer-legal a {
  color: #94a3b8;
  transition: color 0.15s ease;
}

.footer-legal a:hover {
  color: #fff;
}

/* ── Mobile CTA bar ───────────────────────────────────────────────────── */

.mobile-cta {
  display: none;
  position: fixed;
  inset: auto 0 0 0;
  z-index: 65;
  gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
}

.mobile-cta .btn {
  flex: 1;
}

/* ── Blog i baza znanja ───────────────────────────────────────────────── */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.blog-card:hover {
  border-color: var(--brand-200);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

/* Objave bez slike zadrže isti oblik kartice, sa brend podlogom. */
.blog-card-media {
  aspect-ratio: 16 / 9;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s cubic-bezier(0.22, 0.68, 0.28, 1);
}

.blog-card-media img.is-placeholder,
.post-cover img.is-placeholder {
  object-fit: contain;
  padding: 14%;
  opacity: 0.9;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 22px 24px 24px;
}

.blog-card-date {
  color: var(--ink-4);
  font-size: 0.82rem;
  font-weight: 500;
}

.blog-card h2 {
  font-size: 1.08rem;
  line-height: 1.35;
}

/* Cela kartica je klikabilna, a u HTML-u ostaje jedan link. */
.blog-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.blog-card:hover h2 {
  color: var(--brand-800);
}

.blog-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.6;
}

.blog-card .link-arrow {
  margin-top: auto;
  padding-top: 4px;
}

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

.pagination {
  margin-top: 36px;
}

.pagination-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pagination-btn:hover {
  border-color: var(--brand-200);
  background: var(--brand-50);
  color: var(--brand-800);
}

.pagination-btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.pagination-page:hover {
  border-color: var(--brand-200);
  background: var(--brand-50);
  color: var(--brand-800);
}

.pagination-page.is-active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}

.pagination-ellipsis {
  padding: 0 4px;
  color: var(--ink-4);
}

.kb-group + .kb-group {
  margin-top: 44px;
}

.kb-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.kb-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink-2);
  font-weight: 500;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kb-list a:hover {
  border-color: var(--brand-200);
  background: var(--surface-brand);
  color: var(--brand-800);
}

.kb-list svg {
  color: var(--brand-700);
}

/* ── Baza znanja: indeks ──────────────────────────────────────────────── */

/* Razmak od zaglavlja do prve sekcije baze znanja; globalni .section ostaje isti. */
.section.kb-section {
  padding-top: 60px;
}

@media (max-width: 720px) {
  .section.kb-section {
    padding-top: 36px;
  }
}

/* Putanja vodiča: „Baza znanja“ se ne lomi po rečima, lomi se cela stavka. */
.kb-crumbs {
  flex-wrap: wrap;
}

.kb-crumbs a,
.kb-crumbs > span {
  white-space: nowrap;
}

.kb-crumbs > span[aria-current] {
  white-space: normal;
}

/* „Rešavanje problema“: četiri stavke u dve kolone na desktopu, jedna kolona na telefonu. */
@media (min-width: 901px) {
  [data-kb-troubleshooting] .kb-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.kb-tabs a {
  padding: 8px 18px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 0.92rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.kb-tabs a:hover {
  border-color: var(--brand-200);
  background: var(--surface-brand);
  color: var(--brand-800);
}

.kb-tabs a[aria-current="page"] {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* Kompaktno zaglavlje glavnog indeksa: naslov i kratak tekst, pa odmah pretraga. */
.page-hero.kb-hero {
  padding: 28px 0 32px;
}

.kb-hero .crumbs {
  margin-bottom: 14px;
}

.kb-hero h1 {
  max-width: none;
  margin-bottom: 10px;
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
}

.kb-hero .lead {
  max-width: 62ch;
  margin: 0;
}

/* Pretraga se prikazuje tek kad main.js radi; bez skripte ostaje samo lista. */
.kb-search {
  max-width: 760px;
  margin: 0 0 20px;
}

/* Samo glavni indeks (kompaktan hero): manje vazduha do pretrage; .kb-section ostaje isti za članak. */
.kb-hero + .section.kb-section {
  padding-top: 32px;
}

@media (max-width: 720px) {
  .kb-hero + .section.kb-section {
    padding-top: 20px;
  }
}

.kb-search-input {
  padding: 16px 18px;
  font-size: 1.08rem;
}

@media (max-width: 720px) {
  .kb-search-input {
    padding: 14px 16px;
    font-size: 1rem;
  }
}

.kb-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}

.kb-chips-label {
  color: var(--ink-3);
  font-size: 0.86rem;
}

.kb-chip {
  padding: 6px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.kb-chip:hover {
  border-color: var(--brand-200);
  background: var(--surface-brand);
  color: var(--brand-800);
}

/* Rezultati: jedan po vodiču, sa temom, naslovom i opisom. */
.kb-results {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.kb-result {
  display: grid;
  gap: 4px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.kb-result:hover {
  border-color: var(--brand-200);
  background: var(--surface-brand);
}

.kb-result-topic {
  color: var(--brand-800);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kb-result-title {
  color: var(--ink);
  font-weight: 600;
}

.kb-result-desc {
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.5;
}

.kb-empty-title {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.kb-empty p {
  margin: 6px 0 0;
}

.kb-topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin: 0 0 32px;
}

.kb-topics .kb-tabs {
  margin: 0;
}

/* Poseban, uočljiv ulaz u vodiče po simptomu; dostupan i sa kategorija. */
.kb-problem-link {
  padding: 8px 18px;
  border: 1px solid var(--brand-accent);
  border-radius: 999px;
  background: var(--surface-brand);
  color: var(--brand-800);
  font-size: 0.92rem;
  font-weight: 600;
}

.kb-problem-link:hover {
  background: var(--brand-50);
  color: var(--ink);
}

.kb-anchor {
  display: block;
}

.kb-search-label {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 600;
}

.kb-search-input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
}

.kb-search-input:focus {
  border-color: var(--brand-accent);
}

.kb-search-status {
  margin: 10px 0 0;
  color: var(--ink-3);
  font-size: 0.88rem;
}

/* Prazan status ne zauzima mesto, ali ostaje u stablu za čitač ekrana (aria-live). */
.kb-search-status:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.kb-search-scope {
  margin: 0 0 8px;
  color: var(--ink-3);
  font-size: 0.86rem;
}

.kb-search-scope a {
  margin-left: 6px;
  color: var(--brand-800);
  font-weight: 600;
}

.kb-empty {
  margin: 12px 0 0;
  padding: 16px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--r);
  background: var(--surface-2);
  color: var(--ink-2);
}

.kb-clear {
  margin-left: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--brand-800);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.kb-group + .kb-groups {
  margin-top: 44px;
}

.kb-groups--cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: start;
}

.kb-groups--cols .kb-group + .kb-group {
  margin-top: 0;
}

@media (max-width: 900px) {
  .kb-groups--cols {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  .kb-groups--cols .kb-group + .kb-group {
    margin-top: 44px;
  }
}

/* ── Baza znanja: strana vodiča ───────────────────────────────────────── */

/* Okvir i putanja su u wrap kao na ostatku sajta. Kolona članka je do 860px, pa slike,
   tabele i snimci ekrana dobijaju punu širinu, a „Na ovoj stranici“ (iz H2 naslova,
   main.js) stoji desno i ostaje u vidu. */
.kb-layout {
  display: grid;
  grid-template-columns: minmax(0, 860px) minmax(220px, 260px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}

/* Pasusi i liste ostaju na čitljivih oko 75 znakova po redu, bez obzira na širinu kolone. */
.kb-main .article > p,
.kb-main .article > ul,
.kb-main .article > ol,
.kb-main .article > blockquote {
  max-width: 75ch;
}

.kb-main {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.kb-toc {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: calc(var(--topbar-h) + var(--header-h) + 24px);
  max-height: calc(100vh - var(--topbar-h) - var(--header-h) - 48px);
  overflow-y: auto;
}

.kb-toc-box {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.kb-toc-title {
  display: block;
  margin-bottom: 8px;
  color: var(--ink-4);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  list-style: none;
  cursor: default;
  pointer-events: none;
}

.kb-toc-title::-webkit-details-marker {
  display: none;
}

.kb-toc ol {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kb-toc a {
  display: block;
  margin-left: -21px;
  padding: 6px 0 6px 19px;
  border-left: 2px solid transparent;
  color: var(--ink-3);
  font-size: 0.92rem;
  line-height: 1.4;
}

.kb-toc a:hover {
  color: var(--brand-800);
}

.kb-toc a[aria-current="true"] {
  border-left-color: var(--brand-accent);
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 980px) {
  .kb-layout {
    display: block;
  }

  .kb-toc {
    position: static;
    max-height: none;
    overflow: visible;
    margin-bottom: 28px;
  }

  .kb-toc-box {
    padding: 0;
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--surface-2);
  }

  .kb-toc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 14px 16px;
    color: var(--ink-2);
    cursor: pointer;
    pointer-events: auto;
  }

  .kb-toc-title::after {
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.15s ease;
  }

  .kb-toc-box[open] .kb-toc-title::after {
    transform: rotate(-135deg);
  }

  .kb-toc ol {
    padding: 0 16px 12px;
  }

  .kb-toc a {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

/* ── Tekst članka ─────────────────────────────────────────────────────── */

/* Naslov strane iz baze znanja (wrap) ne dobija 20ch iz page-hero, da dugi
   naslovi vodiča ne lome red. */
.article-title,
.page-hero .article-title {
  max-width: none;
}

.article-meta {
  margin-top: 18px;
  color: var(--ink-4);
  font-size: 0.86rem;
}

/* Izdvojena slika objave, iznad teksta. */
.post-cover {
  margin: 0 0 30px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
}

.post-cover img {
  display: block;
  width: 100%;
  height: auto;
}

/*
 * Telo članka dolazi iz WordPress-a, pa se stilizuju sami elementi,
 * bez pretpostavke o klasama koje je WP upisao.
 */
/*
 * WP blokovi (wp-block-columns, wp-block-group) ostaju u normalnom toku:
 * bez WP-ovih flex klasa svaki pokušaj da se rasporede u stupce razbije
 * širinu teksta, a uspravno slaganje se ionako bolje čita.
 */
.article {
  color: var(--ink-2);
  font-size: 1.05rem;
  line-height: 1.75;
  /* Tekst iz WP-a nosi dugačke adrese koje inače izađu iz ekrana. */
  overflow-wrap: break-word;
}

.article > :first-child {
  margin-top: 0;
}

.article p {
  margin: 18px 0;
}

.article strong {
  font-weight: 600;
}

.article h2 {
  margin: 46px 0 14px;
  font-size: 1.5rem;
}

.article h3 {
  margin: 34px 0 10px;
  font-size: 1.14rem;
}

.article h4 {
  margin: 26px 0 8px;
  font-size: 1.02rem;
}

.article a {
  color: var(--brand-700);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--brand-200);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.article a:hover {
  text-decoration-color: var(--brand-700);
}

.article ul,
.article ol {
  margin: 18px 0;
  padding-left: 24px;
}

.article li {
  margin: 8px 0;
}

.article li::marker {
  color: var(--brand-700);
}

.article figure {
  margin: 34px 0;
}

.article img {
  height: auto;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.article figcaption {
  margin-top: 10px;
  color: var(--ink-4);
  font-size: 0.84rem;
  text-align: center;
}

.article blockquote {
  margin: 30px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--brand-200);
  color: var(--ink-2);
  font-size: 1.06rem;
}

/* Pitanja i odgovori koje je stari sajt pisao Rank Math blokom. */
.article .rank-math-list {
  display: grid;
  gap: 12px;
  margin: 32px 0;
}

.article .rank-math-list-item {
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--surface-2);
}

.article .rank-math-question {
  margin: 0;
  font-size: 1.02rem;
}

.article .rank-math-answer p:last-child {
  margin-bottom: 0;
}

/* WP tabele nose border i cellpadding atribute, pa ih stil gasi. */
.article .wp-block-table {
  overflow-x: auto;
}

.article table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 0.93rem;
}

.article th,
.article td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.article th {
  background: var(--surface-2);
  color: var(--ink);
  font-weight: 600;
}

.article tbody tr:nth-child(even) td {
  background: var(--surface-2);
}

.article code {
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--surface-3);
  color: var(--ink);
  font-size: 0.9em;
  overflow-wrap: anywhere;
}

/* Ugradnja videa na marketing stranama (komponenta x-video). */
.video {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-2);
}

.video iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video figcaption {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--ink-4);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Lokalni okvir videa: nema zahteva ka YouTube-u dok posetilac ne klikne. */
.video-embed {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  background: var(--brand-50);
}

.video-embed.is-loaded {
  background: #000;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-embed-card {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 10px;
  min-width: 0;
  aspect-ratio: 16 / 9;
  padding: 18px 20px;
  text-align: center;
  overflow-wrap: anywhere;
}

.video-embed-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
}

.video-embed-title {
  margin: 0;
  max-width: 46ch;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
}

.video-embed-note {
  margin: 0;
  max-width: 46ch;
  color: var(--ink);
  font-size: 0.86rem;
  line-height: 1.45;
}

.video-embed-load {
  min-height: 46px;
}

.video-embed-link {
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article .video-embed {
  margin: 1.5em 0;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

/*
 * Video ugradnje: odnos strana stoji na samom iframeu, jer WP nije svakoj
 * ugradnji upisao wp-embed-aspect klasu na okvir.
 */
.article iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--r);
}

.article .wp-embed-aspect-9-16 iframe {
  aspect-ratio: 9 / 16;
  max-width: 340px;
  margin-inline: auto;
}

.article hr {
  margin: 40px 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.article-back {
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

/* Uži laptopovi (1101–1240px): meni, jezik i dugme staju u traku samo ako se
   razmaci skupe, a portal ostane ikonica (ime nosi aria-label i title). Puna
   traka traži oko 1235px, pa je ovo prelaz pre hamburgera na 1100px. */
@media (max-width: 1240px) {
  .header-inner {
    gap: 20px;
  }

  .nav a {
    padding: 9px 10px;
  }

  .header-actions {
    gap: 10px;
  }

  .header-utility {
    gap: 6px;
    padding-right: 10px;
  }

  .header-portal {
    padding: 8px;
  }

  .header-portal-label {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-grid {
    gap: 44px;
  }

  .proof-grid,
  .feature-grid.is-4,
  .testimonial-grid:not(.is-single),
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

/* Ispod ove širine lista se prelama; banka ne treba dodatni levi razmak. */
@media (max-width: 1040px) {
  .footer-payments-list .is-bank {
    margin-left: 0;
  }
}

/*
 * Meni se skuplja u hamburger već na 1100px. Traka sa logoom od 220px, menijem,
 * jezikom i dugmetom traži oko 1015px sadržaja i u kompaktnom obliku, pa na
 * 1090px dugme bi izašlo iz trake (EN nazivi su još duži). Jezik i dugme
 * ostaju u traci, portal silazi u meni.
 */
@media (max-width: 1100px) {
  /* Izbor jezika ostaje u traci i na telefonu, portal silazi u meni. */
  .nav,
  .header-portal {
    display: none;
  }

  .header-utility {
    padding-right: 0;
    border-right: 0;
  }

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

  .header-inner {
    justify-content: space-between;
  }

  .header-actions {
    margin-left: auto;
  }

  .nav.is-open {
    display: flex;
    position: absolute;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 14px 24px 20px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-3);
    /*
     * Meni sa razgranatim podmenijem je viši od telefonskog ekrana, a stoji
     * u fiksiranom zaglavlju, pa se ne pomera sa stranicom. Bez ovoga se do
     * poslednjih stavki ne može doći. dvh računa i traku pregledača.
     */
    max-height: calc(100vh - var(--topbar-h) - var(--header-h));
    max-height: calc(100dvh - var(--topbar-h) - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .nav.is-open a {
    padding: 13px 14px;
    font-size: 1rem;
  }

  .nav.is-open .nav-item {
    display: block;
  }

  .nav.is-open .nav-parent svg {
    display: none;
  }

  .nav.is-open .nav-sub {
    position: static;
    padding-top: 2px;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav.is-open .nav-sub-inner {
    width: auto;
    padding: 2px 0 6px 12px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  /* U otvorenom meniju stavke su uvučene za 12px; napomena kreće iz iste ose. */
  .nav.is-open .nav-sub-vat {
    margin: 6px 0 0;
    padding: 8px 12px 0 0;
    border-top: 0;
  }

  .nav.is-open .nav-utility {
    display: block;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
  }
}

/* Uski telefoni: logo od 220px + jezik + hamburger traže ~380px, a u traci
   na 360px ostaje 328px, pa je hamburger ispadao iz ekrana. Logo se skuplja
   samo u zaglavlju, proporcionalno; footer ostaje na 220px. */
@media (max-width: 440px) {
  .header-inner {
    gap: 12px;
  }

  .site-header .logo img {
    width: 168px;
  }
}

/* Telefoni od 320px: logo 168px + jezik + dugme od 44px traže ~309px, a u
   traci ima 273px (EN/SR isto), pa je dugme izlazilo za oko 20px. Skuplja se
   samo ono što nije dodirna meta: logo (proporcionalno), razmaci i unutrašnji
   razmak prekidača jezika. Dugme ostaje 44px. */
@media (max-width: 340px) {
  .header-inner,
  .header-actions {
    gap: 8px;
  }

  .site-header .logo img {
    width: 140px;
  }

  .lang-switch a,
  .lang-switch .is-current {
    padding: 4px 6px;
  }
}

/* Gornja traka na uskim telefonima: tekst o registru i broj telefona su se
   preklapali (broj ima fiksnu širinu, tekst je bio u jednom redu). Tekst
   sada može u dva reda, bez ikone, a broj ostaje ceo i klikabilan. */
@media (max-width: 400px) {
  .topbar-inner {
    gap: 12px;
  }

  .topbar-facts {
    flex: 1 1 0;
    min-width: 0;
  }

  .topbar-facts span:first-child {
    white-space: normal;
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .topbar-facts span:first-child svg {
    display: none;
  }

  .topbar-links {
    flex-shrink: 0;
  }
}

@media (max-width: 960px) {
  .page-hero.has-visual .page-hero-grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

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

  .pick-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .glossary-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .kind {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 16px;
  }

  .topbar-facts span:nth-child(n + 3) {
    display: none;
  }

  .hero-grid,
  .support-grid,
  .founder-note,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .founder-note-photo {
    max-width: 180px;
  }

  .chooser-grid,
  .chooser-grid.is-pair,
  .feature-grid,
  .price-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }

  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 48px 0 64px;
  }

  .price-for {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-h: 36px;
    /*
       Visina donje trake sa dugmićima. Stoji u promenljivoj jer je računaju
       i telo strane i mobilni meni — traka je fiksirana, pa bi inače
       prekrila poslednje stavke menija i pojela dodir na njima. */
    --mobile-cta-h: calc(68px + env(safe-area-inset-bottom, 0px));
  }

  body {
    padding-bottom: calc(var(--mobile-cta-h) + 8px);
  }

  .nav.is-open {
    max-height: calc(100vh - var(--topbar-h) - var(--header-h) - var(--mobile-cta-h));
    max-height: calc(100dvh - var(--topbar-h) - var(--header-h) - var(--mobile-cta-h));
  }

  .wrap,
  .wrap-narrow {
    width: calc(100% - 32px);
  }

  .topbar-links a:not(:last-child) {
    display: none;
  }

  .topbar-facts span:nth-child(n + 2) {
    display: none;
  }

  .header-actions .btn-primary {
    display: none;
  }

  .mobile-cta {
    display: flex;
  }

  /*
     Mreža recenzija mora da se poklopi sa specifičnošću pravila za dve
     kolone (.testimonial-grid:not(.is-single)), inače ono ostaje na snazi
     i na telefonu, pa kartice izađu iz ekrana. */
  .proof-grid,
  .included,
  .contact-cards,
  .feature-grid.is-4,
  .testimonial-grid:not(.is-single),
  .testimonial-grid.is-single {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .domain-cta .btn,
  .domain-result-cta {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  /* Traka se prelama u redove: label, pa lista znakova. */
  .footer-payments {
    gap: 8px 14px;
  }

  .footer-payments-label {
    flex-basis: 100%;
  }

  .footer-payments-list {
    gap: 10px 16px;
  }

  .footer-payments-list .is-bank {
    gap: 12px;
  }

  /* Lista se prelama, pa WHTop ostaje u nizu; odvojen na desni kraj
     izgledao bi kao zaboravljen element na kraju drugog reda. */
  .footer-payments-list .is-badge {
    margin-left: 0;
  }

  .footer-payments-list .is-badge img {
    height: 28px;
  }

  .section-head-row {
    align-items: flex-start;
  }

  .form-card {
    padding: 24px 20px;
  }

  .pick {
    grid-template-columns: 40px minmax(0, 1fr);
    row-gap: 8px;
  }

  .pick-price {
    grid-column: 2;
    text-align: left;
  }

  .pick-price b,
  .pick-price small {
    display: inline;
  }

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

  .checklist,
  .step,
  .pick-row {
    padding: 22px 20px;
  }

  .glossary-row {
    padding: 18px 20px;
  }

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

  .blog-card {
    padding: 22px 20px;
  }

  .article {
    font-size: 0.98rem;
  }

  .article h2 {
    margin-top: 36px;
    font-size: 1.3rem;
  }

  .article h3 {
    font-size: 1.08rem;
  }

  /*
     Tabele iz WP-a imaju do četiri kolone i ne ulaze u telefonski ekran.
     Blok kutija sa skrolom radi i za tabele koje WP nije upakovao u
     figure.wp-block-table, kao i za one unete kasnije u adminu. */
  .article table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    font-size: 0.85rem;
  }

  .article th,
  .article td {
    padding: 9px 10px;
  }

  .article .rank-math-list-item {
    padding: 18px 20px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .btn:hover,
  .chooser-card:hover {
    transform: none;
  }

  /* Bez ovoga bi kratko trajanje animacije izazvalo treperenje. */
  .hero-glow,
  .hero-plans,
  .hero-visual,
  .reveal-group > * {
    animation: none !important;
  }
}

/* ── Consent (kolačići / analitika) ─────────────────────────────────────── */
.consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  background: var(--ink);
  color: #e8eef8;
  box-shadow: 0 -8px 28px rgba(10, 34, 82, 0.18);
}

.consent[hidden] {
  display: none !important;
}

.consent-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.consent-text {
  margin: 0;
  flex: 1 1 16rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: #d5deec;
}

.consent-text a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consent .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
}

.consent .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Telefon: jedan svetao, kompaktan panel iznad ivice ekrana. Dok je vidljiv,
   fiksna donja traka se sakriva (panel je ionako pokriva), a vraća se čim
   JS postavi hidden na banner, posle bilo kog izbora i na svakom reloadu. */
@media (max-width: 720px) {
  body:has(.consent:not([hidden])) .mobile-cta {
    display: none;
  }

  .consent {
    left: max(8px, env(safe-area-inset-left, 0px));
    right: max(8px, env(safe-area-inset-right, 0px));
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 16px - env(safe-area-inset-bottom, 0px));
    max-height: calc(100dvh - 16px - env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    padding: 12px;
    border: 1.5px solid var(--ink);
    border-radius: var(--r-md);
    background: var(--surface);
    color: var(--ink);
    box-shadow: 0 6px 22px rgba(10, 34, 82, 0.22);
  }

  .consent-inner {
    display: grid;
    width: auto;
    gap: 10px;
  }

  .consent-text {
    flex: none;
    font-size: 0.84rem;
    line-height: 1.4;
    color: var(--ink);
  }

  .consent-text a {
    color: var(--ink);
    font-weight: 600;
  }

  /* Dve kolone iste širine i visine; tekst dugmeta sme da pređe u dva reda
     da se na 320 px ništa ne prelije. */
  .consent-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    width: 100%;
  }

  .consent .btn {
    min-height: 46px;
    padding: 6px 8px;
    border-width: 1.5px;
    font-size: 0.88rem;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
  }

  .consent .btn-primary {
    border-color: var(--ink);
    box-shadow: none;
  }

  .consent .btn-ghost,
  .consent .btn-ghost:hover {
    border-color: var(--ink);
    background: var(--surface);
    color: var(--ink);
  }

  .consent .btn-ghost:hover {
    background: var(--brand-50);
  }

  .consent .btn-primary:hover {
    transform: none;
  }

  /* Plavi prsten --brand-600 ima 2.6:1 na beloj podlozi, ink ima 15:1. */
  .consent :focus-visible {
    outline: 2px solid var(--ink);
    outline-offset: 2px;
  }
}

/* Kratak ekran (telefon u pejzažu, mala visina): manje razmake da panel
   ostavi što više strane vidljivim. */
@media (max-width: 720px) and (max-height: 480px) {
  .consent {
    padding: 8px 10px;
  }

  .consent-inner {
    gap: 8px;
  }

  .consent-text {
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .consent .btn {
    min-height: 44px;
  }
}

/* Pejzaž: tekst levo, dugmad desno, da panel ostane nizak. */
@media (max-width: 720px) and (max-height: 480px) and (min-width: 480px) {
  .consent-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
    align-items: center;
    gap: 10px 14px;
  }
}

/* ── Consent: izbor po kategorijama ─────────────────────────────────────── */

/* Desktop: tamna traka. Oba glavna dugmeta su iste veličine i jednako vidljiva
   (jedan svetao, jedan sa belim obrisom), "Podesi kolačiće" je treće, tiše. */
.consent-inner {
  position: relative;
}

.consent-text {
  padding-right: 36px;
}

.consent .btn-primary {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.consent .btn-primary:hover {
  background: #e8eef8;
  box-shadow: none;
  transform: none;
}

.consent .consent-settings {
  padding: 0 12px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent .consent-settings:hover {
  background: rgba(255, 255, 255, 0.08);
}

.consent-x {
  position: absolute;
  top: -4px;
  right: 0;
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.consent-x:hover {
  background: rgba(255, 255, 255, 0.12);
}

.consent :focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Prozor sa izborom (nativni <dialog>: fokus i Esc rešava pregledač). */
.consent-prefs {
  width: min(560px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 18px 60px rgba(10, 34, 82, 0.35);
  overflow: hidden;
}

/* Okvir prozora: zaglavlje i zona akcija stoje, skroluju samo kategorije. */
.consent-prefs[open] {
  display: flex;
  flex-direction: column;
}

.consent-prefs::backdrop {
  background: rgba(10, 34, 82, 0.55);
}

.consent-prefs-card {
  display: flex;
  flex: 0 1 auto;
  flex-direction: column;
  min-height: 0;
  max-height: inherit;
}

.consent-prefs-head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 4px 22px;
}

.consent-prefs-body {
  display: grid;
  flex: 1 1 auto;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding: 6px 22px 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.consent-prefs-head h2 {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.25;
}

.consent-prefs .consent-x {
  position: static;
  flex: none;
  width: 44px;
  height: 44px;
  color: var(--ink);
}

.consent-prefs .consent-x:hover {
  background: var(--brand-50);
}

.consent-prefs :focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.consent-prefs-intro,
.consent-prefs-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
}

.consent-prefs-note {
  color: var(--ink-3);
  font-size: 0.84rem;
}

.consent-prefs a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.consent-cats {
  display: grid;
  gap: 10px;
}

.consent-cat {
  padding: 12px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--r-sm);
}

.consent-cat p {
  margin: 6px 0 0 34px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.consent-cat-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 28px;
  font-weight: 700;
  cursor: pointer;
}

.consent-cat-head em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-3);
}

.consent-cat-head input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  accent-color: var(--ink);
}

.consent-prefs-actions {
  display: grid;
  flex: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 22px 18px;
  border-top: 1.5px solid var(--ink);
  background: var(--surface);
}

.consent-prefs .btn {
  min-height: 46px;
  padding: 6px 8px;
  border: 1.5px solid var(--ink);
  font-size: 0.9rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

.consent-prefs .btn-ghost {
  background: var(--surface);
  color: var(--ink);
}

.consent-prefs .btn-ghost:hover {
  background: var(--brand-50);
}

.consent-prefs .btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: none;
}

.consent-prefs .btn-primary:hover {
  background: var(--ink);
  transform: none;
  box-shadow: none;
}

/* Dugme u podnožju izgleda kao ostali pravni linkovi. */
.footer-legal-btn {
  padding: 0;
  border: 0;
  background: none;
  color: #94a3b8;
  font: inherit;
  cursor: pointer;
  transition: color 0.15s ease;
}

.footer-legal-btn:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-legal-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.cookie-inventory,
.legal-resource {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1.5px solid var(--ink);
}

@media (max-width: 720px) {
  /* Svetli panel: glavno dugme je ponovo ink, kao ostatak telefonskog panela. */
  .consent .btn-primary {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
  }

  .consent .btn-primary:hover {
    background: var(--ink);
  }

  /* "Podesi kolačiće" zauzima ceo red ispod dva glavna dugmeta. */
  .consent .consent-settings {
    grid-column: 1 / -1;
    border: 1.5px solid transparent;
    color: var(--ink);
    font-weight: 600;
  }

  .consent .consent-settings:hover {
    background: var(--brand-50);
  }

  .consent-x {
    top: -6px;
    right: -6px;
    width: 44px;
    height: 44px;
    color: var(--ink);
  }

  .consent-x:hover {
    background: var(--brand-50);
  }

  .consent-text {
    padding-right: 40px;
  }

  .consent-prefs {
    width: calc(100vw - 16px);
    max-height: calc(100vh - 16px);
    max-height: calc(100dvh - 16px);
  }

  .consent-prefs-head {
    padding: 6px 6px 0 14px;
  }

  .consent-prefs-head h2 {
    font-size: 1.1rem;
  }

  .consent-prefs-body {
    gap: 10px;
    padding: 4px 14px 12px;
  }

  .consent-prefs-intro {
    font-size: 0.86rem;
  }

  .consent-cat {
    padding: 10px 12px;
  }

  .consent-cat p {
    margin-left: 0;
  }

  /* Dva ravnopravna dugmeta u redu, ispod njih "Sačuvaj izbor" preko cele širine. */
  .consent-prefs-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px 14px 12px;
  }

  .consent-prefs-actions [data-consent-action="save"] {
    grid-column: 1 / -1;
    order: 3;
  }
}

/* ==========================================================================
   Brend zaglavlje: obris i ispuna
   --------------------------------------------------------------------------
   Izgled je pročitan iz samog logoa: ink obris, plava ispuna iz logoa. Nema
   sivih ivica ni mekih senki, sve što je istaknuto ima obris i plavu ispunu,
   a u pozadini stoji vodeni znak (maska).

   Nosi ga .page-hero--brand. Raspored bira admin (.page-hero--layout-*) i
   veličinu (.page-hero--size-*), a --mark-image dolazi inline iz uploada
   (fallback: logo-mark-outline.svg).

   Blok je na kraju fajla namerno: kasniji izvorni red pobeđuje nad pravilima
   iz medijskih upita više u fajlu.
   ========================================================================== */

.page-hero--brand {
  --mark-image: url("/assets/logo-mark-outline.svg");
  padding: 60px 0 68px;
  border-bottom: 2px solid var(--ink);
  background:
    radial-gradient(46rem 26rem at 92% -18%, rgba(51, 153, 255, 0.16), transparent 68%),
    var(--surface);
}

/* Mreža tačaka ustupa mesto vodenom znaku. */
.page-hero--brand::before {
  opacity: 0;
}

/*
 * Vodeni znak: ikonica kao maska u kosom (ili drugom) polju. Datoteka je maska,
 * boju daje background-color. Polje je zarotirano preko transform; vazduh iz
 * --mark-air (visina) i mask-repeat: space (širina). Fokus elipsa seče polje.
 */
.page-hero--brand::after {
  --mark-w: 240px;
  --mark-air: 1.34;
  --mark-angle: -18deg;
  --mark-scale: 1.14;
  --mark-inset: -16% -13%;
  --mark-focus: 124% 116% at 50% 46%;
  --mark-focus-core: 22%;
  --mark-focus-edge: 80%;
  --mark-opacity: 0.046;

  content: "";
  position: absolute;
  inset: var(--mark-inset);
  z-index: -2;
  transform: rotate(var(--mark-angle)) scale(var(--mark-scale));
  background-color: var(--ink);
  -webkit-mask-image: var(--mark-image), radial-gradient(var(--mark-focus), #000 var(--mark-focus-core), transparent var(--mark-focus-edge));
  mask-image: var(--mark-image), radial-gradient(var(--mark-focus), #000 var(--mark-focus-core), transparent var(--mark-focus-edge));
  -webkit-mask-size: var(--mark-w) calc(var(--mark-w) / 1.357 * var(--mark-air)), 100% 100%;
  mask-size: var(--mark-w) calc(var(--mark-w) / 1.357 * var(--mark-air)), 100% 100%;
  -webkit-mask-repeat: space repeat, no-repeat;
  mask-repeat: space repeat, no-repeat;
  -webkit-mask-position: center, center;
  mask-position: center, center;
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
  opacity: var(--mark-opacity, 0);
  pointer-events: none;
}

/* Veličina — odvojeno od rasporeda, da admin može da ih meša. */
.page-hero--size-s::after { --mark-w: 180px; }
.page-hero--size-m::after { --mark-w: 240px; }
.page-hero--size-l::after { --mark-w: 292px; }
.page-hero--size-xl::after { --mark-w: 316px; }

/* Rasporedi (layout): ugao, fokus i gustina. */
.page-hero--layout-diag_nw::after {
  --mark-air: 1.3;
  --mark-angle: -18deg;
  --mark-scale: 1.16;
  --mark-opacity: 0.046;
  --mark-focus: 128% 120% at 72% 18%;
  --mark-focus-core: 22%;
  --mark-focus-edge: 80%;
}

.page-hero--layout-diag_ne::after {
  --mark-air: 1.32;
  --mark-angle: 18deg;
  --mark-scale: 1.16;
  --mark-inset: -16% -13%;
  --mark-opacity: 0.046;
  --mark-focus: 128% 120% at 28% 18%;
  --mark-focus-core: 22%;
  --mark-focus-edge: 80%;
}

.page-hero--layout-diag_sw::after {
  --mark-air: 1.22;
  --mark-angle: -22deg;
  --mark-scale: 1.2;
  --mark-inset: -18% -15%;
  --mark-opacity: 0.05;
  --mark-focus: 120% 104% at 14% 88%;
  --mark-focus-core: 26%;
  --mark-focus-edge: 84%;
}

.page-hero--layout-diag_se::after {
  --mark-air: 1.22;
  --mark-angle: 22deg;
  --mark-scale: 1.2;
  --mark-inset: -18% -15%;
  --mark-opacity: 0.05;
  --mark-focus: 120% 104% at 86% 88%;
  --mark-focus-core: 26%;
  --mark-focus-edge: 84%;
}

.page-hero--layout-horizontal::after {
  --mark-air: 1.46;
  --mark-angle: -8deg;
  --mark-scale: 1.08;
  --mark-inset: -12% -8%;
  --mark-opacity: 0.032;
  --mark-focus: 144% 66% at 42% 78%;
  --mark-focus-core: 18%;
  --mark-focus-edge: 86%;
}

.page-hero--layout-band::after {
  --mark-air: 1.26;
  --mark-angle: -20deg;
  --mark-scale: 1.24;
  --mark-inset: -20% -14%;
  --mark-opacity: 0.052;
  --mark-focus: 136% 34% at 54% 52%;
  --mark-focus-core: 30%;
  --mark-focus-edge: 92%;
}

.page-hero--layout-corner::after {
  --mark-air: 1.5;
  --mark-angle: -16deg;
  --mark-scale: 1.1;
  --mark-inset: -14% -10%;
  --mark-opacity: 0.032;
  --mark-focus: 96% 86% at 88% 6%;
  --mark-focus-core: 14%;
  --mark-focus-edge: 68%;
}

.page-hero--layout-sparse::after {
  --mark-air: 1.56;
  --mark-angle: -14deg;
  --mark-scale: 1.12;
  --mark-inset: -16% -12%;
  --mark-opacity: 0.04;
  --mark-focus: 112% 108% at 70% 58%;
  --mark-focus-core: 14%;
  --mark-focus-edge: 76%;
}

.page-hero--brand .hero-glow {
  background: radial-gradient(circle at 50% 50%, rgba(51, 153, 255, 0.16), transparent 62%);
}

/* Eyebrow je prvi put gde se vidi ključ pravca: obris plus plava ispuna. */
.page-hero--brand .eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  padding: 5px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: rgba(51, 153, 255, 0.12);
  color: var(--ink);
  letter-spacing: 0.06em;
}

.page-hero--brand h1 {
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-hero--brand .lead {
  font-size: 1.13rem;
}

.page-hero--brand .hero-actions {
  margin-top: 30px;
}

.page-hero--brand .hero-actions .btn {
  min-height: 52px;
  padding: 0 26px;
  border-width: 1.5px;
  box-shadow: none;
}

.page-hero--brand .hero-actions .btn-primary {
  border: 1.5px solid var(--ink);
  background: var(--brand-accent);
  color: var(--ink);
}

.page-hero--brand .hero-actions .btn-primary:hover {
  background: #5cadff;
  color: var(--ink);
}

.page-hero--brand .hero-actions .btn-ghost {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.page-hero--brand .hero-actions .btn-ghost:hover {
  background: rgba(51, 153, 255, 0.12);
  color: var(--ink);
}

/*
 * Panel: bela kartica sa tankim svetlim obrisom i mekom ink senkom, bez
 * plave ploče ispod.
 */
.page-hero--brand .hero-plans {
  border: 1px solid #dce5f0;
  box-shadow: 0 8px 22px rgba(13, 37, 77, 0.14);
}

.page-hero--brand .hero-plan.is-featured {
  border-color: var(--brand-200);
  background: rgba(51, 153, 255, 0.12);
}

/* Red koji vodi na paket: plava ivica i ispuna, isti ključ kao ostalo. */
.page-hero--brand .hero-plan.is-link:hover {
  border-color: var(--brand-accent);
  background: rgba(51, 153, 255, 0.1);
}

.page-hero--brand .hero-plan.is-link.is-featured:hover {
  background: rgba(51, 153, 255, 0.2);
}

/*
 * Foot je običan red teksta sa kvačicom: bez ispune, obrisa i linije iznad,
 * pa ne liči na dugme.
 */
.page-hero--brand .hero-plans-foot {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  color: #344761;
  font-size: 13px;
  font-weight: 500;
}

.page-hero--brand .hero-plans-foot svg {
  flex: none;
  width: 14px;
  height: 14px;
  margin-top: 2px;
  color: #27629a;
}

/*
 * Uži ekran: širi inset da rotacija ne ostavi prazne uglove; veličine se
 * smanjuju, a ugao layouta ostaje (samo blago smanjen scale).
 */
@media (max-width: 860px) {
  .page-hero--brand::after {
    --mark-inset: -10% -26%;
    --mark-scale: 1.08;
  }

  .page-hero--size-s::after { --mark-w: 140px; }
  .page-hero--size-m::after { --mark-w: 168px; }
  .page-hero--size-l::after { --mark-w: 196px; }
  .page-hero--size-xl::after { --mark-w: 210px; }
}

@media (max-width: 560px) {
  .page-hero--brand::after {
    --mark-inset: -8% -34%;
    --mark-scale: 1.04;
  }

  .page-hero--size-s::after { --mark-w: 120px; }
  .page-hero--size-m::after { --mark-w: 140px; }
  .page-hero--size-l::after { --mark-w: 158px; }
  .page-hero--size-xl::after { --mark-w: 168px; }

  /* Znakovi se smanjuju u paru mera, jer SVG bez oba pada na nultu širinu. */
  .footer-payments-list img[src*="visa.svg"] {
    width: 32px;
    height: 10px;
  }

  .footer-payments-list img[src*="amex.svg"] {
    width: 52px;
    height: 16px;
  }

  .footer-payments-list img[src*="mastercard.svg"],
  .footer-payments-list img[src*="maestro.svg"] {
    width: 31px;
    height: 19px;
  }

  .footer-payments-list .is-card.is-raster img {
    height: 12px;
    max-width: 56px;
  }

  .footer-payments-list .is-bank img {
    height: 14px;
  }

  .footer-payments-list .is-secure img {
    height: 18px;
  }
}

@media (max-width: 420px) {
  .footer-payments-list {
    gap: 9px 14px;
  }

  .footer-payments-list img[src*="visa.svg"] {
    width: 29px;
    height: 9px;
  }

  .footer-payments-list img[src*="amex.svg"] {
    width: 48px;
    height: 15px;
  }

  .footer-payments-list img[src*="mastercard.svg"],
  .footer-payments-list img[src*="maestro.svg"] {
    width: 28px;
    height: 17px;
  }

  .footer-payments-list .is-card.is-raster img {
    height: 11px;
    max-width: 52px;
  }

  .footer-payments-list .is-bank img {
    height: 13px;
  }

  .footer-payments-list .is-secure img {
    height: 17px;
  }

  .footer-payments-list .is-badge img {
    height: 26px;
  }
}

/* Web hosting, telefon: hero bez praznog prostora; desktop i dugmad ostaju isti. */
@media (max-width: 560px) {
  .page-hero--page-hosting-web.has-visual {
    padding: 32px 0 40px;
  }

  .page-hero--page-hosting-web.has-visual .page-hero-grid {
    gap: 24px;
  }

  .page-hero--page-hosting-web .crumbs,
  .page-hero--page-hosting-web .eyebrow {
    margin-bottom: 14px;
  }

  .page-hero--page-hosting-web h1 {
    margin-bottom: 14px;
  }

  .page-hero--page-hosting-web .hero-actions {
    margin-top: 22px;
  }

  .page-hero--page-hosting-web .hero-note {
    margin-top: 12px;
  }
}
