/* Aqua Garden — glavni stil */
:root {
  --green-950: #062a18;
  --green-900: #0a3a22;
  --green-800: #0d4f2e;
  --green-700: #0e7a3b;
  --green: #0e9a48;
  --green-300: #8fd3a8;
  --green-100: #e6f4ea;
  --sky: #66c7e8;
  --sky-700: #1d8db5;
  --sky-100: #e5f5fb;
  --ink: #15241c;
  --muted: #5a6b61;
  --line: #e3e6df;
  --bg: #fbfaf6;
  --sand: #f3efe5;
  --white: #fff;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px -12px rgba(10, 58, 34, .25);
  --shadow-lg: 0 30px 60px -20px rgba(10, 58, 34, .35);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration: none; }
a:hover { color: var(--green); }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
  color: var(--green-950);
}
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.lead { font-size: 1.18rem; color: var(--muted); max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.section-head.center .eyebrow { justify-content: center; }

/* Dugmad */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  font-family: var(--sans);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 10px 24px -10px rgba(14, 154, 72, .7); }
.btn-primary:hover { background: var(--green-700); color: #fff; }
.btn-light { background: #fff; color: var(--green-900); }
.btn-light:hover { color: var(--green); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-outline { border-color: var(--green); color: var(--green-700); }
.btn-outline:hover { background: var(--green); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  background: rgba(251, 250, 246, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -14px rgba(0, 0, 0, .25); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand img { height: 46px; width: auto; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .dd > button {
  font: 600 .95rem var(--sans);
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 999px;
  background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .nav .dd > button:hover, .nav > a.active { color: var(--green-700); background: var(--green-100); }
.nav .smart-link { color: var(--sky-700); }
.nav .smart-link::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(102, 199, 232, .25); }
.dd { position: relative; }
.dd > button svg { width: 14px; height: 14px; transition: transform .2s; }
.dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translate(-50%, 8px);
  width: 360px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.dd:hover .dd-menu, .dd.open .dd-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dd:hover > button svg, .dd.open > button svg { transform: rotate(180deg); }
.dd-menu::before { content: ""; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dd-menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--ink);
  font-weight: 500; font-size: .95rem; line-height: 1.3;
}
.dd-menu a:hover { background: var(--green-100); color: var(--green-800); }
.ico {
  display: inline-block; width: 26px; height: 26px; flex: none;
  background: var(--green);
  -webkit-mask: var(--i) center / contain no-repeat;
  mask: var(--i) center / contain no-repeat;
}
.dd-menu .ico-box { width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); display: grid; place-items: center; flex: none; }
.dd-menu .ico-box .ico { width: 22px; height: 22px; }
.header-cta { margin-left: 8px; padding: 11px 20px; }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; position: relative; }
.burger span, .burger span::before, .burger span::after {
  position: absolute; left: 50%; top: 50%; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transform: translate(-50%, -50%); transition: transform .25s, background .25s;
}
.burger span::before, .burger span::after { content: ""; }
.burger span::before { transform: translate(-50%, -7px); }
.burger span::after { transform: translate(-50%, 5px); }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translate(-50%, -1px) rotate(45deg); }
.nav-open .burger span::after { transform: translate(-50%, -1px) rotate(-45deg); }

/* Hero (pocetna) */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 60px) 0 90px;
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(6, 42, 24, .25) 0%, rgba(6, 42, 24, 0) 30%),
    linear-gradient(90deg, rgba(6, 42, 24, .85) 0%, rgba(6, 42, 24, .55) 45%, rgba(6, 42, 24, .05) 80%);
}
.hero .wrap { display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: end; }
.hero h1 { color: #fff; max-width: 720px; }
.hero h1 em { font-style: italic; color: var(--sky); font-weight: 500; }
.hero .lead { color: rgba(255, 255, 255, .86); max-width: 560px; }
.hero .eyebrow { color: var(--sky); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-card {
  justify-self: end;
  width: 100%; max-width: 330px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 22px;
  padding: 20px;
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero-card .hc-top { display: flex; align-items: center; justify-content: space-between; font-size: .82rem; opacity: .9; margin-bottom: 14px; }
.hero-card .live { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.hero-card .live::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #5ef08f; box-shadow: 0 0 0 0 rgba(94, 240, 143, .7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(94, 240, 143, 0); } 100% { box-shadow: 0 0 0 0 rgba(94, 240, 143, 0); } }
.hc-zone { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .18); }
.hc-zone b { display: block; font-size: .95rem; }
.hc-zone small { opacity: .75; font-size: .8rem; }
.hc-dot { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: rgba(102, 199, 232, .3); flex: none; }
.hc-dot svg { width: 18px; height: 18px; }
.hc-bar { margin-left: auto; width: 70px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .2); overflow: hidden; }
.hc-bar i { display: block; height: 100%; background: var(--sky); border-radius: 6px; }
.hero-card .btn { width: 100%; margin-top: 12px; padding: 11px; }

/* Traka prednosti */
.strip { background: var(--green-900); color: #fff; padding: 26px 0; }
.strip .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.strip-item { display: flex; align-items: center; gap: 14px; font-weight: 500; font-size: .98rem; line-height: 1.35; }
.strip-item svg { width: 34px; height: 34px; flex: none; color: var(--sky); }

/* Kartice usluga */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  color: var(--ink);
  transition: transform .3s ease, box-shadow .3s ease;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--ink); }
.svc-img { aspect-ratio: 16 / 10; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc:hover .svc-img img { transform: scale(1.06); }
.svc-body { padding: 30px 26px 26px; position: relative; flex: 1; display: flex; flex-direction: column; }
.svc-badge {
  position: absolute; top: -28px; left: 24px;
  width: 56px; height: 56px; border-radius: 16px;
  background: #fff; display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.svc-badge .ico { width: 30px; height: 30px; }
.svc h3 { margin-top: 8px; }
.svc p { color: var(--muted); font-size: .98rem; flex: 1; }
.more { font-weight: 600; color: var(--green-700); display: inline-flex; align-items: center; gap: 8px; }
.more svg { width: 16px; height: 16px; transition: transform .2s; }
.svc:hover .more svg, a.more:hover svg { transform: translateX(4px); }

/* Smart teaser */
.smart-teaser {
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(102, 199, 232, .22), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(14, 154, 72, .35), transparent 60%),
    var(--green-950);
  color: #fff;
  overflow: hidden;
}
.smart-teaser .wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.smart-teaser h2 { color: #fff; }
.smart-teaser h2 em { color: var(--sky); font-style: italic; font-weight: 500; }
.smart-teaser .lead { color: rgba(255, 255, 255, .78); }
.smart-teaser .eyebrow { color: var(--sky); }
.feat-list { list-style: none; padding: 0; margin: 28px 0 34px; display: grid; gap: 16px; }
.feat-list li { display: flex; gap: 14px; align-items: flex-start; }
.feat-list .fi { width: 40px; height: 40px; border-radius: 12px; background: rgba(102, 199, 232, .15); display: grid; place-items: center; flex: none; color: var(--sky); }
.feat-list .fi svg { width: 20px; height: 20px; }
.feat-list b { display: block; color: #fff; }
.feat-list span { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.device {
  position: relative;
  border-radius: 28px;
  background: #0f1d16;
  padding: 14px;
  box-shadow: 0 50px 90px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transform: perspective(1400px) rotateY(-8deg) rotateX(4deg);
  transition: transform .6s ease;
}
.device:hover { transform: perspective(1400px) rotateY(0) rotateX(0); }
.device img { border-radius: 18px; width: 100%; }
.device-pill {
  position: absolute; left: -28px; bottom: 40px;
  background: #fff; color: var(--ink);
  border-radius: 16px; padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  font-size: .9rem; line-height: 1.3;
}
.device-pill b { display: block; color: var(--green-800); }
.device-pill .dp-ico { width: 38px; height: 38px; border-radius: 12px; background: var(--sky-100); color: var(--sky-700); display: grid; place-items: center; }
.device-pill .dp-ico svg { width: 20px; height: 20px; }
.device-pill.top { left: auto; right: -22px; top: 30px; bottom: auto; }
.device-pill.top .dp-ico { background: var(--green-100); color: var(--green); }

/* Proces */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; position: relative;
}
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
  color: var(--green-100);
  -webkit-text-stroke: 1.5px var(--green);
  display: block; line-height: 1; margin-bottom: 18px;
}
.step h3 { font-size: 1.18rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* Zasto mi */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.why-img { position: relative; }
.why-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.why-img img.small {
  position: absolute; right: -30px; bottom: -30px; width: 46%; aspect-ratio: 1;
  border: 8px solid var(--bg); border-radius: 22px;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 30px; }
.why-item h4 { font-family: var(--sans); font-size: 1.02rem; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.why-item h4 svg { width: 22px; height: 22px; color: var(--green); flex: none; }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Galerija */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 14px; grid-auto-flow: dense; }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; position: relative; }
.gallery figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px;
}
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* Kontakt */
.contact { background: var(--sand); }
.contact-box {
  display: grid; grid-template-columns: .9fr 1.1fr;
  background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.contact-info {
  background: linear-gradient(160deg, var(--green-800), var(--green-950));
  color: #fff; padding: 50px 44px;
  position: relative; overflow: hidden;
}
.contact-info::after {
  content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 199, 232, .35), transparent 70%);
}
.contact-info h2 { color: #fff; }
.contact-info p { color: rgba(255, 255, 255, .78); }
.c-line { display: flex; align-items: center; gap: 16px; margin-top: 22px; color: #fff; font-weight: 600; font-size: 1.08rem; position: relative; z-index: 1; }
.c-line:hover { color: var(--sky); }
.c-line .c-ico { width: 50px; height: 50px; border-radius: 16px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; flex: none; }
.c-line .c-ico svg { width: 22px; height: 22px; color: var(--sky); }
.c-line small { display: block; font-weight: 500; font-size: .8rem; color: rgba(255, 255, 255, .6); letter-spacing: .04em; text-transform: uppercase; }
.contact-form { padding: 50px 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-content: start; }
.contact-form h3 { grid-column: 1 / -1; margin-bottom: 4px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem;
  padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: 12px;
  background: var(--bg); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 4px rgba(14, 154, 72, .12); background: #fff; }
.form-note { grid-column: 1 / -1; font-size: .84rem; color: var(--muted); margin: 0; }
.contact-form .btn { grid-column: 1 / -1; justify-self: start; }

/* Footer */
.site-footer { background: var(--green-950); color: rgba(255, 255, 255, .72); padding: 70px 0 30px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 52px; width: auto; filter: brightness(0) invert(1); opacity: .95; margin-bottom: 18px; }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .78); }
.site-footer a:hover { color: var(--sky); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .85rem; color: rgba(255, 255, 255, .5); }
.footer-bottom a { color: rgba(255, 255, 255, .6); }

/* Stranica usluge */
.page-hero {
  position: relative;
  padding: calc(var(--header-h) + 90px) 0 80px;
  color: #fff; overflow: hidden; min-height: 520px; display: flex; align-items: flex-end;
}
.page-hero .hero-bg img { animation: none; transform: none; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(6, 42, 24, .9) 0%, rgba(6, 42, 24, .45) 55%, rgba(6, 42, 24, .3) 100%);
}
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.6vw, 3.8rem); max-width: 860px; }
.page-hero .lead { color: rgba(255, 255, 255, .85); max-width: 700px; }
.crumbs { font-size: .88rem; margin-bottom: 18px; color: rgba(255, 255, 255, .75); display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.crumbs a { color: rgba(255, 255, 255, .9); }
.crumbs a:hover { color: var(--sky); }
.page-hero .hero-ico { width: 64px; height: 64px; border-radius: 20px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; margin-bottom: 20px; backdrop-filter: blur(8px); }
.page-hero .hero-ico .ico { width: 34px; height: 34px; background: #fff; }

.intro-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; }
.intro-grid .prose p { font-size: 1.08rem; color: #34453b; }
.aside-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; position: sticky; top: calc(var(--header-h) + 24px);
  box-shadow: var(--shadow);
}
.aside-card h3 { font-size: 1.2rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.aside-card li { display: flex; gap: 10px; color: #34453b; font-size: .97rem; line-height: 1.45; }
.aside-card li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 1px; }
.aside-card .btn { width: 100%; }
.aside-card .phone { display: block; text-align: center; margin-top: 12px; font-weight: 600; }

.includes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: border-color .2s, transform .2s;
}
.inc:hover { border-color: var(--green-300); transform: translateY(-3px); }
.inc .inc-ico { width: 46px; height: 46px; border-radius: 14px; background: var(--green-100); color: var(--green); display: grid; place-items: center; margin-bottom: 16px; }
.inc .inc-ico svg { width: 22px; height: 22px; }
.inc h3 { font-family: var(--sans); font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.inc p { color: var(--muted); font-size: .95rem; margin: 0; }

.band { background: var(--sand); }
.photo-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.photo-row img { width: 100%; height: 340px; object-fit: cover; border-radius: var(--radius); }

.tip {
  display: grid; grid-template-columns: auto 1fr; gap: 22px; align-items: start;
  background: var(--sky-100); border: 1px solid #c7e9f5; border-radius: var(--radius);
  padding: 28px 30px; margin-top: 40px;
}
.tip .tip-ico { width: 52px; height: 52px; border-radius: 16px; background: #fff; color: var(--sky-700); display: grid; place-items: center; }
.tip .tip-ico svg { width: 26px; height: 26px; }
.tip h3 { font-size: 1.15rem; margin-bottom: 6px; }
.tip p { margin: 0; color: #2d4a57; }
.tip a { font-weight: 600; color: var(--sky-700); }

.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--green-300); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 1.04rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--green); transition: transform .2s; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px; color: var(--ink); transition: box-shadow .2s, transform .2s;
}
.rel:hover { box-shadow: var(--shadow); transform: translateY(-3px); color: var(--ink); }
.rel img { width: 86px; height: 86px; border-radius: 12px; object-fit: cover; flex: none; }
.rel b { display: block; font-size: 1rem; line-height: 1.3; margin-bottom: 4px; }
.rel span { font-size: .88rem; color: var(--green-700); font-weight: 600; }

.cta-band {
  background: linear-gradient(120deg, var(--green-700), var(--green-900));
  color: #fff; border-radius: 26px; padding: 54px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(102, 199, 232, .4), transparent 70%); }
.cta-band h2 { color: #fff; margin: 0 0 8px; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .8); }
.cta-band .btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; z-index: 1; }

/* Animacija pojavljivanja */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg img { animation: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .smart-teaser .wrap { grid-template-columns: 1fr; }
  .device { transform: none; max-width: 720px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .includes { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
  .burger { display: block; }
  .header-cta { display: none; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 18px 20px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-open .nav { transform: none; }
  .nav > a, .nav .dd > button { font-size: 1.08rem; padding: 14px 16px; width: 100%; justify-content: space-between; border-radius: 12px; }
  .nav .smart-link { justify-content: flex-start; }
  .dd-menu { position: static; width: auto; transform: none; opacity: 1; visibility: visible; box-shadow: none; border: 0; padding: 0 0 0 8px; display: none; background: transparent; }
  .dd.open .dd-menu { display: block; transform: none; }
  .dd:hover .dd-menu { transform: none; }
  .nav .mobile-cta { display: flex; margin-top: 18px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-card { justify-self: start; }
  .strip .wrap { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .why-img { max-width: 520px; }
  .contact-box { grid-template-columns: 1fr; }
  .intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .aside-card { position: static; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row img:first-child { grid-column: 1 / -1; }
  .photo-row img { height: 240px; }
}
@media (min-width: 961px) { .nav .mobile-cta { display: none; } }
@media (max-width: 640px) {
  body { font-size: 16px; }
  :root { --header-h: 68px; }
  .wrap { padding: 0 16px; }
  section { padding: 70px 0; }
  .brand img { height: 38px; }
  .hero { min-height: auto; padding-bottom: 60px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .services, .steps, .includes { grid-template-columns: 1fr; }
  .strip .wrap { grid-template-columns: 1fr; gap: 14px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-img img.small { right: -8px; bottom: -20px; }
  .contact-info, .contact-form { padding: 34px 22px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 34px 24px; }
  .cta-band .btns .btn { flex: 1 1 100%; }
  .device-pill { left: 8px; bottom: -18px; font-size: .82rem; }
  .device-pill.top { right: 8px; top: -18px; }
  .gallery { grid-auto-rows: 140px; gap: 10px; }
  .tip { grid-template-columns: 1fr; padding: 24px; }
  .page-hero { min-height: 440px; padding-bottom: 50px; }
}

/* Jednostavno zaglavlje (404) */
.smart-hero {
  padding: calc(var(--header-h) + 64px) 0 60px;
  display: flex; align-items: center;
  background:
    radial-gradient(800px 380px at 90% 0%, rgba(102, 199, 232, .22), transparent 60%),
    radial-gradient(700px 380px at 0% 0%, rgba(14, 154, 72, .14), transparent 60%),
    var(--bg);
}

/* Lista sa kvacicama (Smart Dvoriste) */
.aside-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.aside-list li { display: flex; gap: 10px; color: #34453b; line-height: 1.45; }
.aside-list li svg { width: 20px; height: 20px; color: var(--green); flex: none; margin-top: 2px; }
.why .device { transform: none; }

/* Smart Dvoriste: ilustracija preko cele sirine, tekst ispod */
.why.smart-show { grid-template-columns: 1fr; gap: 48px; }
.smart-show .device { max-width: 1100px; margin: 0 auto; border-radius: 34px; padding: 16px; }
.smart-show .device img { border-radius: 20px; }
.smart-show > div:last-child { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; align-items: start; }
.smart-show > div:last-child > .eyebrow, .smart-show > div:last-child > h2 { grid-column: 1 / -1; }
.smart-show .aside-list { margin-top: 0; grid-row: 3 / span 2; grid-column: 2; }
@media (max-width: 860px) {
  .smart-show > div:last-child { grid-template-columns: 1fr; }
  .smart-show .aside-list { grid-row: auto; grid-column: auto; margin-top: 12px; }
  .smart-show .device { padding: 8px; border-radius: 18px; }
  .smart-show .device img { border-radius: 12px; }
}
