/* =========================================================
   Kloopa – glavni stilovi
   Boje: --k-ink (tamnozelena), --k-cream, --k-accent (Customizer)
   ========================================================= */

:root {
	--k-accent: #F2A93B;
	--k-ink: #0F2620;
	--k-ink-2: #163A30;
	--k-ink-3: #1F4A3E;
	--k-line-dark: #2C5C4A;
	--k-cream: #F5EFE3;
	--k-sand: #EDE5D6;
	--k-paper: #FBF8F2;
	--k-white: #FFFFFF;
	--k-muted: #5B6660;
	--k-muted-dark: #B9CAC2;
	--k-gold: #8A5A0F;
	--k-line: #DCD2BF;
	--k-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--k-radius: 32px;
	--k-wrap: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	font-family: var(--k-font);
	font-size: 17px;
	line-height: 1.6;
	color: var(--k-ink);
	background: var(--k-cream);
	-webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: var(--k-ink); }
a:hover { color: var(--k-ink-3); }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--k-accent); outline-offset: 3px; border-radius: 6px; }

.k-skip {
	position: absolute; left: -9999px; top: 8px; z-index: 1000;
	background: var(--k-accent); color: var(--k-ink); padding: 10px 16px; border-radius: 999px; font-weight: 700;
}
.k-skip:focus { left: 8px; }

.k-wrap { width: 100%; max-width: var(--k-wrap); margin: 0 auto; padding: 0 28px; }
.k-wrap--narrow { max-width: 820px; }

/* ---------- tipografija ---------- */
.k-display {
	font-weight: 800; font-size: clamp(44px, 6vw, 80px); line-height: 0.98; letter-spacing: -0.045em;
}
.k-display em, .k-cta em { color: var(--k-accent); font-style: italic; }
.k-display--md { font-size: clamp(38px, 4.6vw, 64px); line-height: 1; }
.k-h1 { font-weight: 800; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.03; letter-spacing: -0.04em; }
.k-h2 { font-weight: 800; font-size: clamp(34px, 4.2vw, 58px); line-height: 1.03; letter-spacing: -0.04em; }
.k-h3 { font-weight: 800; font-size: 21px; line-height: 1.25; letter-spacing: -0.01em; }
.k-h3 a { text-decoration: none; }
.k-lead { font-size: 18px; color: var(--k-muted); max-width: 440px; }
.k-lead--dark { color: var(--k-muted-dark); font-size: 20px; max-width: 540px; }
.k-muted { color: var(--k-muted); }
.k-muted-dark { color: var(--k-muted-dark); }
.k-ink { color: var(--k-ink); }
.k-eyebrow {
	display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--k-gold);
}
.k-eyebrow--accent { color: var(--k-accent); }
.k-eyebrow--muted { color: var(--k-muted); }

/* ---------- gumbi ---------- */
.k-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 48px; padding: 14px 24px; border-radius: 999px; border: 0;
	background: var(--k-accent); color: var(--k-ink); font: inherit; font-weight: 800; font-size: 16px;
	text-decoration: none; cursor: pointer; transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.k-btn:hover { color: var(--k-ink); filter: brightness(1.05); transform: translateY(-1px); }
.k-btn--lg { padding: 18px 28px; font-size: 17px; }
.k-btn--sm { min-height: 44px; padding: 10px 20px; font-size: 15px; font-weight: 700; }
.k-btn--block { width: 100%; }
.k-btn--ghost { background: transparent; color: var(--k-cream); border: 1.5px solid #3A6656; font-weight: 600; }
.k-btn--ghost:hover { color: var(--k-cream); background: rgba(245, 239, 227, .06); }
.k-btn--light { background: var(--k-cream); color: var(--k-ink); }
.k-btn--ink { background: var(--k-ink); color: var(--k-cream); }
.k-btn--ink:hover { color: var(--k-cream); }

/* ---------- zaglavlje ---------- */
.k-header {
	position: sticky; top: 0; z-index: 50; background: rgba(15, 38, 32, .94);
	-webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
	border-bottom: 1px solid rgba(245, 239, 227, .06);
}
.admin-bar .k-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .k-header { top: 46px; } }
.k-nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.k-logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.k-logo__word { font-weight: 800; font-size: 24px; letter-spacing: -0.04em; line-height: 1; }
.custom-logo-link img { max-height: 44px; width: auto; }
.k-nav__menu { display: flex; align-items: center; gap: 32px; }
.k-nav__links { display: flex; flex-wrap: wrap; gap: 4px 28px; list-style: none; margin: 0; padding: 0; }
.k-nav__links a { color: #D9E2DD; text-decoration: none; font-size: 15px; font-weight: 500; }
.k-nav__links a:hover, .k-nav__links .current-menu-item a { color: var(--k-accent); }
.k-nav__toggle {
	display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--k-line-dark);
	background: transparent; cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.k-nav__toggle span { display: block; width: 20px; height: 2px; background: var(--k-cream); border-radius: 2px; transition: transform .2s, opacity .2s; }
.k-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.k-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.k-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
	.k-nav__toggle { display: inline-flex; }
	.k-nav__menu {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 18px; padding: 20px 28px 28px;
		background: var(--k-ink); border-bottom: 1px solid var(--k-line-dark);
	}
	.k-nav__menu.is-open { display: flex; }
	.k-nav__links { flex-direction: column; gap: 0; }
	.k-nav__links a { display: block; padding: 12px 0; font-size: 18px; border-bottom: 1px solid var(--k-ink-3); }
}

/* ---------- sekcije ---------- */
.k-section { padding: 120px 0; }
.k-section--tight { padding: 40px 0 120px; }
.k-section--top0 { padding-top: 0; }
.k-dark { background: var(--k-ink); color: var(--k-cream); }
.k-dark a:not(.k-btn) { color: var(--k-cream); }
.k-sand { background: var(--k-sand); }
.k-head { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin-bottom: 48px; }
.k-head--split { max-width: none; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.k-head--split > :first-child { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.k-head--center { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.k-head--center .k-lead { max-width: none; }

.k-grid { display: grid; gap: 20px; }
.k-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.k-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.k-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
	.k-grid--3, .k-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
	.k-grid--2, .k-grid--3, .k-grid--4 { grid-template-columns: minmax(0, 1fr); }
	.k-section { padding: 80px 0; }
	.k-section--tight { padding: 24px 0 80px; }
	.k-section--top0 { padding-top: 0; }
}

/* ---------- hero ---------- */
.k-hero { position: relative; overflow: hidden; }
.k-hero__rings span {
	position: absolute; border-radius: 50%; border: 1px solid rgba(245, 239, 227, .08); pointer-events: none;
}
.k-hero__rings span:nth-child(1) { right: -180px; top: -240px; width: 720px; height: 720px; }
.k-hero__rings span:nth-child(2) { right: -60px; top: -120px; width: 480px; height: 480px; }
.k-hero__grid {
	position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
	align-items: center; gap: 64px; padding-top: 56px; padding-bottom: 96px;
}
.k-hero__copy { display: flex; flex-direction: column; gap: 28px; }
.k-hero__visual { display: flex; justify-content: center; }
.k-pill {
	align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
	border-radius: 999px; background: var(--k-ink-2); border: 1px solid #24503F; font-size: 14px; font-weight: 600; color: #D9E2DD;
}
.k-pill__tag { background: var(--k-accent); color: var(--k-ink); padding: 3px 10px; border-radius: 999px; font-weight: 800; }
.k-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.k-checks { list-style: none; margin: 0; padding: 0; }
.k-checks--inline { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 15px; color: var(--k-muted-dark); }
.k-checks li { display: inline-flex; align-items: center; gap: 8px; }

.k-strip { position: relative; border-top: 1px solid var(--k-ink-3); }
.k-strip__inner {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
	padding-top: 26px; padding-bottom: 26px; color: #D9E2DD; font-weight: 700; font-size: 18px;
}
.k-strip__inner > span { display: inline-flex; align-items: center; gap: 10px; }
.k-strip__label { font-size: 13px !important; letter-spacing: .12em; text-transform: uppercase; color: #A9BDB4; }

@media (max-width: 960px) {
	.k-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; padding-top: 40px; padding-bottom: 72px; }
}
@media (max-width: 520px) {
	.k-hero__visual { overflow: hidden; margin: 0 -28px; padding: 0 10px; }
	.k-hero__visual [role="img"] { transform: scale(.86); transform-origin: top center; margin-bottom: -80px; }
	.k-strip__inner { justify-content: flex-start; font-size: 16px; }
}

/* ---------- usporedba ---------- */
.k-panel { border-radius: var(--k-radius); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.k-panel--sand { background: var(--k-sand); }
.k-panel__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; }
.k-list { list-style: none; margin: 0; padding: 0; }
.k-list li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--k-line); color: #3D4743; }
.k-list li:last-child { border-bottom: 0; }
.k-list li > svg, .k-list li > .k-tick { flex: none; margin-top: 3px; }
.k-list--dark li { color: var(--k-cream); border-color: #22493C; }
.k-tick { width: 24px; height: 24px; border-radius: 50%; background: var(--k-accent); display: inline-flex; align-items: center; justify-content: center; }
@media (max-width: 520px) { .k-panel { padding: 28px 24px; } }

/* ---------- iskustvo gosta ---------- */
.k-flow { justify-items: center; }
.k-flow__step { display: flex; flex-direction: column; gap: 22px; width: 100%; max-width: 400px; }
.k-flow__txt { display: flex; gap: 16px; }
.k-num { font-weight: 800; font-size: 15px; color: var(--k-gold); flex: none; }
.k-num--ink { color: var(--k-ink); }
.k-num--accent { color: var(--k-accent); }

/* ---------- bento ---------- */
.k-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.k-tile {
	grid-column: span 2; background: var(--k-white); border-radius: var(--k-radius); padding: 36px;
	min-height: 280px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
}
.k-tile--wide { grid-column: span 4; min-height: 300px; padding: 40px; }
.k-tile--accent { background: var(--k-accent); color: var(--k-ink); }
.k-tile--accent p { color: #2C2210; font-size: 18px; margin-top: 10px; max-width: 520px; }
.k-tile__title { font-weight: 800; font-size: 24px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 8px; }
.k-tile__title--big { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.1; letter-spacing: -0.03em; max-width: 540px; }
@media (max-width: 960px) {
	.k-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.k-tile, .k-tile--wide { grid-column: span 1; }
	.k-tile--wide { grid-column: span 2; }
}
@media (max-width: 620px) {
	.k-bento { grid-template-columns: minmax(0, 1fr); }
	.k-tile, .k-tile--wide { grid-column: span 1; min-height: 220px; padding: 28px; }
}

/* ---------- analitika ---------- */
.k-facts { margin-top: 56px; }
.k-facts > div { border-top: 1px solid var(--k-line-dark); padding-top: 18px; display: flex; flex-direction: column; }
.k-facts strong { font-size: 18px; }
.k-facts span { color: var(--k-muted-dark); font-size: 15px; }

/* ---------- cijene ---------- */
.k-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 480px)); justify-content: center; gap: 20px; }
.k-price { background: var(--k-paper); border-radius: var(--k-radius); padding: 40px; display: flex; flex-direction: column; gap: 22px; }
.k-price__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.k-price__name { font-weight: 800; font-size: 20px; }
.k-price__amount { font-weight: 800; font-size: clamp(48px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; }
.k-price__amount span { font-size: 16px; font-weight: 500; letter-spacing: 0; margin-left: 8px; opacity: .75; }
.k-badge { background: var(--k-accent); color: var(--k-ink); font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 999px; }
.k-chips { list-style: none; margin: 48px auto 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; }
.k-chips li { background: var(--k-paper); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 600; }
@media (max-width: 720px) { .k-prices { grid-template-columns: minmax(0, 1fr); } .k-price { padding: 30px 26px; } }

/* ---------- koraci ---------- */
.k-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.k-steps li { display: flex; flex-direction: column; gap: 14px; position: relative; }
.k-steps__n {
	width: 56px; height: 56px; border-radius: 50%; background: var(--k-ink); color: var(--k-cream);
	display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 20px; position: relative; z-index: 1;
}
.k-steps__n--accent { background: var(--k-accent); color: var(--k-ink); }
.k-steps li:not(:last-child)::after {
	content: ""; position: absolute; top: 27px; left: 70px; right: -14px; height: 2px; background: #D5C9B3;
}
.k-steps .k-h3 { font-size: 24px; letter-spacing: -0.02em; margin-top: 4px; }
@media (max-width: 820px) {
	.k-steps { grid-template-columns: minmax(0, 1fr); }
	.k-steps li:not(:last-child)::after { display: none; }
}

/* ---------- pitanja ---------- */
.k-faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 48px; }
.k-faq__head { display: flex; flex-direction: column; gap: 16px; }
.k-faq__list { display: flex; flex-direction: column; gap: 10px; }
.k-faq__item { background: var(--k-paper); border-radius: 20px; padding: 0 24px; }
.k-faq__item summary {
	list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
	min-height: 70px; font-weight: 700; font-size: 18px;
}
.k-faq__item summary::-webkit-details-marker { display: none; }
.k-faq__icon { width: 32px; height: 32px; border-radius: 50%; background: var(--k-sand); flex: none; position: relative; }
.k-faq__icon::before, .k-faq__icon::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--k-ink); transform: translate(-50%, -50%);
	transition: transform .2s;
}
.k-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.k-faq__item[open] .k-faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.k-faq__item p { color: var(--k-muted); padding-bottom: 20px; }
@media (max-width: 820px) { .k-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; } }

/* ---------- kontakt / CTA ---------- */
.k-cta-wrap { padding: 0 28px 28px; }
.k-cta {
	border-radius: 40px; padding: 72px 56px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	align-items: center; gap: 56px;
}
.k-cta__copy { display: flex; flex-direction: column; gap: 20px; }
.k-cta__links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.k-cta__links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: 15px; text-decoration: none; }
.k-cta__links a:hover { color: var(--k-accent); }
@media (max-width: 900px) { .k-cta { grid-template-columns: minmax(0, 1fr); padding: 48px 28px; gap: 36px; border-radius: 28px; } .k-cta-wrap { padding: 0 12px 12px; } }

.k-form {
	background: var(--k-ink-2); border: 1px solid #24503F; border-radius: 28px; padding: 28px;
	display: flex; flex-direction: column; gap: 14px;
}
.k-form__field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: #D9E2DD; }
.k-form input[type="text"], .k-form input[type="email"], .k-form input[type="tel"] {
	font: inherit; font-size: 16px; font-weight: 400; padding: 14px 16px; border-radius: 14px;
	border: 1px solid var(--k-line-dark); background: var(--k-ink); color: var(--k-cream); width: 100%;
}
.k-form input::placeholder { color: #7F948B; }
.k-form input:focus { outline: none; border-color: var(--k-accent); box-shadow: 0 0 0 3px rgba(242, 169, 59, .25); }
.k-form .k-btn { margin-top: 6px; }
.k-form__note { font-size: 13px; color: #A9BDB4; text-align: center; }
.k-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.k-form__notice { padding: 12px 16px; border-radius: 14px; font-size: 15px; font-weight: 600; }
.k-form__notice--ok { background: #DCEBDD; color: #1F4A2B; }
.k-form__notice--err { background: #F8D9D2; color: #7A2414; }

/* ---------- podnožje ---------- */
.k-footer { background: var(--k-cream); }
.k-footer__inner { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 48px; font-size: 14px; color: var(--k-muted); }
.k-footer__brand { display: flex; flex-direction: column; gap: 10px; max-width: 360px; }
.k-footer__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.k-footer__menu a { color: var(--k-ink); text-decoration: none; font-weight: 600; }
.k-footer__legal { text-align: right; line-height: 1.8; }
@media (max-width: 720px) { .k-footer__legal { text-align: left; } }

/* ---------- obične stranice i blog ---------- */
.k-page { padding: 88px 0 120px; }
.k-page__head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.k-page__thumb { margin-bottom: 40px; border-radius: 24px; overflow: hidden; }
.k-prose { font-size: 18px; line-height: 1.75; }
.k-prose > * + * { margin-top: 1.1em; }
.k-prose h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.15; margin-top: 1.8em; }
.k-prose h3 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin-top: 1.6em; }
.k-prose a { color: var(--k-ink); text-decoration-color: var(--k-accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.k-prose img { border-radius: 18px; }
.k-prose blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 4px solid var(--k-accent); font-size: 20px; }
.k-prose ul, .k-prose ol { padding-left: 1.3em; }
.k-posts { display: grid; gap: 20px; }
.k-card { background: var(--k-paper); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.k-post__thumb img { border-radius: 16px; margin-bottom: 8px; }
.nav-links { display: flex; justify-content: space-between; margin-top: 40px; font-weight: 700; }
.k-404 { text-align: left; }
.k-404 .k-lead { margin: 16px 0 32px; }

/* WordPress jezgra */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-caption-text, figcaption { font-size: 14px; color: var(--k-muted); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* Elementor: sadržaj puna širina */
.elementor-page .k-main { padding: 0; }

/* tamne varijante kartica (moraju biti nakon osnovnih pozadina) */
.k-tile.k-dark, .k-price.k-dark { background: var(--k-ink); color: var(--k-cream); }
.k-hero__visual > [role="img"] { color: var(--k-ink); }

/* slika mobitela iz Customizera */
.k-hero__img {
	position: absolute; left: 50%; top: 10px; transform: translateX(-50%);
	width: 340px; height: 580px; max-width: none; object-fit: contain;
	filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .4));
}

/* ekrani u "Iskustvo gosta" – iste visine */
.k-flow__step > [role="img"] { flex: 1 1 auto; min-height: 460px; }

/* WhatsApp / e-mail u kontakt dijelu */
.k-cta__links a { font-size: 17px; gap: 10px; }

/* Turnstile */
.k-form__captcha { min-height: 65px; }
@media (max-width: 380px) {
	.k-form__captcha .cf-turnstile { transform: scale(.9); transform-origin: left top; width: 300px; }
}
@media (max-width: 520px) {
	.k-cta-wrap { padding: 0 8px 8px; }
	.k-cta { padding: 40px 16px; }
	.k-form { padding: 18px; }
}
