/* AS Marketi — Design System 2026 */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,400;12..96,500;12..96,600;12..96,700&family=Archivo+Black&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;1,6..72,400;1,6..72,500&display=swap');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

:root {
  --as-red: #D91E18;
  --as-red-dark: #A81511;
  /* --as-yellow / --as-yellow-dark ukinuti — akcenti su sada crveni/neutralni */
  --fresh: #1F6F4F;

  --bg: #FFFFFF;
  --bg-alt: #F7F7F8;
  --bg-tint: #F2F3F5;
  --ink: #111318;
  --ink-soft: #3A3F47;
  --ink-mute: #6B7280;
  --line: #E5E7EB;
  --line-soft: #EEF0F2;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(17,19,24,.05), 0 2px 6px rgba(17,19,24,.04);
  --shadow-md: 0 6px 18px rgba(17,19,24,.07), 0 2px 4px rgba(17,19,24,.04);
  --shadow-lg: 0 24px 60px rgba(17,19,24,.12), 0 8px 20px rgba(17,19,24,.05);

  --pad-page-y: 80px;
  --pad-card: 18px;
  --gap-grid: 18px;

  --font-body: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Archivo Black", "Bricolage Grotesque", sans-serif;
  --font-serif: "Newsreader", Georgia, serif;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

.wrap      { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.wrap-wide { width: 100%; max-width: 1560px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap, .wrap-wide { padding: 0 18px; } }

/* ===== SECTIONS ===== */
.sec { padding: var(--pad-page-y) 0; }
.sec-head {
  display: flex; align-items: end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.sec-eyebrow {
  font-size: 12.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--as-red);
  display: inline-flex; align-items: center; gap: 10px;
}
.sec-eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--as-red); }
.sec-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1; letter-spacing: -.028em;
  margin: 12px 0 0; text-wrap: balance;
}
.sec-title em { font-style: italic; font-family: var(--font-serif); font-weight: 500; color: var(--as-red); }
.sec-sub { color: var(--ink-soft); font-size: 17px; max-width: 480px; }

/* ===== PAGE HEAD ===== */
.page-head { padding: 80px 0 56px; background: var(--bg-tint); border-bottom: 1px solid var(--line); }
.page-h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  line-height: .92; letter-spacing: -.03em;
  margin: 14px 0 12px; text-wrap: balance;
}
.page-h1 em { font-style: italic; font-family: var(--font-serif); font-weight: 500; color: var(--as-red); }
.page-lead { font-size: 19px; color: var(--ink-soft); max-width: 560px; margin: 0; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 24px; border-radius: 999px;
  font-weight: 700; font-size: 15px; border: 0;
  transition: transform .12s, background .15s, box-shadow .15s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--as-red); color: #fff; box-shadow: 0 6px 18px rgba(217,30,24,.3); }
.btn-primary:hover { background: var(--as-red-dark); box-shadow: 0 10px 26px rgba(217,30,24,.35); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
/* .btn-yellow zadržan radi kompatibilnosti — sada vizuelno identičan crvenoj primarnoj varijanti */
.btn-yellow { background: var(--as-red); color: #fff; box-shadow: 0 6px 18px rgba(217,30,24,.3); }
.btn-yellow:hover { background: var(--as-red-dark); box-shadow: 0 10px 26px rgba(217,30,24,.35); }

/* ===== UTILS ===== */
.tag-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--bg-tint); font-size: 12.5px; font-weight: 600;
  color: #2154ad;
}
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .09s; }
.reveal-delay-2 { transition-delay: .18s; }
.reveal-delay-3 { transition-delay: .27s; }

.fade-in { animation: fadeIn .4s ease-out both; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* hero entrance stagger */
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes heroImg { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.hero-copy > * { opacity: 0; animation: heroUp .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .16s; }
.hero-copy > *:nth-child(3) { animation-delay: .27s; }
.hero-copy > *:nth-child(4) { animation-delay: .38s; }
.hero-img { opacity: 0; animation: heroImg .8s cubic-bezier(.22,.61,.36,1) .2s both; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-copy > *, .hero-img { opacity: 1; }
}
