/* EKO SAN — stilovi */

:root {
  --green-950: #0a1f14;
  --green-900: #0f2a1c;
  --green-800: #143524;
  --green-700: #1d4a31;
  --green-600: #2a6342;
  --gold: #c9a24c;
  --gold-light: #e2c983;
  --gold-dark: #94701f;
  --paper: #fbf8f0;
  --tint: #f2ecdb;
  --card: #fffdf8;
  --ink: #1b2a20;
  --ink-soft: #536057;
  --line: rgba(27, 42, 32, .14);
  --on-dark: #f3ecda;
  --on-dark-soft: #b9c6b8;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Nunito Sans", "Segoe UI", Roboto, Arial, sans-serif;

  --container: 1200px;
  --header-h: 78px;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 42, 28, .06), 0 12px 32px -12px rgba(15, 42, 28, .22);

  /* Cvet života — isti motiv kao na plakatima EKO SAN */
  --flower: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120' fill='none' stroke='%23c9a24c' stroke-width='.5'%3E%3Ccircle cx='60' cy='60' r='40'/%3E%3Ccircle cx='60' cy='60' r='20'/%3E%3Ccircle cx='80' cy='60' r='20'/%3E%3Ccircle cx='40' cy='60' r='20'/%3E%3Ccircle cx='70' cy='77.32' r='20'/%3E%3Ccircle cx='50' cy='77.32' r='20'/%3E%3Ccircle cx='70' cy='42.68' r='20'/%3E%3Ccircle cx='50' cy='42.68' r='20'/%3E%3C/svg%3E");
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.7 var(--font-sans);
  font-variant-numeric: lining-nums;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; }
p { margin: 0 0 1em; }
svg { flex: none; }

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--green-950);
  font-weight: 700;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

/* Naslovi */

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.08;
  color: var(--green-800);
}
h2 { font-size: clamp(2.2rem, 4.2vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.65rem; line-height: 1.15; margin-bottom: 10px; }

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.kicker::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}
.kicker-light { color: var(--gold); }

.section-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }

/* Dugmad */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 700 1rem/1.2 var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: 10px 18px; font-size: .95rem; }
.btn-lg { padding: 16px 28px; font-size: 1.06rem; }

.btn-gold { background: var(--gold); color: var(--green-950); }
.btn-gold:hover { background: var(--gold-light); }
.btn-green { background: var(--green-700); color: var(--on-dark); }
.btn-green:hover { background: var(--green-600); }
.btn-ghost { border-color: rgba(243, 236, 218, .35); color: var(--on-dark); }
.btn-ghost:hover { background: rgba(243, 236, 218, .08); border-color: var(--gold); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  color: var(--green-700);
  text-decoration: none;
  border-bottom: 1px solid rgba(29, 74, 49, .3);
  padding-bottom: 2px;
}
.text-link svg { width: 18px; height: 18px; transition: transform .2s; }
.text-link:hover { color: var(--green-600); border-color: currentColor; }
.text-link:hover svg { transform: translateX(3px); }

/* Mutna sličica (--lqip iz HTML-a) se vidi dok se prava slika ne učita */
.ph {
  background: var(--tint) var(--lqip, none) center / cover no-repeat;
  overflow: hidden;
}
.ph img { width: 100%; height: 100%; object-fit: cover; }

/* Zaglavlje */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(15, 42, 28, .97);
  border-bottom: 1px solid rgba(201, 162, 76, .22);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(15, 42, 28, .88); backdrop-filter: blur(10px); }
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}
.logo-mark { width: 40px; height: 40px; color: var(--gold); }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name {
  font: 700 1.7rem/1 var(--font-serif);
  letter-spacing: .04em;
}
.logo-sub {
  margin-top: 5px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav { display: flex; gap: 30px; margin-left: auto; }
.nav a {
  position: relative;
  color: var(--on-dark);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(243, 236, 218, .3);
  border-radius: 12px;
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
}
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

/* Početna */

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(ellipse 70% 80% at 15% 0%, rgba(42, 99, 66, .55), transparent 70%),
    radial-gradient(ellipse 60% 70% at 100% 100%, rgba(201, 162, 76, .12), transparent 70%),
    var(--green-900);
  color: var(--on-dark);
}
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  background: var(--flower) center / contain no-repeat;
  pointer-events: none;
}
.hero::before { width: 560px; height: 560px; left: -190px; top: -170px; opacity: .22; }
.hero::after { width: 380px; height: 380px; right: -120px; bottom: -150px; opacity: .16; }

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(3rem, 6.4vw, 5.1rem);
  font-weight: 600;
  line-height: .98;
  color: var(--on-dark);
  margin-bottom: 24px;
}
.hero h1 span { display: block; color: var(--gold); font-weight: 700; }
.hero h1 small {
  display: block;
  margin-top: 10px;
  font: italic 500 .4em/1.2 var(--font-serif);
  letter-spacing: .08em;
  color: var(--on-dark-soft);
}

.hero-lead {
  font-size: 1.22rem;
  line-height: 1.65;
  color: rgba(243, 236, 218, .88);
  max-width: 34em;
  margin-bottom: 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 0;
  padding: 22px 0 0;
  list-style: none;
  border-top: 1px solid rgba(201, 162, 76, .25);
  font-size: .98rem;
  color: var(--on-dark-soft);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points svg { width: 18px; height: 18px; color: var(--gold); }

.hero-figure { position: relative; margin: 0; }
.hero-photo {
  aspect-ratio: 1020 / 811;
  border-radius: 22px;
  border: 1px solid rgba(201, 162, 76, .45);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .55), 0 0 0 10px rgba(201, 162, 76, .07);
}
.hero-badge {
  position: absolute;
  left: -26px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  padding: 14px 22px 16px;
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.hero-badge span {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-badge strong {
  font: 700 2.4rem/1 var(--font-serif);
  color: var(--green-700);
  margin-top: 4px;
}

/* Sekcije */

.section { padding: 104px 0; }
.section-tint { background: var(--tint); }
.section-dark {
  position: relative;
  overflow: hidden;
  background: var(--green-900);
  color: var(--on-dark);
}
.section-dark h2 { color: var(--on-dark); }
.section-dark .section-lead { color: var(--on-dark-soft); }

.section-head { max-width: 760px; margin-bottom: 52px; }

/* Šta su biopiramide */

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.intro-photo {
  aspect-ratio: 1024 / 752;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.intro-text > p { color: var(--ink-soft); }

.benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 26px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--green-800);
}
.benefits svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 76, .55);
  background: #fff;
  color: var(--gold-dark);
}

/* Cenovnik */

.prices-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 64px;
  align-items: start;
}

.price-list {
  margin: 34px 0 34px;
  padding: 8px 28px;
  list-style: none;
  background: var(--card);
  border: 1px solid rgba(201, 162, 76, .35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.price-list li {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
}
.price-list li + li { border-top: 1px dashed rgba(27, 42, 32, .18); }

.price-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-light);
  font: 700 1.35rem/1 var(--font-serif);
}
.price-what { display: flex; flex-direction: column; line-height: 1.35; }
.price-what strong { font-size: 1.08rem; color: var(--ink); }
.price-what small { font-size: .95rem; color: var(--ink-soft); }
.price-amount {
  font: 700 2rem/1 var(--font-serif);
  color: var(--green-800);
  white-space: nowrap;
}

.prices-photo {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  aspect-ratio: 1024 / 1352;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}

/* Traka za firme */

.band {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background: var(--green-900);
  color: var(--on-dark);
}
/* Slika zauzima desni deo trake, da se piramida vidi pored teksta */
.band-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 60%;
}
.band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--green-900) 0%, var(--green-900) 38%, rgba(15, 42, 28, .7) 50%, rgba(15, 42, 28, .12) 72%, rgba(15, 42, 28, 0) 100%);
}
.band-inner { position: relative; z-index: 1; }
.band-inner > * { max-width: 620px; }
.band h2 { color: var(--on-dark); }
.band-inner > p { font-size: 1.15rem; color: rgba(243, 236, 218, .86); }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}
.tags li {
  padding: 8px 16px;
  border: 1px solid rgba(226, 201, 131, .45);
  border-radius: 999px;
  background: rgba(10, 31, 20, .45);
  font-size: .97rem;
  font-weight: 600;
}

/* Proizvodi */

.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .25s, box-shadow .25s;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 2px rgba(15, 42, 28, .06), 0 22px 40px -14px rgba(15, 42, 28, .3);
}
.product-photo { aspect-ratio: 4 / 3; }
.product-body { padding: 22px 22px 26px; }
.product-body h3 { font-size: 1.55rem; }
.product-body p { margin: 0; font-size: 1rem; color: var(--ink-soft); }

/* Energetske ploče — velika slika i sličice za biranje */
.feature {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 28px;
  padding: 28px;
  background: var(--card);
  border: 1px solid rgba(201, 162, 76, .35);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.feature-main {
  aspect-ratio: 1004 / 591;
  border-radius: 12px;
}
.feature-main img { transition: opacity .25s; }
.feature-main img.is-loading { opacity: .4; }
.feature-thumbs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.thumb {
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 10px;
  background: var(--tint);
  cursor: pointer;
  opacity: .7;
  transition: opacity .2s, border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 25% 40%; }
.thumb:hover { opacity: 1; }
.thumb[aria-pressed="true"] { opacity: 1; border-color: var(--gold); }

.feature-text h3 { font-size: 2.1rem; margin-bottom: 14px; }
.feature-text > p { color: var(--ink-soft); font-size: 1.05rem; }
.feature-text .meta { margin-bottom: 0; }

.products-more {
  margin: 36px 0 0;
  text-align: center;
  color: var(--ink-soft);
}
.products-more a { color: var(--green-700); font-weight: 800; }

/* Usluge */

.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.service {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.service-photo { aspect-ratio: 16 / 10; }
.service-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 30px 32px 34px;
}
.service-body h3 { font-size: 1.9rem; }
.service-body > p { color: var(--ink-soft); }

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 26px;
  padding: 0;
  list-style: none;
}
.meta li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--tint);
  font-size: .97rem;
  font-weight: 700;
  color: var(--green-800);
}
.meta svg { width: 17px; height: 17px; color: var(--gold-dark); }
.service-body .text-link { margin-top: auto; }

/* Radiestezija — dve slike jedna pored druge */
.service-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--card);
}
.service-duo figure { position: relative; margin: 0; }
.service-duo img { position: absolute; inset: 0; }
.service-duo figure:first-child img { object-position: 64% 40%; }
.service-duo figure:last-child img { object-position: 50% 72%; }
.service-duo figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(10, 31, 20, .82);
  color: var(--on-dark);
  font-size: .85rem;
  font-weight: 700;
}

.edu {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 28px;
  padding: 28px 32px;
  border: 1px solid rgba(201, 162, 76, .45);
  border-radius: var(--radius);
  background: var(--paper);
}
.edu-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  flex: none;
  border-radius: 50%;
  background: var(--green-700);
  color: var(--gold-light);
}
.edu-icon svg { width: 30px; height: 30px; }
.edu-text { flex: 1; }
.edu-text h3 { font-size: 1.6rem; margin-bottom: 6px; }
.edu-text p { margin: 0; color: var(--ink-soft); }

/* O Mirjani */

.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.about-photo {
  position: relative;
  aspect-ratio: 1058 / 1373;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: visible;
}
.about-photo img { border-radius: var(--radius); }
.about-photo::before {
  content: "";
  position: absolute;
  inset: -16px 16px 16px -16px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: calc(var(--radius) + 4px);
}
#o-mirjani { position: relative; isolation: isolate; }

.about-motto {
  margin: -8px 0 22px;
  font: italic 500 1.6rem/1.3 var(--font-serif);
  color: var(--gold-dark);
}
.about-text > p:not(.kicker):not(.about-motto) { color: var(--ink-soft); }

.quote {
  position: relative;
  margin: 30px 0 0;
  padding: 26px 30px 26px 34px;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--tint);
}
.quote p {
  margin: 0;
  font: italic 600 1.55rem/1.35 var(--font-serif);
  color: var(--green-800);
}

/* Kontakt */

.section-dark::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -180px;
  top: -200px;
  background: var(--flower) center / contain no-repeat;
  opacity: .14;
  pointer-events: none;
}

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.contact-list {
  display: grid;
  gap: 22px;
  margin: 34px 0 36px;
  padding: 0;
  list-style: none;
}
.contact-list li { display: flex; align-items: center; gap: 18px; }
.contact-list small {
  display: block;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-list a,
.contact-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--on-dark);
  text-decoration: none;
}
.contact-list a:hover { color: var(--gold-light); }
.contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 76, .5);
  color: var(--gold);
}
.contact-icon svg { width: 22px; height: 22px; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.map {
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 162, 76, .45);
  background: var(--green-800);
  aspect-ratio: 1 / 1;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .6);
}
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Podnožje */

.site-footer { background: var(--green-950); color: var(--on-dark); }
.site-footer .container { padding-block: 56px 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr auto;
  gap: 32px;
  align-items: start;
}
.footer-brand p { margin: 16px 0 0; font-size: .98rem; color: var(--on-dark-soft); max-width: 34ch; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 26px; padding-top: 8px; }
.footer-nav a { color: var(--on-dark-soft); text-decoration: none; font-weight: 600; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 4px;
  font: 700 1.6rem/1 var(--font-serif);
  color: var(--gold);
  text-decoration: none;
  white-space: nowrap;
}
.footer-phone svg { width: 20px; height: 20px; }
.footer-note {
  margin: 40px 0 0;
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  background: rgba(243, 236, 218, .05);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--on-dark);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 10px;
  font-size: .88rem;
  color: rgba(185, 198, 184, .75);
}
.footer-bottom a {
  color: var(--on-dark-soft);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(201, 162, 76, .5);
  text-underline-offset: 3px;
}
.footer-bottom a:hover { color: var(--gold-light); text-decoration-color: currentColor; }

/* Vilhelm Rajh */
.story {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 48px;
  align-items: center;
  margin-top: 72px;
  padding: 40px 44px;
  border-radius: var(--radius);
  background: var(--green-900);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.story::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 380px;
  height: 380px;
  right: -110px;
  top: -130px;
  background: var(--flower) center / contain no-repeat;
  opacity: .16;
}
.story h3 { color: var(--on-dark); font-size: 2rem; margin-bottom: 14px; }
.story-text p:not(.kicker) { color: rgba(243, 236, 218, .85); }
.story-text p:last-child { margin-bottom: 0; }
.story .kicker { color: var(--gold); }
.story-quote {
  margin: 0;
  padding-left: 28px;
  border-left: 2px solid var(--gold);
}
.story-quote p {
  margin: 0;
  font: italic 600 1.7rem/1.35 var(--font-serif);
  color: var(--gold-light);
}

/* O Mirjani — titule */
.about-roles {
  margin: -6px 0 6px;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .02em;
  color: var(--green-700);
}
.about-text h2 + .about-roles + .about-motto { margin-top: 0; }
.about-badge {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid rgba(201, 162, 76, .5);
  border-radius: 12px;
  background: var(--card);
  font-size: .98rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--green-800);
}
.about-badge svg { width: 26px; height: 26px; margin-top: 1px; color: var(--gold-dark); }

.nav a[aria-current="page"] { color: var(--gold-light); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.footer-nav a[aria-current="page"] { color: var(--gold-light); }

/* Galerija */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 70% 90% at 15% 0%, rgba(42, 99, 66, .55), transparent 70%),
    var(--green-900);
  color: var(--on-dark);
}
.page-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -140px;
  top: -160px;
  background: var(--flower) center / contain no-repeat;
  opacity: .18;
  pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 4.4rem);
  color: var(--on-dark);
  margin-bottom: 16px;
}
.page-hero .hero-lead { margin-bottom: 28px; }
.page-404 { padding: 112px 0 128px; }
.page-404 .hero-actions { margin-bottom: 0; }

.gallery-nav { display: flex; flex-wrap: wrap; gap: 10px; }
.gallery-nav a {
  padding: 9px 16px;
  border: 1px solid rgba(226, 201, 131, .45);
  border-radius: 999px;
  color: var(--on-dark);
  font-size: .97rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.gallery-nav a:hover { background: rgba(243, 236, 218, .08); border-color: var(--gold); }

.gallery-section { padding-top: 64px; }
.gallery-group + .gallery-group { margin-top: 64px; }
.gallery-group h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: clamp(1.9rem, 3.4vw, 2.5rem);
  margin-bottom: 24px;
}
.gallery-group h2 span {
  font: 800 .85rem/1 var(--font-sans);
  color: var(--gold-dark);
}

.gallery { columns: 4; column-gap: 16px; }
.gallery-item {
  display: block;
  margin-bottom: 16px;
  break-inside: avoid;
  border-radius: 12px;
  overflow: hidden;
  background: var(--tint);
  box-shadow: 0 1px 2px rgba(15, 42, 28, .06), 0 10px 24px -14px rgba(15, 42, 28, .35);
  transition: transform .25s, box-shadow .25s;
}
.gallery-item img { width: 100%; height: auto; }
.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 2px rgba(15, 42, 28, .06), 0 20px 36px -16px rgba(15, 42, 28, .45);
}

.gallery-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 72px;
  padding: 28px 32px;
  border: 1px solid rgba(201, 162, 76, .45);
  border-radius: var(--radius);
  background: var(--card);
}
.gallery-cta p { margin: 0; font-size: 1.15rem; font-weight: 700; color: var(--green-800); max-width: 40ch; }

/* Uvećana slika */
body:has(dialog[open]) { overflow: hidden; }
.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.lightbox::backdrop { background: rgba(6, 18, 12, .94); }
.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 56px 72px 24px;
}
.lightbox-inner img {
  max-width: 100%;
  max-height: calc(100% - 48px);
  width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lightbox figcaption {
  color: var(--on-dark);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}
.lb-count { margin-left: 8px; color: var(--gold); font-weight: 800; }
.lb-btn {
  position: fixed;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(243, 236, 218, .3);
  border-radius: 50%;
  background: rgba(10, 31, 20, .7);
  color: var(--on-dark);
  cursor: pointer;
}
.lb-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.lb-btn svg { width: 26px; height: 26px; }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

.call-bar { display: none; }

/* Cormorant ima "starinske" cifre; skraćenica font: ih vraća, pa se ovde ponovo uključuju obične */
.price-amount,
.price-num,
.hero-badge strong,
.footer-phone,
.quote p { font-variant-numeric: lining-nums; }

/* Tablet */

@media (max-width: 1100px) {
  .nav { gap: 22px; }
  .feature { gap: 32px; }
}

@media (max-width: 960px) {
  :root { --header-h: 70px; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
    background: var(--green-900);
    border-bottom: 1px solid rgba(201, 162, 76, .25);
    box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .6);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a { padding: 14px 0; font-size: 1.1rem; border-bottom: 1px solid rgba(243, 236, 218, .08); }
  .nav a::after { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }

  .hero { padding: 48px 0 72px; }
  .hero-grid,
  .intro-grid,
  .prices-grid,
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }

  .hero-figure { max-width: 560px; }
  .hero-badge { left: 16px; bottom: 16px; }

  .prices-photo {
    position: static;
    max-width: 460px;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    order: -1;
  }
  .prices-photo img { object-position: 50% 62%; }

  .services { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 1fr; }
  .about-photo { max-width: 440px; margin-left: 16px; }
  .map { aspect-ratio: 4 / 3; }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .section { padding: 80px 0; }
  .band { padding: 88px 0; }
  .band-bg { width: 100%; }
  .band::after { background: rgba(10, 31, 20, .86); }
}

/* Telefon */

@media (max-width: 640px) {
  body { font-size: 1.0625rem; padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .container { padding-inline: 16px; }

  .header-call { display: none; }
  .logo-name { font-size: 1.5rem; }
  .logo-mark { width: 34px; height: 34px; }

  .hero h1 { font-size: 2.9rem; }
  .hero-lead { font-size: 1.1rem; }
  .hero-actions .btn { flex: 1 1 auto; }
  .hero-actions .btn-gold { flex-basis: 100%; }
  .hero-points { flex-direction: column; }
  .hero-badge { left: 12px; bottom: 12px; padding: 10px 16px 12px; }
  .hero-badge span { font-size: .7rem; }
  .hero-badge strong { font-size: 1.9rem; }

  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  .benefits { grid-template-columns: 1fr; }

  .price-list { padding: 4px 16px; }
  .price-list li { grid-template-columns: 36px 1fr; gap: 6px 14px; }
  .price-num { width: 36px; height: 36px; font-size: 1.15rem; }
  .price-amount { grid-column: 2; font-size: 1.7rem; }

  .band { padding: 72px 0; }

  .products { grid-template-columns: 1fr; }
  .feature { padding: 14px 14px 24px; gap: 24px; }
  .feature-text { padding-inline: 6px; }
  .feature-text h3 { font-size: 1.8rem; }
  .feature-thumbs { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .product-photo { aspect-ratio: 16 / 10; }

  .service-body { padding: 24px 20px 28px; }
  .service-body h3 { font-size: 1.65rem; }

  .edu { flex-direction: column; align-items: flex-start; padding: 24px 20px; gap: 16px; }

  .contact-list a,
  .contact-value { font-size: 1.12rem; }
  .contact-actions .btn { flex: 1 1 auto; }
  .contact-actions .btn-gold { flex-basis: 100%; }

  .call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--green-950);
    border-top: 1px solid rgba(201, 162, 76, .3);
  }
  .call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 12px 6px;
    border-radius: 12px;
    border: 1px solid rgba(243, 236, 218, .25);
    color: var(--on-dark);
    font-weight: 700;
    font-size: .95rem;
    text-decoration: none;
  }
  .call-bar .call-bar-main { background: var(--gold); border-color: var(--gold); color: var(--green-950); }
  .call-bar svg { width: 18px; height: 18px; }
}

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

@media (max-width: 1100px) {
  .gallery { columns: 3; }
}

@media (max-width: 960px) {
  .story { grid-template-columns: 1fr; gap: 28px; margin-top: 56px; padding: 32px 28px; }
}

@media (max-width: 640px) {
  .story { padding: 28px 20px; }
  .story h3 { font-size: 1.7rem; }
  .story-quote { padding-left: 18px; }
  .story-quote p { font-size: 1.4rem; }
  .about-badge { padding: 12px 14px; font-size: .94rem; }
  .page-hero { padding: 44px 0 40px; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery-item { margin-bottom: 10px; border-radius: 8px; }
  .gallery-cta { padding: 22px 20px; }
  .gallery-cta .btn { width: 100%; }
  .lightbox-inner { padding: 64px 8px 84px; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lb-prev { left: calc(50% - 64px); }
  .lb-next { right: calc(50% - 64px); }
}
