/* REMSS — stilovi stranice */

@font-face { font-family: "Titillium Web"; font-weight: 400; font-display: swap; src: url(fonts/titillium-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Titillium Web"; font-weight: 400; font-display: swap; src: url(fonts/titillium-400-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titillium Web"; font-weight: 600; font-display: swap; src: url(fonts/titillium-600.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Titillium Web"; font-weight: 600; font-display: swap; src: url(fonts/titillium-600-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Titillium Web"; font-weight: 700; font-display: swap; src: url(fonts/titillium-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212; }
@font-face { font-family: "Titillium Web"; font-weight: 700; font-display: swap; src: url(fonts/titillium-700-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --ink: #031617;
  --ink-2: #082628;
  --ink-3: #0d3437;
  --line-dark: rgba(255, 255, 255, .09);
  --on-dark: #e8f0f1;
  --on-dark-muted: #9fb4b6;
  --paper: #f3f6f7;
  --card: #ffffff;
  --text: #0b1d1f;
  --text-muted: #4d6366;
  --line: #dbe3e5;
  --red: #e40521;
  --red-hover: #c50019;
  --red-soft: rgba(228, 5, 33, .1);
  --radius: 10px;
  --wrap: 1180px;
  --font: "Titillium Web", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 700; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Zaglavlje */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(3, 22, 23, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; display: flex; gap: 4px; }
.nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.lang { position: relative; }
.lang summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding: 0 10px; border: 1px solid var(--line-dark); border-radius: 8px; color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; user-select: none; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary:hover, .lang[open] summary { border-color: var(--red); }
.lang summary svg { width: 18px; height: 18px; }
.lang summary svg:last-child { width: 14px; height: 14px; transition: transform .2s; }
.lang[open] summary svg:last-child { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 170px; background: var(--ink); border: 1px solid var(--line-dark); border-radius: 10px; padding: 6px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); z-index: 60; }
.lang-menu a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 7px; color: var(--on-dark); text-decoration: none; font-size: 15px; }
.lang-menu a b { width: 26px; font-size: 12px; letter-spacing: .06em; color: var(--on-dark-muted); }
.lang-menu a:hover { background: rgba(255, 255, 255, .06); }
.lang-menu a[aria-current] { background: var(--red); color: #fff; }
.lang-menu a[aria-current] b { color: #fff; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-dark); border-radius: 8px; width: 44px; height: 44px; color: #fff; cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* Gumbi */
.btn { display: inline-flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; padding: 14px 26px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-hover); }
.btn-ghost { border-color: rgba(255, 255, 255, .3); color: #fff; }
.btn-ghost:hover { border-color: #fff; }
.btn svg { width: 18px; height: 18px; }

/* Naslovni dio */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% 20%, #0c4a52 0%, transparent 60%), linear-gradient(180deg, var(--ink) 0%, #052327 100%); color: var(--on-dark); }
.hero-photo { position: absolute; inset: 0 0 0 auto; width: 68%; background: url(img/hero.jpg) center / cover no-repeat; opacity: .7; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); pointer-events: none; }
.hero-art { position: absolute; right: -60px; top: 0; height: 100%; width: 62%; opacity: .7; pointer-events: none; }
.hero .wrap { position: relative; padding-top: 110px; padding-bottom: 96px; }
.kicker { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.kicker span::before { content: ""; display: inline-block; width: 6px; height: 6px; background: var(--red); border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); text-transform: uppercase; letter-spacing: -.01em; margin: 22px 0 20px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: #c6d6d8; max-width: 560px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 80px; max-width: 820px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.stat { background: rgba(3, 22, 23, .7); padding: 20px 22px; }
.stat b { display: block; font-size: 38px; line-height: 1; color: #fff; }
.stat span { font-size: 14px; color: var(--on-dark-muted); }

/* Sekcije */
.section { padding: 104px 0; }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark-2 { background: var(--ink-2); color: var(--on-dark); }
.section.white { background: var(--card); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.section h2 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; letter-spacing: -.005em; }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 64px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--text-muted); font-size: 18px; }
.dark .section-head p, .dark-2 .section-head p { color: var(--on-dark-muted); }

/* O nama */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.about .text p + p { margin-top: 18px; }
.about .text p { font-size: 18px; color: var(--text-muted); }
.about .text p:first-of-type { color: var(--text); font-size: 21px; }
.about h2 { margin-bottom: 28px; }
.panel { background: var(--ink); color: var(--on-dark); border-radius: 14px; padding: 36px; position: relative; overflow: hidden; }
.panel::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border: 26px solid var(--red); border-radius: 50%; opacity: .14; }
.panel h3 { font-size: 22px; text-transform: uppercase; margin-bottom: 6px; }
.panel .sub { color: var(--on-dark-muted); margin-bottom: 22px; }
.checks li { position: relative; padding: 9px 0 9px 32px; border-top: 1px solid var(--line-dark); }
.checks li:first-child { border-top: 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 18px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.panel .note { margin-top: 22px; font-size: 15px; color: var(--on-dark-muted); }

/* Usluge */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.card:hover { border-color: #c4d0d3; transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(3, 22, 23, .35); }
.card .icon { width: 50px; height: 50px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 21px; margin-bottom: 10px; }
.card p, .card li { color: var(--text-muted); font-size: 16px; }
.card ul { margin-top: 6px; }
.card li { position: relative; padding-left: 18px; margin-top: 6px; }
.card li::before { content: ""; position: absolute; left: 0; top: 11px; width: 7px; height: 2px; background: var(--red); }

/* Istaknuta usluga (glavna djelatnost) */
.featured { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--ink); color: var(--on-dark); border-radius: 16px; padding: 44px; margin-bottom: 20px; position: relative; overflow: hidden; }
.featured::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--red); }
.featured .badge { display: inline-block; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.featured .icon { width: 56px; height: 56px; border-radius: 12px; background: rgba(228, 5, 33, .16); color: var(--red); display: grid; place-items: center; margin-bottom: 16px; }
.featured .icon svg { width: 30px; height: 30px; }
.featured h3 { font-size: clamp(24px, 2.6vw, 32px); color: #fff; margin-bottom: 14px; }
.featured p { color: #c6d6d8; font-size: 17px; }
.featured .checks li { color: #e8f0f1; }

/* Servisni tim */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 72px; }
.fact { display: flex; gap: 18px; align-items: flex-start; background: var(--ink); color: var(--on-dark); border-radius: var(--radius); padding: 26px; }
.fact .icon { flex: none; width: 50px; height: 50px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; }
.fact .icon svg { width: 26px; height: 26px; }
.fact h3 { font-size: 20px; margin-bottom: 6px; color: #fff; }
.fact p { font-size: 15px; color: var(--on-dark-muted); }
.sub-title { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; margin-bottom: 24px; }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process { margin-top: 72px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 0 18px 0 0; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--card); border: 2px solid var(--red); color: var(--red); font-weight: 700; font-size: 18px; position: relative; z-index: 1; margin-bottom: 16px; }
.steps li::after { content: ""; position: absolute; left: 44px; right: 0; top: 21px; height: 2px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h4 { margin: 0 0 6px; font-size: 17px; }
.steps p { font-size: 15px; color: var(--text-muted); }
.robots { margin-top: 72px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; padding: 28px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.robots h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.robots ul { display: flex; flex-wrap: wrap; gap: 10px; }
.robots li { font-weight: 700; font-size: 18px; padding: 8px 18px; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.robots li:first-child { background: var(--red); border-color: var(--red); color: #fff; }


/* Kako radimo (Werkvertrag) */
.model { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mpoint { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.mpoint:first-child { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.mpoint:first-child p { color: var(--on-dark-muted); }
.mpoint:first-child .icon { background: var(--red); color: #fff; }
.mpoint .icon { flex: none; width: 50px; height: 50px; border-radius: 10px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.mpoint h3 { font-size: 19px; margin-bottom: 6px; }
.mpoint p { font-size: 15.5px; color: var(--text-muted); }

/* Načini suradnje */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.way { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.way .icon { width: 54px; height: 54px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; margin-bottom: 20px; }
.way .icon svg { width: 26px; height: 26px; }
.way h3 { font-size: 22px; margin-bottom: 10px; }
.way p { color: var(--text-muted); font-size: 16px; }
.way-hot { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.way-hot::before { content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 4px; background: var(--red); border-radius: 0 4px 4px 0; }
.way-hot .icon { background: var(--red); }
.way-hot h3 { color: #fff; }
.way-hot p { color: var(--on-dark-muted); }
.way .badge { position: absolute; top: 32px; right: 28px; background: var(--red); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.packages { margin-top: 20px; border: 1px solid var(--line); border-radius: 14px; padding: 32px; }
.packages-head { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.packages-head h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.packages ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.packages li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 10px; background: var(--paper); border-top: 3px solid var(--red); }
.packages li .icon { flex: none; width: 40px; height: 40px; border-radius: 9px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.packages li .icon svg { width: 21px; height: 21px; }
.packages b { display: block; font-size: 17px; line-height: 1.25; margin-bottom: 4px; }
.packages small { display: block; font-size: 14px; color: var(--text-muted); line-height: 1.4; }

/* Fotografije */
.photo { margin: 0; border-radius: 14px; overflow: hidden; background: var(--ink-2); }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.about .photo { margin-top: 32px; aspect-ratio: 16 / 9; box-shadow: 0 18px 40px -22px rgba(3, 22, 23, .55); }
.featured-side { display: grid; gap: 22px; }
.featured-side .photo { aspect-ratio: 16 / 8; border-radius: 12px; }
.photo-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; margin: -40px 0 72px; }
.photo-pair .photo { height: 340px; position: relative; }
.photo-pair .photo::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 4px; background: var(--red); }
.photo-wide { aspect-ratio: 16 / 5; margin-bottom: 20px; position: relative; }
.photo-wide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3, 22, 23, .35), transparent 60%); }

/* Reference */
.solutions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; counter-reset: sol; }
.solutions li { counter-increment: sol; display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 18px 0; border-top: 1px solid var(--line-dark); color: #d3dfe1; }
.solutions li::before { content: counter(sol, decimal-leading-zero); font-weight: 700; color: var(--red); font-size: 15px; padding-top: 2px; }
.plants-title { margin: 80px 0 28px; font-size: 24px; text-transform: uppercase; }
.plants { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.country { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 22px; background: rgba(255, 255, 255, .025); }
.country h4 { margin: 0 0 12px; font-size: 14px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); display: flex; justify-content: space-between; }
.country h4 b { color: var(--red); }
.country li { padding: 4px 0; font-weight: 600; color: #fff; }

/* Naši ljudi */
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.group { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 30px; }
.group-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 2px solid var(--red); }
.group-head .icon { width: 46px; height: 46px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; }
.group-head .icon svg { width: 24px; height: 24px; }
.group-head h3 { font-size: 20px; text-transform: uppercase; letter-spacing: .03em; }
.group li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 18px; }
.group li:last-child { border-bottom: 0; }
.group li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); flex: none; }

/* Karijera */
.career { position: relative; overflow: hidden; background: linear-gradient(120deg, rgba(228, 5, 33, .92) 0%, rgba(228, 5, 33, .78) 45%, rgba(120, 0, 16, .6) 100%), url(img/wiring.jpg) center / cover no-repeat var(--red); color: #fff; border-radius: 18px; padding: 64px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.career::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border: 40px solid rgba(255, 255, 255, .08); border-radius: 50%; pointer-events: none; }
.career h2 { margin-bottom: 22px; }
.career-text p { font-size: 19px; opacity: .94; }
.career-text p + p { margin-top: 14px; }
.career .motto { margin-top: 24px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; opacity: .8; }
.career-side { position: relative; z-index: 1; }
.career-side h3 { font-size: 15px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; opacity: .9; }
.benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.benefits li { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: 12px 14px; font-weight: 600; font-size: 15px; line-height: 1.3; }
.benefits .icon { flex: none; width: 34px; height: 34px; border-radius: 8px; background: #fff; color: var(--red); display: grid; place-items: center; }
.benefits .icon svg { width: 19px; height: 19px; }
.career .cta { background: rgba(3, 22, 23, .3); border-radius: 12px; padding: 24px; }
.career .cta p { font-size: 16px; margin-bottom: 16px; }
.career .cta small { display: block; margin-top: 10px; opacity: .8; font-size: 14px; }
.btn-light { background: #fff; color: var(--red); }
.btn-light:hover { background: var(--ink); color: #fff; }

/* Kontakt */
.section.contact-section { background: linear-gradient(90deg, var(--ink) 25%, rgba(3, 22, 23, .7) 60%, rgba(3, 22, 23, .35)), url(img/robot-arm.jpg) right center / cover no-repeat var(--ink); }
.contact-item { background: rgba(3, 22, 23, .55); }
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact .lead { color: var(--on-dark-muted); font-size: 19px; margin-top: 20px; }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 18px; align-items: center; padding: 20px 22px; border: 1px solid var(--line-dark); border-radius: var(--radius); text-decoration: none; transition: border-color .15s, background .15s; }
a.contact-item:hover { border-color: var(--red); background: rgba(228, 5, 33, .06); }
.contact-item .icon { flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; }
.contact-item .icon svg { width: 22px; height: 22px; }
.contact-item small { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-item span { font-size: 19px; font-weight: 600; color: #fff; }

/* Podnožje */
.site-footer { background: #010c0d; color: var(--on-dark-muted); padding: 48px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.site-footer img { height: 34px; width: auto; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* Podstranica (zaštita podataka) */
.page { padding: 80px 0 104px; background: var(--card); }
.page .wrap { max-width: 800px; }
.page h1 { font-size: clamp(32px, 4.4vw, 48px); text-transform: uppercase; margin-bottom: 32px; }
.page h2 { font-size: 22px; margin: 36px 0 12px; }
.page p { color: var(--text-muted); margin-top: 12px; }
.page .updated { margin: -20px 0 8px; font-size: 14px; }
.plist { margin: 10px 0 0; }
.plist li { position: relative; padding: 4px 0 4px 20px; color: var(--text-muted); }
.plist li::before { content: ""; position: absolute; left: 0; top: 15px; width: 8px; height: 2px; background: var(--red); }
.back { display: inline-block; margin-bottom: 28px; color: var(--red); font-weight: 700; text-decoration: none; }

/* Animacija pri skrolanju (samo uz JS) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card:hover { transform: none; transition: none; }
}

/* Prilagodba za tablete i mobitele */
@media (max-width: 1020px) {
  .menu-btn { display: grid; }
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 20px; background: var(--ink); border-bottom: 1px solid var(--line-dark); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 8px; border-bottom: 1px solid var(--line-dark); border-radius: 0; }
  .lang { order: 3; }
  .menu-btn { order: 2; }
  .section-head, .about, .staffing, .contact, .career { grid-template-columns: minmax(0, 1fr); }
  .section-head { gap: 16px; }
  .featured { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 32px; }
  .groups { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: minmax(0, 1fr); }
  .model { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .packages ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .steps li { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 0 0 22px; }
  .steps li::before { grid-row: span 2; margin: 0; }
  .steps li::after { left: 21px; right: auto; top: 44px; bottom: 0; width: 2px; height: auto; }
  .hero-art { width: 100%; right: -30%; opacity: .35; }
  .hero-photo { width: 100%; opacity: .3; -webkit-mask-image: none; mask-image: none; }
  .photo-pair { margin-top: -32px; }
  .section.contact-section { background: linear-gradient(180deg, rgba(3, 22, 23, .9), var(--ink)), url(img/robot-arm.jpg) center / cover no-repeat var(--ink); }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { gap: 10px; height: 64px; }
  .nav { top: 64px; }
  .brand img { height: 32px; }
  .lang summary { height: 40px; padding: 0 8px; }
  .hero .wrap { padding-top: 64px; padding-bottom: 64px; }
  .stats { margin-top: 48px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .model { grid-template-columns: minmax(0, 1fr); }
  .mpoint { padding: 22px; }
  .way, .packages { padding: 24px 20px; }
  .way .badge { position: static; display: inline-block; margin-bottom: 10px; }
  .packages ul { grid-template-columns: minmax(0, 1fr); }
  .stat { padding: 16px 14px; }
  .stat b { font-size: 30px; }
  .stat span { font-size: 13px; }
  .section { padding: 72px 0; }
  .section-head { margin-bottom: 36px; }
  .cards, .cards-4 { grid-template-columns: 1fr; }
  .facts { margin-bottom: 48px; }
  .process, .robots { margin-top: 48px; }
  .robots { padding: 22px; }
  .card { padding: 24px; }
  .solutions { grid-template-columns: 1fr; }
  .featured { padding: 26px 22px; }
  .group { padding: 22px; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .photo-pair { grid-template-columns: minmax(0, 1fr); margin: -24px 0 48px; }
  .photo-wide { aspect-ratio: 16 / 7; }
  .photo-pair .photo { height: 220px; }
  .panel { padding: 26px; }
  .career { padding: 36px 22px; border-radius: 14px; }
  .contact-item span { font-size: 17px; word-break: break-word; }
}
