/* ==========================================================================
   HADŽI ENERGY — stylesheet v2 "ultra modern"
   Cinematic dark tema, glass elementi, glow akcenti, mesh gradijenti.
   ========================================================================== */

:root {
  --void: #050f09;
  --forest-900: #081d12;
  --forest-800: #0d2818;
  --forest-700: #123821;
  --forest-600: #1c552f;
  --forest-glass: rgba(18, 56, 33, 0.45);

  --gold: #f0c948;
  --gold-glow: #ffe27a;
  --lime: #d7e34c;
  --cream: #faf9f0;
  --ink: #081c11;
  --ink-soft: #3a5346;

  --hairline: rgba(250, 249, 240, 0.12);
  --hairline-dark: rgba(8, 28, 17, 0.12);
  --glass-fill: rgba(255, 255, 255, 0.04);
  --glass-fill-light: rgba(8, 28, 17, 0.035);

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --max-w: 1240px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  #cursorGlow { display: none !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16.5px;
  position: relative;
}

/* film-grain overlay tying the whole page together */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

#cursorGlow {
  position: fixed;
  top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 201, 72, 0.13), transparent 70%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-1000px, -1000px);
  transition: transform 0.12s linear;
  will-change: transform;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1em; max-width: 62ch; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
  position: relative;
  z-index: 2;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* reveal-on-scroll — one deliberate moment per section, not per card */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------- Buttons ------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.9em 1.7em;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-glow), var(--gold) 60%, var(--lime));
  color: var(--ink);
  box-shadow: 0 8px 30px -8px rgba(240, 201, 72, 0.55);
}
.btn-primary:hover { box-shadow: 0 12px 34px -6px rgba(240, 201, 72, 0.7); }
.btn-ghost-dark {
  border-color: var(--hairline);
  color: var(--cream);
  background: var(--glass-fill);
  backdrop-filter: blur(8px);
}
.btn-ghost-dark:hover { border-color: var(--gold); }
.btn-ghost-light {
  border-color: rgba(8,28,17,0.25);
  color: var(--ink);
}
.btn-ghost-light:hover { border-color: var(--forest-700); background: var(--glass-fill-light); }

/* --------------------------------- Header -------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 15, 9, 0.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--hairline);
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(5, 15, 9, 0.88);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,0.6);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.7rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--cream);
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--hairline), 0 0 24px -4px rgba(240,201,72,0.5);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-display); font-size: 1.08rem; letter-spacing: 0.01em; }
.brand-text span { font-size: 0.72rem; color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 1.9rem; }
.main-nav a {
  color: var(--cream);
  opacity: 0.82;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding-block: 0.3rem;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--lime));
  transition: right 0.25s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after { right: 0; }

.header-cta { display: flex; align-items: center; gap: 1.1rem; }
.header-phone { color: var(--gold); text-decoration: none; font-size: 0.92rem; font-weight: 600; display: none; }

.lang-switch {
  display: flex;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  overflow: hidden;
  flex-shrink: 0;
}
.lang-switch a {
  padding: 0.4em 0.75em;
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 0.6;
  text-decoration: none;
  transition: opacity 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.lang-switch a:hover { opacity: 0.9; }
.lang-switch a.active {
  background: var(--gold);
  color: var(--ink);
  opacity: 1;
}

.nav-toggle { display: none; background: none; border: none; color: var(--cream); cursor: pointer; padding: 0.4rem; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: rgba(5,15,9,0.97);
    backdrop-filter: blur(16px);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 0.5rem clamp(1.25rem, 5vw, 2.5rem) 1.2rem;
    border-bottom: 1px solid var(--hairline);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; padding-block: 0.65rem; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .header-cta .btn-primary { padding: 0.65em 1.1em; font-size: 0.88rem; }
  .nav-toggle { display: inline-flex; }
}
@media (min-width: 901px) { .header-phone { display: inline-block; } }

/* --------------------------------- Hero ---------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(ellipse 1200px 700px at 20% -10%, rgba(215,227,76,0.10), transparent 60%),
              linear-gradient(165deg, var(--forest-800) 0%, var(--void) 70%);
  color: var(--cream);
  padding-block: clamp(5rem, 12vw, 8.5rem) clamp(5rem, 10vw, 7rem);
  overflow: hidden;
  isolation: isolate;
}
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  z-index: -1;
  animation: drift 22s ease-in-out infinite alternate;
}
.mesh-blob.a { width: 480px; height: 480px; background: radial-gradient(circle, rgba(240,201,72,0.4), transparent 70%); top: -160px; right: -80px; }
.mesh-blob.b { width: 420px; height: 420px; background: radial-gradient(circle, rgba(215,227,76,0.28), transparent 70%); bottom: -180px; left: -100px; animation-delay: -8s; }
@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(30px, -25px) scale(1.08); }
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: 0.92rem; color: var(--gold); margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); display: inline-block; }

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  max-width: 15ch;
}
.hero h1 .line-soft {
  display: block;
  font-weight: 300;
  font-size: 0.5em;
  color: var(--cream);
  opacity: 0.75;
  margin-bottom: 0.15em;
  letter-spacing: 0;
}
.hero h1 .line-strong {
  display: block;
  background: linear-gradient(100deg, var(--gold-glow) 10%, var(--gold) 45%, var(--lime) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .lede { font-size: 1.12rem; color: var(--cream); max-width: 46ch; opacity: 0.82; margin-top: 1.3rem; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-meta {
  margin-top: 2.4rem; padding-top: 1.2rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.88rem; color: var(--gold); opacity: 0.85; max-width: 42ch;
}

.hero-art { display: flex; justify-content: center; }
.hero-art svg { width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 0 40px rgba(240,201,72,0.25)); }
.turbine-blades { transform-origin: 249px 150px; animation: spin 9s linear infinite; }
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 260px; margin-inline: auto; }
}

/* scroll cue */
.scroll-cue {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--gold); opacity: 0.6; font-size: 0.75rem;
}
.scroll-cue .dot {
  width: 1px; height: 34px; background: linear-gradient(var(--gold), transparent);
  position: relative; overflow: hidden;
}
.scroll-cue .dot::after {
  content: ""; position: absolute; left: 0; top: -34px; width: 100%; height: 34px;
  background: var(--gold-glow); animation: cue 2.2s ease-in-out infinite;
}
@keyframes cue { to { top: 34px; } }
@media (max-width: 820px) { .scroll-cue { display: none; } }

/* --------------------------------- Stats band ---------------------------- */
.stats-band {
  background: var(--void);
  color: var(--cream);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.stats-band .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  padding-block: 2.6rem;
}
.stat { border-left: 1px solid var(--hairline); padding-left: 1.3rem; }
.stat:first-child { border-left: none; padding-left: 0; }
.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  background: linear-gradient(100deg, var(--gold-glow), var(--lime));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { font-size: 0.85rem; color: var(--cream); opacity: 0.65; }

@media (max-width: 760px) {
  .stats-band .wrap { grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .stat:nth-child(3) { border-left: none; padding-left: 0; }
}

/* --------------------------------- Section shell ------------------------- */
.section { padding-block: clamp(4rem, 9vw, 7rem); position: relative; }
.section-dark { background: linear-gradient(180deg, var(--forest-900), var(--void)); color: var(--cream); }
.section-cream { background: var(--cream); }
.section-tint { background: #f2f0e2; }

.section-head { max-width: 640px; margin-bottom: clamp(2.4rem, 5vw, 3.6rem); }
.section-head .eyebrow { color: var(--forest-600); }
.section-dark .section-head .eyebrow { color: var(--gold); }
.section-head h2 { font-size: clamp(1.9rem, 3.8vw, 2.7rem); }
.section-head p { color: var(--ink-soft); }
.section-dark .section-head p { color: var(--cream); opacity: 0.75; }

/* --------------------------------- Usluge (horizontal scroll) ------------ */
.services-rail-outer { position: relative; margin-inline: calc(clamp(1.25rem, 5vw, 3rem) * -1); }
.services-rail {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem clamp(1.25rem, 5vw, 3rem) 2rem;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.services-rail::-webkit-scrollbar { display: none; }
.services-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rail-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid var(--hairline-dark);
  background: #fff;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 26px -12px rgba(8,28,17,0.28);
  z-index: 5;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.rail-btn:hover { transform: translateY(-50%) scale(1.06); border-color: var(--forest-600); }
.rail-btn.prev { left: clamp(1rem, 4vw, 2.75rem); }
.rail-btn.next { right: clamp(1rem, 4vw, 2.75rem); }
.rail-btn svg { width: 20px; height: 20px; }
@media (max-width: 700px) { .rail-btn { display: none; } }
.service-card {
  scroll-snap-align: start;
  flex: 0 0 300px;
  background: var(--glass-fill-light);
  border: 1px solid var(--hairline-dark);
  border-radius: 20px;
  padding: 2rem 1.7rem;
  backdrop-filter: blur(6px);
  transition: transform 0.3s var(--ease), border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(240,201,72,0.5);
  box-shadow: 0 20px 40px -20px rgba(8,28,17,0.25);
}
.service-card .icon-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(240,201,72,0.18), rgba(215,227,76,0.1));
  margin-bottom: 1.3rem;
}
.service-card .icon-ring svg { width: 26px; height: 26px; color: var(--forest-700); }
.service-card h3 { font-size: 1.1rem; margin-bottom: 0.5em; }
.service-card p { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1rem; }
.service-card .more {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--forest-700);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}
.service-card .more:hover { text-decoration: underline; }
.service-card { display: flex; flex-direction: column; }

.rail-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 0.5rem; }
.rail-dots span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--hairline-dark);
  transition: background 0.25s ease, transform 0.25s ease;
}
.rail-dots span.active { background: var(--forest-600); transform: scale(1.3); }

/* --------------------------------- O nama (bento) ------------------------ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-portrait {
  aspect-ratio: 4/5;
  border-radius: 20px;
  border: 1px solid var(--hairline);
  background: linear-gradient(160deg, var(--forest-700), var(--forest-900));
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  gap: 1.4rem;
}
.about-portrait .ring {
  position: relative;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.about-portrait .ring::before {
  content: "";
  position: absolute; inset: -14%;
  border-radius: 50%;
  border: 1px solid rgba(240,201,72,0.35);
}
.about-portrait .ring::after {
  content: "";
  position: absolute; inset: -28%;
  border-radius: 50%;
  border: 1px solid rgba(240,201,72,0.16);
}
.about-portrait .ring img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px var(--hairline), 0 0 50px -6px rgba(240,201,72,0.4);
}
.about-portrait .name-tag { text-align: center; }
.about-portrait .name-tag strong { display: block; font-family: var(--font-display); color: var(--cream); font-size: 1.02rem; }
.about-portrait .name-tag span { font-size: 0.8rem; color: var(--gold); }
.about-portrait .cap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem 1.2rem;
  background: rgba(5,15,9,0.72);
  backdrop-filter: blur(6px);
  font-size: 0.82rem; color: var(--gold);
  border-top: 1px solid var(--hairline);
  display: none;
}
.bento-facts {
  list-style: none; padding: 0; margin: 1.8rem 0 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.bento-facts > div {
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  background: var(--glass-fill);
}
.bento-facts dt { font-size: 0.74rem; color: var(--gold); margin-bottom: 0.3rem; }
.bento-facts dd { margin: 0; font-size: 0.94rem; color: var(--cream); }

/* --------------------------------- Kako radimo (progress) ----------------- */
.process-track { position: relative; }
.process-line {
  position: absolute; top: 11px; left: 0; right: 0; height: 2px;
  background: var(--hairline-dark);
  display: none;
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
.process-item { position: relative; padding-top: 2rem; }
.process-item .num-dot {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--hairline-dark);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  color: var(--ink-soft);
  position: absolute; top: 0; left: 0;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}
.process-item.is-in .num-dot {
  background: linear-gradient(135deg, var(--gold-glow), var(--lime));
  border-color: transparent;
  color: var(--ink);
  box-shadow: 0 0 0 5px rgba(240,201,72,0.14);
}
.process-item h3 { font-size: 1.08rem; margin-top: 0.4rem; }
.process-item p { font-size: 0.92rem; color: var(--ink-soft); }

@media (min-width: 761px) { .process-line { display: block; } }
@media (max-width: 900px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .process-list { grid-template-columns: 1fr; } }

/* --------------------------------- Oblasti rada --------------------------- */
.fields-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.field-card {
  background: #fff;
  border: 1px solid var(--hairline-dark);
  border-radius: 18px;
  padding: 2.2rem 1.7rem;
  position: relative;
  overflow: hidden;
}
.field-card::before {
  content: "";
  position: absolute; inset: -40% -40% auto auto;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,201,72,0.16), transparent 70%);
}
.field-card h3 { font-size: 1.05rem; position: relative; }
.field-card p { font-size: 0.92rem; color: var(--ink-soft); margin-bottom: 0; position: relative; }

@media (max-width: 760px) { .fields-strip { grid-template-columns: 1fr; } }

/* --------------------------------- Blog / SEO postovi --------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 3vw, 2rem); }
.post-card {
  border: 1px solid var(--hairline-dark);
  border-radius: 18px;
  padding: 1.8rem;
  background: #fff;
  display: flex; flex-direction: column; height: 100%;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px -22px rgba(8,28,17,0.3); }
.post-tag {
  display: inline-block; font-size: 0.76rem; color: var(--forest-700);
  background: #f2f0e2; padding: 0.3em 0.8em; border-radius: 999px;
  margin-bottom: 1rem; align-self: flex-start;
}
.post-card h3 { font-size: 1.12rem; margin-bottom: 0.4em; }
.post-card .excerpt { font-size: 0.92rem; color: var(--ink-soft); flex-grow: 1; }
.post-meta {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.82rem; color: var(--ink-soft);
  border-top: 1px solid var(--hairline-dark); padding-top: 1rem; margin-top: 0.6rem;
}
.post-meta a { color: var(--forest-700); font-weight: 600; text-decoration: none; }
.post-meta a:hover { text-decoration: underline; }

.blog-note {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  border: 1.5px dashed var(--hairline-dark);
  border-radius: 14px;
  padding: 1.4rem 1.6rem;
  font-size: 0.9rem; color: var(--ink-soft);
}
.blog-note strong { color: var(--ink); }

@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .blog-grid { grid-template-columns: 1fr; } }

/* --------------------------------- Utisci klijenata ------------------------ */
.testi-outer { position: relative; margin-inline: calc(clamp(1.25rem, 5vw, 3rem) * -1); }
.testi-rail {
  display: flex;
  gap: 1.2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0.5rem clamp(1.25rem, 5vw, 3rem) 2rem;
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
}
.testi-rail::-webkit-scrollbar { display: none; }
.testi-rail.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.testi-card {
  scroll-snap-align: start;
  flex: 0 0 min(360px, 84vw);
  background: var(--glass-fill);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
}
.testi-stars { display: flex; gap: 0.2rem; margin-bottom: 1.1rem; color: var(--gold); }
.testi-stars svg { width: 15px; height: 15px; }
.testi-card blockquote {
  margin: 0 0 1.4rem;
  font-size: 0.98rem;
  color: var(--cream);
  opacity: 0.88;
  flex-grow: 1;
}
.testi-person { display: flex; align-items: center; gap: 0.9rem; }
.testi-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
}
.testi-person div strong { display: block; font-size: 0.92rem; color: var(--cream); }
.testi-person div span { font-size: 0.8rem; color: var(--gold); }

.testi-note {
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
  border: 1.5px dashed var(--hairline);
  border-radius: 14px;
  padding: 1.3rem 1.5rem;
  font-size: 0.88rem; color: var(--cream); opacity: 0.75;
}
.testi-note strong { color: var(--gold); opacity: 1; }

.section-dark .rail-btn { background: rgba(250,249,240,0.08); border-color: var(--hairline); color: var(--cream); backdrop-filter: blur(8px); }
.section-dark .rail-btn:hover { border-color: var(--gold); }
.section-dark .rail-dots span { background: var(--hairline); }
.section-dark .rail-dots span.active { background: var(--gold); }

/* --------------------------------- Kontakt -------------------------------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); }
.contact-info dl { display: grid; grid-template-columns: auto 1fr; gap: 0.8rem 1.2rem; margin: 1.8rem 0 0; }
.contact-info dt { font-size: 0.8rem; color: var(--gold); white-space: nowrap; padding-top: 0.15rem; }
.contact-info dd { margin: 0; font-size: 0.98rem; }
.contact-info a { text-decoration: none; color: var(--cream); border-bottom: 1px solid var(--hairline); }
.contact-info a:hover { border-color: var(--gold); }

.social-row { display: flex; gap: 0.8rem; margin-top: 1.8rem; }
.social-row a {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); text-decoration: none;
  background: var(--glass-fill);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.social-row svg { width: 18px; height: 18px; }

.contact-form {
  background: rgba(250,249,240,0.98);
  color: var(--ink);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.4);
}
.form-row { margin-bottom: 1.1rem; }
.form-row label { display: block; font-size: 0.85rem; margin-bottom: 0.4rem; color: var(--ink-soft); }
.form-row input, .form-row textarea {
  width: 100%; border: 1px solid var(--hairline-dark); border-radius: 10px;
  padding: 0.75em 0.9em; font-family: var(--font-body); font-size: 0.96rem; background: #fff;
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row textarea:focus { border-color: var(--forest-600); }
.form-row textarea { resize: vertical; min-height: 110px; }
.form-two { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .form-two { grid-template-columns: 1fr; } }
.form-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 0.9rem; }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* --------------------------------- Footer --------------------------------- */
.site-footer {
  background: var(--void);
  color: var(--cream);
  padding-block: 3.5rem 1.6rem;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}
.footer-watermark {
  position: absolute;
  bottom: -0.35em; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 14vw, 9rem);
  color: transparent;
  -webkit-text-stroke: 1px var(--hairline);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.02em;
}
.footer-grid {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.4rem; border-bottom: 1px solid var(--hairline);
  position: relative; z-index: 1;
}
.footer-grid h4 { font-family: var(--font-display); font-size: 0.86rem; color: var(--gold); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.footer-grid a { color: var(--cream); text-decoration: none; opacity: 0.8; }
.footer-grid a:hover { opacity: 1; text-decoration: underline; }
.footer-brand p { font-size: 0.88rem; opacity: 0.7; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem;
  padding-top: 1.6rem; font-size: 0.8rem; opacity: 0.6; position: relative; z-index: 1;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* --------------------------------- Skip link ------------------------------ */
.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: var(--ink);
  padding: 0.6em 1em; z-index: 200; font-family: var(--font-display); border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; top: 0; }

/* ==========================================================================
   Podstranice usluga (usluga-*.html)
   ========================================================================== */
.service-hero {
  position: relative;
  background: radial-gradient(ellipse 900px 500px at 85% -10%, rgba(215,227,76,0.12), transparent 60%),
              linear-gradient(165deg, var(--forest-800) 0%, var(--void) 75%);
  color: var(--cream);
  padding-block: clamp(2.6rem, 6vw, 4rem) clamp(3rem, 6vw, 4.2rem);
  overflow: hidden;
}
.service-hero .breadcrumb {
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.65;
  margin-bottom: 1.4rem;
}
.service-hero .breadcrumb a { color: var(--gold); text-decoration: none; opacity: 1; }
.service-hero .breadcrumb a:hover { text-decoration: underline; }
.service-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); max-width: 20ch; }
.service-hero .lede { font-size: 1.08rem; opacity: 0.85; max-width: 60ch; margin-top: 1rem; }
.service-hero .hero-ctas { margin-top: 1.6rem; }

.service-layout {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.service-body h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.service-body h2:first-child { margin-top: 0; }
.service-body h3 { font-size: 1.12rem; margin-top: 1.4rem; }
.service-body p { max-width: 68ch; color: var(--ink-soft); }
.service-body ul, .service-body ol { padding-left: 1.2rem; color: var(--ink-soft); max-width: 68ch; }
.service-body li { margin-bottom: 0.5rem; }
.service-body strong { color: var(--ink); }

.quick-facts {
  position: sticky;
  top: 6.5rem;
  background: var(--forest-900);
  color: var(--cream);
  border-radius: 18px;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--hairline);
}
.quick-facts h3 { font-family: var(--font-display); font-size: 1rem; color: var(--gold); margin-bottom: 1.1rem; }
.quick-facts dl { display: grid; gap: 1rem; margin: 0; }
.quick-facts dt { font-size: 0.76rem; opacity: 0.65; margin-bottom: 0.2rem; }
.quick-facts dd { margin: 0; font-size: 0.94rem; }
.quick-facts .btn { width: 100%; justify-content: center; margin-top: 1.4rem; }
@media (max-width: 900px) { .quick-facts { position: static; } }

.faq-list { margin-top: 1rem; }
.faq-item {
  border-bottom: 1px solid var(--hairline-dark);
  padding-block: 1.1rem;
}
.faq-item summary {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--forest-600);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 0.8rem; }

.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}
.related-card {
  border: 1px solid var(--hairline-dark);
  border-radius: 14px;
  padding: 1.3rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  background: #fff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.related-card:hover { transform: translateY(-3px); border-color: var(--forest-600); }
.related-card strong { display: block; font-family: var(--font-display); font-size: 0.98rem; margin-bottom: 0.3rem; }
.related-card span { font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 760px) { .related-services { grid-template-columns: 1fr; } }

.cta-banner {
  background: linear-gradient(135deg, var(--forest-800), var(--void));
  color: var(--cream);
  border-radius: 22px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-top: clamp(3rem, 6vw, 4.5rem);
}
.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { max-width: 50ch; margin-inline: auto; opacity: 0.82; }
@media (max-width: 900px) { .service-layout { grid-template-columns: 1fr; } }
