/* Kontakt, usluge, paketi, reference (prefiks ct-) */
.ct-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.ct-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.ct-card h2 { margin-top: 0; font-size: 1.2rem; }
.ct-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .9rem; }
.ct-list li { display: grid; gap: .1rem; }
.ct-list strong { font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.ct-steps { padding-left: 1.2rem; display: grid; gap: .6rem; }
.ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ct-map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--brand-soft); }
.ct-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.ct-crumb { margin: 0 0 .3rem; font-size: .9rem; }
.ct-links { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.ct-links a { display: inline-block; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-size: .92rem; }
.ct-links a:hover { background: var(--brand-soft); }
.ct-ports { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.ct-port { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
a.ct-port:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ct-port img, .ct-port-ph { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; background: var(--brand-soft); }
.ct-port-b { padding: 1rem 1.1rem 1.2rem; display: grid; gap: .25rem; }
.ct-port-b p { margin: .3rem 0 0; color: var(--muted); font-size: .92rem; }
@media (max-width: 800px) { .ct-grid { grid-template-columns: 1fr; } .ct-map iframe { height: 300px; } }
.ct-tr-state { margin: .6rem .2rem 0; min-height: 1.2em; color: var(--muted); font-size: .92rem; }
.prose { max-width: 70ch; line-height: 1.65; }
.prose h2, .prose h3 { margin: 1.4rem 0 .5rem; letter-spacing: -0.01em; }
.prose p { margin: 0 0 1rem; }
.prose ul { margin: 0 0 1rem; padding-left: 1.3rem; }

/* Dugme na vrh + chat */
.cw-dock { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90; display: flex; align-items: flex-end; gap: .6rem; flex-direction: row-reverse; }
.cw-fab, .cw-top { width: 3.2rem; height: 3.2rem; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.22); position: relative; transition: transform .15s; }
.cw-fab:hover, .cw-top:hover { transform: translateY(-2px); }
.cw-fab { background: var(--accent, #1c7c43); color: #fff; }
.cw-top { background: var(--surface, #fff); color: var(--ink, #111); border: 1px solid var(--line, #ddd); width: 2.7rem; height: 2.7rem; }
.cw-fab svg, .cw-top svg { width: 1.45rem; height: 1.45rem; }
.cw-dot { position: absolute; top: .15rem; right: .15rem; width: .8rem; height: .8rem; border-radius: 50%; background: #9aa3a0; border: 2px solid #fff; }
.cw-dot.on { background: #2ecc71; }
.cw-panel { position: absolute; right: 0; bottom: 4rem; width: 340px; max-width: calc(100vw - 2.2rem); background: var(--surface, #fff); color: var(--ink, #111); border: 1px solid var(--line, #ddd); border-radius: 16px; box-shadow: 0 14px 40px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; max-height: min(520px, calc(100vh - 6rem)); }
.cw-panel[hidden], .cw-top[hidden], .cw-panel [hidden] { display: none !important; }
.cw-head { display: flex; align-items: center; justify-content: space-between; padding: .8rem 1rem; background: var(--accent, #1c7c43); color: #fff; }
.cw-head > div { display: grid; }
.cw-state { font-size: .8rem; opacity: .9; }
.cw-state.on::before { content: ''; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: #2ecc71; margin-right: .35rem; }
.cw-x { background: none; border: 0; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.cw-log { padding: .8rem; overflow-y: auto; display: flex; flex-direction: column; gap: .5rem; min-height: 200px; flex: 1; }
.cw-m { max-width: 85%; padding: .5rem .75rem; border-radius: 12px; font-size: .93rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.cw-m small { display: block; font-size: .7rem; opacity: .6; margin-top: .15rem; }
.cw-m.me { align-self: flex-end; background: var(--accent, #1c7c43); color: #fff; }
.cw-m.them { align-self: flex-start; background: var(--brand-soft, #eef3ee); }
.cw-start { padding: .9rem; display: grid; gap: .55rem; overflow-y: auto; }
.cw-start input, .cw-start textarea, .cw-send input { width: 100%; box-sizing: border-box; }
.cw-hello { margin: 0; font-size: .93rem; color: var(--muted, #666); }
.cw-err { margin: 0; color: #b3261e; font-size: .85rem; min-height: 1em; }
.cw-send { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line, #ddd); }
.cw-send input { flex: 1; }
@media (max-width: 480px) { .cw-panel { position: fixed; right: .6rem; left: .6rem; bottom: 4.6rem; width: auto; max-width: none; } }
.cw-off { padding: 1rem; display: grid; gap: .8rem; justify-items: start; }
