/* ==========================================================================
   ZELENI DiV — obrt za uređenje okućnica i zelenih površina
   Dizajn: "Organic Biophilic" — prirodna paleta, organske krivulje, meke sjene
   Fontovi: Fraunces (naslovi) + Inter (tekst) — podrška za č ć đ š ž
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Boje — šumska zelena + toplo krem + medeni naglasak */
  --forest-950: #122619;
  --forest-900: #17301F;
  --forest-800: #1E3D2A;
  --forest-700: #2A5238;
  --forest-600: #356B47;
  --leaf-500:   #4E8A5F;
  --leaf-400:   #6FA37E;
  --sage-300:   #A9C4A6;
  --sage-200:   #CDDCC8;
  --sage-100:   #E4EDE0;
  --cream-50:   #FAF8F1;
  --cream-100:  #F4F0E4;
  --sand-200:   #EAE3D2;
  --honey-600:  #A96A18;
  --honey-500:  #C07E22;
  --honey-100:  #F6EBD8;
  --ink-900:    #1E2A20;
  --ink-600:    #49584B;
  --ink-500:    #5B6A5D;
  --white:      #FFFFFF;
  --whatsapp:   #1FAF57;
  --error:      #B3261E;
  --success:    #2E7D43;

  /* Semantički tokeni */
  --color-bg: var(--cream-50);
  --color-bg-alt: var(--cream-100);
  --color-surface: var(--white);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-600);
  --color-primary: var(--forest-700);
  --color-primary-hover: var(--forest-800);
  --color-accent: var(--honey-600);
  --color-border: var(--sage-200);
  --color-ring: var(--leaf-500);

  /* Tipografija */
  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-xs: 0.8125rem;   /* 13 */
  --fs-sm: 0.9375rem;   /* 15 */
  --fs-base: 1.0625rem; /* 17 */
  --fs-md: 1.1875rem;   /* 19 */
  --fs-lg: 1.4375rem;   /* 23 */
  --fs-xl: 1.75rem;     /* 28 */
  --fs-2xl: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --fs-hero: clamp(2.25rem, 1.5rem + 3.6vw, 4rem);

  /* Razmaci (4/8 sustav) */
  --sp-1: 0.25rem; --sp-2: 0.5rem; --sp-3: 0.75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;    --sp-8: 4rem;
  --sp-9: 6rem;

  /* Organske forme */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-blob: 58% 42% 44% 56% / 52% 46% 54% 48%;
  --shadow-sm: 0 1px 3px rgba(23, 48, 31, 0.08), 0 1px 2px rgba(23, 48, 31, 0.05);
  --shadow-md: 0 6px 18px -4px rgba(23, 48, 31, 0.14), 0 2px 6px rgba(23, 48, 31, 0.06);
  --shadow-lg: 0 20px 45px -12px rgba(23, 48, 31, 0.22);

  --header-h: 74px;
  --container: 72rem;
  --transition: 220ms cubic-bezier(0.33, 1, 0.68, 1);
}

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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  color: var(--forest-900);
  text-wrap: balance;
  letter-spacing: -0.01em;
}

p { max-width: 65ch; }

a { color: var(--color-primary); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a, button, summary, [role="button"] { cursor: pointer; touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--sage-200); color: var(--forest-900); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: var(--sp-3);
  z-index: 1000;
  background: var(--forest-800);
  color: #fff;
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { left: var(--sp-3); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

/* ---------- Gumbi ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: 52px;
  padding: var(--sp-3) var(--sp-6);
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition), transform var(--transition),
              box-shadow var(--transition);
}
.btn:active { transform: scale(0.97); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--color-primary-hover); box-shadow: var(--shadow-md); }

.btn--honey {
  background: var(--honey-600);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--honey:hover { background: #8F5910; box-shadow: var(--shadow-md); }

.btn--outline {
  background: transparent;
  color: var(--forest-800);
  border-color: var(--forest-700);
}
.btn--outline:hover { background: var(--sage-100); }

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(4px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, 0.26); }

.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: #178A44; }

.btn--lg { min-height: 58px; padding: var(--sp-4) var(--sp-7); font-size: var(--fs-md); }

/* ---------- Gornja traka ---------- */
.topbar {
  background: var(--forest-900);
  color: var(--sage-200);
  font-size: var(--fs-xs);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-block: 8px;
}
.topbar__group { display: flex; align-items: center; gap: var(--sp-5); }
.topbar a {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-block: 4px;
}
.topbar a:hover { color: var(--sage-300); }
.topbar svg { width: 15px; height: 15px; opacity: 0.85; }
.topbar__note { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 860px) { .topbar { display: none; } }

/* ---------- Header / navigacija ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.header.is-scrolled { border-color: var(--color-border); box-shadow: var(--shadow-sm); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--forest-900);
}
.brand__mark { width: 42px; height: 42px; flex: none; }
.brand__name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}
.brand__name span { color: var(--leaf-500); }
.brand__tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-top: 2px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  list-style: none;
  padding: 0;
}
.nav__link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 999px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--ink-900);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}
.nav__link:hover { background: var(--sage-100); }
.nav__link[aria-current="page"] {
  background: var(--forest-800);
  color: #fff;
  font-weight: 600;
}

.nav__cta { display: flex; align-items: center; gap: var(--sp-3); }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: var(--fs-sm);
  color: var(--forest-800);
  text-decoration: none;
  min-height: 44px;
  padding-inline: var(--sp-2);
}
.nav__phone svg { width: 18px; height: 18px; color: var(--leaf-500); }
.nav__phone:hover { color: var(--forest-950); }
.nav .btn { min-height: 46px; padding-block: var(--sp-2); }

/* Prebacivanje jezika */
.lang-switch {
  display: inline-flex;
  flex: none;
  border: 1.5px solid var(--color-border);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-switch button {
  flex: none;
  appearance: none;
  border: 0;
  background: transparent;
  font: 600 var(--fs-xs)/1 var(--font-body);
  color: var(--ink-600);
  padding: 10px 12px;
  min-width: 40px;
  min-height: 38px;
  transition: background-color var(--transition), color var(--transition);
}
.lang-switch button[aria-pressed="true"] { background: var(--forest-800); color: #fff; }
.lang-switch button:not([aria-pressed="true"]):hover { background: var(--sage-100); }

/* Hamburger */
.nav__toggle {
  display: none;
  appearance: none;
  border: 1.5px solid var(--color-border);
  background: var(--white);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  color: var(--forest-800);
}
.nav__toggle svg { width: 24px; height: 24px; }
.nav__toggle .icon-close { display: none; }
.nav__toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav__toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1100px) {
  .nav__cta--desktop .nav__phone { display: none; }
  .nav__cta--desktop .btn { padding-inline: var(--sp-4); }
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__cta--desktop { display: flex; }
  .nav__cta--desktop .btn { display: none; }
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--cream-50);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
    padding: var(--sp-4) var(--sp-5) var(--sp-6);
  }
  .nav__menu.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: var(--sp-1); }
  .nav__link { min-height: 48px; border-radius: var(--radius-sm); font-size: var(--fs-base); }
  .nav__menu .nav__cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: var(--sp-4);
    padding-top: var(--sp-4);
    border-top: 1px solid var(--color-border);
  }
  .nav__menu .nav__phone { justify-content: center; }
  .nav__menu .nav__phone span { display: inline; }
}
@media (min-width: 861px) {
  .nav__menu { display: flex; align-items: center; gap: var(--sp-5); }
  .nav__menu .nav__cta { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  color: #fff;
  padding-block: clamp(4.5rem, 10vw, 8.5rem);
  background: var(--forest-900);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg,
      rgba(14, 31, 20, 0.92) 0%,
      rgba(17, 38, 24, 0.78) 45%,
      rgba(20, 46, 29, 0.35) 100%);
}
.hero__inner { max-width: 40rem; }
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage-300);
  margin-bottom: var(--sp-4);
}
.hero__eyebrow svg { width: 16px; height: 16px; }
.hero h1 {
  font-size: var(--fs-hero);
  font-weight: 640;
  color: #fff;
  margin-bottom: var(--sp-4);
}
.hero h1 em {
  font-style: italic;
  color: var(--sage-300);
}
.hero__lead {
  font-size: var(--fs-md);
  line-height: 1.6;
  color: rgba(244, 240, 228, 0.92);
  margin-bottom: var(--sp-6);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-bottom: var(--sp-6); }
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: var(--fs-sm);
  color: var(--sage-200);
}
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--leaf-400); flex: none; }

/* Organski val na dnu heroa */
.wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  display: block;
  width: 100%;
  height: clamp(34px, 6vw, 70px);
  color: var(--color-bg);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* ---------- Sekcije ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--alt { background: var(--color-bg-alt); }
.section--forest { background: var(--forest-900); color: var(--cream-100); }
.section--forest h2 { color: #fff; }

.section__head { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center p { margin-inline: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--leaf-500);
  margin-bottom: var(--sp-3);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf-500);
}
.section__head--center .eyebrow::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--leaf-500);
}
.section__title { font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.section__sub { color: var(--color-text-muted); font-size: var(--fs-md); }
.section--forest .section__sub { color: var(--sage-200); }

/* ---------- Kartice usluga (checklist stil) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(21rem, 100%), 1fr));
  gap: var(--sp-5);
}
.service-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-card__media { position: relative; aspect-ratio: 16 / 9.5; overflow: hidden; }
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.33, 1, 0.68, 1);
}
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__icon {
  position: absolute;
  left: var(--sp-4);
  bottom: calc(-1 * var(--sp-4));
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: var(--forest-800);
  color: var(--sage-200);
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-md);
}
.service-card__icon svg { width: 26px; height: 26px; }
.service-card__body { padding: var(--sp-6) var(--sp-5) var(--sp-5); display: flex; flex-direction: column; flex: 1; }
.service-card h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.service-card__desc { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--sp-4); }

.checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-5);
  display: grid;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
}
.checklist li { display: flex; align-items: flex-start; gap: 10px; }
.checklist svg {
  width: 19px;
  height: 19px;
  flex: none;
  margin-top: 3px;
  color: var(--leaf-500);
}
.checklist--light { color: var(--cream-100); }
.checklist--light svg { color: var(--leaf-400); }

.service-card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: var(--fs-sm);
  color: var(--forest-700);
  text-decoration: none;
  min-height: 44px;
}
.service-card__link svg { width: 18px; height: 18px; transition: transform var(--transition); }
.service-card__link:hover { color: var(--forest-950); text-decoration: underline; }
.service-card__link:hover svg { transform: translateX(4px); }

/* ---------- Koraci (kako radimo) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr));
  gap: var(--sp-5);
  counter-reset: step;
}
.step {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-6) var(--sp-5) var(--sp-5);
}
.step__num {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: var(--sp-4);
  border-radius: var(--radius-blob);
  background: var(--sage-100);
  color: var(--forest-800);
  font-family: var(--font-heading);
  font-size: var(--fs-lg);
  font-weight: 700;
}
.step h3 { font-size: var(--fs-md); margin-bottom: var(--sp-2); }
.step p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* ---------- Zašto mi (split) ---------- */
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split__media { position: relative; }
.split__media img {
  width: 100%;
  aspect-ratio: 4 / 4.4;
  object-fit: cover;
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-lg);
}
.split__media::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 8% -6% -6% 8%;
  border-radius: var(--radius-blob);
  background: var(--sage-200);
  opacity: 0.55;
}
.split__card {
  position: absolute;
  left: clamp(-0.5rem, -2vw, -1.5rem);
  bottom: var(--sp-5);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--sp-4) var(--sp-5);
  max-width: 20rem;
}
.split__card svg { width: 34px; height: 34px; color: var(--leaf-500); flex: none; }
.split__card strong { display: block; font-size: var(--fs-sm); color: var(--forest-900); }
.split__card span { font-size: var(--fs-xs); color: var(--ink-500); }

/* ---------- Galerija ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(17rem, 100%), 1fr));
  gap: var(--sp-4);
}
.gallery-item {
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-sm);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.33, 1, 0.68, 1);
}
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(18, 38, 25, 0.55), transparent 45%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-item figcaption {
  position: absolute;
  left: var(--sp-4);
  bottom: var(--sp-3);
  z-index: 1;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--transition), transform var(--transition);
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.gallery-item:hover figcaption { opacity: 1; transform: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--sp-5);
  background: rgba(14, 26, 18, 0.86);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(92vw, 68rem);
  max-height: 84vh;
  width: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}
.lightbox__close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.lightbox__close:hover { background: rgba(255, 255, 255, 0.3); }
.lightbox__close svg { width: 26px; height: 26px; }
.lightbox__caption {
  position: absolute;
  bottom: var(--sp-4);
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-100);
  font-size: var(--fs-sm);
  text-align: center;
  max-width: 90vw;
}

/* ---------- Video ---------- */
.video-grid {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(20rem, 100%), 1fr));
}
.video-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--forest-950);
  box-shadow: var(--shadow-md);
}
.video-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Recenzije ---------- */
.quotes {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr));
}
.quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--sp-6) var(--sp-5);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.quote__stars { display: flex; gap: 3px; color: var(--honey-500); }
.quote__stars svg { width: 18px; height: 18px; }
.quote blockquote { font-size: var(--fs-sm); color: var(--ink-600); }
.quote footer { display: flex; align-items: center; gap: var(--sp-3); margin-top: auto; }
.quote__avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-blob);
  display: grid;
  place-items: center;
  background: var(--sage-100);
  color: var(--forest-800);
  font-weight: 700;
  font-size: var(--fs-sm);
  flex: none;
}
.quote cite { font-style: normal; font-weight: 600; font-size: var(--fs-sm); color: var(--forest-900); display: block; }
.quote small { color: var(--ink-500); font-size: var(--fs-xs); }

/* ---------- Područje rada ---------- */
.area { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; padding: 0; }
.area li {
  background: var(--white);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: var(--fs-sm);
  color: var(--ink-600);
}

/* ---------- CTA vrpca ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--forest-800);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 6vw, 4rem);
  color: #fff;
  text-align: center;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: var(--radius-blob);
  background: rgba(78, 138, 95, 0.35);
  z-index: 0;
}
.cta-band::before { width: 260px; height: 260px; top: -120px; left: -80px; }
.cta-band::after { width: 320px; height: 320px; bottom: -160px; right: -100px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.cta-band p { margin: 0 auto var(--sp-6); color: var(--sage-200); font-size: var(--fs-md); }
.cta-band__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp-3); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.05fr 1fr; } }

.contact-info { display: grid; gap: var(--sp-4); align-content: start; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--sp-5);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--transition), transform var(--transition);
}
a.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-card__icon {
  width: 50px;
  height: 50px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: var(--radius-blob);
  background: var(--sage-100);
  color: var(--forest-800);
}
.contact-card__icon svg { width: 24px; height: 24px; }
.contact-card strong { display: block; font-size: var(--fs-sm); color: var(--ink-500); font-weight: 500; margin-bottom: 2px; }
.contact-card span { font-weight: 600; font-size: var(--fs-md); color: var(--forest-900); }
.contact-card small { display: block; color: var(--ink-500); margin-top: 2px; font-size: var(--fs-xs); }

/* Forma */
.form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-md);
}
.form h3 { font-size: var(--fs-lg); margin-bottom: var(--sp-2); }
.form > p { font-size: var(--fs-sm); color: var(--color-text-muted); margin-bottom: var(--sp-5); }
.form__row { display: grid; gap: var(--sp-4); }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.form__group { display: grid; gap: 6px; margin-bottom: var(--sp-4); }
.form__group label { font-size: var(--fs-sm); font-weight: 600; color: var(--forest-900); }
.form__group label .req { color: var(--error); }
.form__hint { font-size: var(--fs-xs); color: var(--ink-500); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  font: 400 var(--fs-base)/1.4 var(--font-body);
  color: var(--ink-900);
  background: var(--cream-50);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition), background-color var(--transition);
}
textarea { resize: vertical; min-height: 130px; }
input:hover, select:hover, textarea:hover { border-color: var(--sage-300); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--leaf-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(78, 138, 95, 0.18);
}
.form__group.has-error input, .form__group.has-error textarea { border-color: var(--error); }
.form__error {
  display: none;
  font-size: var(--fs-xs);
  color: var(--error);
  font-weight: 500;
}
.form__group.has-error .form__error { display: block; }
.form__status {
  display: none;
  margin-top: var(--sp-4);
  padding: var(--sp-4);
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
}
.form__status.is-success { display: block; background: #E7F3EA; color: var(--success); border: 1px solid #BFDEC8; }
.form__status.is-error { display: block; background: #FBEAE9; color: var(--error); border: 1px solid #F0C4C1; }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: 0.6; cursor: not-allowed; }

.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Karta */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  margin-top: clamp(2rem, 5vw, 3.5rem);
}
.map-wrap iframe { width: 100%; height: clamp(320px, 45vw, 440px); border: 0; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-3); max-width: 48rem; margin-inline: auto; }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  font-size: var(--fs-base);
  color: var(--forest-900);
  min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 20px; height: 20px; flex: none; color: var(--leaf-500); transition: transform var(--transition); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 var(--sp-5) var(--sp-5); color: var(--color-text-muted); font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.footer {
  background: var(--forest-950);
  color: var(--sage-200);
  padding-block: var(--sp-8) var(--sp-6);
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: var(--sp-6);
  margin-bottom: var(--sp-7);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer .brand { color: #fff; margin-bottom: var(--sp-4); }
.footer .brand__tag { color: var(--sage-300); }
.footer__about { max-width: 30ch; color: var(--sage-300); }
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}
.footer ul { list-style: none; padding: 0; display: grid; gap: var(--sp-2); }
.footer a { color: var(--sage-200); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 32px; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer svg { width: 16px; height: 16px; flex: none; opacity: 0.8; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  justify-content: space-between;
  align-items: center;
  padding-top: var(--sp-5);
  border-top: 1px solid rgba(169, 196, 166, 0.2);
  font-size: var(--fs-xs);
  color: var(--sage-300);
}

/* ---------- Mobilna traka (poziv/whatsapp/ponuda) ---------- */
.mobile-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  display: none;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 1px;
  background: var(--color-border);
  border-top: 1px solid var(--color-border);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(23, 48, 31, 0.12);
}
.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  background: var(--white);
  color: var(--forest-800);
}
.mobile-bar svg { width: 20px; height: 20px; }
.mobile-bar a:active { background: var(--sage-100); }
.mobile-bar .mobile-bar__wa { color: var(--whatsapp); }
.mobile-bar .mobile-bar__cta { background: var(--forest-800); color: #fff; }
@media (max-width: 760px) {
  .mobile-bar { display: grid; }
  body { padding-bottom: calc(57px + env(safe-area-inset-bottom)); }
}

/* ---------- Page hero (podstranice) ---------- */
.page-hero {
  background: var(--forest-900);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -140px;
  top: -160px;
  border-radius: var(--radius-blob);
  background: rgba(78, 138, 95, 0.25);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: var(--fs-2xl); margin-bottom: var(--sp-3); }
.page-hero p { color: var(--sage-200); font-size: var(--fs-md); }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-4);
  font-size: var(--fs-xs);
  color: var(--sage-300);
}
.breadcrumb a { color: var(--sage-200); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; opacity: 0.6; }

/* ---------- Detalj usluge ---------- */
.service-detail {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 880px) {
  .service-detail { grid-template-columns: 1fr 1fr; }
  .service-detail--flip .service-detail__media { order: 2; }
}
.service-detail + .service-detail { border-top: 1px solid var(--color-border); }
.service-detail__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.service-detail h2 { font-size: var(--fs-xl); margin-bottom: var(--sp-3); }
.service-detail > div > p { color: var(--color-text-muted); margin-bottom: var(--sp-4); }

/* ---------- Prije / poslije klizač ---------- */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
  --ba-pos: 50%;
  background: var(--forest-900);
}
.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  -webkit-user-drag: none;
}
.ba-slider__before {
  /* prikazuje lijevi dio (do pozicije ručice) */
  clip-path: inset(0 calc(100% - var(--ba-pos)) 0 0);
}
.ba-slider.is-anim .ba-slider__before {
  transition: clip-path 850ms cubic-bezier(0.65, 0, 0.35, 1);
}
.ba-slider.is-anim .ba-slider__handle {
  transition: left 850ms cubic-bezier(0.65, 0, 0.35, 1);
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 0;
  display: grid;
  place-items: center;
  z-index: 2;
}
.ba-slider__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.45);
}
.ba-slider__grip {
  position: relative;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--forest-800);
  box-shadow: var(--shadow-md);
  display: grid;
  place-items: center;
  cursor: ew-resize;
  touch-action: none;
}
.ba-slider__grip svg { width: 26px; height: 26px; pointer-events: none; }
.ba-slider__grip:focus-visible {
  outline: 3px solid var(--color-ring);
  outline-offset: 3px;
}
.ba-slider__label {
  position: absolute;
  top: 14px;
  z-index: 1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  padding: 7px 14px;
  border-radius: 999px;
  pointer-events: none;
}
.ba-slider__label--before { left: 14px; background: rgba(23, 48, 31, 0.82); }
.ba-slider__label--after { right: 14px; background: rgba(53, 107, 71, 0.9); }
.ba-slider__hint {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  z-index: 1;
  font-size: var(--fs-xs);
  color: #fff;
  background: rgba(23, 38, 25, 0.62);
  padding: 6px 14px;
  border-radius: 999px;
  backdrop-filter: blur(3px);
  pointer-events: none;
  transition: opacity 300ms;
}
.ba-slider.is-touched .ba-slider__hint { opacity: 0; }

/* ---------- Animacije pri skrolanju ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 600ms cubic-bezier(0.33, 1, 0.68, 1),
              transform 600ms cubic-bezier(0.33, 1, 0.68, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Print ---------- */
@media print {
  .header, .topbar, .mobile-bar, .footer, .cta-band, .wave { display: none; }
}
