/* Ekonomik Higijena 023 - glavni stilovi */
:root {
  --petrol: #0d3437;
  --ink: #111817;
  --mineral: #f5f6f1;
  --stone: #e7e9e2;
  --mint: #41c8ad;
  --muted-mint: #b7ded5;
  --concrete: #c9c5ba;
  --white: #fff;
  --text: #1b2422;
  --text-soft: rgba(17, 24, 23, 0.72);
  --text-faint: rgba(17, 24, 23, 0.55);
  --line: rgba(17, 24, 23, 0.14);
  --radius: 12px;
  --container: 1320px;
  --font: "Manrope", -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --dur: 180ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--mineral);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -0.01em; text-wrap: balance; }
p { overflow-wrap: break-word; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 48px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: top var(--dur) ease;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 3px;
  border-radius: 4px;
}
.section-dark :focus-visible, .site-header :focus-visible { outline-color: var(--mint); }

/* ---------- Tipografija ---------- */
.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--petrol);
  margin-bottom: 16px;
}
.section-dark .eyebrow { color: var(--muted-mint); }

h1 {
  font-size: clamp(42px, 5.6vw, 78px);
  font-weight: 700;
  line-height: 1.0;
  margin-bottom: 22px;
}
h2 {
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 700;
  margin-bottom: 18px;
}
h3 { font-size: 21px; font-weight: 700; }
.lead { font-size: clamp(17px, 1.4vw, 19px); color: var(--text-soft); max-width: 56ch; }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform var(--dur) ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--petrol); color: var(--white); }
.btn-primary:hover { background: #12444a; }
.btn-small { min-height: 46px; padding: 10px 22px; font-size: 15px; }
.btn-outline { border-color: var(--petrol); color: var(--petrol); background: transparent; }
.btn-outline:hover { background: var(--petrol); color: var(--white); }
.btn-mint { background: var(--mint); color: #07322a; }
.btn-mint:hover { background: #5ad4bc; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #000; }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.5); color: var(--white); background: transparent; }
.btn-ghost-light:hover { border-color: var(--white); }
.btn-full { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 246, 241, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.site-header.is-scrolled {
  background: var(--mineral);
  border-bottom-color: var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  display: block;
  height: 46px;
  width: auto;
}
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--text-soft);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a.is-active { color: var(--ink); border-bottom-color: var(--mint); }
.header-actions { display: flex; align-items: center; gap: 16px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: var(--petrol);
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; transition: transform 200ms ease, opacity 200ms ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--petrol);
  color: var(--white);
  padding: 108px 22px calc(22px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-size: 30px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.mobile-menu-cta { display: flex; flex-direction: column; gap: 12px; }
.mobile-menu-cta .btn { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--petrol);
  color: var(--white);
  padding: 64px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 90%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { color: var(--muted-mint); }
.hero .lead { color: rgba(255,255,255,.82); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 18px; }
.hero-cta .btn-primary { background: var(--mint); color: #07322a; }
.hero-cta .btn-primary:hover { background: #5ad4bc; }
.hero-cta .btn-outline { border-color: rgba(255,255,255,.55); color: var(--white); }
.hero-cta .btn-outline:hover { background: var(--white); color: var(--petrol); border-color: var(--white); }
.hero-media figure { margin: 0; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.4;
  object-fit: cover;
  object-position: center 40%;
  border-radius: 14px;
}
.hero-media figcaption, .split-media figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--concrete);
}
.split-media figcaption { color: var(--text-faint); }
.fig-index {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: rgba(65, 200, 173, 0.18);
  border: 1px solid rgba(65, 200, 173, 0.45);
  color: var(--muted-mint);
  padding: 3px 9px;
  border-radius: 6px;
  white-space: nowrap;
}
.split-media .fig-index { background: var(--stone); border-color: var(--line); color: var(--petrol); }

/* ---------- Sekcije ---------- */
.section { padding: 104px 0; }
.section-alt { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 820px; margin-bottom: 52px; }
.section-intro { color: var(--text-soft); font-size: 18px; max-width: 64ch; }

/* ---------- Usluge ---------- */
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.service-card {
  background: var(--mineral);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color var(--dur) ease;
}
.service-card:hover { border-color: rgba(13, 52, 55, 0.4); }
.service-media { overflow: hidden; }
.service-media img {
  width: 100%;
  aspect-ratio: 16 / 8.2;
  object-fit: cover;
  transition: transform 220ms ease;
}
.service-card:hover .service-media img { transform: scale(1.03); }
.service-body { padding: 30px 32px 32px; }
.service-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--petrol);
  border-bottom: 2px solid var(--mint);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 14px;
}
.service-body h3 { font-size: 26px; margin-bottom: 10px; }
.service-body p { color: var(--text-soft); margin-bottom: 0; }

/* ---------- Proces ---------- */
.timeline {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mineral);
  overflow: hidden;
}
.timeline li { padding: 32px 28px; position: relative; }
.timeline li + li { border-left: 1px solid var(--line); }
.step-num { font-size: 30px; font-weight: 700; color: var(--petrol); opacity: 0.9; margin-bottom: 12px; }
.timeline h3 { font-size: 19px; margin-bottom: 8px; }
.timeline p { color: var(--text-soft); font-size: 16px; }

/* ---------- Tamna sekcija ---------- */
.section-dark {
  background: var(--ink);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.dark-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}
.dark-grid h2 { font-size: clamp(30px, 3.4vw, 48px); margin: 0; max-width: 18ch; }
.check-list { list-style: none; padding: 0; margin-bottom: 30px; }
.check-list li {
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid rgba(255,255,255,.16);
  font-weight: 600;
  font-size: 17px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--mint);
  border-bottom: 3px solid var(--mint);
  transform: rotate(-45deg) translateY(-4px);
}

/* ---------- Galerija ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-item figcaption {
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-soft);
  border-top: 1px solid var(--line);
}
.demo-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--text-faint);
  border-left: 3px solid var(--concrete);
  padding-left: 14px;
  max-width: 90ch;
}

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-reverse > .split-copy { order: 2; }
.split-reverse > .split-media { order: 1; }
.split-media img { width: 100%; border-radius: 14px; aspect-ratio: 4 / 4.4; object-fit: cover; }
#o-nama .split-media img { aspect-ratio: 4 / 3; }
.point { border-top: 1px solid var(--line); padding: 24px 0; }
.point:last-of-type { border-bottom: 1px solid var(--line); }
.point h3 { display: flex; align-items: baseline; gap: 14px; margin-bottom: 8px; }
.point-num {
  font-size: 14px;
  font-weight: 700;
  color: var(--petrol);
  background: var(--muted-mint);
  border-radius: 7px;
  padding: 2px 10px;
  white-space: nowrap;
}
.point p { color: var(--text-soft); }

/* ---------- FAQ ---------- */
.narrow { max-width: 860px; }
.accordion { border-top: 1px solid var(--line); }
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-item h3 { margin: 0; }
.accordion-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: none;
  border: 0;
  padding: 22px 4px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  min-height: 44px;
}
.acc-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--petrol);
  border-radius: 8px;
  font-size: 20px;
  font-weight: 400;
  color: var(--petrol);
  transition: background-color var(--dur) ease, color var(--dur) ease, transform 200ms ease;
}
.accordion-item button[aria-expanded="true"] .acc-icon { background: var(--petrol); color: var(--white); transform: rotate(45deg); }
.accordion-panel { padding: 0 4px 24px; color: var(--text-soft); }
.accordion-panel[hidden] { display: none; }

/* ---------- CTA ---------- */
.cta-final { background: var(--mint); padding: 96px 0; }
.cta-box { text-align: left; }
.cta-box h2 { color: #07322a; max-width: 22ch; }
.cta-box > p { color: rgba(7, 50, 42, 0.85); font-size: 18px; margin-bottom: 28px; max-width: 58ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Kontakt ---------- */
.contact-list { font-style: normal; display: grid; gap: 20px; margin-top: 30px; }
.contact-list > div { border-top: 1px solid var(--line); padding-top: 16px; }
.contact-label { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 4px; }
.contact-list a { font-weight: 700; font-size: 20px; text-decoration: none; color: var(--petrol); }
.contact-list a:hover { text-decoration: underline; }

.form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 36px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.field { display: grid; gap: 7px; align-content: start; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 14.5px; font-weight: 700; }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  background: var(--mineral);
  border: 1.5px solid var(--line);
  border-radius: 9px;
  padding: 12px 14px;
  width: 100%;
  min-height: 50px;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--mint);
  outline-offset: 1px;
  border-color: var(--petrol);
}
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 20px; }
.field-check input { width: 24px; height: 24px; flex: none; margin-top: 2px; accent-color: var(--petrol); }
.field-check label { font-size: 14.5px; font-weight: 500; color: var(--text-soft); }
.form-error { color: #b3261e; font-weight: 600; margin-bottom: 14px; }
.form-success { border: 1.5px solid var(--petrol); border-radius: 10px; background: var(--mineral); padding: 22px; margin-top: 20px; }
.form-success[hidden], .form-error[hidden] { display: none; }
.form-success h3 { margin-bottom: 6px; }
.form-success p { color: var(--text-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.82); padding: 72px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 52px;
}
.footer-logo {
  display: inline-block;
  background: var(--mineral);
  border-radius: 10px;
  padding: 8px 16px;
  margin: 0 0 18px;
}
.footer-logo img { display: block; height: 52px; width: auto; }
.footer-brand p + p { margin-top: 0; font-size: 15.5px; max-width: 34ch; }
.footer-head { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-mint); margin-bottom: 16px; }
.site-footer nav { display: grid; gap: 10px; align-content: start; }
.site-footer nav a, .footer-grid > div > a { text-decoration: none; font-size: 15.5px; display: block; padding: 3px 0; }
.site-footer nav a:hover, .footer-grid > div > a:hover { color: var(--white); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.16);
  padding-top: 22px;
  padding-bottom: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14.5px;
}
.izrada { color: rgba(255,255,255,.6); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .container { padding-inline: 36px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 56px; }
  .dark-grid { grid-template-columns: 1fr; gap: 36px; }
  .split { gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .service-grid { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li:nth-child(3) { border-left: 0; }
  .timeline li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .split-reverse > .split-copy { order: 1; }
  .split-reverse > .split-media { order: 2; }
  .split-media img { aspect-ratio: 4 / 3; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding-inline: 20px; }
  .site-header .btn-small { display: none; }
  .header-inner { min-height: 68px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li + li { border-left: 0; border-top: 1px solid var(--line); }
  .gallery-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wrap { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-row .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
