/* LUPUS Print & Design: boje kao na Instagram karuselima */
:root {
  --blue: #1f3fd1;
  --deep: #0b1f8a;
  --light: #eaf0ff;
  --soft: #9fb4ff;
  --ink: #0d1b4d;
  --grey: #6b7aa8;
  --radius: 22px;
  --shadow: 0 18px 40px rgba(11, 31, 138, .12);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: Montserrat, system-ui, sans-serif; color: var(--ink); background: #fff; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.8rem); font-weight: 900; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 900; color: var(--blue); }
h3 { font-size: 1.15rem; font-weight: 800; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.hidden { display: none; }

.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .8rem; color: var(--soft); margin: 0 0 .6em; }
.eyebrow--blue { color: var(--blue); }

.btn { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 800; padding: .95em 1.6em; border-radius: 999px; border: 2px solid var(--blue); cursor: pointer; font: inherit; font-weight: 800; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-2px); background: var(--deep); border-color: var(--deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--small { padding: .55em 1.1em; font-size: .9rem; }
.btn--wide { width: 100%; font-size: 1.05rem; }

/* zaglavlje */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(31,63,209,.1); }
.top__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: block; width: 150px; height: 64px; overflow: hidden; }
.brand img { width: 150px; height: 64px; object-fit: cover; object-position: center; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-weight: 700; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--blue); }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 3px; background: var(--blue); margin: 4px 0; border-radius: 2px; }

/* pocetak */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(150deg, var(--blue), var(--deep)); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(135deg, #fff 0 30px, transparent 30px 140px); }
.hero__in { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding: 80px 0; }
.lead { font-size: 1.1rem; font-weight: 500; color: rgba(255,255,255,.88); max-width: 560px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero__btns .btn:first-child { background: #fff; color: var(--blue); border-color: #fff; }
/* početna animacija: majica se pretvara u druge proizvode, pa LUPUS logo i dugme "Kontaktiraj nas" (animacija.js, GSAP) */
.hero__anim { width: 100%; max-width: 480px; justify-self: center; }
.film { display: block; width: 100%; height: auto; overflow: visible; font-family: "Montserrat", sans-serif; }
.film text { stroke: none; fill: #fff; text-anchor: middle; }
.film .f-logo { font-size: 24px; font-weight: 900; letter-spacing: 1px; dominant-baseline: central; }
.film .f-ime { font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.film .f-sve { font-size: 21px; font-weight: 900; letter-spacing: 2px; }
.film .f-pod { font-size: 14px; font-weight: 600; fill: #c9d5ff; letter-spacing: 1px; }
.film .f-dugme { font-size: 16px; font-weight: 800; }
#kontakt-dugme { cursor: pointer; }
#kontakt-dugme rect { transition: fill-opacity .2s; }
#kontakt-dugme:hover rect, #kontakt-dugme:focus-visible rect { fill-opacity: .16; }
#kontakt-dugme:focus { outline: none; }

/* sekcije */
.section { position: relative; padding: 88px 0; overflow: hidden; }
.section--light { background: var(--light); }
.section--blue { color: #fff; background: linear-gradient(150deg, var(--blue), var(--deep)); }
.section--blue h2 { color: #fff; }
.section--blue::before { content: ""; position: absolute; inset: 0; opacity: .06; background: repeating-linear-gradient(135deg, #fff 0 30px, transparent 30px 140px); }
.section--blue .wrap { position: relative; }
#usluge::after { content: ""; position: absolute; right: -140px; top: -140px; width: 360px; height: 360px; border-radius: 50%; background: linear-gradient(200deg, var(--blue), var(--deep)); opacity: .9; }
#brendovi::before { content: ""; position: absolute; right: 24px; top: 40px; width: 120px; height: 180px; background-image: radial-gradient(rgba(110,122,160,.35) 3px, transparent 3.5px); background-size: 26px 26px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; position: relative; z-index: 1; }
.card { background: #fff; border: 1px solid rgba(31,63,209,.12); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s; }
.card:hover { transform: translateY(-4px); }
.card p { margin: 0; color: var(--grey); font-weight: 500; }
.card__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--light); display: grid; place-items: center; margin-bottom: 16px; }
.card__ico svg { width: 34px; height: 34px; fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* usluge: 3 veće kartice */
.intro { max-width: 640px; margin: 0; color: var(--grey); font-weight: 500; font-size: 1.05rem; position: relative; z-index: 1; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 34px; position: relative; z-index: 1; }
.svc { background: #fff; border: 1px solid rgba(31,63,209,.12); border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.svc:hover { transform: translateY(-4px); }
.svc__art { position: relative; overflow: hidden; background: linear-gradient(150deg, var(--blue), var(--deep)); padding: 30px 22px 22px; }
.svc__art::before { content: ""; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(135deg, #fff 0 22px, transparent 22px 100px); }
.svc__art svg { position: relative; display: block; width: 100%; max-width: 260px; height: auto; margin: 0 auto; fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.svc__badge { position: absolute; z-index: 1; top: 14px; left: 14px; background: #fff; color: var(--blue); font-weight: 800; font-size: .75rem; padding: .35em .85em; border-radius: 999px; }
.svc__body { flex: 1; display: flex; flex-direction: column; gap: 14px; padding: 26px 26px 28px; }
.svc h3 { margin: 0; font-size: 1.45rem; font-weight: 900; }
.svc__sub { margin: -6px 0 0; color: var(--blue); font-weight: 700; }
.svc__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--grey); font-weight: 500; }
.svc__list li { position: relative; padding-left: 28px; }
.svc__list li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.svc__list b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.chips span { background: var(--light); color: var(--blue); font-weight: 700; font-size: .8rem; padding: .4em .85em; border-radius: 999px; }
.svc__cta { align-self: flex-end; margin-top: 2px; }
/* za brendove: print on demand */
.pod { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.pod__lead { margin: 0 0 22px; font-size: 1.1rem; font-weight: 500; color: var(--grey); max-width: 560px; }
.pod__lead, .pod__list { max-width: 560px; }
.pod__za { margin: 24px 0 10px; font-weight: 800; color: var(--ink); }
.pod__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn--line { background: transparent; color: var(--blue); }
.btn--line:hover { background: var(--light); color: var(--blue); border-color: var(--blue); }
.pod__art { position: relative; overflow: hidden; border-radius: 28px; padding: 22px; background: linear-gradient(150deg, var(--blue), var(--deep)); box-shadow: 0 30px 60px rgba(11,31,138,.25); }
.pod__art::before { content: ""; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(135deg, #fff 0 26px, transparent 26px 120px); }
.pod__art svg { position: relative; display: block; width: 100%; height: auto; font-family: "Montserrat", sans-serif; }
.pod__tok path { stroke-dasharray: 6 8; animation: pod-tok 1s linear infinite; }
@keyframes pod-tok { to { stroke-dashoffset: -14; } }
@media (prefers-reduced-motion: reduce) { .pod__tok path { animation: none; } .pod__paket { display: none; } }
@media (max-width: 720px) { #brendovi::before { display: none; } }
@media (max-width: 900px) { .pod { grid-template-columns: 1fr; gap: 36px; } .pod__art { max-width: 520px; width: 100%; margin-inline: auto; } }
/* traka s proizvodima koji šetaju */
.setnja { position: relative; z-index: 1; height: 300px; margin-top: 44px; overflow: hidden; background: radial-gradient(circle, rgba(159,180,255,.5) 1.4px, transparent 1.7px) 0 0 / 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.setnja svg { position: absolute; left: 0; top: 0; height: auto; overflow: visible; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; will-change: transform; }
.setnja path { vector-effect: non-scaling-stroke; }
@media (max-width: 720px) { .setnja { height: 240px; margin-top: 32px; } }
@media (max-width: 980px) { .svc-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.products img { width: 100%; aspect-ratio: 1; max-height: 260px; object-fit: contain; filter: drop-shadow(0 14px 18px rgba(11,31,138,.18)); }

.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); padding: 26px; }
.steps span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--blue); font-weight: 900; font-size: 1.2rem; margin-bottom: 16px; }
.steps p { margin: 0; color: rgba(255,255,255,.85); font-weight: 500; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; position: relative; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .4s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 14px; bottom: 14px; background: #fff; color: var(--blue); font-weight: 800; font-size: .9rem; padding: .35em .9em; border-radius: 999px; }
.more { margin-top: 28px; font-weight: 600; }
.more a { color: var(--blue); font-weight: 800; }

/* forma */
.form-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; font-weight: 600; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10l3 3 7-7' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.form { background: #fff; border-radius: 26px; padding: 32px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.f { display: grid; gap: 6px; font-weight: 700; font-size: .92rem; border: 0; padding: 0; margin: 0; }
.f legend { margin-bottom: 6px; }
.f input, .f select, .f textarea { font: inherit; font-weight: 500; color: var(--ink); border: 2px solid #d6def7; border-radius: 14px; padding: .8em 1em; background: #fff; width: 100%; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--blue); }
.hint { margin: -6px 0 0; font-size: .82rem; color: var(--grey); font-weight: 600; }
.hint.bad { color: #c62828; }
fieldset.f { display: flex; flex-wrap: wrap; gap: 10px 18px; }
fieldset.f legend { width: 100%; }
.chk { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; cursor: pointer; }
.chk input { width: 18px; height: 18px; accent-color: var(--blue); }
.chk--consent { align-items: flex-start; font-size: .85rem; color: var(--grey); }
.chk--consent input { margin-top: 2px; flex: none; }
.file { position: relative; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file__name { display: block; border: 2px dashed var(--soft); border-radius: 14px; padding: 1.2em 1em; text-align: center; color: var(--blue); font-weight: 700; background: var(--light); }
.file:hover .file__name { border-color: var(--blue); }
.form__err { margin: 0; color: #c62828; font-weight: 700; font-size: .9rem; min-height: 1em; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__list a { display: flex; align-items: center; gap: 14px; text-decoration: none; font-weight: 800; font-size: 1.1rem; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); padding: 18px 22px; border-radius: 18px; transition: background .15s; }
.contact__list a:hover { background: rgba(255,255,255,.18); }
.contact__list svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.foot { background: #07145c; color: rgba(255,255,255,.7); padding: 26px 0; font-size: .9rem; }
.foot__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.foot img { width: 140px; height: 56px; object-fit: cover; }
.foot p { margin: 0; }

/* telefon i tablet */
@media (max-width: 900px) {
  .hero__in, .form-wrap, .contact { grid-template-columns: 1fr; }
  .hero__in { padding: 56px 0; gap: 36px; }
  .hero__anim { max-width: 420px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .menu-btn { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid rgba(31,63,209,.12); padding: 8px 16px 18px; display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 4px; }
  .nav .btn { text-align: center; margin-top: 8px; }
  .section { padding: 64px 0; }
  .cards, .steps, .row { grid-template-columns: 1fr; }
  .form { padding: 22px; }
  .foot__in { flex-direction: column; text-align: center; }
  #usluge::after { width: 220px; height: 220px; right: -110px; top: -110px; }
}
