/* =====================================================================
   CROVAKUM – vizualni sustav (boje iz loga)
   ===================================================================== */
:root {
  --navy: #0B1E3D;        /* natpis u logu */
  --night: #0A1730;       /* pozadina uvodne sekvence (slicice su stopljene s ovom bojom) */
  --blue: #2259AD;        /* plava strelica */
  --blue-d: #19417E;
  --blue-l: #E8F0FB;
  --orange: #F3670F;      /* narancasta strelica */
  --orange-d: #DE5800;
  --orange-l: #FFF1E7;
  --ink: #0B1E3D;
  --text: #33405A;
  --muted: #6B7487;
  --line: #E2E7EF;
  --bg: #F6F8FB;
  --surface: #FFFFFF;
  --radius: 22px;
  --maxw: 1240px;
  --shadow: 0 1px 2px rgba(11,30,61,.04), 0 12px 40px -12px rgba(11,30,61,.14);
  --font-h: "Montserrat", system-ui, sans-serif;
  --font-b: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-b); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.08; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
.wrap { width: min(var(--maxw), calc(100% - 40px)); margin-inline: auto; }
.hl { color: var(--orange); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 700; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
/* "cestice" iz loga: plava + narancasta tocka */
.dots { position: relative; width: 22px; height: 8px; flex: none; }
.dots::before, .dots::after { content: ""; position: absolute; top: 0; width: 8px; height: 8px; border-radius: 50%; }
.dots::before { left: 0; background: var(--blue); }
.dots::after { left: 12px; background: var(--orange); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 520px; }

/* gumbi */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-h); font-weight: 700; font-size: .95rem; padding: 15px 28px; border-radius: 999px; border: 0; cursor: pointer; background: var(--orange); color: #fff; box-shadow: 0 10px 24px -10px rgba(243,103,15,.7); transition: transform .25s, box-shadow .25s, background .25s; }
.btn:hover { transform: translateY(-2px); background: var(--orange-d); box-shadow: 0 14px 30px -10px rgba(243,103,15,.8); }
.btn-glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(10px); box-shadow: none; }
.btn-glass:hover { background: rgba(255,255,255,.2); box-shadow: none; }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn-small { padding: 11px 20px; font-size: .86rem; }

/* loader: ikona loga se okrece (strelice u krugu) */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--night); display: grid; place-items: center; align-content: center; gap: 26px; transition: opacity .7s, visibility .7s; }
.loader-icon { width: 74px; animation: spin 2.4s cubic-bezier(.6,.1,.3,.9) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.loader-bar { width: 160px; height: 2px; background: rgba(255,255,255,.12); overflow: hidden; border-radius: 2px; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); transition: width .2s; }
.loader.done { opacity: 0; visibility: hidden; }

/* navigacija */
.nav { position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50; width: min(var(--maxw), calc(100% - 28px)); display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 8px 8px 8px 16px; border-radius: 999px; background: rgba(255,255,255,.86); backdrop-filter: blur(18px) saturate(1.4); border: 1px solid rgba(11,30,61,.06); box-shadow: var(--shadow); transition: background .4s, border-color .4s, box-shadow .4s; }
.nav.on-dark { background: rgba(10,23,48,.35); border-color: rgba(255,255,255,.1); box-shadow: none; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo img { width: 38px; height: auto; }
.logo-text { display: grid; line-height: 1.05; }
.logo-text b { font-family: var(--font-h); font-weight: 800; font-size: 1.12rem; letter-spacing: .04em; color: var(--navy); transition: color .4s; }
.logo-text small { font-size: .62rem; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; transition: color .4s; }
.nav nav { display: flex; gap: 30px; font-size: .92rem; font-weight: 500; color: var(--text); transition: color .4s; }
.nav nav a { position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s; }
.nav nav a:hover::after { transform: scaleX(1); }
.nav.on-dark .logo-text b, .nav.on-dark nav { color: #fff; }
.nav.on-dark .logo-text small { color: rgba(255,255,255,.6); }

/* ================= UVOD: kinematografska sekvenca ================= */
.cine { position: relative; height: 820vh; background: var(--night); }
.cine-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--night); color: #fff; }
#cineCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cine-glow { position: absolute; left: 0; top: 0; width: 70vmin; height: 70vmin; margin: -35vmin 0 0 -35vmin; border-radius: 50%; z-index: 1; mix-blend-mode: screen; opacity: 0; pointer-events: none; will-change: transform, opacity;
  background: radial-gradient(circle, rgba(243,103,15,.45) 0%, rgba(243,103,15,.12) 38%, transparent 68%); }
.cine-vignette { position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,23,48,.85) 0%, rgba(10,23,48,.3) 34%, transparent 52%),
              linear-gradient(0deg, rgba(10,23,48,.9) 0%, transparent 22%),
              radial-gradient(ellipse 120% 90% at 60% 50%, transparent 60%, rgba(4,10,24,.5) 100%); }
.cine-vignette::after { content: ""; position: absolute; inset: -50%; opacity: .045; animation: grain 1s steps(2) infinite;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
@keyframes grain { 0% { transform: translate(0,0); } 50% { transform: translate(-3%,2%); } 100% { transform: translate(2%,-3%); } }
.cine-vignette, .cine-pins, .cine-copy, .cine-rail { z-index: 2; }

.cine-copy { position: absolute; left: max(24px, calc((100% - var(--maxw)) / 2)); top: 48%; width: min(560px, 40vw); }
.chap { position: absolute; left: 0; top: 0; width: 100%; transform: translateY(-50%); visibility: hidden; }
.chap .w { display: inline-block; will-change: transform, opacity, filter; opacity: 0; }
.chap h1, .chap h2 { color: #fff; font-weight: 800; }
.chap h1 { font-size: clamp(2.9rem, 5.6vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; }
.chap h2 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1.02; letter-spacing: -0.035em; }
.chap em { font-style: normal; color: var(--orange); }
.chap .eyebrow { color: #8FB4EC; white-space: nowrap; letter-spacing: .16em; }
.chap p { color: rgba(255,255,255,.72); font-size: 1.1rem; margin-top: 24px; max-width: 470px; }
.chap .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.chap-no { display: inline-flex; align-items: center; gap: 12px; color: var(--orange); font-family: var(--font-h); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 22px; }
.chap-no::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
/* "rendgenski" naslov: puna slova postaju obrisi dok zidovi postaju prozirni, a sustav (em) zasvijetli */
.chap.xray h2 .w { color: rgba(255,255,255, calc(1 - var(--w) * 0.94)); -webkit-text-stroke: calc(var(--w) * 1.4px) rgba(255,255,255,.85); }
.chap.xray h2 em .w { -webkit-text-stroke: 0; color: color-mix(in srgb, var(--orange) calc(var(--w) * 100%), #fff); text-shadow: 0 0 calc(var(--w) * 28px) rgba(243,103,15,.55); }
.hud { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; max-width: 470px; position: relative; padding-top: 20px; }
.hud::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: rgba(255,255,255,.14); }
.hud::after { content: ""; position: absolute; top: 0; left: 0; height: 2px; width: calc(var(--g) * 100%); background: linear-gradient(90deg, var(--blue), var(--orange)); box-shadow: 0 0 12px var(--orange); }
.hud b { display: block; font-family: var(--font-h); font-size: clamp(2.2rem, 3.6vw, 3.4rem); font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; line-height: 1; }
.hud span { color: rgba(255,255,255,.6); font-size: .85rem; }

.cine-rail { position: absolute; left: max(24px, calc((100% - var(--maxw)) / 2)); bottom: 44px; list-style: none; display: flex; gap: 34px; padding-bottom: 16px; }
.cine-rail::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255,255,255,.14); }
.cine-rail::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: calc(var(--p) * 100%); background: linear-gradient(90deg, var(--blue), var(--orange)); }
.cine-rail li { font-family: var(--font-h); font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); transition: color .4s; position: relative; }
.cine-rail li::after { content: ""; position: absolute; left: 0; bottom: -20px; width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); transition: background .4s, box-shadow .4s; }
.cine-rail li.on { color: #fff; }
.cine-rail li.on::after { background: var(--orange); box-shadow: 0 0 0 4px rgba(243,103,15,.25); }

.cine-pins { position: absolute; inset: 0; pointer-events: none; }
.cpin { position: absolute; left: 0; top: 0; opacity: 0; will-change: transform, opacity; }
.cpin i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); animation: ping 1.8s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(243,103,15,.6); } 100% { box-shadow: 0 0 0 14px rgba(243,103,15,0); } }
.cpin span { position: absolute; left: 12px; top: -30px; white-space: nowrap; font-family: var(--font-h); font-size: .74rem; font-weight: 600; color: var(--navy); padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.92); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.cpin.unit i { width: 14px; height: 14px; left: -7px; top: -7px; background: #fff; animation-name: pingw; }
@keyframes pingw { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
.cpin.unit span { left: auto; right: 34px; top: -100px; font-size: 1rem; padding: 12px 18px; border-radius: 14px; line-height: 1.3; }
.cpin.unit span small { display: block; color: var(--muted); font-family: var(--font-b); font-size: .76rem; font-weight: 500; }
.cpin.unit::before { content: ""; position: absolute; right: 0; bottom: 0; width: 70px; height: 1px; background: rgba(255,255,255,.6); transform-origin: right; transform: rotate(52deg); }
.scroll-hint { position: absolute; z-index: 2; right: max(24px, calc((100% - var(--maxw)) / 2)); bottom: 40px; font-family: var(--font-h); font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.scroll-hint::after { content: ""; display: block; width: 1px; height: 36px; margin: 10px auto 0; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: drip 1.8s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ================= PREDNOSTI ================= */
.benefits { background: var(--surface); border-bottom: 1px solid var(--line); }
.benefits .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.benefit { padding: 56px 40px 56px 0; }
.benefit + .benefit { padding-left: 40px; border-left: 1px solid var(--line); }
.benefit svg, .card svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.benefit:nth-child(2) svg { stroke: var(--orange); }
.benefit h3 { margin-bottom: 8px; }
.benefit p { color: var(--muted); font-size: .97rem; }

/* ================= SEKCIJE ================= */
.section-head { margin-bottom: 56px; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.split-head .lead { margin-bottom: 6px; }
.viewer, .solutions, .contact { padding: 130px 0 40px; }

/* 3D */
.viewer-wrap { display: grid; grid-template-columns: 1fr 310px; gap: 18px; }
.viewer-canvas { position: relative; height: min(68vh, 640px); min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); cursor: grab;
  background: radial-gradient(ellipse at 50% 30%, #FFFFFF 0%, #EDF2F9 55%, #DCE5F2 100%); }
.viewer-canvas:active { cursor: grabbing; }
.viewer-canvas canvas { display: block; width: 100%; height: 100%; }
.viewer-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.viewer-hint { position: absolute; left: 16px; bottom: 14px; font-size: .78rem; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 12px; border-radius: 999px; pointer-events: none; box-shadow: 0 2px 8px rgba(11,30,61,.08); }
.viewer-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.viewer-panel h3 { font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .16em; }
.room-list { display: flex; flex-direction: column; gap: 6px; }
.room-list button { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-family: var(--font-h); font-weight: 600; font-size: .92rem; color: var(--ink); transition: background .2s, color .2s; }
.room-list button small { color: var(--muted); font-family: var(--font-b); font-weight: 500; font-size: .78rem; }
.room-list button:hover { background: var(--blue-l); }
.room-list button.active { background: var(--navy); color: #fff; }
.room-list button.active small { color: #FFB27F; }
.room-info { border-top: 1px solid var(--line); padding-top: 16px; flex: 1; }
.room-info h4 { font-size: 1.05rem; margin-bottom: 6px; }
.room-info p { color: var(--muted); font-size: .92rem; }
.room-info b { color: var(--ink); }

/* rjesenja */
.solution { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; margin-bottom: 110px; }
.solution.reverse .solution-media { order: 2; }
.solution-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; background: #DCE5F2; box-shadow: 0 30px 70px -30px rgba(11,30,61,.45); }
.solution-media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); pointer-events: none; }
.solution-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.tag { display: inline-block; font-family: var(--font-h); font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: var(--orange); background: var(--orange-l); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.solution.air .tag { color: var(--blue); background: var(--blue-l); }
.solution-text h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 800; }
.solution-text p { color: var(--muted); margin: 16px 0 22px; }
.solution-text ul { list-style: none; display: grid; gap: 10px; }
.solution-text li { padding-left: 30px; position: relative; color: var(--ink); font-weight: 500; }
.solution-text li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--orange-l) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%23F3670F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.solution.air li::before { background-color: var(--blue-l); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.6 2.5L13 6.5' fill='none' stroke='%232259AD' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s, transform .9s; }
.reveal.in { opacity: 1; transform: none; }

/* postupak */
.process { background: var(--surface); padding: 120px 0; border-block: 1px solid var(--line); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 23px; height: 2px; background: linear-gradient(90deg, var(--blue), var(--orange)); }
.steps li { position: relative; padding-right: 30px; }
.steps b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--surface); border: 2px solid var(--blue); color: var(--blue); font-family: var(--font-h); font-size: .9rem; position: relative; margin-bottom: 24px; }
.steps li:nth-child(n+3) b { border-color: var(--orange); color: var(--orange); }
.steps h3 { margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: .96rem; }

/* projektanti (tamna traka s lukovima iz loga) */
.pros { background: var(--navy); color: rgba(255,255,255,.75); padding: 130px 0 110px; position: relative; overflow: hidden; }
.pros::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -420px; border-radius: 50%; border: 90px solid rgba(34,89,173,.2); border-left-color: transparent; transform: rotate(-20deg); }
.pros::after { content: ""; position: absolute; width: 700px; height: 700px; left: -320px; bottom: -420px; border-radius: 50%; border: 70px solid rgba(243,103,15,.13); border-right-color: transparent; transform: rotate(10deg); }
.pros .wrap { position: relative; z-index: 1; }
.pros h2, .pros h3 { color: #fff; }
.pros .eyebrow { color: #8FB4EC; }
.pros .lead { color: rgba(255,255,255,.65); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { display: block; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 32px; transition: transform .3s, background .3s, border-color .3s; }
.card:hover { transform: translateY(-6px); background: rgba(255,255,255,.08); border-color: rgba(243,103,15,.55); }
.card svg { stroke: #8FB4EC; }
.card p { color: rgba(255,255,255,.62); margin: 10px 0 22px; }
.card span { font-family: var(--font-h); color: var(--orange); font-weight: 700; font-size: .92rem; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 80px; padding-top: 50px; border-top: 1px solid rgba(255,255,255,.1); }
.stats b { display: block; font-family: var(--font-h); font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 800; color: #fff; letter-spacing: -0.04em; line-height: 1.05; }
.stats div:nth-child(2) b { color: var(--orange); }
.stats span { color: rgba(255,255,255,.6); }
.note { color: rgba(255,255,255,.35); font-size: .8rem; margin-top: 28px; }

/* kontakt */
.contact { display: grid; grid-template-columns: 1fr 1.05fr; gap: 70px; padding-bottom: 130px; }
.contact-points { list-style: none; margin-top: 30px; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 500; }
.contact-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px var(--orange-l); }
.contact-form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: grid; gap: 7px; font-size: .84rem; font-weight: 500; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s, background .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-l); }
.contact-form .btn { justify-self: start; }
.form-ok { color: #1F8A4C; font-size: .9rem; }

/* podnozje */
.footer { background: var(--night); color: rgba(255,255,255,.55); padding: 44px 0; }
.footer .wrap { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,.5); }
.footer nav { display: flex; gap: 26px; font-size: .9rem; }
.footer nav a:hover { color: #fff; }
.footer .copy { font-size: .82rem; }

/* ================= MOBITEL ================= */
@media (max-width: 900px) {
  .nav nav, .logo-text small { display: none; }
  .split-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .benefits .wrap, .viewer-wrap, .solution, .contact, .cards, .stats, .steps, .contact-form .row { grid-template-columns: 1fr; }
  .benefit, .benefit + .benefit { padding: 34px 0; border-left: 0; }
  .benefit + .benefit { border-top: 1px solid var(--line); }
  .solution { gap: 26px; margin-bottom: 80px; }
  .solution.reverse .solution-media { order: 0; }
  .viewer-canvas { height: 58vh; min-height: 360px; }
  .room-list { display: grid; grid-template-columns: 1fr 1fr; }
  .steps { gap: 30px; }
  .steps::before { left: 23px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(var(--blue), var(--orange)); }
  .steps li { padding-left: 74px; padding-right: 0; }
  .steps b { position: absolute; left: 0; top: 0; }
  .contact { gap: 40px; }

  .cine { height: 720vh; }
  .cine-copy { top: auto; bottom: 11vh; width: calc(100% - 48px); }
  .chap { top: auto; bottom: 0; transform: none; }
  .chap h1 { font-size: clamp(2.4rem, 11vw, 3.4rem); }
  .chap h2 { font-size: clamp(2.1rem, 9.5vw, 2.9rem); }
  .chap p { font-size: 1rem; margin-top: 16px; }
  .cine-rail { display: none; }
  .cine-vignette { background: linear-gradient(0deg, rgba(10,23,48,.97) 0%, rgba(10,23,48,.75) 38%, transparent 62%); }
  .hud { gap: 12px; }
  .cpin.unit span { right: -40px; top: -104px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
/* dorade */
.pros::after { left: -460px; bottom: -600px; border-color: rgba(243,103,15,.09); border-right-color: transparent; }
.pros::before { border-color: rgba(34,89,173,.16); border-left-color: transparent; }
.steps::before { right: 30px; }
.contact-text .lead { margin-top: 20px; }
.btn { white-space: nowrap; }
@media (max-width: 900px) { .nav .btn-small { padding: 10px 16px; font-size: .8rem; } .logo img { width: 34px; } }

/* ================= DETALJNA PROSTORIJA (modal) ================= */
.room-modal { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; }
.room-modal[hidden] { display: none; }
.rm-backdrop { position: absolute; inset: 0; background: rgba(10,23,48,.62); backdrop-filter: blur(8px); opacity: 0; transition: opacity .35s; }
.rm-panel { position: relative; width: min(1380px, 100%); max-height: calc(100vh - 48px); overflow: auto; background: var(--surface); border-radius: 28px; box-shadow: 0 40px 120px rgba(4,10,24,.5); padding: 22px; transform: translateY(24px) scale(.98); opacity: 0; transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s; }
.room-modal.in .rm-backdrop { opacity: 1; }
.room-modal.in .rm-panel { transform: none; opacity: 1; }
.rm-head { display: flex; justify-content: space-between; align-items: flex-start; padding: 4px 6px 18px; }
.rm-head .eyebrow { margin-bottom: 8px; }
.rm-head h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 800; }
.rm-close { all: unset; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); color: var(--ink); font-size: 1rem; transition: background .2s, transform .2s; }
.rm-close:hover { background: var(--line); transform: rotate(90deg); }
.rm-body { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.rm-stage { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #EEF2F7; }
.rm-stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rm-hotspots { position: absolute; inset: 0; }
.rm-dot { all: unset; position: absolute; transform: translate(-50%, -50%); cursor: pointer; }
.rm-dot i { display: block; width: 18px; height: 18px; border-radius: 50%; background: var(--orange); border: 3px solid #fff; box-shadow: 0 0 0 0 rgba(243,103,15,.55), 0 4px 12px rgba(11,30,61,.3); animation: dotping 1.8s infinite; animation-delay: inherit; }
@keyframes dotping { 0% { box-shadow: 0 0 0 0 rgba(243,103,15,.55), 0 4px 12px rgba(11,30,61,.3); } 100% { box-shadow: 0 0 0 18px rgba(243,103,15,0), 0 4px 12px rgba(11,30,61,.3); } }
.rm-dot span { position: absolute; left: 50%; bottom: calc(100% + 10px); transform: translateX(-50%) translateY(4px); white-space: nowrap; font-family: var(--font-h); font-size: .78rem; font-weight: 700; color: #fff; background: var(--navy); padding: 6px 12px; border-radius: 999px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none; }
.rm-dot:hover span, .rm-dot:focus-visible span { opacity: 1; transform: translateX(-50%); }
.rm-dot:hover i { background: var(--orange-d); }
.rm-hint { position: absolute; left: 16px; bottom: 14px; font-family: var(--font-h); font-size: .78rem; font-weight: 600; color: var(--navy); background: rgba(255,255,255,.88); padding: 7px 14px; border-radius: 999px; box-shadow: 0 2px 10px rgba(11,30,61,.1); }
.rm-hint[hidden], .rm-hotspots[hidden] { display: none; }
.rm-actions { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 10px; }
.rm-actions[hidden] { display: none; }
.rm-back { background: rgba(255,255,255,.92); }
.rm-card { background: var(--bg); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 100%; }
.rm-kicker { font-family: var(--font-h); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); }
.rm-card h4 { font-size: 1.35rem; font-weight: 800; }
.rm-intro { color: var(--muted); font-size: .95rem; }
.rm-list { list-style: none; display: grid; gap: 8px; }
.rm-list button { all: unset; cursor: pointer; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; width: 100%; box-sizing: border-box; padding: 13px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.rm-list button:hover { border-color: var(--orange); transform: translateX(3px); }
.rm-list b { font-family: var(--font-h); font-size: .9rem; color: var(--ink); }
.rm-list small { grid-column: 1; color: var(--muted); font-size: .76rem; }
.rm-list span { grid-row: 1 / span 2; grid-column: 2; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--orange-l); color: var(--orange); font-size: .7rem; }
.rm-specs { display: grid; gap: 0; border-top: 1px solid var(--line); }
.rm-specs div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.rm-specs dt { color: var(--muted); }
.rm-specs dd { color: var(--ink); font-weight: 600; }
.rm-cta { margin-top: auto; align-self: flex-start; }
.room-open { margin-top: 12px; width: 100%; }
.room-list button .has-detail { color: var(--orange); font-weight: 700; }
@media (max-width: 900px) {
  .room-modal { padding: 0; place-items: end stretch; }
  .rm-panel { border-radius: 24px 24px 0 0; max-height: 94vh; padding: 16px; }
  .rm-body { grid-template-columns: 1fr; }
  .rm-dot span { display: none; }
}

/* uzorak "tiskane plocice" iza kuce (kao na referenci): vidi se prema rubovima, iza kuce cisto */
.cine-circuit { position: absolute; inset: 0; z-index: 1; pointer-events: none; mix-blend-mode: screen; opacity: .3;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22320%22%20height%3D%22320%22%20viewBox%3D%220%200%20320%20320%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233E7BD6%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M0%2040h70l20%2020h80l20-20h130%22/%3E%3Cpath%20d%3D%22M0%20120h40l30%2030v60l20%2020h90%22/%3E%3Cpath%20d%3D%22M110%200v50l20%2020h60l30%2030v40%22/%3E%3Cpath%20d%3D%22M320%20180h-60l-25%2025v50l-20%2020h-60%22/%3E%3Cpath%20d%3D%22M200%20320v-40l25-25h45l20-20v-55%22/%3E%3Cpath%20d%3D%22M0%20260h55l25-25h40%22/%3E%3Cpath%20d%3D%22M260%200v30l-20%2020%22/%3E%3C/g%3E%3Cg%20fill%3D%22%235B95E8%22%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2240%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22190%22%20cy%3D%2260%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22120%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22180%22%20cy%3D%22230%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22220%22%20cy%3D%22140%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22260%22%20cy%3D%22180%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22155%22%20cy%3D%22275%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22120%22%20cy%3D%22235%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22290%22%20cy%3D%22235%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22240%22%20cy%3D%2250%22%20r%3D%223.2%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 320px 320px;
  -webkit-mask-image: radial-gradient(ellipse 34% 46% at 66% 50%, transparent 0%, transparent 55%, #000 100%);
          mask-image: radial-gradient(ellipse 34% 46% at 66% 50%, transparent 0%, transparent 55%, #000 100%);
  animation: circuit 40s linear infinite; }
@keyframes circuit { to { background-position: 320px -320px; } }
@media (max-width: 900px) { .cine-circuit { -webkit-mask-image: radial-gradient(ellipse 60% 30% at 50% 30%, transparent 40%, #000 100%); mask-image: radial-gradient(ellipse 60% 30% at 50% 30%, transparent 40%, #000 100%); } }

/* ================= MOBITEL: zasebni raspored ================= */
.m-hero, .m-rooms, .m-bar { display: none; }
@media (max-width: 900px) {
  .cine { display: none; }
  #kuca3d { display: none; }
  html.show-3d #kuca3d { display: block; }
  .m-hero, .m-rooms { display: block; }

  /* uvod: uspravni video, tekst dolje */
  .m-hero { position: relative; height: 100svh; min-height: 600px; background: var(--night); color: #fff; overflow: hidden; }
  .m-hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .m-circuit { position: absolute; inset: 0; opacity: .28; mix-blend-mode: screen; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22320%22%20height%3D%22320%22%20viewBox%3D%220%200%20320%20320%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%233E7BD6%22%20stroke-width%3D%221.4%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M0%2040h70l20%2020h80l20-20h130%22/%3E%3Cpath%20d%3D%22M0%20120h40l30%2030v60l20%2020h90%22/%3E%3Cpath%20d%3D%22M110%200v50l20%2020h60l30%2030v40%22/%3E%3Cpath%20d%3D%22M320%20180h-60l-25%2025v50l-20%2020h-60%22/%3E%3Cpath%20d%3D%22M200%20320v-40l25-25h45l20-20v-55%22/%3E%3Cpath%20d%3D%22M0%20260h55l25-25h40%22/%3E%3Cpath%20d%3D%22M260%200v30l-20%2020%22/%3E%3C/g%3E%3Cg%20fill%3D%22%235B95E8%22%3E%3Ccircle%20cx%3D%2270%22%20cy%3D%2240%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22190%22%20cy%3D%2260%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%2240%22%20cy%3D%22120%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22180%22%20cy%3D%22230%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22220%22%20cy%3D%22140%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22260%22%20cy%3D%22180%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22155%22%20cy%3D%22275%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22120%22%20cy%3D%22235%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22290%22%20cy%3D%22235%22%20r%3D%223.2%22/%3E%3Ccircle%20cx%3D%22240%22%20cy%3D%2250%22%20r%3D%223.2%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 320px 320px; -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 45%); mask-image: linear-gradient(180deg, #000 0%, transparent 45%); }
  .m-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,23,48,.98) 0%, rgba(10,23,48,.85) 30%, rgba(10,23,48,0) 58%), linear-gradient(180deg, rgba(10,23,48,.6) 0%, transparent 18%); }
  .m-copy { position: absolute; left: 22px; right: 22px; bottom: calc(118px + env(safe-area-inset-bottom)); min-height: 210px; }
  .m-chap { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(18px); filter: blur(6px); transition: opacity .6s, transform .6s, filter .6s; pointer-events: none; }
  .m-chap.on { opacity: 1; transform: none; filter: none; }
  .m-chap h1 { color: #fff; font-size: clamp(2.3rem, 10.5vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -0.04em; }
  .m-chap h2 { color: #fff; font-size: clamp(2rem, 9vw, 2.8rem); font-weight: 800; line-height: 1.03; letter-spacing: -0.035em; }
  .m-chap em { font-style: normal; color: var(--orange); }
  .m-chap p { color: rgba(255,255,255,.75); margin-top: 14px; font-size: 1rem; }
  .m-chap .eyebrow { color: #8FB4EC; letter-spacing: .14em; font-size: .68rem; }
  .m-chap .chap-no { margin-bottom: 14px; }
  .m-chap.xray h2 { color: rgba(255,255,255, calc(1 - var(--w, 0) * 0.94)); -webkit-text-stroke: calc(var(--w, 0) * 1.2px) rgba(255,255,255,.85); }
  .m-chap.xray h2 em { -webkit-text-stroke: 0; color: color-mix(in srgb, var(--orange) calc(var(--w, 0) * 100%), #fff); }
  .m-chap .hud { margin-top: 20px; max-width: none; }
  .m-chap .hud::after { width: calc(var(--g, 0) * 100%); }
  .m-hero .hud::after { width: calc(var(--g, 0) * 100%); }
  .m-actions { position: absolute; left: 22px; right: 22px; bottom: calc(46px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .m-actions .btn { padding: 14px 10px; }
  .m-progress { position: absolute; left: 22px; right: 22px; bottom: calc(26px + env(safe-area-inset-bottom)); height: 2px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
  .m-progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue), var(--orange)); }

  /* prostorije: kartice za listanje */
  .m-rooms { padding: 80px 0 30px; }
  .m-rooms .wrap { margin-bottom: 22px; }
  .m-cards { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .m-cards::-webkit-scrollbar { display: none; }
  .m-card { flex: 0 0 84%; scroll-snap-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
  .m-media { position: relative; aspect-ratio: 4 / 5; background: #EEF2F7; }
  .m-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
  .m-floor { position: absolute; left: 12px; top: 12px; font-family: var(--font-h); font-size: .7rem; font-weight: 700; color: var(--navy); background: rgba(255,255,255,.9); padding: 5px 11px; border-radius: 999px; }
  .m-body { padding: 18px 18px 20px; }
  .m-body h3 { font-size: 1.35rem; font-weight: 800; }
  .m-body p { color: var(--muted); font-size: .9rem; margin: 6px 0 14px; }
  .m-chips { display: grid; gap: 8px; }
  .m-chips button { all: unset; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); font-family: var(--font-h); font-weight: 600; font-size: .88rem; color: var(--ink); }
  .m-chips button span { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--orange); color: #fff; font-size: .62rem; }
  .m-chips button:active { background: var(--orange-l); }
  .m-dots { display: flex; justify-content: center; gap: 7px; margin: 4px 0 18px; }
  .m-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: width .3s, background .3s; }
  .m-dots i.on { width: 22px; border-radius: 4px; background: var(--orange); }
  .m-open3d { width: 100%; }

  /* stalna traka s gumbima */
  .m-bar { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60;
    padding: 8px; border-radius: 999px; background: rgba(255,255,255,.92); backdrop-filter: blur(14px); box-shadow: 0 10px 30px rgba(11,30,61,.25); transform: translateY(140%); transition: transform .4s; }
  .m-bar.show { transform: none; }
  .m-bar .btn { padding: 12px 10px; font-size: .88rem; }
  .footer { padding-bottom: 96px; }
  .nav .btn-small { display: none; }

  /* demo prozor kao donji list preko cijelog ekrana */
  .rm-panel { max-height: 96vh; }
  .rm-head { padding-bottom: 12px; }
  .rm-card { min-height: 0; }
}

/* ================= upit, kontakt, podnozje, pravne stranice, proizvodi ================= */
.nav-upit { display: none; align-items: center; gap: 6px; font-family: var(--font-h); font-weight: 700; font-size: .85rem; color: var(--ink); padding: 8px 12px; border-radius: 999px; background: var(--orange-l); }
.nav-upit.has { display: inline-flex; }
.nav-upit b { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 999px; background: var(--orange); color: #fff; font-size: .72rem; padding: 0 5px; }
.nav.on-dark .nav-upit { background: rgba(255,255,255,.12); color: #fff; }
.contact-data { margin-top: 30px; display: grid; gap: 14px; }
.contact-data div { display: grid; grid-template-columns: 130px 1fr; gap: 10px; }
.contact-data dt { color: var(--muted); font-size: .88rem; }
.contact-data dd { color: var(--ink); font-weight: 500; }
.contact-data a { color: var(--blue); }
.hp { position: absolute; left: -9999px; }
.upit-box { border: 1px dashed var(--orange); background: var(--orange-l); border-radius: 14px; padding: 14px 16px; }
.upit-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; color: var(--ink); }
.upit-head button { all: unset; cursor: pointer; font-size: .8rem; color: var(--orange-d); }
.upit-box ul { list-style: none; display: grid; gap: 4px; font-size: .88rem; color: var(--ink); }
.upit-box small { color: var(--muted); }
.contact-form label.file input { padding: 10px; background: #fff; }
.privacy-note { font-size: .8rem; color: var(--muted); }
.privacy-note a, .form-err a { color: var(--blue); text-decoration: underline; }
.form-err { color: #B3261E; font-size: .9rem; }
.footer { background: var(--night); color: rgba(255,255,255,.62); padding: 64px 0 28px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 36px; }
.foot-brand p { margin-top: 16px; font-size: .9rem; max-width: 320px; }
.footer h4 { color: #fff; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.foot-list { list-style: none; display: grid; gap: 8px; font-size: .92rem; }
.foot-list.small { font-size: .84rem; }
.foot-list span { color: rgba(255,255,255,.42); }
.foot-list a:hover { color: #fff; }
.foot-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem; }
.foot-bottom nav { display: flex; gap: 22px; }
.foot-bottom nav a:hover { color: #fff; }
.foot-note { margin-top: 14px; font-size: .76rem; color: rgba(255,255,255,.35); }
.footer .logo-text b { color: #fff; }
.footer .logo-text small { color: rgba(255,255,255,.5); }
/* pravne i podstranice */
.page-head { background: var(--night); color: #fff; padding: 150px 0 60px; }
.page-head h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
.page-head p { color: rgba(255,255,255,.7); margin-top: 14px; max-width: 640px; }
.legal { padding: 60px 0 100px; }
.legal .wrap { max-width: 820px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a { color: var(--blue); text-decoration: underline; }
.legal .meta { color: var(--muted); font-size: .9rem; }
/* proizvodi */
.prod-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: -28px 0 30px; position: relative; z-index: 2; }
.prod-tools input { flex: 1 1 260px; font: inherit; padding: 14px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chips button { all: unset; cursor: pointer; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-family: var(--font-h); font-weight: 600; font-size: .84rem; color: var(--ink); }
.chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 16px; padding-bottom: 100px; }
.prod { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; box-shadow: var(--shadow); }
.prod .cat { font-family: var(--font-h); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.prod h3 { font-size: 1.12rem; margin: 8px 0 4px; }
.prod code { font-size: .8rem; color: var(--muted); }
.prod ul { list-style: none; margin: 14px 0 18px; display: grid; gap: 6px; font-size: .88rem; color: var(--text); }
.prod li::before { content: "·"; color: var(--orange); font-weight: 800; margin-right: 8px; }
.prod .tag { position: static; display: inline-block; align-self: flex-start; margin: 0 0 6px; font-size: .66rem; padding: 3px 9px; }
.prod button { margin-top: auto; all: unset; cursor: pointer; text-align: center; padding: 11px; border-radius: 999px; border: 1.5px solid var(--orange); color: var(--orange-d); font-family: var(--font-h); font-weight: 700; font-size: .86rem; }
.prod button.in { background: var(--orange); color: #fff; }
.prod-cta { position: fixed; right: 20px; bottom: 20px; z-index: 55; display: none; }
.prod-cta.has { display: inline-flex; }
@media (max-width: 900px) {
  .foot-grid { grid-template-columns: 1fr; gap: 26px; }
  .contact-data div { grid-template-columns: 1fr; gap: 2px; }
  .page-head { padding: 120px 0 44px; }
  .prod-cta { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); justify-content: center; }
}
.foot-grid { align-items: start; } .footer h4 { margin-top: 4px; }
