/* =============================================================
   Korak — legal.css
   Shared layout for the legal / compliance pages (Opšti uslovi,
   Uslovi za povrat, Sigurnosna politika). Link AFTER brand.css:

       <link rel="stylesheet" href="/brand.css">
       <link rel="stylesheet" href="/legal.css">

   Mirrors the look of privacy-policy.html.
   ============================================================= */

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

html { height: 100%; scroll-behavior: smooth; }

body {
  min-height: 100vh;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: clamp(2rem, 5vw, 4rem) 1.5rem;
  line-height: 1.6;
}

.bg-mesh { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.bg-mesh .orb { position: absolute; border-radius: 50%; filter: blur(100px); }
.orb-1 {
  width: 50vw; height: 50vw; min-width: 500px; min-height: 500px;
  background: radial-gradient(circle, rgba(157, 200, 192, 0.22), transparent 70%);
  top: -20%; right: -15%;
}
.orb-2 {
  width: 40vw; height: 40vw; min-width: 400px; min-height: 400px;
  background: radial-gradient(circle, rgba(232, 184, 131, 0.14), transparent 70%);
  bottom: -15%; left: -10%;
}

.container {
  position: relative; z-index: 2;
  width: 100%; max-width: 820px;
  display: flex; flex-direction: column;
}

header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
header .logo { width: 44px; height: 44px; }
header .name {
  font-size: 1.4rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
}
header .name .k {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.eyebrow {
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--teal-bright);
  margin-bottom: 0.75rem;
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700; line-height: 1.15;
  margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
  letter-spacing: -0.02em;
}
h1 .highlight {
  background: linear-gradient(135deg, var(--teal-bright), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.meta strong { color: var(--text-dim); font-weight: 500; }

h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 1rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--text);
  display: flex; align-items: baseline; gap: 0.75rem;
}
h2 .num { color: var(--teal-bright); font-weight: 700; font-size: 0.85em; }

h3 {
  font-size: 1rem; font-weight: 600; color: var(--text);
  margin-top: 1.25rem; margin-bottom: 0.5rem;
}

p { color: var(--text-dim); margin-bottom: 0.85rem; }
p:last-child { margin-bottom: 0; }

a.inline-link {
  color: var(--gold-light); text-decoration: none;
  border-bottom: 1px solid rgba(240, 192, 64, 0.3);
  transition: border-color 0.2s;
}
a.inline-link:hover { border-bottom-color: var(--gold-light); }

ul { list-style: none; display: grid; gap: 0.55rem; color: var(--text-dim); margin: 0.5rem 0 0.85rem; }
ul li { padding-left: 1.5rem; position: relative; }
ul li::before {
  content: ''; position: absolute; left: 0; top: 0.6rem;
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold-light);
}
ul.teal li::before { background: var(--teal-bright); }
ul strong, p strong { color: var(--text); font-weight: 600; }

.callout {
  background: linear-gradient(135deg, rgba(157, 200, 192, 0.08), rgba(232, 184, 131, 0.05));
  border: 1px solid rgba(0, 179, 179, 0.2);
  border-radius: 16px;
  padding: clamp(1.1rem, 2.5vw, 1.6rem);
  margin: 1rem 0;
}
.callout p { color: var(--text); margin-bottom: 0; }

/* Accepted-card strip (payment sections only). Official marks carry dark
   text/elements, so seat each on a white tile per brand guidelines. */
.pay-strip { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; margin: 0.4rem 0 0.85rem; }
.pay-strip img {
  height: 30px; width: auto; display: block;
  background: #fff; border-radius: 5px; padding: 4px 7px;
}

footer {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.9rem;
}
footer a { color: var(--text-dim); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
