/* =========================================================
   Saša Jovanović — Keramičar · Električar · Vodoinstalater Niš
   ========================================================= */
:root {
  --bg: #f3f1ec;
  --card: #ffffff;
  --ink: #0e0f12;
  --ink-2: #1a1c21;
  --muted: #5d6067;
  --line: #e2ded5;
  --accent: #ff5b14;
  --accent-dark: #e04800;
  --tile: #ff5b14;
  --volt: #ffc400;
  --water: #2b7bff;
  --r-lg: 32px;
  --r: 20px;
  --r-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(14, 15, 18, .25);
  --head: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.6;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.03em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.3rem); }
h3 { font-size: 1.35rem; letter-spacing: -.02em; line-height: 1.2; }
p { margin: 0 0 1em; }
.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); margin-inline: auto; }

.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ico--fill { fill: currentColor; stroke: none; }

.tag {
  display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1em;
}
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.45em; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 1rem var(--body); text-decoration: none; white-space: nowrap;
  background: var(--accent); color: #fff; transition: transform .2s, background .2s, box-shadow .2s;
}
.btn:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(255, 91, 20, .6); }
.btn .ico { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); }
.btn--dark:hover { background: #2a2d34; box-shadow: none; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn--light:hover { background: rgba(255,255,255,.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,.4); }
.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn--outline:hover { background: var(--ink); color: #fff; box-shadow: none; }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.header { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.header__bar {
  width: min(1240px, 100%); margin: 0 auto; height: 66px; padding: 0 10px 0 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: rgba(255, 255, 255, .78); backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(14,15,18,.07); border-radius: 999px; transition: box-shadow .25s;
}
.header.is-scrolled .header__bar { box-shadow: 0 10px 30px -12px rgba(14,15,18,.2); }

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; line-height: 1.1; }
.brand__mark { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; width: 30px; height: 30px; }
.brand__mark i { border-radius: 4px; background: var(--ink); }
.brand__mark i:nth-child(1) { background: var(--tile); }
.brand__mark i:nth-child(2) { background: var(--volt); }
.brand__mark i:nth-child(3) { background: var(--water); }
.brand__name { font-family: var(--head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; display: block; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  text-decoration: none; font-size: .93rem; font-weight: 500; padding: .55em .85em; border-radius: 999px;
  color: var(--ink-2); transition: background .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(14,15,18,.06); }
.nav .btn { margin-left: 8px; }

.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; margin: 4px auto; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 0; }
.hero__panel {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 80px);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(30px, 5vw, 64px); align-items: center;
  isolation: isolate;
}
.hero__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 400px at 10% 0%, rgba(255, 91, 20, .28), transparent 60%),
    radial-gradient(500px 380px at 95% 15%, rgba(43, 123, 255, .25), transparent 60%),
    radial-gradient(500px 300px at 70% 110%, rgba(255, 196, 0, .18), transparent 60%);
}
.hero__panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 30% 40%, #000, transparent 75%);
}
.hero .tag { color: rgba(255,255,255,.7); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .hl { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.85); }
.hero h1 .c-tile { color: var(--tile); }
.hero h1 .c-volt { color: var(--volt); }
.hero h1 .c-water { color: #5c9bff; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.72); max-width: 34em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 2em 0 2.4em; }
.hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: .93rem; color: rgba(255,255,255,.8); }
.hero__trust li { display: flex; align-items: center; gap: 8px; }
.hero__trust .ico { width: 18px; height: 18px; color: #4ade80; }

/* Bento u heroju */
.bento { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto; gap: 12px; }
.bento__card { border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; min-height: 150px; display: flex; flex-direction: column; justify-content: flex-end; }
.bento__card h3 { font-size: 1.15rem; margin: 0; }
.bento__card p { margin: 2px 0 0; font-size: .85rem; opacity: .8; }
.bento__icon { position: absolute; top: 18px; left: 18px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.18); }
.bento__card--tile { grid-row: span 2; background: #fff; color: var(--ink); min-height: 312px; }
.bento__card--tile .bento__icon { background: var(--tile); color: #fff; z-index: 1; }
.bento__card--volt { background: var(--volt); color: var(--ink); }
.bento__card--volt .bento__icon { background: rgba(14,15,18,.1); }
.bento__card--water { background: var(--water); color: #fff; }
.bento__card--status { grid-column: span 2; min-height: 0; flex-direction: row; align-items: center; gap: 12px; justify-content: flex-start;
  background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); padding: 16px 20px; font-size: .95rem; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: #4ade80; flex: none; animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(74,222,128,.6); } 70% { box-shadow: 0 0 0 10px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }

.mini-tiles { position: absolute; top: 18px; right: 18px; width: min(52%, 150px); aspect-ratio: 1; display: grid; grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); gap: 4px; }
.mini-tiles span { border-radius: 3px; background: #efe9df; opacity: 0; transform: scale(.4); animation: tileIn .45s cubic-bezier(.2,.8,.2,1.2) forwards; }
.mini-tiles span.a { background: var(--tile); }
.mini-tiles span.b { background: #f6c9b3; }
@keyframes tileIn { to { opacity: 1; transform: scale(1); } }

.bento__card--volt svg.big, .bento__card--water svg.big { position: absolute; right: -6px; top: -4px; width: 84px; height: 84px; opacity: .16; }
.bolt-flash { animation: flash 3.5s infinite; }
@keyframes flash { 0%, 88%, 100% { opacity: .18; } 90%, 94% { opacity: .5; } 92% { opacity: .15; } }
.wave { position: absolute; left: -50%; bottom: -70%; width: 200%; height: 140%; border-radius: 42%; background: rgba(255,255,255,.12); animation: spin 9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: scroll 40s linear infinite; }
.marquee__track span { font-family: var(--head); font-weight: 600; font-size: 1.3rem; letter-spacing: -.02em; color: #a19c92; white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee__track span::after { content: "✦"; color: var(--accent); font-size: .9rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- Sekcije ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; }
.section--tight { padding-top: clamp(40px, 6vw, 70px); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: clamp(36px, 5vw, 56px); flex-wrap: wrap; }
.section-head > div { max-width: 720px; }
.section-head h2 { margin: 0; }
.section-head p { color: var(--muted); max-width: 30em; margin: 0; }

/* Usluge */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc {
  position: relative; background: var(--card); border-radius: var(--r-lg); padding: 30px;
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc__icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 64px; }
.svc__icon .ico { width: 28px; height: 28px; }
.svc--tile .svc__icon { background: var(--tile); color: #fff; }
.svc--volt .svc__icon { background: var(--volt); color: var(--ink); }
.svc--water .svc__icon { background: var(--water); color: #fff; }
.svc h3 { font-size: 1.9rem; margin-bottom: .3em; }
.svc > p { color: var(--muted); }
.svc ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; font-size: .96rem; }
.svc li { display: flex; gap: 10px; align-items: flex-start; }
.svc li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; margin-top: .6em; flex: none; background: currentColor; opacity: .35; }
.svc__more { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-weight: 600; padding-top: 20px; border-top: 1px solid var(--line); }
.svc__arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); transition: transform .3s, background .3s; }
.svc:hover .svc__arrow { transform: rotate(-45deg); background: var(--ink); color: #fff; }

.svc-wide {
  grid-column: 1 / -1; background: var(--ink); color: #fff; border: 0;
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(30px, 4vw, 50px);
}
.svc-wide h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.svc-wide p { color: rgba(255,255,255,.7); }
.svc-wide .chips li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #fff; }
.svc-wide .svc__more { border-color: rgba(255,255,255,.15); }
.svc-wide .svc__arrow { background: rgba(255,255,255,.1); }
.svc-wide:hover .svc__arrow { background: var(--accent); }

/* Jedan majstor umesto tri */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.compare__col { border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); }
.compare__col h3 { font-size: 1.6rem; display: flex; align-items: center; gap: 12px; }
.compare__col ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; }
.compare__col li .ico { margin-top: 2px; }
.compare__col--bad { background: #e9e5dc; color: #6e6a62; }
.compare__col--bad .ico { color: #c2410c; }
.compare__col--good { background: var(--card); border: 2px solid var(--ink); box-shadow: var(--shadow); }
.compare__col--good .ico { color: #16a34a; }
.badge { white-space: nowrap; flex: none; font: 600 .75rem var(--body); letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: #fff; padding: .35em .8em; border-radius: 999px; }

/* Prednosti */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.feature__icon { width: 46px; height: 46px; border-radius: 14px; background: var(--bg); display: grid; place-items: center; margin-bottom: 40px; }
.feature h3 { font-size: 1.15rem; margin-bottom: .4em; }
.feature p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Galerija */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 16px; }
.gallery figure { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: #ddd; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery .w2 { grid-column: span 2; }
.gallery .h2 { grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px; border-radius: 14px; font-size: .86rem; font-weight: 500;
  background: rgba(255,255,255,.85); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gallery figcaption b { font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.gallery .p-hex { background: radial-gradient(circle, #fff 36%, transparent 38%) 0 0/40px 40px, linear-gradient(#cfd8dc 2px, transparent 2px) 0 0/40px 40px, linear-gradient(90deg, #cfd8dc 2px, #e8eef0 2px) 0 0/40px 40px; }
.gallery .p-herring { background: linear-gradient(45deg, #a87849 25%, transparent 25% 75%, #a87849 75%) 0 0/44px 44px, linear-gradient(-45deg, #c99c70 25%, #b98a5e 25% 75%, #c99c70 75%) 0 0/44px 44px; }
.gallery .p-subway { background: linear-gradient(#d4d0c8 2px, transparent 2px) 0 0/90px 36px, linear-gradient(90deg, #d4d0c8 2px, transparent 2px) 0 0/90px 72px, linear-gradient(90deg, #d4d0c8 2px, #f5f4f0 2px) 45px 36px/90px 72px; }
.gallery .p-panel { background: repeating-linear-gradient(90deg, #2a2d34 0 22px, #3a3e47 22px 24px), #2a2d34; }
.gallery .p-panel::before { content: ""; position: absolute; inset: 30% 20% 40%; background: repeating-linear-gradient(90deg, var(--volt) 0 14px, transparent 14px 22px); opacity: .9; border-radius: 4px; }
.gallery .p-pipes { background: linear-gradient(90deg, transparent 30%, #b8c4d6 30% 38%, transparent 38% 62%, #c58b4f 62% 70%, transparent 70%), #e9eef5; }
.gallery .p-check { background: conic-gradient(#ff8a52 25%, var(--tile) 0 50%, #ff8a52 0 75%, var(--tile) 0) 0 0/60px 60px; }

/* Proces */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; position: relative; }
.steps li::before { content: "0" counter(s); font-family: var(--head); font-weight: 700; font-size: 3rem; letter-spacing: -.04em; color: var(--accent); line-height: 1; display: block; margin-bottom: 36px; }
.steps h3 { font-size: 1.15rem; margin-bottom: .4em; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Područje */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.area__box { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 40px); }
.area__box h3 { font-size: 1.1rem; margin: 1.6em 0 .8em; }
.area__box h3:first-of-type { margin-top: 0; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: .45em .95em; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 420px; background: #dcd8cf; position: relative; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 0 24px; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-weight: 600; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; translate: 0 -50%;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg); font-size: 1.3rem; font-weight: 400; transition: rotate .25s, background .25s;
}
.faq details[open] summary::after { rotate: 45deg; background: var(--accent); color: #fff; }
.faq details p { color: var(--muted); margin: 0 0 22px; }

/* Kontakt */
.contact { background: var(--ink); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 6vw, 72px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 400px at 0% 100%, rgba(255,91,20,.3), transparent 60%); }
.contact .tag { color: rgba(255,255,255,.7); }
.contact__lead { color: rgba(255,255,255,.7); }
.contact__phone { display: inline-block; font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; text-decoration: none; margin: .4em 0 .6em; }
.contact__phone:hover { color: var(--accent); }
.contact__rows { display: grid; gap: 14px; margin-top: 24px; }
.contact__row { display: flex; gap: 14px; align-items: center; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.12); }
.contact__row .ico { color: var(--accent); }
.contact__row small { display: block; color: rgba(255,255,255,.5); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.contact__row a { color: #fff; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.btn--viber { background: #7360f2; }
.btn--viber:hover { background: #5e4bd8; box-shadow: none; }
.btn--wa { background: #25d366; color: #06301a; }
.btn--wa:hover { background: #1fb457; box-shadow: none; }

.form { background: #fff; color: var(--ink); border-radius: var(--r); padding: clamp(22px, 3.5vw, 34px); align-self: start; }
.form h3 { margin-bottom: .2em; }
.form > p { color: var(--muted); font-size: .95rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__field { display: grid; gap: 6px; }
.form__field--full { grid-column: 1 / -1; }
.form label { font-weight: 600; font-size: .88rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 13px 15px; border-radius: 12px;
  border: 1px solid var(--line); background: #faf9f6; color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,91,20,.15); }
.form .is-invalid { border-color: #dc2626; }
.form .btn { margin-top: 18px; }
.form__note { font-size: .88rem; color: var(--muted); margin: 12px 0 0; min-height: 1.3em; }

/* Footer */
.footer { padding: 70px 0 110px; font-size: .95rem; color: var(--muted); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.footer h4 { font-family: var(--body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink); margin-bottom: 1.2em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--accent); }
.footer address { font-style: normal; margin-top: 1em; line-height: 1.8; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; font-size: .88rem; }

/* Mobilna traka za poziv */
.mobile-bar { display: none; }

/* ---------- Stranice usluga ---------- */
.crumbs { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: 1.6em; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero .hero__panel { grid-template-columns: 1.3fr .7fr; }
.page-hero h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); }
.page-hero__icon { justify-self: end; width: clamp(140px, 18vw, 230px); aspect-ratio: 1; border-radius: 40px; display: grid; place-items: center; transform: rotate(-6deg); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.page-hero__icon .ico { width: 50%; height: 50%; stroke-width: 1.4; }
.theme-tile .page-hero__icon { background: var(--tile); color: #fff; }
.theme-volt .page-hero__icon { background: var(--volt); color: var(--ink); }
.theme-water .page-hero__icon { background: var(--water); color: #fff; }
.theme-bath .page-hero__icon { background: #fff; color: var(--ink); }

.layout { display: grid; grid-template-columns: 1fr 360px; gap: clamp(30px, 5vw, 70px); align-items: start; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #3c3f45; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose strong { color: var(--ink); }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; padding: 0; list-style: none; }
.svc-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 18px 18px 18px 50px; position: relative; color: var(--ink); }
.svc-grid li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 18px; height: 18px; border-radius: 6px; background: var(--accent); }
.theme-volt .svc-grid li::before { background: var(--volt); }
.theme-water .svc-grid li::before { background: var(--water); }
.svc-grid strong { display: block; font-size: 1rem; }
.svc-grid span { font-size: .9rem; color: var(--muted); }

.aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.aside-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.aside-card--dark { background: var(--ink); color: #fff; border: 0; }
.aside-card--dark p { color: rgba(255,255,255,.7); font-size: .95rem; }
.aside-card h3 { font-size: 1.3rem; }
.aside-card .btn + .btn { margin-top: 10px; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.aside-card ul a { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; }
.aside-card ul a:hover { color: var(--accent); }

.cta-band { background: var(--accent); color: #fff; border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 16em; }
.cta-band .btn { background: var(--ink); }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .aside { position: static; }
}
@media (max-width: 960px) {
  .hero__panel, .page-hero .hero__panel { grid-template-columns: 1fr; }
  .page-hero__icon { display: none; }
  .services { grid-template-columns: 1fr; }
  .svc__icon { margin-bottom: 30px; }
  .svc-wide, .compare, .area, .contact { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; border-radius: 24px; padding: 12px; box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a:not(.btn) { padding: 14px 16px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; }
  .header__bar { position: relative; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    padding: 8px; border-radius: 22px; background: rgba(14,15,18,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  }
  .mobile-bar .btn { padding: .85em 1em; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .brand__sub { display: none; }
  .features, .steps, .svc-grid, .form__grid, .footer__grid { grid-template-columns: 1fr; }
  .gallery { grid-auto-rows: 180px; }
  .gallery .h2 { grid-row: span 1; }
  .gallery figcaption b { display: none; }
  .bento__card--tile { min-height: 260px; }
  .hero__panel { border-radius: 24px; }
  .hero__cta .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .mini-tiles span { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
