/* AMMAR d.o.o. – www.ammar.ba */
:root {
  --red: #c8102e; --red-2: #e0294a; --ink: #1d1f23; --ink-2: #2a2d33; --ink-3: #3a3e46;
  --paper: #f3f1ee; --paper-2: #e9e6e1; --muted: #6b6f78; --line: rgba(255, 255, 255, .18);
  --h: "Space Grotesk", system-ui, sans-serif; --b: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--b); background: var(--paper); color: var(--ink); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--red); }
.kicker { display: inline-block; font: 600 .78rem/1 var(--h); letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.big-h { font: 600 clamp(2.2rem, 5vw, 4.4rem)/1.02 var(--h); letter-spacing: -.03em; max-width: 14ch; }
.big-h.light { color: #fff; }
.lnk { font: 600 .95rem var(--h); color: var(--red); text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* ---------- zaglavlje (pilule) ---------- */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 22px 34px; pointer-events: none; transition: transform .4s; }
.hdr > * { pointer-events: auto; }
.hdr-logo { display: flex; align-items: center; height: 52px; padding: 0 22px; border-radius: 99px; background: rgba(29, 31, 35, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); transition: background .3s; }
.hdr-logo img { height: 40px; }
.hdr.scrolled .hdr-logo { background: rgba(29, 31, 35, .9); }
.hdr-r { display: flex; gap: 10px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 99px; font: 600 .82rem var(--h); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .92); color: var(--ink); backdrop-filter: blur(10px); box-shadow: 0 6px 24px rgba(0, 0, 0, .12); transition: background .25s, color .25s, transform .25s; }
.pill:hover { transform: translateY(-2px); }
.pill.cta { background: var(--red); color: #fff; }
.pill.cta:hover { background: var(--red-2); }
.pill.cta i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; margin-right: -12px; }
.pill.icon { width: 46px; padding: 0; justify-content: center; flex-direction: column; gap: 5px; }
.pill.icon span { display: block; width: 18px; height: 2px; background: var(--ink); transition: transform .3s; }
body.menu-open .pill.icon span:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .pill.icon span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.pill.ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5); }
.pill.big { height: 56px; padding: 0 28px; font-size: .88rem; }

/* ---------- meni ---------- */
.menu { position: fixed; inset: 0; z-index: 40; background: var(--ink); color: #fff; clip-path: circle(0 at calc(100% - 210px) 45px); transition: clip-path .8s cubic-bezier(.7, 0, .2, 1); }
body.menu-open .menu { clip-path: circle(150% at calc(100% - 210px) 45px); }
.menu-in { height: 100%; display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; padding: 100px 8vw 60px; gap: 40px; }
.menu ul { list-style: none; }
.menu li a { display: block; font: 600 clamp(2.2rem, 5.5vw, 5rem)/1.12 var(--h); letter-spacing: -.03em; text-decoration: none; color: rgba(255, 255, 255, .9); transition: color .2s, transform .3s; }
.menu li a:hover { color: var(--red); transform: translateX(14px); }
.menu-side { display: flex; flex-direction: column; gap: 22px; color: rgba(255, 255, 255, .7); line-height: 1.6; }
.menu-side a { text-decoration: none; }
.soc { display: flex; gap: 18px; font: 600 .85rem var(--h); letter-spacing: .08em; text-transform: uppercase; }
.soc a:hover { color: var(--red); }

/* ---------- 1. hero: tekst + izometrijska scena ---------- */
.hero { position: relative; min-height: 100vh; display: grid; grid-template-columns: minmax(380px, 1fr) 1.8fr; align-items: center; overflow: hidden;
  background: radial-gradient(ellipse at 70% 45%, #33363d 0%, #24262b 45%, #17181b 100%); color: #fff; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 75% 85%, rgba(200, 16, 46, .28), transparent 45%); pointer-events: none; }
.hero-txt { position: relative; z-index: 2; padding: 120px 0 80px 6vw; }
.hero-txt .kicker { color: #ff5a73; }
.hero-h { font: 600 clamp(2.3rem, 4.2vw, 4.3rem)/1.04 var(--h); letter-spacing: -.035em; margin-bottom: 24px; min-height: 3.15em; }
.hero-h .type { color: var(--red-2); }
.caret { display: inline-block; width: .08em; height: .9em; background: var(--red-2); margin-left: .06em; vertical-align: -.08em; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-txt p { color: rgba(255, 255, 255, .7); line-height: 1.7; max-width: 440px; font-size: 1.02rem; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.pill.dark { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.pill.dark:hover { background: rgba(255, 255, 255, .16); }
.hero-facts { display: flex; gap: 34px; margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; }
.hero-facts b { display: block; font: 600 1.9rem var(--h); letter-spacing: -.03em; }
.hero-facts small { color: rgba(255, 255, 255, .5); font-size: .8rem; }
.hero-scene { position: relative; height: 100vh; min-height: 560px; }
.hero-scene svg { position: absolute; inset: 6vh 0 0 -2vw; width: 104%; height: 94%; }
.scene-tag { position: absolute; left: 4vw; bottom: 9vh; font: 600 .78rem var(--h); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); padding: 10px 16px; border-radius: 99px; backdrop-filter: blur(6px); }
.scene-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--red-2); margin-right: 10px; animation: blink 1.2s infinite; }
.hero-hint { position: absolute; left: 6vw; bottom: 4vh; color: rgba(255, 255, 255, .5); font: 500 .85rem var(--h); }
.hero-hint b { display: inline-block; animation: bob 1.6s infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- 2. o nama ---------- */
.about { position: relative; padding: 16vh 6vw 14vh; overflow: hidden; }
.about-strip { position: absolute; left: 0; top: 7vh; width: 34vw; height: 18px; overflow: hidden; border-radius: 0 99px 99px 0; }
.about-strip img { width: 100%; height: 100%; object-fit: cover; }
.about-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 6vw; align-items: center; }
.reveal-words { font: 500 clamp(1.7rem, 3.3vw, 3.2rem)/1.18 var(--h); letter-spacing: -.02em; }
.reveal-words .w { opacity: .14; transition: opacity .35s; }
.reveal-words .w.on { opacity: 1; }
.reveal-words b { font-weight: 600; color: var(--red); }
.about-small { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; margin-top: 50px; color: var(--muted); line-height: 1.7; max-width: 640px; }
.about-img { height: 78vh; border-radius: 24px; overflow: hidden; position: relative; }
.par { will-change: transform; }
.about-img .par { position: absolute; inset: -12% 0; }
.about-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 3. brojevi ---------- */
.stats { position: relative; height: 100vh; min-height: 640px; overflow: hidden; color: #fff; }
.stats-bg { position: absolute; inset: -15% 0; }
.stats-bg img { width: 100%; height: 100%; object-fit: cover; }
.stats-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(29, 31, 35, .85), rgba(29, 31, 35, .45)); }
.stats-k { position: absolute; top: 34px; left: 34px; font: 600 .85rem var(--h); letter-spacing: .1em; z-index: 2; }
.stats-grid { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(3, 1fr); }
.st { display: flex; align-items: center; gap: 18px; border-top: 1px solid var(--line); padding: 0 6vw; }
.st.s2 { padding-left: 24vw; } .st.s3 { padding-left: 46vw; }
.st b { font: 500 clamp(3.5rem, 9vw, 8.5rem)/1 var(--h); letter-spacing: -.04em; }
.st b i { font-style: normal; color: var(--red-2); }
.st small { font: 600 .82rem/1.35 var(--h); letter-spacing: .04em; opacity: .85; }

/* ---------- 4. usluge – horizontalno ---------- */
.services { height: 420vh; position: relative; background: var(--paper); }
.srv-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.marquee { position: absolute; top: 9vh; left: 0; white-space: nowrap; font: 700 clamp(4rem, 10vw, 9rem)/1 var(--h); color: transparent; -webkit-text-stroke: 1.5px rgba(29, 31, 35, .14); letter-spacing: -.03em; }
.marquee div { display: inline-block; animation: mq 40s linear infinite; }
@keyframes mq { to { transform: translateX(-50%); } }
.srv-track { display: flex; gap: 28px; padding: 0 6vw; margin-top: 10vh; will-change: transform; }
.srv { flex: none; width: min(420px, 78vw); background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 20px 60px rgba(29, 31, 35, .08); transition: transform .4s; }
.srv:hover { transform: translateY(-8px); }
.srv-img { height: 260px; overflow: hidden; }
.srv-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.srv:hover .srv-img img { transform: scale(1.07); }
.srv-b { padding: 26px 28px 30px; }
.srv .no { font: 600 .85rem var(--h); color: var(--red); }
.srv h3 { font: 600 1.55rem/1.15 var(--h); letter-spacing: -.02em; margin: 8px 0 10px; }
.srv p { color: var(--muted); line-height: 1.6; font-size: .95rem; }
.srv ul { list-style: none; margin-top: 16px; border-top: 1px solid var(--paper-2); padding-top: 12px; font: 500 .85rem/1.9 var(--h); }
.srv ul li::before { content: "— "; color: var(--red); }
.srv.intro { background: var(--ink); color: #fff; padding: 44px 36px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 520px; }
.srv.intro h2 { font: 600 2.2rem/1.08 var(--h); letter-spacing: -.03em; margin-bottom: 18px; }
.srv.intro p { color: rgba(255, 255, 255, .6); }
.srv-prog { position: absolute; left: 6vw; right: 6vw; bottom: 7vh; height: 2px; background: var(--paper-2); }
.srv-prog i { display: block; height: 100%; width: 0; background: var(--red); }

/* ---------- 5. historija ---------- */
.history { background: var(--ink); color: #fff; padding: 16vh 6vw; }
.tl { list-style: none; display: grid; grid-template-columns: repeat(8, 1fr); margin-top: 70px; border-top: 1px solid var(--line); }
.tl li { padding: 26px 14px 0 0; position: relative; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .6s; }
.tl li.in { opacity: 1; transform: none; }
.tl li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px rgba(200, 16, 46, .2); }
.tl b { display: block; font: 600 2rem var(--h); letter-spacing: -.02em; }
.tl span { display: block; margin-top: 6px; color: rgba(255, 255, 255, .6); font-size: .9rem; line-height: 1.4; }

/* ---------- 6. uputstvo: sticky, mijenja se na skrol ---------- */
.guide { background: var(--ink-2); height: 400vh; position: relative; }
.guide-pin { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: 1fr 1.15fr; gap: 5vw; align-items: center; padding: 0 6vw; }
.guide-left .big-h { margin-bottom: 40px; max-width: 12ch; font-size: clamp(2rem, 3.8vw, 3.6rem); }
.g-steps { list-style: none; border-left: 2px solid rgba(255, 255, 255, .1); }
.g-steps li { position: relative; padding: 4px 0 4px 26px; }
.g-steps li::before { content: ""; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .5s; }
.g-steps li.on::before { transform: scaleY(1); }
.g-steps button { display: flex; gap: 14px; align-items: baseline; background: none; border: 0; color: rgba(255, 255, 255, .38); cursor: pointer; padding: 10px 0; text-align: left; transition: color .3s; }
.g-steps .n { font: 600 1rem var(--h); min-width: 24px; }
.g-steps b { font: 600 clamp(1.3rem, 2vw, 1.8rem) var(--h); letter-spacing: -.02em; }
.g-steps li.on button, .g-steps button:hover { color: #fff; }
.g-steps li.on .n { color: var(--red-2); }
.g-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s cubic-bezier(.2, .7, .2, 1); }
.g-body p { overflow: hidden; color: rgba(255, 255, 255, .62); line-height: 1.65; max-width: 460px; padding-left: 38px; }
.g-steps li.on .g-body { grid-template-rows: 1fr; }
.g-steps li.on .g-body p { padding-bottom: 14px; }
.g-frame { position: relative; aspect-ratio: 2 / 3; height: 80vh; max-width: 100%; margin-left: auto; border-radius: 26px; overflow: hidden; background: #111; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.g-frame figure { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .7s, transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.g-frame figure.on { opacity: 1; transform: none; }
.g-frame img { width: 100%; height: 100%; object-fit: cover; }
.g-frame figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(29, 31, 35, .85); color: #fff; backdrop-filter: blur(8px); padding: 10px 16px; border-radius: 99px; font: 600 .82rem var(--h); }
.g-frame figcaption b { color: var(--red-2); margin-right: 8px; }
.g-prog { position: absolute; top: 18px; left: 20px; right: 20px; display: flex; gap: 6px; }
.g-prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; position: relative; }
.g-prog i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }

/* ---------- 7. galerija ---------- */
.gallery { padding: 16vh 6vw; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 18px; margin-top: 60px; }
.gal figure { position: relative; border-radius: 20px; overflow: hidden; }
.gal figure.w2 { grid-column: span 2; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.gal figure:hover img { transform: scale(1.08); }
.gal figcaption { position: absolute; left: 14px; bottom: 14px; background: rgba(255, 255, 255, .92); padding: 8px 14px; border-radius: 99px; font: 600 .8rem var(--h); transform: translateY(12px); opacity: 0; transition: .35s; }
.gal figure:hover figcaption { opacity: 1; transform: none; }

/* ---------- 8. portal ---------- */
.portal { background: var(--red); color: #fff; display: grid; grid-template-columns: 1.2fr 1fr; min-height: 90vh; overflow: hidden; }
.portal-in { padding: 14vh 6vw; display: flex; flex-direction: column; justify-content: center; }
.portal .kicker { color: rgba(255, 255, 255, .75); }
.portal h2 { font: 600 clamp(2rem, 4vw, 3.6rem)/1.06 var(--h); letter-spacing: -.03em; }
.portal h2 em { color: var(--ink); }
.checks { list-style: none; margin: 34px 0 40px; display: grid; gap: 12px; font-size: 1.05rem; }
.checks li::before { content: "✓"; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .2); margin-right: 12px; font-size: .8rem; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.portal .pill.cta { background: var(--ink); }
.portal-img { position: relative; }
.portal-img img { position: absolute; inset: -10% 0; width: 100%; height: 120%; object-fit: cover; }

/* ---------- 9. kontakt ---------- */
.foot { background: var(--ink); color: #fff; padding: 14vh 6vw 34px; }
.foot-big { font: 700 clamp(3.5rem, 12vw, 11rem)/.9 var(--h); letter-spacing: -.05em; }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin: 80px 0 90px; border-top: 1px solid var(--line); padding-top: 34px; }
.foot-grid small { font: 600 .75rem var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); }
.foot-grid p { margin: 12px 0; line-height: 1.75; color: rgba(255, 255, 255, .8); }
.foot-grid a { text-decoration: none; } .foot-grid a:hover { color: var(--red-2); }
.foot-bar { display: flex; align-items: center; gap: 24px; color: rgba(255, 255, 255, .5); font-size: .85rem; }
.foot-bar img { height: 26px; opacity: .8; } .foot-bar span { flex: 1; } .foot-bar a { text-decoration: none; color: #fff; }

/* pojavljivanje */
.fade { opacity: 0; transform: translateY(40px); transition: opacity .8s, transform .8s cubic-bezier(.2, .7, .2, 1); }
.fade.in { opacity: 1; transform: none; }

/* ---------- telefon / tablet ---------- */
@media (max-width: 900px) {
  .hdr { padding: 16px 18px; } .pill.cta:not(.big) { padding: 0 16px; font-size: .72rem; }
  .menu-in { grid-template-columns: 1fr; align-content: center; }
  .about-grid, .portal { grid-template-columns: 1fr; }
  .about-img { height: 60vh; } .about-small { grid-template-columns: 1fr; }
  .st, .st.s2, .st.s3 { padding-left: 6vw; }
  .tl { grid-template-columns: repeat(2, 1fr); gap: 0 20px; } .tl li { padding-bottom: 26px; }
  .guide { height: auto; } .guide-pin { position: static; height: auto; grid-template-columns: 1fr; padding: 12vh 6vw; } .g-frame { aspect-ratio: 2/3; height: auto; width: 100%; }
  .gal { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .portal-img { min-height: 50vh; }
  .hero { grid-template-columns: 1fr; } .hero-txt { padding: 110px 6vw 10px; } .hero-scene { height: 62vh; min-height: 380px; } .hero-scene svg { inset: 0; width: 100%; height: 100%; } .hero-hint { display: none; } .hero-facts { gap: 22px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ================= USLUGE (posebni dijelovi) ================= */
.svc { position: relative; padding: 15vh 6vw; overflow: hidden; }
.svc-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.svc-head .big-h { max-width: none; }
.svc-head p { color: rgba(255, 255, 255, .65); line-height: 1.7; margin-top: 18px; font-size: 1.05rem; }
.svc h3 { font: 600 .8rem var(--h); letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .5); margin-bottom: 18px; }

/* --- cinčanje --- */
.zinc { background: radial-gradient(ellipse at 50% 55%, #2e3138 0%, #1d1f23 60%, #141518 100%); color: #fff; }
.zinc::before { content: ""; position: absolute; left: 50%; top: 58%; width: 60vw; height: 60vw; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(200, 16, 46, .16), transparent 60%); pointer-events: none; }
.zinc-grid { position: relative; display: grid; grid-template-columns: 1fr minmax(320px, 1.25fr) 1fr; gap: 3vw; align-items: center; max-width: 1400px; margin: 0 auto; }
.line-card { position: relative; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 20px 22px; margin-bottom: 14px; }
.line-card .ln { position: absolute; top: 18px; right: 20px; font: 600 .8rem var(--h); color: var(--red-2); }
.line-card b { display: block; font: 600 1.05rem var(--h); margin-bottom: 10px; }
.dims { font: 600 1.15rem var(--h); color: rgba(255, 255, 255, .45); }
.dims i { font-style: normal; color: #fff; font-size: 1.7rem; letter-spacing: -.03em; margin: 0 2px; }
.dims small { display: block; font: 400 .75rem var(--b); color: rgba(255, 255, 255, .45); margin-top: 4px; }
.dims.sm { font: 500 .95rem var(--b); color: rgba(255, 255, 255, .8); }
.muted2 { color: rgba(255, 255, 255, .45); font-size: .8rem; }
.dimbar { height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); margin-top: 14px; overflow: hidden; }
.dimbar::after { content: ""; display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-2)); transition: width 1.4s .3s cubic-bezier(.2, .7, .2, 1); }
.line-card.in .dimbar::after { width: var(--w); }
.gear-wrap { position: relative; aspect-ratio: 1; }
.gear-wrap canvas { position: absolute; inset: -30%; width: 160%; height: 160%; pointer-events: none; z-index: 2; }
.gear-wrap svg { position: absolute; inset: 0; width: 100%; height: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .5)); }
.gear-state { position: absolute; left: 50%; bottom: -8px; transform: translateX(-50%); white-space: nowrap; font: 600 .75rem var(--h); letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); padding: 9px 16px; border-radius: 99px; z-index: 3; }
.gear-state.busy { color: #f0a36b; } .gear-state.ok { color: #fff; }
.gear-again { position: absolute; right: 0; top: 0; z-index: 3; background: none; border: 1px solid rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .7); border-radius: 99px; padding: 6px 12px; font: 600 .75rem var(--h); cursor: pointer; }
.gear-again:hover { color: #fff; border-color: #fff; }
.hint2 { color: rgba(255, 255, 255, .4); font-size: .82rem; margin: -8px 0 12px; }
.pas { display: grid; grid-template-columns: 44px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; width: 100%; text-align: left; background: transparent; color: #fff;
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 12px 14px; margin-bottom: 10px; cursor: pointer; font: inherit; transition: background .25s, border-color .25s, transform .25s; }
.pas i { grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25), 0 6px 16px rgba(0, 0, 0, .35); }
.pas b { font: 600 1rem var(--h); } .pas small { color: rgba(255, 255, 255, .5); font-size: .8rem; }
.pas:hover, .pas.on { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .35); transform: translateX(-4px); }
.pas.on { box-shadow: inset 3px 0 0 var(--red-2); }

/* --- bruniranje --- */
.brun { background: var(--paper); }
.brun-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6vw; align-items: center; max-width: 1300px; margin: 0 auto; }
.brun-txt p { color: var(--muted); line-height: 1.75; margin: 22px 0 30px; font-size: 1.05rem; max-width: 520px; }
.brun-txt p b { color: var(--ink); }
.facts { list-style: none; display: grid; gap: 0; border-top: 1px solid rgba(29, 31, 35, .12); }
.facts li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; padding: 16px 0; border-bottom: 1px solid rgba(29, 31, 35, .12); }
.facts b { font: 600 1.3rem var(--h); letter-spacing: -.02em; } .facts span { color: var(--muted); font-size: .85rem; text-align: right; }
.brun-stage { position: relative; overflow: hidden; background: var(--ink); border-radius: 28px; padding: 30px 30px 20px; box-shadow: 0 30px 70px rgba(29, 31, 35, .25); }
.brun-svg { width: 100%; height: auto; display: block; overflow: hidden; }
.brun-part { animation: dip 9s cubic-bezier(.6, 0, .3, 1) infinite; }
.p-black { animation: blk 9s steps(1) infinite; }
@keyframes dip { 0%, 12% { transform: translateY(-20px); } 30%, 58% { transform: translateY(150px); } 76%, 100% { transform: translateY(-20px); } }
@keyframes blk { 0% { opacity: 0; } 44% { opacity: 1; } 96% { opacity: 1; } 97% { opacity: 0; } }
.brun-heat { animation: heat 2s ease-in-out infinite alternate; }
@keyframes heat { from { opacity: .55; } to { opacity: 1; } }
.brun-bub circle { fill: rgba(255, 140, 110, .5); animation: rise 2.2s linear infinite; }
.brun-bub circle:nth-child(2) { animation-delay: .5s; } .brun-bub circle:nth-child(3) { animation-delay: 1s; } .brun-bub circle:nth-child(4) { animation-delay: 1.4s; } .brun-bub circle:nth-child(5) { animation-delay: 1.8s; }
@keyframes rise { from { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateY(-90px); opacity: 0; } }
.brun-steam path { fill: none; stroke: rgba(255, 255, 255, .25); stroke-width: 4; stroke-linecap: round; animation: steam 3s ease-in-out infinite; }
.brun-steam path:nth-child(2) { animation-delay: 1s; } .brun-steam path:nth-child(3) { animation-delay: 2s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(10px); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(-30px); } }
.brun-temp { fill: rgba(255, 255, 255, .55); font: 600 14px var(--h); letter-spacing: .1em; }
.brun-steps { display: flex; justify-content: space-between; margin-top: 10px; font: 600 .75rem var(--h); letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .35); }
.brun-steps span { animation: stp 9s steps(1) infinite; }
.brun-steps .s1 { animation-name: stp1; } .brun-steps .s2 { animation-name: stp2; } .brun-steps .s3 { animation-name: stp3; }
@keyframes stp1 { 0% { color: #fff; } 25% { color: rgba(255, 255, 255, .35); } }
@keyframes stp2 { 0% { color: rgba(255, 255, 255, .35); } 25% { color: #ff6b81; } 66% { color: rgba(255, 255, 255, .35); } }
@keyframes stp3 { 0% { color: rgba(255, 255, 255, .35); } 66% { color: #fff; } }

/* --- hemija --- */
.chem { background: var(--red); color: #fff; }
.chem::after { content: ""; position: absolute; right: -10vw; top: -10vw; width: 50vw; height: 50vw; border-radius: 50%; background: rgba(255, 255, 255, .06); pointer-events: none; }
.chem-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: 6vw; align-items: center; max-width: 1300px; margin: 0 auto; }
.chem .kicker { color: rgba(255, 255, 255, .75); }
.chem .big-h em { color: var(--ink); }
.chem-txt > p { color: rgba(255, 255, 255, .85); line-height: 1.7; margin: 20px 0 26px; font-size: 1.05rem; max-width: 520px; }
.chem-list { list-style: none; margin-bottom: 34px; }
.chem-list li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.chem-list b { font: 600 1.05rem var(--h); } .chem-list span { color: rgba(255, 255, 255, .7); font-size: .88rem; text-align: right; }
.chem .pill.dark { background: var(--ink); box-shadow: none; }
.chem-svg { width: min(420px, 100%); margin: 0 auto; display: block; overflow: visible; filter: drop-shadow(0 30px 40px rgba(60, 0, 10, .35)); }
.chem-liq { animation: tint 10s ease-in-out infinite; }
@keyframes tint { 0%, 100% { filter: hue-rotate(0deg); } 33% { filter: hue-rotate(-40deg); } 66% { filter: hue-rotate(160deg) saturate(.7); } }
.wave { animation: wave 3s linear infinite; }
@keyframes wave { to { transform: translateX(-120px); } }
.chem-bub circle { fill: rgba(255, 255, 255, .75); animation: crise 2.6s ease-in infinite; }
.chem-bub circle:nth-child(2) { animation-delay: .4s; } .chem-bub circle:nth-child(3) { animation-delay: .9s; } .chem-bub circle:nth-child(4) { animation-delay: 1.3s; }
.chem-bub circle:nth-child(5) { animation-delay: 1.8s; } .chem-bub circle:nth-child(6) { animation-delay: 2.2s; }
@keyframes crise { from { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(-190px) scale(1.2); opacity: 0; } }
.vapor circle { fill: rgba(255, 255, 255, .35); animation: vap 4s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.vapor circle:nth-child(2) { animation-delay: 1.3s; } .vapor circle:nth-child(3) { animation-delay: 2.6s; }
@keyframes vap { from { transform: translateY(20px) scale(.4); opacity: 0; } 30% { opacity: .9; } to { transform: translateY(-60px) scale(1.6); opacity: 0; } }
.flame { animation: flick .25s ease-in-out infinite alternate; transform-box: fill-box; transform-origin: bottom; }
@keyframes flick { from { transform: scaleY(.9); } to { transform: scaleY(1.1); } }

@media (max-width: 1000px) {
  .zinc-grid { grid-template-columns: 1fr; } .gear-wrap { max-width: 420px; width: 100%; margin: 0 auto 30px; order: -1; }
  .brun-grid, .chem-grid { grid-template-columns: 1fr; }
  .chem-stage { order: 2; }
}

/* ================= gornji meni ================= */
.topnav { pointer-events: auto; position: absolute; left: 50%; top: 25px; transform: translateX(-50%); display: flex; align-items: center; gap: 2px; height: 46px; padding: 0 8px; border-radius: 99px;
  background: rgba(29, 31, 35, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); box-shadow: 0 8px 30px rgba(0, 0, 0, .18); }
.topnav > a, .topnav .dd > a { display: block; padding: 8px 14px; border-radius: 99px; color: rgba(255, 255, 255, .82); text-decoration: none; font: 600 .82rem var(--h); letter-spacing: .04em; transition: background .2s, color .2s; white-space: nowrap; }
.topnav > a:hover, .topnav .dd > a:hover, .topnav a.on { background: rgba(255, 255, 255, .12); color: #fff; }
.topnav a.on { box-shadow: inset 0 -2px 0 var(--red-2); }
.topnav .dd { position: relative; }
.topnav .dd i { font-style: normal; font-size: .7em; opacity: .7; }
.dd-menu { position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 6px); min-width: 230px; background: rgba(29, 31, 35, .96); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px; padding: 8px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); }
.dd-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.dd:hover .dd-menu, .dd:focus-within .dd-menu { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.dd-menu a { display: block; padding: 10px 12px; border-radius: 10px; color: #fff; text-decoration: none; font: 500 .9rem var(--b); }
.dd-menu a b { color: var(--red-2); font: 600 .75rem var(--h); margin-right: 8px; }
.dd-menu a:hover { background: rgba(255, 255, 255, .08); }
.menu li.sub { font: 500 1rem var(--b) !important; color: rgba(255, 255, 255, .5); margin: -4px 0 10px; }
.menu li.sub a { display: inline !important; font: 500 1rem var(--b) !important; color: rgba(255, 255, 255, .6) !important; }
.menu li.sub a:hover { color: var(--red-2) !important; transform: none !important; }
#menuBtn { display: none; }
@media (max-width: 1380px) { .topnav { display: none; } #menuBtn { display: flex; } }

/* pasivizacija "uskoro" */
.pas.soon { opacity: .75; border-style: dashed; }
.soon-b { display: inline-block; margin-left: 6px; font: 700 .62rem var(--h); letter-spacing: .1em; text-transform: uppercase; background: var(--red); color: #fff; padding: 2px 7px; border-radius: 99px; vertical-align: middle; }
.tl { grid-template-columns: repeat(6, 1fr) !important; border-top: 0 !important; row-gap: 46px; }
.tl li { border-top: 1px solid var(--line); }
.tl li.new b { color: var(--red-2); }

/* ================= brizganje gume ================= */
.rub { background: var(--paper-2); }
.rub-grid { display: grid; grid-template-columns: .9fr 1.3fr; gap: 5vw; align-items: center; max-width: 1350px; margin: 0 auto; }
.rub-txt p { color: var(--muted); line-height: 1.75; margin: 22px 0 30px; font-size: 1.05rem; max-width: 520px; }
.rub-txt .big-h em { color: #2fa860; }
.rub-stage { position: relative; background: var(--paper); border-radius: 28px; padding: 20px; box-shadow: 0 30px 70px rgba(29, 31, 35, .14); }
.rub-stage svg { width: 100%; height: auto; display: block; }
.rub-tag { position: absolute; left: 22px; top: 22px; font: 600 .75rem var(--h); letter-spacing: .16em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 9px 16px; border-radius: 99px; }
.rub-tag::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa860; margin-right: 10px; animation: blink 1.2s infinite; }
.rub-count { position: absolute; right: 24px; bottom: 20px; text-align: right; }
.rub-count b { display: block; font: 600 2.4rem/1 var(--h); color: #2fa860; letter-spacing: -.03em; }
.rub-count small { color: var(--muted); font-size: .8rem; }
.rub-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; max-width: 1350px; margin: 60px auto 0; }
.ph-slot { margin: 0; }
.ph-in { aspect-ratio: 16 / 9; border: 2px dashed rgba(29, 31, 35, .2); border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); background: rgba(255, 255, 255, .4); }
.ph-in span { font-size: 2rem; } .ph-in b { font: 600 1.1rem var(--h); color: var(--ink); } .ph-in small { font-size: .8rem; }
.ph-slot figcaption { margin-top: 10px; font: 600 .9rem var(--h); }

/* ================= kontakt: maps dugme, certifikati ================= */
.foot-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.pill.maps { margin-bottom: 1.2vw; }
.pill.maps i { font-style: normal; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 255, 255, .2); display: grid; place-items: center; margin-right: -12px; }
.cert-lnk { background: none; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 600 .82rem var(--h); letter-spacing: .06em; padding: 8px 16px; border-radius: 99px; cursor: pointer; }
.cert-lnk:hover { border-color: var(--red-2); color: var(--red-2); }
.cert-modal { position: fixed; inset: 0; z-index: 80; background: rgba(15, 16, 19, .6); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 20px; }
.cert-modal[hidden] { display: none; }
.cert-box { background: var(--paper); border-radius: 24px; width: min(620px, 100%); padding: 28px; box-shadow: 0 40px 80px rgba(0, 0, 0, .35); animation: pop .35s cubic-bezier(.2, .7, .2, 1); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.cert-h { display: flex; align-items: center; justify-content: space-between; }
.cert-h h3 { font: 600 1.8rem var(--h); letter-spacing: -.02em; }
.cert-x { border: 0; background: var(--paper-2); width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.cert-sub { color: var(--muted); margin: 6px 0 20px; }
.cert-list { display: grid; gap: 10px; }
.cert { display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid rgba(29, 31, 35, .08); transition: transform .2s, border-color .2s; }
.cert:hover { transform: translateX(4px); border-color: var(--red); }
.cert .ci { grid-row: span 2; width: 52px; height: 52px; border-radius: 12px; background: var(--red); color: #fff; display: grid; place-items: center; font: 700 .8rem var(--h); }
.cert b { font: 600 1.05rem var(--h); } .cert small { color: var(--muted); }
.cert-note { margin-top: 16px; font-size: .8rem; color: var(--muted); }
@media (max-width: 1000px) { .rub-grid, .rub-photos { grid-template-columns: 1fr; } .tl { grid-template-columns: repeat(3, 1fr) !important; row-gap: 26px; } }

.foot-head .foot-big { font-size: clamp(3rem, 8.5vw, 8.5rem); }
@media (max-width: 700px) { .foot-head { align-items: flex-start; } }

/* ================= revizija 2 ================= */
/* hero naslov "Dobrodošli" veći */
.hero-txt .kicker.hero-k { font-size: clamp(.95rem, 1.35vw, 1.3rem); letter-spacing: .1em; margin-bottom: 22px; white-space: nowrap; }

/* izbor jezika */
.lang { display: flex; gap: 2px; height: 46px; align-items: center; padding: 0 5px; border-radius: 99px; background: rgba(29, 31, 35, .55); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(14px); }
.lang a { display: inline-grid; place-items: center; text-decoration: none; }
.lang button, .lang a { border: 0; background: none; color: rgba(255, 255, 255, .7); font: 600 .74rem var(--h); letter-spacing: .08em; width: 36px; height: 34px; border-radius: 99px; cursor: pointer; transition: background .2s, color .2s; }
.lang button:hover, .lang a:hover { color: #fff; }
.lang button.on, .lang a.on { background: var(--red); color: #fff; }
.lang.big { align-self: flex-start; height: 54px; } .lang.big button, .lang.big a { width: 52px; height: 42px; font-size: .9rem; }
@media (max-width: 560px) { .hdr-r > .lang { display: none; } }
@media (max-width: 900px) {
  .hdr-logo { height: 46px; padding: 0 14px; } .hdr-logo img { height: 28px; }
  .hdr-r .pill.cta:not(.big) span { display: none; } .hdr-r .pill.cta:not(.big) { padding: 0 14px; }
  .hdr-r .pill.cta:not(.big) i { margin: 0; }
}

/* pregled usluga */
.svc-intro { padding: 14vh 6vw 12vh; background: var(--paper); }
.si-head { display: grid; grid-template-columns: 1fr 1fr; gap: 4vw; align-items: end; max-width: 1350px; margin: 0 auto 50px; }
.si-head .kicker { grid-column: 1 / -1; margin-bottom: 0; }
.si-head p { color: var(--muted); line-height: 1.7; font-size: 1.05rem; max-width: 420px; }
.si-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; max-width: 1350px; margin: 0 auto; }
.si-card { position: relative; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 26px; border-radius: 22px; background: #fff; text-decoration: none; color: var(--ink);
  box-shadow: 0 20px 50px rgba(29, 31, 35, .07); transition: transform .35s, background .35s, color .35s; overflow: hidden; }
.si-card:nth-child(2).fade { transition-delay: .08s; } .si-card:nth-child(3).fade { transition-delay: .16s; } .si-card:nth-child(4).fade { transition-delay: .24s; }
.si-no { font: 600 .85rem var(--h); color: var(--red); }
.si-ic { width: 64px; height: 64px; color: var(--red); margin: 12px 0 auto; transition: transform .6s; }
.si-card b { font: 600 1.45rem/1.1 var(--h); letter-spacing: -.02em; }
.si-card small { color: var(--muted); line-height: 1.5; font-size: .88rem; transition: color .35s; }
.si-card > i { position: absolute; right: 22px; top: 22px; font-style: normal; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: background .35s, transform .35s; }
.si-card:hover { background: var(--ink); color: #fff; transform: translateY(-8px); }
.si-card:hover small { color: rgba(255, 255, 255, .6); }
.si-card:hover .si-ic { transform: rotate(90deg) scale(1.08); color: var(--red-2); }
.si-card:hover > i { background: var(--red); transform: rotate(-45deg); }
@media (max-width: 1000px) { .si-grid { grid-template-columns: 1fr 1fr; } .si-head { grid-template-columns: 1fr; } .si-card { min-height: 230px; } }
@media (max-width: 560px) { .si-grid { grid-template-columns: 1fr; } }

/* gumа – prave slike */
.rub-photos { grid-template-columns: 1.3fr 1fr 1fr; }
.rub-photos .ph { margin: 0; border-radius: 22px; overflow: hidden; position: relative; height: 340px; background: #ddd; }
.rub-photos .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.rub-photos .ph:hover img { transform: scale(1.06); }
.rub-photos .ph figcaption { position: absolute; left: 14px; bottom: 14px; right: 14px; width: fit-content; background: rgba(29, 31, 35, .85); color: #fff; padding: 8px 14px; border-radius: 99px; font: 600 .8rem var(--h); backdrop-filter: blur(6px); }
@media (max-width: 1000px) { .rub-photos { grid-template-columns: 1fr; } .rub-photos .ph { height: 260px; } }

/* galerija */
.gal-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.gal-f { display: flex; flex-wrap: wrap; gap: 8px; }
.gal-f button { border: 1px solid rgba(29, 31, 35, .15); background: transparent; color: var(--ink); font: 600 .8rem var(--h); letter-spacing: .04em; padding: 10px 16px; border-radius: 99px; cursor: pointer; transition: .2s; }
.gal-f button:hover { border-color: var(--ink); }
.gal-f button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.gal { grid-auto-flow: dense; }
.gal figure { cursor: zoom-in; margin: 0; background: var(--paper-2); }
.gal figure.t2 { grid-row: span 2; }
.gal figure.hide { display: none; }
.gal figcaption { opacity: 1; transform: none; background: rgba(29, 31, 35, .82); color: #fff; backdrop-filter: blur(6px); }
@media (hover: hover) { .gal figcaption { opacity: 0; transform: translateY(12px); } .gal figure:hover figcaption { opacity: 1; transform: none; } }
@media (max-width: 900px) { .gal figure.w2 { grid-column: span 2; } }
.lb { position: fixed; inset: 0; z-index: 90; background: rgba(12, 13, 15, .92); display: grid; grid-template-columns: 70px 1fr 70px; align-items: center; padding: 30px 10px; }
.lb[hidden] { display: none; }
.lb figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.lb img { max-height: 80vh; max-width: 100%; border-radius: 14px; object-fit: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); animation: pop .3s; }
.lb figcaption { color: #fff; font: 600 .95rem var(--h); }
.lb button { border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; justify-self: center; }
.lb button:hover { background: var(--red); }
.lb .lb-x { position: absolute; top: 20px; right: 20px; font-size: 1rem; }
@media (max-width: 600px) { .lb { grid-template-columns: 44px 1fr 44px; padding: 20px 4px; } .lb button { width: 40px; height: 40px; } }

/* portal – animacija narudžbe */
.portal-anim { position: relative; display: grid; place-items: center; min-height: 520px; overflow: hidden; }
.pa-ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .22); animation: paPulse 4.5s ease-out infinite; }
.pa-ring.r1 { width: 380px; height: 380px; } .pa-ring.r2 { width: 380px; height: 380px; animation-delay: 2.25s; }
@keyframes paPulse { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.portal-anim::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .14), transparent 65%); }
.pa-card { position: relative; z-index: 2; width: min(360px, 84%); background: #fff; color: var(--ink); border-radius: 22px; padding: 22px; box-shadow: 0 40px 80px rgba(90, 0, 15, .35); animation: paFloat 6s ease-in-out infinite; }
@keyframes paFloat { 50% { transform: translateY(-10px) rotate(-.6deg); } }
.pa-top { display: flex; justify-content: space-between; align-items: center; }
.pa-no { font: 700 1.05rem var(--h); letter-spacing: -.01em; }
.pa-st { font: 700 .66rem var(--h); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 99px; background: var(--paper-2); color: var(--muted); transition: .3s; }
.pa-st.s1 { background: #e7eefc; color: #3a62c9; } .pa-st.s2 { background: #fff1d6; color: #b5770c; } .pa-st.s3 { background: #dff3e6; color: #1f8a4c; }
.pa-firm { color: var(--muted); font-size: .82rem; margin: 6px 0 14px; }
.pa-rows { display: grid; gap: 8px; border-top: 1px solid var(--paper-2); padding-top: 12px; }
.pa-row { display: grid; grid-template-columns: 14px 1fr auto; gap: 10px; align-items: center; font: 600 .88rem var(--h); }
.pa-row em { color: var(--muted); font: 500 .82rem var(--b); }
.sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.sw.b { background: linear-gradient(135deg, #eef3f8, #6f86a3); } .sw.y { background: linear-gradient(135deg, #fff1a8, #9c6a1c); } .sw.k { background: linear-gradient(135deg, #6b6f78, #0d0e10); }
.pa-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: 18px; font: 600 .62rem var(--h); letter-spacing: .06em; text-transform: uppercase; color: #b4b7bd; text-align: center; }
.pa-steps span { position: relative; padding-top: 16px; transition: color .3s; }
.pa-steps span::before { content: ""; position: absolute; top: 0; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #dcdde0; transition: .3s; }
.pa-steps span.done { color: var(--ink); } .pa-steps span.done::before { background: var(--ink); }
.pa-steps span.on { color: var(--red); } .pa-steps span.on::before { background: var(--red); box-shadow: 0 0 0 5px rgba(200, 16, 46, .18); }
.pa-bar { height: 5px; border-radius: 5px; background: var(--paper-2); margin-top: 12px; overflow: hidden; }
.pa-bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--red), var(--red-2)); transition: width .9s cubic-bezier(.2, .7, .2, 1); }
.pa-note { position: absolute; z-index: 3; background: var(--ink); color: #fff; font: 600 .82rem var(--h); padding: 12px 16px; border-radius: 14px; box-shadow: 0 20px 40px rgba(0, 0, 0, .3); opacity: 0; transform: translateY(14px) scale(.96); transition: .45s cubic-bezier(.2, .7, .2, 1); }
.pa-note.n1 { top: 14%; right: 8%; } .pa-note.n2 { bottom: 13%; left: 8%; background: #fff; color: var(--ink); }
.pa-note.show { opacity: 1; transform: none; }
@media (max-width: 900px) { .portal-anim { min-height: 440px; } .pa-ring.r1, .pa-ring.r2 { width: 300px; height: 300px; } }
.rub-stage svg { max-height: 74vh; margin: 0 auto; }
.pill.big { height: auto; min-height: 56px; padding-top: 12px; padding-bottom: 12px; line-height: 1.2; }

/* O nama – izometrijski pogon */
.about-strip { background: linear-gradient(90deg, var(--red), var(--red-2)); height: 8px; }
.about-iso { position: relative; aspect-ratio: 1.5; border-radius: 28px; overflow: hidden;
  background: radial-gradient(ellipse at 50% 40%, #fbfaf8 0%, #efece7 55%, #e6e2dc 100%); box-shadow: inset 0 0 0 1px rgba(29, 31, 35, .06); }
.about-iso svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 900px) { .about-iso { aspect-ratio: 1.15; } }
@media (min-width: 901px) { .about-grid { grid-template-columns: 1fr 1.2fr; gap: 4vw; } .about-txt .reveal-words { font-size: clamp(1.6rem, 2.7vw, 2.8rem); } }

/* kontakt – istaknuti telefon i email */
.foot-cards { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 18px; margin: 70px 0 30px; }
.fc { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px 28px 26px; border-radius: 24px; background: var(--ink-2); border: 1px solid rgba(255, 255, 255, .08); transition: border-color .3s, transform .3s; }
.fc:hover { border-color: var(--red); transform: translateY(-4px); }
.fc-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-bottom: 14px; }
.fc-ic svg { width: 24px; height: 24px; }
.fc small { font: 600 .75rem var(--h); letter-spacing: .2em; text-transform: uppercase; color: var(--red-2); }
.fc-big { font: 600 clamp(1.45rem, 2.3vw, 2.15rem)/1.15 var(--h); letter-spacing: -.02em; color: #fff; text-decoration: none; word-break: break-word; }
.fc-big.sm { font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.fc-big:hover { color: var(--red-2); }
.fc-sub { color: rgba(255, 255, 255, .6); text-decoration: none; font-size: 1rem; }
a.fc-sub:hover { color: #fff; }
.foot-soc { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 22px; padding: 22px 0 60px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.foot-soc small { font: 600 .75rem var(--h); letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.foot-soc a { color: #fff; text-decoration: none; font: 600 .95rem var(--h); } .foot-soc a:hover { color: var(--red-2); }
.iso-badge { margin-left: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; background: none; border: 1.5px solid rgba(255, 255, 255, .3); color: #fff; padding: 10px 16px; border-radius: 14px; cursor: pointer; transition: border-color .2s; }
.iso-badge b { font: 700 .95rem var(--h); } .iso-badge span { font: 500 .7rem var(--b); letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.iso-badge:hover { border-color: var(--red-2); }
@media (max-width: 900px) { .foot-cards { grid-template-columns: 1fr; } .iso-badge { margin-left: 0; } }
/* duži EN/DE tekstovi na telefonu */
.pill { max-width: 100%; }
.pill.big { white-space: normal; text-align: center; }
.tl li { min-width: 0; } .tl span { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 560px) { .tl { grid-template-columns: repeat(2, 1fr) !important; } }
.foot-bar { flex-wrap: wrap; row-gap: 14px; }
