/* ==========================================================================
   MD Air Solutions – glavni stilovi (mobile-first)
   Boje, fontovi i veličine loga dolaze iz Customizera (CSS varijable :root).
   ========================================================================== */

:root {
	--c-primary: #0b72d9;
	--c-primary-rgb: 11, 114, 217;
	--c-dark: #06336b;
	--c-dark-rgb: 6, 51, 107;
	--c-accent: #19c2ff;
	--c-text: #12263f;
	--c-light: #f1f7ff;
	--c-muted: #5b6b80;
	--c-border: #dbe6f3;
	--radius: 14px;
	--ff-head: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ff-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--header-h: 64px;
	--logo-small-h: 38px;
	--logo-big-h-user: 190px;
	--logo-big-h: var(--logo-big-h-user);
	--hero-overlay: .55;
	--hero-pt: calc(var(--header-h) + 28px);
	--shadow: 0 10px 30px rgba(6, 51, 107, .12);
	--bar-h: 0px;
}

@media (min-width: 768px) {
	:root { --header-h: 76px; --hero-pt: clamp(120px, 20vh, 220px); }
}

@media (max-width: 767px) {
	:root { --logo-big-h: min(var(--logo-big-h-user), 140px); }
}

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

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 8px);
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

html.menu-open { overflow: hidden; }

body {
	margin: 0;
	font-family: var(--ff-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--c-text);
	background: #fff;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}

body.has-mobile-bar { padding-bottom: 0; }

img, svg, iframe, video { max-width: 100%; }
img { height: auto; }

a { color: var(--c-primary); }
a:hover { color: var(--c-dark); }

h1, h2, h3, h4 {
	font-family: var(--ff-head);
	line-height: 1.2;
	margin: 0 0 .6em;
	color: var(--c-dark);
	text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.8vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.icon { width: 1.25em; height: 1.25em; flex: none; vertical-align: -.25em; }

.container {
	width: min(1200px, 100% - 2 * clamp(16px, 4vw, 32px));
	margin-inline: auto;
}
.container--narrow { width: min(820px, 100% - 2 * clamp(16px, 4vw, 32px)); }
.center { text-align: center; }

.skip-link {
	position: absolute; left: 12px; top: -60px; z-index: 3000;
	background: #fff; color: var(--c-dark); padding: 10px 16px; border-radius: 8px;
	box-shadow: var(--shadow); transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }

/* --------------------------------------------------------------------------
   Gumbi
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	padding: .85em 1.5em; min-height: 48px;
	border: 2px solid transparent; border-radius: 999px;
	font: 600 1rem/1.2 var(--ff-body); text-decoration: none; cursor: pointer;
	transition: transform .15s, background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--block { display: flex; width: 100%; }

.btn--primary { background: #fff; color: var(--c-dark); box-shadow: 0 8px 22px rgba(0, 0, 0, .18); }
.btn--primary:hover { background: var(--c-accent); color: var(--c-dark); }
.btn--primary.btn--solid { background: var(--c-primary); color: #fff; box-shadow: 0 8px 22px rgba(var(--c-primary-rgb), .3); }
.btn--primary.btn--solid:hover { background: var(--c-dark); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .15); color: #fff; }

.btn--light { background: #fff; color: var(--c-dark); }
.btn--light:hover { background: var(--c-accent); color: var(--c-dark); }

.btn--wa { background: #25d366; color: #04301a; }
.btn--wa:hover { background: #1ebe5a; color: #04301a; }

.btn--outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn--outline:hover { background: var(--c-primary); color: #fff; }

/* --------------------------------------------------------------------------
   Zaglavlje + hamburger
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
	height: var(--header-h);
	display: flex; align-items: center;
	color: #fff;
	background: rgba(var(--c-dark-rgb), var(--hbg, 1));
	transition: box-shadow .3s;
}
.js.logo-anim .site-header { --hbg: 0; }
.site-header.is-solid, html.menu-open .site-header { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
html.menu-open .site-header { background: rgb(var(--c-dark-rgb)); }

.header-inner {
	width: 100%; max-width: 1400px; margin: 0 auto;
	padding: 0 max(clamp(12px, 3vw, 32px), env(safe-area-inset-left));
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
}

.menu-toggle {
	display: inline-flex; align-items: center; gap: 12px;
	min-width: 48px; min-height: 48px; padding: 0 6px;
	background: none; border: 0; color: inherit; cursor: pointer;
	font: 600 .95rem/1 var(--ff-body); letter-spacing: .06em; text-transform: uppercase;
}
.menu-toggle__bars { position: relative; width: 26px; height: 18px; display: block; }
.menu-toggle__bars span {
	position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
	transition: transform .3s, opacity .2s, top .3s;
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 8px; }
.menu-toggle__bars span:nth-child(3) { top: 16px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
.menu-toggle__label { display: none; }
@media (min-width: 768px) { .menu-toggle__label { display: inline; } }

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-width: 44px; height: 44px; padding: 0 12px;
	border-radius: 999px; color: #fff; text-decoration: none;
	background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .35);
	font-weight: 600; font-size: .95rem; transition: background .2s, color .2s;
}
.icon-btn:hover { background: #fff; color: var(--c-dark); }
.icon-btn--wa { background: #25d366; border-color: #25d366; color: #04301a; }
.icon-btn--wa:hover { background: #1ebe5a; color: #04301a; }
.icon-btn__text { display: none; }
@media (min-width: 1000px) { .icon-btn__text { display: inline; } }
@media (max-width: 380px) { .icon-btn { min-width: 42px; height: 42px; padding: 0 10px; } }

/* --------------------------------------------------------------------------
   Logo (Gucci efekt): veliki u hero sekciji, pri skrolanju se smanjuje i
   seli u zaglavlje. Pozicioniranje radi assets/js/main.js.
   Bez JS-a / na unutarnjim stranicama logo je odmah malen u zaglavlju.
   -------------------------------------------------------------------------- */
.site-logo {
	position: fixed; left: 50%; top: 0; z-index: 1002;
	display: flex; align-items: center; justify-content: center;
	height: var(--logo-small-h);
	max-width: calc(100vw - 190px);
	color: #fff; text-decoration: none;
	transform: translate3d(-50%, calc((var(--header-h) - var(--logo-small-h)) / 2), 0);
	transform-origin: 50% 50%;
	will-change: transform;
}
.site-logo.is-toggling { transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.site-logo img { height: 100%; width: auto; max-width: 100%; object-fit: contain; display: block; }
.logo-white .site-logo img { filter: brightness(0) invert(1); }
.logo-text {
	font: 800 calc(var(--logo-small-h) * .6) / 1 var(--ff-head);
	letter-spacing: .02em; white-space: nowrap;
}

/* Animirani način (naslovnica, samo kad JS radi) */
html.logo-anim .site-logo {
	height: var(--logo-big-h);
	max-width: 82vw;
	transform: translate3d(-50%, var(--hero-pt), 0);
}
html.logo-anim .logo-text { font-size: calc(var(--logo-big-h) * .36); }

@media (max-width: 767px) {
	.site-logo { max-width: calc(100vw - 150px); }
}

/* --------------------------------------------------------------------------
   Izbornik preko cijelog ekrana
   -------------------------------------------------------------------------- */
.menu-overlay {
	position: fixed; inset: 0; z-index: 999;
	background: linear-gradient(160deg, var(--c-dark) 0%, #04244c 100%);
	color: #fff;
	opacity: 0; visibility: hidden; transform: translateY(-12px);
	transition: opacity .3s, transform .3s, visibility 0s linear .3s;
	overflow-y: auto; overscroll-behavior: contain;
	padding: calc(var(--header-h) + 28px) 0 40px;
}
.menu-overlay.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.menu-overlay__inner {
	width: min(1100px, 100% - 2 * clamp(20px, 6vw, 48px)); margin: 0 auto;
	display: grid; gap: 32px;
}
@media (min-width: 900px) {
	.menu-overlay__inner { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 64px; }
}
.menu-list, .menu-list ul { list-style: none; margin: 0; padding: 0; }
.menu-list > li { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.menu-list a {
	display: block; padding: .55em 0; color: #fff; text-decoration: none;
	font: 700 clamp(1.5rem, 5vw, 2.6rem) / 1.15 var(--ff-head);
	transition: color .2s, padding-left .2s;
}
.menu-list a:hover, .menu-list .current-menu-item > a { color: var(--c-accent); padding-left: .25em; }
.menu-list ul a { font-size: 1.1rem; font-weight: 500; padding: .35em 0 .35em 1em; opacity: .85; }
.menu-contact { display: grid; gap: 14px; align-content: start; }
.menu-contact .btn { width: 100%; }
.menu-contact__mail { color: #fff; opacity: .85; text-align: center; }

.socials { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.socials a {
	display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; transition: background .2s, color .2s;
}
.socials a:hover { background: var(--c-accent); color: var(--c-dark); }
.socials--menu { justify-content: center; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
	position: relative; isolation: isolate; color: #fff; text-align: center;
	min-height: 100vh; min-height: 100svh;
	display: flex; flex-direction: column; align-items: center;
	padding: var(--hero-pt) clamp(16px, 5vw, 40px) 96px;
	background: linear-gradient(135deg, var(--c-dark) 0%, var(--c-primary) 100%);
	overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-overlay {
	position: absolute; inset: 0;
	background:
		radial-gradient(circle at 50% 30%, rgba(var(--c-primary-rgb), calc(var(--hero-overlay) * .35)), transparent 60%),
		linear-gradient(180deg, rgba(var(--c-dark-rgb), calc(var(--hero-overlay) + .15)) 0%, rgba(var(--c-primary-rgb), var(--hero-overlay)) 100%);
}
.hero-inner { width: min(900px, 100%); display: flex; flex-direction: column; align-items: center; }
.hero-logo-spacer { height: var(--logo-big-h); width: 1px; flex: none; margin-bottom: clamp(14px, 3vh, 32px); }
.no-js .hero-logo-spacer, .no-hero .hero-logo-spacer { height: 0; margin: 0; }
.hero-title { color: #fff; margin-bottom: .45em; text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
.hero-sub { font-size: clamp(1rem, 2.2vw, 1.25rem); max-width: 40em; margin-inline: auto; opacity: .95; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 14px; }

.hero-scroll {
	position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
	width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 16px;
}
.hero-scroll span {
	position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px;
	background: #fff; border-radius: 2px; animation: mdas-scroll 1.8s infinite;
}
@keyframes mdas-scroll { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-height: 560px), (max-width: 480px) { .hero-scroll { display: none; } }

/* --------------------------------------------------------------------------
   Sekcije
   -------------------------------------------------------------------------- */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section--light { background: var(--c-light); }
.section--dark { background: linear-gradient(160deg, var(--c-dark), #04244c); color: #fff; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(28px, 5vw, 52px); }
.section-head p { color: var(--c-muted); font-size: 1.08rem; }
.section--dark .section-head p { color: rgba(255, 255, 255, .85); }
.section-cta { text-align: center; margin: 36px 0 0; }

.grid { display: grid; gap: 22px; }
.grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid--why { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 28px; }

/* Kartice usluga */
.card {
	display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
	overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--c-border);
	transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(6, 51, 107, .18); }
.card__media {
	display: flex; align-items: center; justify-content: center; aspect-ratio: 3 / 2;
	background: linear-gradient(135deg, var(--c-primary), var(--c-accent)); color: #fff; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__icon .icon { width: 64px; height: 64px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px 24px; flex: 1; }
.card__title { margin: 0; font-size: 1.25rem; }
.card__title a { color: var(--c-dark); text-decoration: none; }
.card__text { color: var(--c-muted); margin: 0; }
.card__link { margin-top: auto; padding-top: 10px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.card__link .icon { transition: transform .2s; }
.card__link:hover .icon { transform: translateX(4px); }

/* Cijene */
.price-box { display: flex; flex-direction: column; gap: 2px; margin: 8px 0 4px; }
.price { font: 800 1.5rem/1.2 var(--ff-head); color: var(--c-primary); }
.price small { font-size: .55em; font-weight: 600; color: var(--c-muted); }
.price--ask { font-size: 1.1rem; color: var(--c-muted); }
.price-old { font-size: .88rem; color: var(--c-muted); }
.price-old strong { color: var(--c-text); }

/* Zašto mi */
.why { text-align: center; padding: 8px; }
.why__icon {
	display: inline-flex; width: 72px; height: 72px; align-items: center; justify-content: center;
	border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--c-accent); margin-bottom: 14px;
}
.why__icon .icon { width: 34px; height: 34px; }
.why p { opacity: .88; margin: 0; }

/* O nama / podjela */
.split { display: grid; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (min-width: 900px) {
	.split { grid-template-columns: 1fr 1fr; }
	.split--single { grid-template-columns: minmax(0, 760px); justify-content: center; }
	.split--service { grid-template-columns: 1.6fr 1fr; align-items: start; }
}
.split__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); display: block; }

/* Područje rada */
.pills { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.pills li {
	display: inline-flex; align-items: center; gap: 6px; padding: 10px 18px; background: #fff;
	border: 1px solid var(--c-border); border-radius: 999px; font-weight: 600; color: var(--c-dark);
}
.pills .icon { color: var(--c-primary); width: 1.1em; height: 1.1em; }

/* Recenzije */
.rating-summary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; color: var(--c-text); }
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.star { color: #cdd8e6; display: inline-flex; }
.star.is-on { color: #f5b301; }
.star .icon { width: 20px; height: 20px; }

.reviews {
	display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}
@media (max-width: 699px) {
	.reviews {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
		margin-inline: calc(-1 * clamp(16px, 4vw, 32px)); padding: 6px clamp(16px, 4vw, 32px) 18px;
		-webkit-overflow-scrolling: touch;
	}
	.review { flex: 0 0 86%; scroll-snap-align: center; }
}
.review {
	background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
	padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
}
.review__text { margin: 0; font-size: 1.02rem; }
.review__text p:last-child { margin-bottom: 0; }
.review__meta { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.review__author { color: var(--c-dark); }
.review__sub { font-size: .88rem; color: var(--c-muted); }

/* Obrazac za recenziju (klikabilne zvjezdice) */
.review-form-wrap {
	max-width: 640px; margin: 44px auto 0; background: var(--c-light); border: 1px solid var(--c-border);
	border-radius: var(--radius); padding: clamp(20px, 4vw, 34px);
}
.review-form-wrap h3 { text-align: center; }
.review-form input[type="text"], .review-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--c-text);
	border: 1.5px solid var(--c-border); border-radius: 10px; background: #fff; min-height: 48px;
}
.review-form textarea { min-height: 110px; resize: vertical; }
.review-form input:focus, .review-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), .2); }
.star-input { border: 0; margin: 0 0 14px; padding: 0; text-align: center; }
.star-input legend { font-weight: 600; margin: 0 auto 6px; padding: 0; }
.star-input__row { display: inline-flex; flex-direction: row-reverse; justify-content: center; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { cursor: pointer; color: #cdd8e6; display: inline-flex; padding: 4px; transition: color .15s, transform .15s; }
.star-input label .icon { width: 42px; height: 42px; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #f5b301; }
.star-input label:hover { transform: scale(1.12); }
.star-input input:focus-visible + label { outline: 3px solid var(--c-accent); border-radius: 8px; }
.review-form .btn { display: flex; margin: 0 auto; }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.faq__item summary {
	cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; color: var(--c-dark);
	list-style: none; position: relative;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
	content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
	font-size: 1.6rem; line-height: 1; color: var(--c-primary); transition: transform .2s;
}
.faq__item[open] summary::after { content: "−"; }
.faq__answer { padding: 0 22px 18px; color: var(--c-muted); }

/* Kontakt */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; align-items: start; } .contact-grid--single { grid-template-columns: minmax(0, 560px); justify-content: center; } }
.contact-info { display: grid; gap: 12px; align-content: start; }
.contact-card {
	display: flex; align-items: center; gap: 16px; padding: 16px 20px; color: #fff; text-decoration: none;
	background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .18); border-radius: var(--radius);
	transition: background .2s, transform .2s;
}
a.contact-card:hover { background: rgba(255, 255, 255, .18); color: #fff; transform: translateY(-2px); }
.contact-card .icon { width: 28px; height: 28px; color: var(--c-accent); }
.contact-card--wa .icon { color: #25d366; }
.contact-card span { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.contact-card small { opacity: .75; }
.contact-card strong { font-size: 1.05rem; }
.socials--contact { margin-top: 6px; }

.contact-form-wrap { background: #fff; color: var(--c-text); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow); }
.form-row { margin-bottom: 14px; }
.form-cols { display: grid; gap: 14px; }
@media (min-width: 600px) { .form-cols { grid-template-columns: 1fr 1fr; } }
.form-row label { display: block; font-weight: 600; margin-bottom: 5px; font-size: .95rem; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="tel"],
.contact-form select, .contact-form textarea {
	width: 100%; padding: 12px 14px; font: inherit; color: var(--c-text);
	border: 1.5px solid var(--c-border); border-radius: 10px; background: #fff; min-height: 48px;
}
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--c-primary); box-shadow: 0 0 0 3px rgba(var(--c-primary-rgb), .2); }
.form-row--check label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .9rem; }
.form-row--check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.form-note { font-size: .85rem; color: var(--c-muted); margin-bottom: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 16px; font-weight: 600; }
.notice--ok { background: #e6f7ec; color: #14532d; border: 1px solid #a7e3bd; }
.notice--err { background: #fdecec; color: #7f1d1d; border: 1px solid #f5b5b5; }
.map { margin-top: 32px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map.mdcc-embed { box-shadow: none; }
.map iframe { display: block; width: 100%; height: clamp(260px, 40vw, 380px); border: 0; }

/* --------------------------------------------------------------------------
   Unutarnje stranice
   -------------------------------------------------------------------------- */
.page-hero {
	padding: calc(var(--header-h) + clamp(36px, 7vw, 72px)) 0 clamp(32px, 6vw, 56px);
	background: linear-gradient(135deg, var(--c-dark), var(--c-primary)); color: #fff; text-align: center;
}
.page-hero h1 { color: #fff; margin: 0; }
.page-hero__sub, .post-meta { opacity: .9; margin: 10px 0 0; }
.crumbs { font-size: .9rem; opacity: .9; margin-bottom: 8px; }
.crumbs a { color: #fff; }
.entry-content { font-size: 1.05rem; }
.entry-content img { border-radius: 10px; }
.entry-content h2, .entry-content h3 { margin-top: 1.6em; }
.entry-thumb { margin-bottom: 24px; }
.entry-thumb img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.post-item { padding: 24px 0; border-bottom: 1px solid var(--c-border); }
.post-item h2 a { text-decoration: none; }
.post-item .post-meta { color: var(--c-muted); opacity: 1; }
.navigation.pagination { margin-top: 32px; text-align: center; }
.page-numbers { display: inline-block; padding: 8px 14px; margin: 2px; border-radius: 8px; border: 1px solid var(--c-border); text-decoration: none; }
.page-numbers.current { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }

.service-box { background: var(--c-light); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; }
@media (min-width: 900px) { .service-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.service-box__title { font-weight: 700; margin-bottom: 4px; color: var(--c-dark); }
.service-box__actions { display: grid; gap: 10px; margin-top: 16px; }

/* Cjenik */
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.price-table th { background: var(--c-dark); color: #fff; text-align: left; padding: 14px 18px; }
.price-table td { padding: 16px 18px; border-bottom: 1px solid var(--c-border); vertical-align: top; }
.price-table td a { text-decoration: none; color: var(--c-dark); }
.price-table__desc { display: block; color: var(--c-muted); font-size: .92rem; margin-top: 2px; }
.price-table__price { color: var(--c-primary); font-size: 1.1rem; }
.price-table__date { display: block; font-size: .85rem; color: var(--c-muted); }
.price-note { color: var(--c-muted); font-size: .9rem; margin-top: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 640px) {
	.price-table, .price-table tbody, .price-table tr, .price-table td { display: block; width: 100%; }
	.price-table thead { position: absolute; left: -9999px; }
	.price-table tr { padding: 14px 4px; border-bottom: 1px solid var(--c-border); }
	.price-table td { border: 0; padding: 6px 16px; }
	.price-table td::before { content: attr(data-label); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
}


/* --------------------------------------------------------------------------
   Galerija radova (klizač) + lightbox
   -------------------------------------------------------------------------- */
.gallery { position: relative; }
.gallery__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; padding: 4px 2px 10px; border-radius: var(--radius);
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__item {
	position: relative; margin: 0; flex: 0 0 100%; scroll-snap-align: start; overflow: hidden;
	border-radius: var(--radius); box-shadow: var(--shadow); background: var(--c-light);
}
@media (min-width: 640px) { .gallery__item { flex-basis: calc((100% - 16px) / 2); } }
@media (min-width: 1000px) { .gallery__item { flex-basis: calc((100% - 32px) / 3); } }
.gallery__link { display: block; cursor: zoom-in; }
.gallery__img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.gallery__link:hover .gallery__img { transform: scale(1.04); }
.gallery__cap {
	position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px; color: #fff; font-weight: 600; font-size: .95rem;
	background: linear-gradient(180deg, transparent, rgba(var(--c-dark-rgb), .85)); pointer-events: none;
}
.gallery__nav {
	position: absolute; top: calc(50% - 30px); z-index: 2; width: 46px; height: 46px; border: 0; border-radius: 50%;
	background: #fff; color: var(--c-dark); font-size: 30px; line-height: 1; cursor: pointer; box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
	display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
	transition: background .2s, color .2s;
}
.gallery__nav:hover { background: var(--c-primary); color: #fff; }
.gallery__nav--prev { left: 8px; }
.gallery__nav--next { right: 8px; }
@media (min-width: 1240px) { .gallery__nav--prev { left: -22px; } .gallery__nav--next { right: -22px; } }
.gallery__controls { text-align: center; margin-top: 10px; }
.gallery__pause {
	background: none; border: 0; color: var(--c-muted); font: inherit; font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 8px;
}

.lightbox {
	position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center;
	background: rgba(2, 18, 40, .93); padding: 56px 16px 24px;
}
.lightbox[hidden] { display: none; }
.lightbox__fig { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lightbox__fig img { max-width: 100%; max-height: calc(100dvh - 140px); object-fit: contain; border-radius: 8px; }
.lightbox__fig figcaption { color: #fff; text-align: center; }
.lightbox__close, .lightbox__nav {
	position: absolute; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; border-radius: 50%;
	width: 48px; height: 48px; font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .3); }
.lightbox__close { top: 12px; right: 12px; font-size: 34px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 10px; }
.lightbox__nav--next { right: 10px; }
.lightbox.is-single .lightbox__nav { display: none; }
html.lightbox-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Proizvođači: logotipi koji se neprekidno kreću
   -------------------------------------------------------------------------- */
.section--compact { padding: clamp(36px, 6vw, 64px) 0; }
.section--bordered { border-block: 1px solid var(--c-border); }
.brands {
	overflow: hidden; --brands-dur: 40s;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands__track { display: flex; width: max-content; animation: mdas-marquee var(--brands-dur) linear infinite; will-change: transform; }
.brands:hover .brands__track, .brands:focus-within .brands__track { animation-play-state: paused; }
.brands__list { display: flex; align-items: center; gap: 56px; margin: 0; padding: 0 56px 0 0; list-style: none; flex: none; }
.brands__list li { flex: none; display: flex; align-items: center; }
.brands__logo { display: block; height: 56px; width: auto; max-width: 170px; object-fit: contain; transition: filter .3s, opacity .3s; }
.brands--gray .brands__logo { filter: grayscale(1); opacity: .7; }
.brands--gray .brands__logo:hover { filter: none; opacity: 1; }
@keyframes mdas-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.brands { -webkit-mask-image: none; mask-image: none; }
	.brands__track { animation: none; width: auto; flex-wrap: wrap; justify-content: center; }
	.brands__list { flex-wrap: wrap; justify-content: center; padding: 0 16px; row-gap: 24px; }
	.brands__list:not(:first-child) { display: none; }
}

/* --------------------------------------------------------------------------
   Podnožje
   -------------------------------------------------------------------------- */
.site-footer { background: #04244c; color: rgba(255, 255, 255, .88); }
.footer-grid { display: grid; gap: 32px; padding: clamp(40px, 7vw, 72px) 0; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand { font: 800 1.4rem/1.2 var(--ff-head); color: #fff; margin-bottom: 8px; }
.footer-title { font-weight: 700; color: #fff; margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list li { display: flex; align-items: flex-start; gap: 10px; }
.footer-list .icon { color: var(--c-accent); margin-top: 3px; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--c-accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 18px 0; font-size: .9rem; }
.footer-bottom p { margin: 0; }
.footer-legal { font-size: .85rem; opacity: .8; margin-bottom: 8px !important; line-height: 1.6; }
.legal-list { display: grid; gap: 0; margin: 0 0 24px; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.legal-list > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 18px; border-bottom: 1px solid var(--c-border); }
.legal-list > div:last-child { border-bottom: 0; }
.legal-list dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--c-muted); }
.legal-list dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
@media (min-width: 640px) { .legal-list > div { grid-template-columns: 240px 1fr; gap: 16px; } }
.site-footer .socials { margin-top: 16px; }
.footer-list--links { margin-bottom: 8px; }

/* Plutajuće tipke */
.float-wa {
	position: fixed; right: 22px; bottom: 22px; z-index: 900;
	width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #04301a;
	display: none; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
	transition: transform .2s;
}
.float-wa:hover { transform: scale(1.08); color: #04301a; }
.float-wa .icon { width: 30px; height: 30px; }
@media (min-width: 768px) { .float-wa { display: flex; } }

.mobile-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; display: flex;
	padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 18px rgba(0, 0, 0, .2);
}
.mobile-bar__btn {
	flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 54px;
	font-weight: 700; text-decoration: none;
}
.mobile-bar__btn--call { background: var(--c-primary); color: #fff; }
.mobile-bar__btn--wa { background: #25d366; color: #04301a; }
.mobile-bar__btn:hover { color: inherit; filter: brightness(1.05); }
@media (min-width: 768px) { .mobile-bar { display: none; } }
@media (max-width: 767px) {
	body.has-mobile-bar .site-footer { padding-bottom: calc(54px + env(safe-area-inset-bottom)); }
}

/* --------------------------------------------------------------------------
   Animacije pojavljivanja (samo ako JS radi)
   -------------------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	.js .reveal { opacity: 1; transform: none; }
}

/* WordPress blokovi */
.alignwide { max-width: 1100px; margin-inline: auto; }
.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption, .wp-block-image figcaption { font-size: .88rem; color: var(--c-muted); }
.screen-reader-text { position: absolute; left: -9999px; }

/* Hero na mobitelu: široka slika (npr. klima) na vrhu, veliki logo je na sredini klime i pri skrolanju se
   smanjuje i seli u zaglavlje; naslov i tipke su ispod slike. */
@media (max-width: 700px) {
	body.hero-mfull { --logo-big-h: min(var(--logo-big-h-user), 110px); --img-h: calc(100vw * 260 / 390); }
	.hero--m-full { min-height: 0; padding-top: calc(var(--header-h) + 6px); padding-bottom: 36px; }
	.hero--m-full .hero-inner { display: contents; }
	.hero--m-full .hero-media { position: relative; order: 1; inset: auto; z-index: auto; width: calc(100% + 2 * clamp(16px, 5vw, 40px)); margin: 0 calc(-1 * clamp(16px, 5vw, 40px)) 14px; }
	.hero--m-full .hero-bg { height: auto; aspect-ratio: 390 / 260; object-fit: cover; object-position: 50% 45%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%); }
	.hero--m-full .hero-overlay { display: block; background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(var(--c-dark-rgb), .72), rgba(var(--c-dark-rgb), .18) 100%); }
	/* razmak za logo: njegovo središte je na sredini slike, a ukupna visina ostaje visina slike */
	.hero--m-full .hero-logo-spacer { order: 2; margin-top: calc(-0.5 * (var(--img-h) + var(--logo-big-h)) - 14px); margin-bottom: max(0px, calc(0.5 * (var(--img-h) - var(--logo-big-h)))); }
	.hero--m-full .hero-scroll { display: none; }
	.hero--m-full .hero-title, .hero--m-full .hero-sub, .hero--m-full .hero-actions { order: 3; max-width: 100%; }
}

/* Usluge kao proizvodi unutar kategorije */
.products { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.product { background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.product:target { outline: 3px solid var(--c-accent); }
.product__media img { width: 100%; height: auto; display: block; }
.product__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.product__title { margin: 0; font-size: 1.25rem; color: var(--c-dark); }
.product__text { margin: 0; color: var(--c-muted); }
.product__content { font-size: .98rem; color: var(--c-text); }
.product__content > :first-child { margin-top: 0; }
.product__content > :last-child { margin-bottom: 0; }
.product .price-box { margin-top: auto; padding-top: 6px; }
.product__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.price-table__group th { background: var(--c-light); color: var(--c-dark); text-align: left; padding: 12px 18px; font-size: 1rem; }
@media (max-width: 700px) { .price-table .price-table__group, .price-table .price-table__group th { display: block; width: 100%; } }
