/* Komunalio naslovnica v3 (listopad 2026.) - princip Apple product stranica.
   Učitava se nakon site.css (zaglavlje, podnožje, plans-table i codebox ostaju iz site.css).
   Sve nove klase imaju prefiks k- da se ne sudaraju s postojećim stilovima podstranica. */
:root {
  --k-ink: #0b1220; --k-navy: #111927; --k-text: #1d1d1f; --k-text-2: #5b6577; --k-text-3: #86868b;
  --k-paper: #fff; --k-paper-2: #f5f5f7; --k-line: #e3e6ee; --k-blue: #2f6bff; --k-blue-2: #1f58e6; --k-black: #0b0f17;
  --k-on-dark: #f5f5f7; --k-on-dark-2: #a1a1a6; --k-radius: 20px; --k-radius-lg: 28px; --k-pill: 999px;
  --k-wrap: 1180px; --k-narrow: 820px; --k-gutter: 24px; --k-sec: clamp(96px, 11vw, 160px);
  --k-shadow: 0 30px 60px -30px rgba(11,18,32,.35), 0 10px 24px -14px rgba(11,18,32,.18);
}
html { scroll-padding-top: 64px; }
body { color: var(--k-text); }
.site-header { background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.06); }
.site-header__in { height: 56px; }
.header-actions .btn--primary, .mobile-nav .btn--primary { border-radius: var(--k-pill); background: var(--k-navy); }
.header-actions .btn--primary:hover { background: #1c2739; }
.header-actions .btn--ghost { border-radius: var(--k-pill); }

.k-wrap { width: 100%; max-width: calc(var(--k-wrap) + 2 * var(--k-gutter)); margin: 0 auto; padding: 0 var(--k-gutter); }
.k-section { padding: var(--k-sec) 0; }
.k-section--grey { background: var(--k-paper-2); }
.k-section--dark { background: var(--k-black); color: var(--k-on-dark); }
.k-section--dark h2, .k-section--dark h3, .k-section--dark h4 { color: #fff; }
.k-section--dark p { color: var(--k-on-dark-2); }
.k-section--dark .k-muted { color: #6e6e73; }
.k-section--dark a { color: #8fb0ff; }
.k-muted { color: var(--k-text-3); display: block; }
.k-center { text-align: center; }
.k-chapter { text-align: center; max-width: 900px; margin: 0 auto clamp(48px, 6vw, 80px); }
.k-chapter .k-eyebrow { display: block; font-family: var(--font-body); font-size: 15px; font-weight: 600; letter-spacing: .02em; color: var(--k-blue); margin-bottom: 16px; }
.k-section--dark .k-chapter .k-eyebrow { color: #8fb0ff; }
.k-chapter h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5.2vw, 72px); line-height: 1.02; letter-spacing: -0.03em; color: var(--k-ink); }
.k-chapter p { margin: 22px auto 0; font-size: clamp(19px, 1.6vw, 23px); line-height: 1.4; color: var(--k-text-2); max-width: 720px; }

.k-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border-radius: var(--k-pill); border: 1px solid transparent; font-family: var(--font-body); font-weight: 600; font-size: 16px; line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.k-btn:hover { text-decoration: none; }
.k-btn--primary { background: var(--k-navy); color: #fff; }
.k-btn--primary:hover { background: #1c2739; }
.k-btn--blue { background: var(--k-blue); color: #fff; }
.k-btn--blue:hover { background: var(--k-blue-2); }
.k-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.k-btn--outline-light:hover { border-color: #fff; }
.k-btn--lg { min-height: 52px; padding: 0 28px; font-size: 17px; }
.k-btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: center; }
.k-more { font-weight: 600; color: var(--k-blue); white-space: nowrap; }
.k-more::after { content: " ›"; }

.k-hero { background: var(--k-paper-2); padding: clamp(72px, 9vw, 130px) 0 0; overflow: hidden; text-align: center; }
.k-hero .k-eyebrow { display: inline-flex; justify-content: center; margin-bottom: 22px; }
.k-hero .k-eyebrow img { height: 26px; width: auto; }
.k-hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(46px, 6.6vw, 96px); line-height: 1.0; letter-spacing: -0.035em; max-width: 14ch; margin: 0 auto; color: var(--k-ink); }
.k-hero h1 span { display: block; }
.k-hero .k-lead { margin: 26px auto 0; max-width: 680px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.4; color: var(--k-text-2); }
.k-hero .k-btn-row { margin-top: 32px; }
.k-hero__note { margin-top: 18px; font-size: 14px; color: var(--k-text-3); }
.k-hero__shot { max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; padding: 0 var(--k-gutter); }
.k-hero__shot img { border-radius: var(--k-radius) var(--k-radius) 0 0; box-shadow: var(--k-shadow); border: 1px solid rgba(0,0,0,.06); border-bottom: 0; }

.k-shot { margin: 0; }
.k-shot img { width: 100%; height: auto; border-radius: var(--k-radius); box-shadow: var(--k-shadow); border: 1px solid rgba(0,0,0,.06); background: #fff; }
.k-section--dark .k-shot img { border-color: rgba(255,255,255,.1); }
.k-crop { --iw: 1600; --ih: 1000; position: relative; overflow: hidden; aspect-ratio: var(--cw) / var(--ch); background: #fff; border-radius: 16px; border: 1px solid rgba(0,0,0,.06); margin: 0; box-shadow: var(--k-shadow); }
.k-crop img { position: absolute; left: 0; top: 0; max-width: none; width: calc(var(--iw) / var(--cw) * 100%); height: auto; transform: translate(calc(var(--cx) / var(--iw) * -100%), calc(var(--cy) / var(--ih) * -100%)); }
.k-phone { width: 100%; max-width: 300px; margin: 0 auto; background: #fff; padding: 8px; border: 1px solid var(--k-line); border-radius: 34px; box-shadow: var(--k-shadow); }
.k-phone img { border-radius: 26px; width: 100%; height: auto; }

.k-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.k-tiles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.k-tile { background: var(--k-paper-2); border-radius: var(--k-radius-lg); padding: 34px 32px 36px; min-width: 0; display: flex; flex-direction: column; }
.k-section--grey .k-tile { background: #fff; }
.k-section--dark .k-tile { background: #1c1c1e; }
.k-tile .k-eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--k-blue); margin-bottom: 14px; }
.k-section--dark .k-tile .k-eyebrow { color: #8fb0ff; }
.k-tile h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.025em; line-height: 1.1; color: var(--k-ink); }
.k-tile p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--k-text-2); }
.k-tile .k-num { font-family: var(--font-head); font-weight: 700; font-size: 44px; letter-spacing: -0.04em; line-height: 1; color: var(--k-blue); margin-bottom: 18px; }
.k-tile--stat { justify-content: center; }
.k-tile--stat strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -0.04em; line-height: 1; background: linear-gradient(135deg, #9fc0ff, #2f6bff 55%, #1f58e6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.k-tile--stat span { margin-top: 12px; font-size: 16px; color: var(--k-text-2); }
.k-section--dark .k-tile--stat span { color: var(--k-on-dark-2); }
.k-kpis { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 18px; }
.k-kpis li { background: #1c1c1e; border-radius: 18px; padding: 20px 20px 22px; font-size: 15px; color: #fff; font-weight: 600; }
.k-kpis li span { display: block; margin-top: 4px; font-weight: 400; color: var(--k-on-dark-2); font-size: 14px; line-height: 1.45; }

.k-feature { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(56px, 7vw, 110px) 0; }
.k-feature > * { min-width: 0; }
.k-feature + .k-feature { border-top: 1px solid var(--k-line); }
.k-feature:first-of-type { padding-top: 0; }
.k-feature:last-of-type { padding-bottom: 0; }
.k-feature--flip .k-feature__copy { order: 2; }
.k-feature--flip .k-feature__visual { order: 1; }
.k-feature__copy .k-eyebrow { display: block; font-size: 14px; font-weight: 600; color: var(--k-blue); margin-bottom: 14px; }
.k-feature__copy h3 { font-family: var(--font-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.04; letter-spacing: -0.03em; color: var(--k-ink); }
.k-feature__copy > p { margin-top: 18px; font-size: 19px; line-height: 1.45; color: var(--k-text-2); }
.k-lines { list-style: none; margin-top: 26px; padding: 0; }
.k-lines li { padding: 12px 0; border-top: 1px solid var(--k-line); font-size: 16px; line-height: 1.5; color: var(--k-text); }
.k-lines li:last-child { border-bottom: 1px solid var(--k-line); }
.k-caption { margin-top: 14px; font-size: 14px; color: var(--k-text-3); text-align: center; }
.k-stack { position: relative; padding-bottom: 9%; }
.k-stack .k-front { position: absolute; right: -2%; bottom: 0; width: 58%; z-index: 2; }
.k-stack--phone { padding: 0 0 0 10%; }
.k-stack--phone .k-front { left: 0; right: auto; bottom: -4%; width: 30%; }
.k-stack--phone .k-phone { max-width: none; }
.k-phones { display: flex; justify-content: center; align-items: flex-end; gap: 6%; }
.k-phones .k-phone { width: 42%; margin: 0; }
.k-phones .k-phone:first-child { margin-bottom: 8%; }

.k-showcase { position: relative; max-width: 1180px; margin: clamp(48px, 6vw, 80px) auto 0; }
.k-marker { position: absolute; z-index: 3; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--k-blue); color: #fff; border: 2px solid #fff; box-shadow: 0 4px 12px rgba(11,18,32,.3); display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 14px; font-weight: 700; }
.k-legend { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 36px auto 0; max-width: 1180px; list-style: none; padding: 0; }
.k-legend li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: start; font-size: 15px; line-height: 1.5; color: var(--k-text-2); }
.k-legend .k-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--k-blue); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 14px; }
.k-legend b { display: block; color: var(--k-ink); font-weight: 600; margin-bottom: 2px; }

.k-facts { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 0; }
.k-facts li { background: #fff; border-radius: var(--k-radius); padding: 28px 30px; }
.k-facts b { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; color: var(--k-ink); margin-bottom: 8px; }
.k-facts p { font-size: 15px; line-height: 1.55; color: var(--k-text-2); }
.k-integ { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.k-integ > * { min-width: 0; }
.k-plans-note { margin-top: 24px; color: var(--k-text-2); font-size: 16px; max-width: 760px; }
.k-plans-note + .k-plans-note { margin-top: 10px; }
.k-faq { max-width: var(--k-narrow); margin: 0 auto; }
.k-faq details { border-bottom: 1px solid var(--k-line); }
.k-faq details:first-child { border-top: 1px solid var(--k-line); }
.k-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -0.015em; color: var(--k-ink); }
.k-faq summary::-webkit-details-marker { display: none; }
.k-faq summary::after { content: "+"; flex: none; font-size: 26px; font-weight: 300; color: var(--k-text-3); transition: transform .2s; }
.k-faq details[open] summary::after { transform: rotate(45deg); }
.k-faq details p { padding: 0 0 26px; color: var(--k-text-2); font-size: 17px; line-height: 1.55; max-width: 680px; }
.k-cta { text-align: center; }
.k-cta h2 { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5.6vw, 76px); letter-spacing: -0.03em; line-height: 1.02; max-width: 16ch; margin: 0 auto; }
.k-cta p { margin: 24px auto 0; max-width: 640px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; }
.k-cta .k-btn-row { margin-top: 34px; }
.k-contacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; max-width: 980px; margin: 56px auto 0; text-align: left; }
.k-contacts > div { border: 1px solid rgba(255,255,255,.14); border-radius: var(--k-radius); padding: 22px 24px; }
.k-contacts small { display: block; font-size: 13px; color: var(--k-on-dark-2); margin-bottom: 6px; }
.k-contacts strong { display: block; font-family: var(--font-head); font-size: 20px; letter-spacing: -0.02em; color: #fff; }
.k-contacts a { color: #fff; }
.k-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.k-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .k-reveal { opacity: 1 !important; transform: none !important; } }

@media (max-width: 1100px) { .k-tiles--4, .k-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 960px) {
  .k-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .k-feature { grid-template-columns: 1fr; gap: 36px; }
  .k-feature--flip .k-feature__copy { order: 1; } .k-feature--flip .k-feature__visual { order: 2; }
  .k-legend, .k-facts, .k-integ, .k-contacts { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  :root { --k-gutter: 18px; --k-sec: 72px; --k-radius-lg: 22px; }
  .k-hero h1 { font-size: clamp(40px, 11.5vw, 52px); } .k-hero .k-lead { font-size: 18px; }
  .k-hero .k-btn-row .k-btn { width: 100%; }
  .k-btn { white-space: normal; text-align: center; padding-top: 10px; padding-bottom: 10px; }
  .k-chapter h2 { font-size: clamp(32px, 9vw, 40px); } .k-chapter p { font-size: 17px; }
  .k-tiles, .k-tiles--2, .k-tiles--4, .k-kpis { grid-template-columns: 1fr; }
  .k-tile { padding: 26px 22px 28px; }
  .k-feature { padding: 48px 0; } .k-feature__copy h3 { font-size: 30px; }
  .k-stack, .k-stack--phone { padding: 0; }
  .k-stack .k-front, .k-stack--phone .k-front { position: static; width: 100%; margin-top: 16px; }
  .k-stack--phone .k-phone { max-width: 220px; }
  .k-phones { gap: 12px; } .k-phones .k-phone { width: 48%; } .k-phones .k-phone:first-child { margin-bottom: 0; }
  .k-marker { width: 28px; height: 28px; font-size: 12px; }
  .k-cta h2 { font-size: 36px; }
}
/* gumbi u tamnim sekcijama: boja gumba ima prednost pred bojom linkova */
.k-section--dark .k-btn--blue, .k-section--dark .k-btn--primary, .k-section--dark .k-btn--outline-light { color: #fff; }
/* podstranice: naslov stranice */
.k-page-hero { background: var(--k-paper-2); padding: clamp(64px, 8vw, 110px) 0 clamp(40px, 5vw, 64px); text-align: center; }
.k-page-hero h1 { font-family: var(--font-head); font-weight: 700; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; max-width: 16ch; margin: 0 auto; color: var(--k-ink); }
.k-page-hero .k-lead { margin: 22px auto 0; max-width: 680px; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.45; color: var(--k-text-2); }
.k-page-hero + .k-section { padding-top: clamp(64px, 8vw, 110px); }
/* tamne sekcije: naslovi uvijek bijeli */
.k-section--dark .k-chapter h2, .k-section--dark .k-tile h3, .k-section--dark .k-feature__copy h3, .k-section--dark .k-cta h2 { color: #fff; }
.k-section--dark .k-tile p, .k-section--dark .k-chapter p { color: var(--k-on-dark-2); }
.k-page-hero h1 .k-muted { display: block; }
.k-page-hero h1 { max-width: 20ch; }
