/* MAJ COMMERCE — premium industrial homepage */
:root {
  --color-bg: #0d1117;
  --color-bg-elevated: #161b22;
  --color-surface: #ffffff;
  --color-surface-muted: #f4f6f8;
  --color-text: #1a1d21;
  --color-text-muted: #5c6370;
  --color-on-dark: #f0f3f6;
  --color-on-dark-muted: rgba(240, 243, 246, 0.72);
  --accent: #2e7d32;
  --accent-ghost: rgba(46, 125, 50, 0.35);
  --accent-glow: rgba(46, 125, 50, 0.45);
  --anthracite: #2d3339;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --shadow-lg: 0 24px 48px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.12);
  --font-sans: "Inter", "Noto Sans", system-ui, sans-serif;
  --font-display: "Poppins", var(--font-sans);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 70px;
  --radius: 12px;
  --radius-lg: 20px;
  --section-y: clamp(2.5rem, 5vw, 4rem);
}

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

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@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;
  }
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-surface);
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

body.menu-open {
  overflow: hidden;
  touch-action: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 10000;
  padding: 0.75rem 1rem;
  background: var(--accent);
  color: #fff;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 10001;
  background: linear-gradient(90deg, var(--accent), #66bb6a);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Loader */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__inner {
  text-align: center;
}

.page-loader__logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.5rem, 8vw, 4rem);
  letter-spacing: 0.2em;
  color: var(--color-on-dark);
  animation: logoReveal 0.9s var(--ease-out) forwards;
  opacity: 0;
  transform: translateY(12px);
}

.page-loader__sub {
  font-size: 0.75rem;
  letter-spacing: 0.55em;
  color: var(--accent);
  margin-top: 0.5rem;
  opacity: 0;
  animation: logoReveal 0.9s var(--ease-out) 0.15s forwards;
}

.page-loader__bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  margin: 1.5rem auto 0;
  border-radius: 2px;
  overflow: hidden;
}

.page-loader__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), #81c784);
  animation: loadBar 1.2s ease forwards 0.2s;
}

@keyframes logoReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes loadBar {
  to {
    width: 100%;
  }
}

/* Cursor glow (desktop) */
.cursor-glow {
  display: none;
  position: fixed;
  width: 400px;
  height: 400px;
  margin: -200px 0 0 -200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s;
}

@media (min-width: 1024px) and (pointer: fine) {
  .cursor-glow {
    display: block;
  }
}

/* ========== Site header & navigation (rebuild: flex bar, bez grid kolapsa) ========== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-h);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  overflow: visible;
  background: rgba(13, 17, 23, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.35s var(--ease-out), box-shadow 0.35s, border-color 0.35s;
}

.site-header.is-solid {
  background: rgba(13, 17, 23, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.site-header a:hover {
  text-decoration: none;
}

/* Jedan red: logo | navigacija (centar) | hamburger + CTA */
.site-header__bar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
  min-height: var(--header-h);
  box-sizing: border-box;
  position: relative;
  z-index: 1005;
  overflow: visible;
}

.site-logo {
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--color-on-dark);
  text-decoration: none !important;
  flex: 0 0 auto;
  z-index: 2;
  transition: opacity 0.2s;
}

.site-logo:hover {
  opacity: 0.92;
}

.site-logo__mark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.12em;
}

.site-logo__text {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  opacity: 0.85;
}

.site-nav--desktop {
  display: none;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  row-gap: 0.35rem;
  column-gap: clamp(0.55rem, 1.2vw, 1.35rem);
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
}

.site-nav__list > li {
  flex: 0 0 auto;
}

.site-nav__list > li > a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none !important;
  position: relative;
  padding: 0.4rem 0;
  display: inline-block;
}

.site-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease-out);
}

.site-nav__list > li > a:hover::after,
.site-nav__list > li > a:focus-visible::after {
  width: 100%;
}

.site-nav__list > li > a.is-active::after {
  width: 100%;
}

.site-header__actions {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex: 0 0 auto;
}

.site-header__cta {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.15rem;
  background: var(--accent);
  color: #fff !important;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none !important;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px var(--accent-ghost);
}

@media (min-width: 900px) {
  .site-header__cta {
    display: inline-flex;
  }
}

.site-header__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px var(--accent-glow);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 12px;
  transition: background 0.2s;
  position: relative;
  z-index: 1006;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.25s;
}

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-nav--desktop {
    display: flex;
  }

  .mobile-nav {
    display: none !important;
  }
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mega meni */
.site-nav__item--mega {
  position: static;
}

@media (min-width: 900px) {
  .site-nav__item--mega {
    position: relative;
  }
}

.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0.4rem 0;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.mega-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.28s var(--ease-out);
}

.site-nav__item--mega:hover .mega-trigger::after,
.site-nav__item--mega:focus-within .mega-trigger::after {
  width: 100%;
}

.mega-trigger:hover,
.mega-trigger:focus-visible {
  color: #fff;
}

.mega-trigger:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.mega-trigger__icon {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out);
  opacity: 0.85;
}

@media (min-width: 900px) {
  .site-nav__item--mega:hover .mega-trigger__icon,
  .site-nav__item--mega:focus-within .mega-trigger__icon {
    transform: rotate(180deg);
  }
}

.mega-menu {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h);
  z-index: 1100;
  background: linear-gradient(165deg, #1a1f28 0%, #0d1117 55%);
  color: var(--color-on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.4);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s var(--ease-out), visibility 0.3s, transform 0.35s var(--ease-out);
  pointer-events: none;
}

@media (min-width: 900px) {
  .site-nav__item--mega:hover .mega-menu,
  .site-nav__item--mega:focus-within .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }
}

.mega-menu__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.65rem clamp(1.25rem, 4vw, 2rem) 1.4rem;
}

.mega-menu__cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 700px) {
  .mega-menu__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.35rem 1.75rem;
  }
}

@media (min-width: 1000px) {
  .mega-menu__cols {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.15rem 1.35rem;
  }
}

.mega-menu__heading {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 243, 246, 0.45) !important;
}

a.mega-menu__heading-link {
  display: block;
  color: #f0f3f6 !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 0.15rem;
  transition: color 0.2s;
}

a.mega-menu__heading-link:hover,
a.mega-menu__heading-link:focus-visible {
  color: #81c784 !important;
}

.mega-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.mega-menu__link {
  display: block;
  padding: 0.48rem 0.55rem;
  margin: 0 -0.55rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 500;
  color: rgba(240, 243, 246, 0.82) !important;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.mega-menu__link:hover,
.mega-menu__link:focus-visible {
  background: rgba(46, 125, 50, 0.2);
  color: #fff !important;
}

.mega-menu__link--active {
  background: rgba(46, 125, 50, 0.22) !important;
  color: #fff !important;
  font-weight: 600;
  border-left: 3px solid var(--accent);
  padding-left: calc(0.55rem - 3px);
}

.mega-menu__footer {
  display: block;
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent) !important;
  text-align: center;
  text-decoration: none !important;
  transition: color 0.2s, letter-spacing 0.2s;
}

.mega-menu__footer:hover {
  color: #a5d6a7 !important;
  letter-spacing: 0.03em;
}

/* Mobilni panel — isključen na desktopu gore */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 10050;
  pointer-events: none;
  visibility: hidden;
}

.mobile-nav.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(13, 17, 23, 0.76);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
}

.mobile-nav.is-open .mobile-nav__backdrop {
  opacity: 1;
}

.mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  background: linear-gradient(180deg, #121820 0%, #0d1117 100%);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.32s var(--ease-out);
  overflow: hidden;
}

.mobile-nav.is-open .mobile-nav__panel {
  transform: translate3d(0, 0, 0);
}

@media (max-width: 420px) {
  .mobile-nav__panel {
    width: 100%;
  }
}

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.15rem;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.mobile-nav__close:hover {
  background: rgba(255, 255, 255, 0.14);
}

.mobile-nav__close:active {
  transform: scale(0.96);
}

.mobile-nav__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 1.15rem 1.25rem;
  overscroll-behavior: contain;
}

.mobile-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__list > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.mobile-nav__link {
  display: block;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94) !important;
  text-decoration: none !important;
}

.mobile-nav__link:hover,
.mobile-nav__link:focus-visible {
  color: #a5d6a7 !important;
}

.mobile-nav__link.is-active {
  color: var(--accent) !important;
}

.mobile-nav__accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.mobile-nav__accordion-btn:hover {
  color: #a5d6a7;
}

.mobile-nav__chev {
  flex-shrink: 0;
  opacity: 0.75;
  transition: transform 0.3s var(--ease-out);
}

.mobile-nav__item--accordion.is-open .mobile-nav__chev {
  transform: rotate(180deg);
}

.mobile-nav__accordion-panel[hidden] {
  display: none !important;
}

.mobile-nav__accordion-panel ul {
  list-style: none;
  margin: 0;
  padding: 0 0 0.85rem 0.35rem;
}

.mobile-nav__accordion-panel a {
  display: block;
  padding: 0.62rem 0.5rem;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72) !important;
  text-decoration: none !important;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}

.mobile-nav__accordion-panel a:hover,
.mobile-nav__accordion-panel a:focus-visible {
  background: rgba(46, 125, 50, 0.18);
  color: #fff !important;
}

.mobile-nav__footer {
  flex-shrink: 0;
  padding: 1rem 1.15rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(13, 17, 23, 0.97);
}

.mobile-nav__cta {
  width: 100%;
  min-height: 50px;
  font-size: 1rem !important;
}

.page-light-open .site-header {
  background: rgba(13, 17, 23, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

@media (min-width: 900px) {
  .page-sub .site-nav--desktop {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-h) + 1rem) 1.5rem 3.25rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  will-change: transform;
  transition: opacity 1.2s ease;
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 17, 23, 0.92) 0%,
    rgba(13, 17, 23, 0.55) 45%,
    rgba(45, 51, 57, 0.75) 100%
  );
  z-index: 1;
}

.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.35;
  background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(46, 125, 50, 0.15), transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(100, 181, 246, 0.06), transparent 50%);
  animation: gradientShift 18s ease-in-out infinite alternate;
}

.hero-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.65;
}

@keyframes gradientShift {
  0% {
    opacity: 0.25;
    transform: scale(1);
  }
  100% {
    opacity: 0.45;
    transform: scale(1.05);
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: 920px;
  text-align: center;
}

.hero__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #c8e6c9;
  margin-bottom: 1.25rem;
  display: inline-block;
  padding: 0.45rem 1rem;
  background: rgba(13, 17, 23, 0.72);
  border-radius: 999px;
  border: 1px solid rgba(165, 214, 167, 0.4);
  box-shadow:
    0 2px 14px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.45rem, 4.2vw, 2.65rem);
  line-height: 1.18;
  color: var(--color-on-dark);
  margin: 0 0 1.25rem;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.hero__title-line {
  display: block;
  position: relative;
  overflow: hidden;
  max-width: 100%;
}

.hero__title-line--accent {
  background: linear-gradient(90deg, #fff 0%, #fff 40%, var(--accent) 50%, #fff 60%, #fff 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 6s ease-in-out infinite;
}

@keyframes shine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
}

.hero__lead {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: var(--color-on-dark-muted);
  max-width: 28rem;
  margin: 0 auto 1rem;
  line-height: 1.55;
}

/* Linkovi u hero leadu: globalni zeleni accent (#2e7d32) nestaje na tamnoj pozadini */
.hero__lead a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.2em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.75);
}

.hero__lead a:hover,
.hero__lead a:focus-visible {
  color: #e8f5e9;
  text-decoration-color: #a5d6a7;
}

.hero__topics {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem 0.65rem;
  max-width: 42rem;
  margin: 0 auto 1.75rem;
  padding: 0;
  list-style: none;
}

.hero__topics a {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(13, 17, 23, 0.45);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.hero__topics a:hover,
.hero__topics a:focus-visible {
  color: #fff;
  border-color: rgba(165, 214, 167, 0.55);
  background: rgba(46, 125, 50, 0.25);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none !important;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, border-color 0.25s;
}

.btn span {
  position: relative;
  z-index: 1;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 24px var(--accent-ghost);
}

.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, 0.25), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn--primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 32px var(--accent-glow);
}

.btn--primary:hover::before {
  opacity: 1;
}

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

.btn--ghost:hover {
  border-color: var(--accent);
  text-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-2px);
}

/* Zadržano u HTML-u; vizuelno = .btn (ne „veći“ gumb). */
.btn--lg {
  padding: 0.7rem 1.35rem;
  font-size: 0.875rem;
}

/* Hero scroll */
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero__scroll:hover {
  color: var(--accent);
  text-decoration: none;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scaleY(0.8);
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

/* Sections */
.section {
  position: relative;
  padding: var(--section-y) 0;
  z-index: 1;
}

.section--light {
  background: var(--color-surface);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section--dark {
  background: var(--color-bg);
  color: var(--color-on-dark);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section--muted {
  background-color: var(--color-surface-muted);
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 0%, transparent 36%);
}

.section--dark .section-sub {
  color: var(--color-on-dark-muted);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  box-sizing: border-box;
}

.section-head {
  text-align: center;
  max-width: 720px;
  width: 100%;
  margin: 0 auto 2rem;
  padding-left: 0;
  padding-right: 0;
  box-sizing: border-box;
}

.section-head--tight {
  margin-bottom: 1.5rem;
}

.section-head--showcase {
  max-width: 40rem;
}

.section-kicker--dark {
  color: var(--accent);
}

.features .section-kicker--dark,
.capacities .section-kicker--dark {
  color: var(--accent);
}

.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.95rem);
  margin: 0 0 0.65rem;
  color: var(--color-text);
  line-height: 1.2;
}

.section-heading--light {
  color: var(--color-on-dark);
}

.section-sub {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.section-sub--center {
  max-width: 38rem;
  margin-left: auto;
  margin-right: auto;
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-sub--on-dark {
  color: var(--color-on-dark-muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* About */
.about__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 3rem);
  }
}

.about__kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
}

.about__text .section-heading {
  margin-bottom: 0.5rem;
}

.about__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.about__meta-dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  flex-shrink: 0;
}

/* O nama — brend panel (umjesto nasumične fotografije) */
.about__brand-panel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow:
    0 4px 6px rgba(13, 17, 23, 0.08),
    0 20px 40px rgba(13, 17, 23, 0.18);
  background:
    radial-gradient(ellipse 120% 80% at 50% 100%, rgba(46, 125, 50, 0.14) 0%, transparent 55%),
    linear-gradient(168deg, #0a0e14 0%, #121820 38%, #0d1117 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  isolation: isolate;
}

@media (prefers-reduced-motion: no-preference) {
  .about__brand-panel {
    transition: box-shadow 0.55s var(--ease-out), transform 0.55s var(--ease-out);
  }

  .about__brand-panel:hover {
    box-shadow:
      0 8px 16px rgba(13, 17, 23, 0.12),
      0 28px 56px rgba(13, 17, 23, 0.22);
    transform: translateY(-3px);
  }
}

.about__brand-panel__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 85% 75% at 50% 45%, #000 20%, transparent 70%);
  pointer-events: none;
}

.about__brand-panel__glow {
  position: absolute;
  top: -20%;
  right: -15%;
  width: 70%;
  height: 55%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(102, 187, 106, 0.22) 0%, transparent 68%);
  filter: blur(2px);
  pointer-events: none;
}

.about__brand-panel__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #f0f6fc;
  max-width: 17rem;
}

.about__brand-panel__eyebrow {
  margin: 0 0 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(240, 246, 252, 0.45);
}

.about__brand-panel__mark {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.85rem, 8.5vw, 4.5rem);
  letter-spacing: 0.16em;
  line-height: 0.95;
  margin-bottom: 0.4rem;
  background: linear-gradient(180deg, #ffffff 0%, #c8d4e0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@supports not (background-clip: text) {
  .about__brand-panel__mark {
    color: #f0f6fc;
    background: none;
  }
}

.about__brand-panel__word {
  display: block;
  font-size: clamp(0.72rem, 2vw, 0.9rem);
  font-weight: 600;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: rgba(240, 246, 252, 0.78);
}

.about__brand-panel__legal {
  margin: 0.85rem 0 0;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(129, 199, 132, 0.75);
}

.about__brand-panel__sub {
  margin: 0.5rem 0 0;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240, 246, 252, 0.5);
}

.about__brand-panel__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.about__brand-panel__tag {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240, 246, 252, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.about__brand-panel__accent {
  display: block;
  width: 2.75rem;
  height: 2px;
  margin: 1.35rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(129, 199, 132, 0.85), transparent);
  box-shadow: 0 0 12px rgba(129, 199, 132, 0.35);
}

.about__brand-panel__frame {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.about__brand-panel__frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--radius-lg) - 1px);
  box-shadow: inset 0 0 0 1px rgba(129, 199, 132, 0.22);
  pointer-events: none;
}

.about__intro {
  font-size: 1.1rem;
  color: var(--color-text);
}

.about__facts {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.about__facts li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.95rem;
}

.about__counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--color-surface-muted);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
}

.stat-card__label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Services */
.services {
  position: relative;
  overflow: hidden;
}

.services__glow {
  position: absolute;
  top: -20%;
  right: -15%;
  width: min(70vw, 520px);
  height: min(70vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 125, 50, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.services__glow::after {
  content: "";
  position: absolute;
  bottom: -40%;
  left: -30%;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(100, 181, 246, 0.06) 0%, transparent 70%);
}

.section-head--services {
  position: relative;
  z-index: 1;
  margin-bottom: 1.75rem;
}

.section-head--services .section-heading {
  position: relative;
  display: inline-block;
  width: 100%;
}

.section-head--services .section-heading::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.65rem auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), rgba(46, 125, 50, 0.35));
}

.services__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 700px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .services__grid {
    gap: 2rem;
  }
}

.service-card {
  border-radius: calc(var(--radius-lg) + 2px);
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 4px 0 rgba(46, 125, 50, 0.12), var(--shadow-lg);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(46, 125, 50, 0.25);
}

.service-card__link {
  display: block;
  height: 100%;
  min-height: 320px;
  position: relative;
  color: inherit;
  text-decoration: none !important;
}

.service-card__index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.35);
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: rgba(13, 17, 23, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.service-card__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.85s var(--ease-out);
}

/* PNG iz assets/usluge — bijela pozadina na kartici plastifikacije */
.service-card__media--knockout {
  background-color: #0d1117;
  background-blend-mode: multiply;
}

.service-card__link:hover .service-card__media {
  transform: scale(1.06);
}

.service-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    165deg,
    rgba(13, 17, 23, 0.05) 0%,
    rgba(13, 17, 23, 0.45) 38%,
    rgba(13, 17, 23, 0.88) 72%,
    rgba(8, 11, 15, 0.96) 100%
  );
  transition: box-shadow 0.4s, opacity 0.4s;
}

.service-card__link:hover .service-card__overlay {
  box-shadow: inset 0 0 0 1px rgba(46, 125, 50, 0.55);
  opacity: 1;
}

.service-card__body {
  position: absolute;
  inset: 0;
  padding: 1.75rem 1.75rem 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.service-card__icon {
  width: 52px;
  height: 52px;
  margin-bottom: 1.1rem;
  padding: 10px;
  color: var(--accent);
  border-radius: 14px;
  background: rgba(13, 17, 23, 0.45);
  border: 1px solid rgba(46, 125, 50, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 700;
  margin: 0 0 0.45rem;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.service-card__desc {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.5;
  max-width: 26rem;
}

.service-card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a5d6a7;
  transition: color 0.25s, transform 0.25s;
}

.service-card__link:hover .service-card__more {
  color: #c8e6c9;
  transform: translateX(4px);
}

/* Capacities */
.capacities__scroll {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
  touch-action: pan-x pinch-zoom;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.capacities__scroll::-webkit-scrollbar {
  height: 6px;
}
.capacities__scroll::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

.capacity-card {
  flex: 0 0 min(100%, 520px);
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-rows: 220px auto;
}

@media (min-width: 700px) {
  .capacity-card {
    grid-template-rows: 280px auto;
  }
}

.capacity-card__media {
  background-size: cover;
  background-position: center;
  transition: transform 0.7s var(--ease-out);
}

.capacity-card:hover .capacity-card__media {
  transform: scale(1.05);
}

.capacity-card__content {
  padding: 1.35rem 1.5rem 1.5rem;
}

.capacity-card__tag {
  margin: 0 0 0.4rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.capacity-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.capacity-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.capacity-card__lead {
  margin: 0 0 0.55rem;
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.capacity-card__list {
  margin: 0;
  padding-left: 1.15rem;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.capacity-card__list li {
  margin-bottom: 0.4rem;
}

.capacity-card__list li:last-child {
  margin-bottom: 0;
}

.capacities__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  margin-top: 1.75rem;
}

@media (min-width: 640px) {
  .capacities__metrics {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
  }
}

.capacities__metric {
  background: linear-gradient(180deg, #fff 0%, #f4f6f9 100%);
  border: 1px solid rgba(13, 17, 23, 0.08);
  border-radius: var(--radius);
  padding: 1rem 0.65rem;
  text-align: center;
}

.capacities__metric-hint {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}

.capacities__metric-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.15;
}

.capacities__metric-num--text {
  font-size: clamp(1.25rem, 2.2vw, 1.5rem);
  letter-spacing: 0.02em;
}

.capacities__metric-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.capacities__process {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

.capacities__process-title {
  font-family: var(--font-display);
  font-size: clamp(0.98rem, 1.8vw, 1.12rem);
  font-weight: 700;
  margin: 0 0 0.9rem;
  text-align: center;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.capacities__process-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 700px) {
  .capacities__process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
  }
}

.capacities__process-step {
  position: relative;
  margin: 0;
  padding: 0.95rem 0.85rem 0.95rem 2.55rem;
  background: #eef1f5;
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
}

.capacities__process-n {
  position: absolute;
  left: 0.65rem;
  top: 0.9rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent);
  opacity: 0.9;
}

.capacities__process-head {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.25rem;
  line-height: 1.2;
}

.capacities__process-text {
  display: block;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* Features */
.features__grid {
  display: grid;
  gap: 1.1rem;
}

@media (min-width: 600px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
  }
}

.feature-item {
  padding: 1.35rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-item__icon {
  display: block;
  width: 40px;
  height: 40px;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-item__icon svg {
  width: 100%;
  height: 100%;
}

.feature-item__title {
  font-size: 1rem;
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  line-height: 1.25;
}

.feature-item__text {
  margin: 0;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* Split showcase (dva segmenta ponude — nije prije/poslije) */
.section-head--showcase {
  margin-left: auto;
  margin-right: auto;
}

.section-head--showcase .section-sub {
  text-align: center;
  margin-bottom: 0;
}

.showcase .split-showcase {
  margin-top: 1.35rem;
}

.split-showcase {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
  box-shadow: var(--shadow-lg);
  user-select: none;
  /* Omogući vertikalni skrol stranice prstom; klizač i dalje radi preko range inputa */
  touch-action: pan-y pinch-zoom;
  border: 1px solid rgba(46, 125, 50, 0.2);
}

@media (min-width: 769px) {
  .split-showcase {
    touch-action: none;
  }
}

.split-showcase__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.split-showcase__clip {
  position: absolute;
  inset: 0;
  width: 50%;
  overflow: hidden;
  z-index: 1;
  border-right: 2px solid var(--accent);
}

.split-showcase__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
  margin: 0;
}

.split-showcase__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 4px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
  background: transparent;
}

.split-showcase__handle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
  border: 3px solid #fff;
}

.split-showcase__label {
  position: absolute;
  bottom: 1rem;
  z-index: 2;
  padding: 0.4rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(13, 17, 23, 0.82);
  color: #fff;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: calc(50% - 2rem);
  line-height: 1.3;
}

.split-showcase__label--left {
  left: 1rem;
}

.split-showcase__label--right {
  right: 1rem;
  text-align: right;
}

@media (max-width: 520px) {
  .split-showcase__label {
    font-size: 0.55rem;
    padding: 0.3rem 0.5rem;
    letter-spacing: 0.06em;
  }
}

/* Naši radovi (homepage galerija) */
.works .section-head {
  margin-bottom: 1.75rem;
}

.works__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

@media (min-width: 600px) {
  .works__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
}

@media (min-width: 1000px) {
  .works__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.works__item-wrap {
  margin: 0;
}

.works__item {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--color-surface-muted);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}

.works__item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

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

.works__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.works__item:hover img {
  transform: scale(1.05);
}

.works__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(13, 17, 23, 0.35) 100%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.works__item:hover::after {
  opacity: 1;
}

/* Stats band */
.stats-band {
  background: linear-gradient(135deg, #0a0e14 0%, #1a222c 100%);
  color: var(--color-on-dark);
  padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}

.stats-band__kicker {
  text-align: center;
  margin: 0 0 1.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem 0.75rem;
  text-align: center;
  align-items: stretch;
}

@media (min-width: 800px) {
  .stats-band__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.stats-band__item {
  position: relative;
  padding: 0.65rem 0.5rem;
}

@media (min-width: 800px) {
  .stats-band__item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 56%;
    background: linear-gradient(
      180deg,
      transparent,
      rgba(255, 255, 255, 0.12) 20%,
      rgba(255, 255, 255, 0.12) 80%,
      transparent
    );
  }
}

.stats-band__hint {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  margin-bottom: 0.3rem;
}

.stats-band__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.2vw, 2.05rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1.1;
}

.stats-band__num--text {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  letter-spacing: 0.15em;
}

.stats-band__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-on-dark-muted);
}

/* Gallery */
.gallery__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.gallery__filter {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.gallery__filter:hover,
.gallery__filter:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
}

.gallery__filter.is-active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.gallery__masonry {
  column-count: 2;
  column-gap: 1rem;
}

@media (min-width: 700px) {
  .gallery__masonry {
    column-count: 3;
  }
}

@media (min-width: 1000px) {
  .gallery__masonry {
    column-count: 4;
  }
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s, transform 0.35s;
}

.gallery__item.is-hidden {
  display: none;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s var(--ease-out);
}

.gallery__item:hover img {
  transform: scale(1.06);
}

.gallery__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 23, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.35s;
}

.gallery__item:hover::after {
  opacity: 1;
}

/* CTA final */
.cta-final {
  position: relative;
  padding: clamp(2.75rem, 6vw, 4.25rem) 0;
  overflow: hidden;
}

.cta-final__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
}

.cta-final__meta {
  margin: 0.85rem 0 0;
  font-size: 0.8rem;
  color: var(--color-on-dark-muted);
  letter-spacing: 0.02em;
}

.cta-final__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(46, 125, 50, 0.12) 0%, transparent 50%),
    linear-gradient(180deg, var(--color-bg) 0%, #121820 100%);
  z-index: 0;
}

.cta-final__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-final__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3vw, 2.1rem);
  color: var(--color-on-dark);
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.cta-final__lead {
  color: var(--color-on-dark-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.15rem;
  max-width: 24rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.55;
}

.cta-final .btn--primary {
  color: #fff;
}

.cta-final .btn--ghost {
  color: var(--color-on-dark);
}

.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Footer */
/* ============================================================
   SITE FOOTER — minimal
   ============================================================ */
.site-footer {
  background: #0d1117;
  color: #8b949e;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.site-footer a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.18s;
}

.site-footer a:hover {
  color: #fff;
}

/* ---- Single bar layout ---- */
.site-footer__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 2rem;
  padding: 1.35rem 0;
}

/* Company name */
.site-footer__name {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: #c9d1d9;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Contact group */
.site-footer__contacts {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.5rem;
  flex-wrap: wrap;
}

.site-footer__contacts a {
  font-size: 0.82rem;
  color: #8b949e;
}

.site-footer__contacts a:hover {
  color: #c9d1d9;
}

.site-footer__sep {
  color: rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  user-select: none;
}

/* Powered by */
.footer-credit {
  margin: 0;
}

.footer-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.18s;
  white-space: nowrap;
}

.footer-credit__link:hover {
  color: rgba(165, 214, 167, 0.85);
}

.footer-credit__zig {
  display: flex;
  color: rgba(165, 214, 167, 0.55);
  flex-shrink: 0;
}

.footer-credit__zig svg {
  display: block;
}

.footer-credit__label strong {
  font-weight: 600;
}

/* ---- Mobile: vertical stack, centered ---- */
@media (max-width: 767px) {
  .site-footer__bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    padding: 1.25rem 0 calc(1.25rem + env(safe-area-inset-bottom, 0px));
  }

  .site-footer__contacts {
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
  }

  .site-footer__sep {
    display: none;
  }
}

/* Legacy — keep for any old references that might still exist */
.site-footer__social { display: none; }
.site-footer__social-note { display: none; }
.site-footer__map-row { display: none; }
.site-footer__top { display: none; }
.site-footer__inner { display: none; }
.site-footer__bottom { display: none; }

/* SEO: povezane stranice (unutarnji linkovi) */
.seo-related {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.02);
}

.seo-related__title {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.page-sub .seo-related__title,
.section--light .seo-related__title {
  color: rgba(13, 17, 23, 0.55);
}

.seo-related__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.seo-related__list a {
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__bottom {
  padding: 1rem 0 calc(1rem + env(safe-area-inset-bottom, 0px));
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  text-align: center;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.3);
}

@media (min-width: 640px) {
  .site-footer__bottom-inner {
    justify-content: space-between;
    text-align: left;
  }
}

.site-footer__legal {
  margin: 0;
}

.site-footer__bottom-inner--compact {
  border: none;
  margin: 0;
  padding: 1.25rem 0;
  justify-content: space-between;
}

.site-footer__bottom-inner--compact .site-footer__legal {
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.78rem;
}

.footer-credit {
  margin: 0;
}

.footer-credit__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.footer-credit__link:hover {
  color: rgba(165, 214, 167, 0.9);
}

.footer-credit__zig {
  display: flex;
  color: rgba(165, 214, 167, 0.65);
  flex-shrink: 0;
}

.footer-credit__zig svg {
  display: block;
}

.footer-credit__label strong {
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ---- Footer mobile ---- */
@media (max-width: 639px) {
  .site-footer__inner {
    padding-top: 1.5rem;
  }

  .site-footer__top {
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
    grid-template-columns: 1fr;
  }

  /* Sakrij nav kolone i mapu */
  .site-footer__block--nav,
  .site-footer__map-row {
    display: none;
  }

  /* Brand: horizontalno logo + tagline */
  .site-footer__brand {
    gap: 0.35rem;
    padding-bottom: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 1.1rem;
  }

  .site-footer__desc {
    display: none;
  }

  /* Kontakt: kompaktan, u jednom redu gdje moguće */
  .site-footer__block:not(.site-footer__block--nav) {
    padding-bottom: 1.25rem;
  }

  .site-footer__heading {
    margin-bottom: 0.65rem;
  }

  .site-footer__address {
    font-size: 0.8rem;
    margin-bottom: 0.55rem;
  }

  .site-footer__contact-links {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    margin-top: 0;
  }

  .site-footer__contact-link {
    font-size: 0.88rem;
    gap: 0.4rem;
  }

  .site-footer__contact-link svg {
    width: 14px;
    height: 14px;
  }

  .site-footer__bottom {
    padding-top: 0.85rem;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 0.4rem;
    font-size: 0.7rem;
  }
}

/* Kapaciteti — bogatiji uvod */
.capacities--page {
  position: relative;
  overflow: hidden;
}

.capacities--page::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -10%, rgba(46, 125, 50, 0.09) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  pointer-events: none;
  z-index: 0;
}

.capacities--page > .container {
  position: relative;
  z-index: 1;
}

.capacities__highlights {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .capacities__highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.capacities__highlight {
  margin: 0;
  padding: 1rem 1.1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(13, 17, 23, 0.08);
  box-shadow: 0 2px 12px rgba(13, 17, 23, 0.06);
}

.capacities__highlight-title {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--color-text);
}

.capacities__highlight-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.capacities__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin: 0 0 1.75rem;
}

.capacities__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46, 125, 50, 0.08);
  border: 1px solid rgba(46, 125, 50, 0.2);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.capacities__chip:hover {
  background: rgba(46, 125, 50, 0.14);
  transform: translateY(-1px);
}

/* Zašto mi — uvod i dodatni blok */
.features--page {
  position: relative;
}

.features__intro-banner {
  max-width: 52rem;
  margin: 0 auto 2.25rem;
  padding: 1.35rem 1.5rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(46, 125, 50, 0.1) 0%, rgba(13, 17, 23, 0.04) 100%);
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(13, 17, 23, 0.06);
}

.features__intro-banner p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-text);
}

.features__intro-banner strong {
  color: var(--accent);
  font-weight: 700;
}

.features__grid--rich {
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .features__grid--rich {
    grid-template-columns: repeat(3, 1fr);
  }
}

.features__closing {
  margin-top: 0.5rem;
  padding: 1.75rem 1.25rem;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(13, 17, 23, 0.08);
  box-shadow: var(--shadow-card);
}

.features__closing-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  margin: 0 0 0.5rem;
  color: var(--color-text);
}

.features__closing-text {
  margin: 0 auto;
  max-width: 40rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
}

.features__closing-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

/* Sticky call */
.sticky-call {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px var(--accent-glow);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.sticky-call svg {
  width: 26px;
  height: 26px;
}

.sticky-call:hover {
  transform: scale(1.08);
  text-decoration: none;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100002;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  line-height: 1;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.lightbox__close:hover {
  background: var(--accent);
}

/* Subpages (usluge) */
.page-sub {
  padding-top: var(--header-h);
}

.sub-main {
  min-height: 60vh;
}

.sub-hero {
  position: relative;
  min-height: min(52vh, 480px);
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-image: var(--sub-img);
}

.sub-hero--hub {
  min-height: min(58vh, 540px);
}

.sub-hero--knockout {
  background-color: #0d1117;
  background-blend-mode: multiply;
}

.sub-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 17, 23, 0.35) 0%, rgba(13, 17, 23, 0.88) 100%);
}

.sub-hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  max-width: 720px;
}

.sub-hero__crumb {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
}

.sub-hero__crumb a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.sub-hero__crumb a:hover {
  color: var(--accent);
}

.sub-hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  color: #fff;
  margin: 0 0 0.65rem;
  line-height: 1.18;
}

.sub-hero__lead {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.5;
}

/* Hub: pregled podkategorija (klik na naslov u mega meniju) */
.hub-section {
  position: relative;
  padding: 3.75rem 0 4.5rem;
  overflow: hidden;
  border-bottom: none !important;
  background: transparent !important;
}

.hub-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% -25%, rgba(46, 125, 50, 0.14), transparent 52%),
    linear-gradient(165deg, #eef2f7 0%, #e2e8f0 42%, #f8fafc 100%);
}

.hub-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    -18deg,
    transparent,
    transparent 14px,
    rgba(15, 23, 42, 0.025) 14px,
    rgba(15, 23, 42, 0.025) 15px
  );
}

.hub-section .container {
  position: relative;
  z-index: 1;
}

.hub-section__head {
  max-width: 42rem;
  margin-bottom: 2.5rem;
}

.hub-section__kicker {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2e7d32;
}

.hub-section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 0.75rem;
}

.hub-section__lead {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #475569;
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(268px, 1fr));
  gap: 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 900px) {
  .hub-grid--duo {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
  }
}

.hub-tile {
  margin: 0;
}

.hub-tile__link {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 14.5rem;
  height: 100%;
  padding: 1.75rem 1.6rem 1.45rem;
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(160deg, #ffffff 0%, #f4f7fb 100%);
  text-decoration: none !important;
  color: #0f172a !important;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 48px -20px rgba(15, 23, 42, 0.18);
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.hub-tile__link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.35rem;
  right: 1.35rem;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #1b5e20, #43a047, #81c784);
  opacity: 0.95;
}

.hub-tile__link:hover,
.hub-tile__link:focus-visible {
  border-color: rgba(46, 125, 50, 0.35);
  box-shadow:
    0 4px 6px rgba(15, 23, 42, 0.05),
    0 24px 56px -16px rgba(46, 125, 50, 0.2);
  transform: translateY(-4px);
}

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

.hub-tile__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 0.55rem;
  padding-top: 0.35rem;
}

/* SEO FAQ block - premium style, no layout break */
#seo-faq {
  position: relative;
}

#seo-faq .seo-faq__shell {
  background: linear-gradient(160deg, #ffffff 0%, #f6f9fc 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  box-shadow: 0 16px 46px -26px rgba(15, 23, 42, 0.28);
  padding: clamp(1.25rem, 2.5vw, 2rem);
}

#seo-faq .seo-faq__kicker {
  margin-bottom: 0.5rem;
}

#seo-faq .seo-faq__lead {
  text-align: left;
  margin-left: 0;
  max-width: 72ch;
}

#seo-faq .seo-faq__list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

#seo-faq .seo-faq__item {
  margin: 0;
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 24px -22px rgba(15, 23, 42, 0.25);
  overflow: hidden;
}

#seo-faq .seo-faq__item .svc-mobile-details__sum {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  padding: 0.95rem 1rem;
  margin: 0;
}

#seo-faq .seo-faq__item .svc-mobile-details__sum::-webkit-details-marker {
  display: none;
}

#seo-faq .seo-faq__item .svc-mobile-details__sum::after {
  content: "+";
  float: right;
  color: #2e7d32;
}

#seo-faq .seo-faq__item[open] .svc-mobile-details__sum::after {
  content: "−";
}

#seo-faq .seo-faq__item p {
  margin: 0;
  padding: 0 1rem 1rem;
  color: #475569;
}

#seo-faq .seo-faq__actions {
  margin-top: 1rem !important;
  justify-content: flex-start;
  gap: 0.6rem;
}

#seo-faq .seo-faq__actions .btn--ghost {
  background: #ffffff;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.2);
}

#seo-faq .seo-faq__actions .btn--ghost:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.35);
}

.hub-tile__hint {
  flex: 1 1 auto;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
  margin: 0;
}

.hub-tile__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2e7d32;
}

.hub-tile__cta span[aria-hidden="true"] {
  transition: transform 0.2s;
}

.hub-tile__link:hover .hub-tile__cta span[aria-hidden="true"],
.hub-tile__link:focus-visible .hub-tile__cta span[aria-hidden="true"] {
  transform: translateX(4px);
}

.hub-tile__link::after {
  display: none !important;
}

/* Donji blok na hub stranicama */
.hub-next {
  padding: 3.25rem 0 4.25rem;
}

.hub-next__panel {
  max-width: 48rem;
  margin: 0 auto;
  padding: 2.35rem 2.5rem;
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: linear-gradient(145deg, rgba(46, 125, 50, 0.06) 0%, rgba(241, 245, 249, 0.9) 48%, #ffffff 100%);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

@media (max-width: 600px) {
  .hub-next__panel {
    padding: 1.75rem 1.35rem;
  }
}

.hub-next .section-heading {
  margin-bottom: 1rem;
}

.hub-next .sub-list {
  margin-top: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .hub-tile__link:hover,
  .hub-tile__link:focus-visible {
    transform: none;
  }

  .hub-tile__link:hover .hub-tile__cta span[aria-hidden="true"],
  .hub-tile__link:focus-visible .hub-tile__cta span[aria-hidden="true"] {
    transform: none;
  }
}

.sub-content {
  max-width: 720px;
}

.sub-list {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.8;
}

.sub-list li {
  margin-bottom: 0.5rem;
}

.sub-content__text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.page-sub .btn--primary {
  color: #fff;
}

/* Soft section rhythm */
.section + .section {
  scroll-margin-top: var(--header-h);
}

/* =============================================================================
   Mobile-first responsive layer — overflow, touch, premium phone UX
   ============================================================================= */

main,
#main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  min-width: 0;
}

.container {
  min-width: 0;
  max-width: min(1200px, 100%);
}

/* Ne reži sadržaj sekcije — tekst je u .container s paddingom; overflow je na html/body */
.section {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

picture,
video,
iframe {
  max-width: 100%;
}

.hero__bg {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

@media (max-width: 1024px) {
  :root {
    --section-y: clamp(2rem, 4vw, 3rem);
  }
}

@media (max-width: 768px) {
  body {
    line-height: 1.65;
  }

  .container {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
  }

  .hero {
    min-height: auto;
    min-height: unset;
    padding: 1.75rem max(1rem, env(safe-area-inset-left)) 2.5rem max(1rem, env(safe-area-inset-right));
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 1rem);
  }

  .hero__content {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-top: 0.25rem;
  }

  .hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__title {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    margin-bottom: 0.85rem;
    text-align: center;
    text-wrap: balance;
  }

  .hero__lead {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero__topics {
    margin-bottom: 1.35rem;
    gap: 0.4rem;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }

  .section-head {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .section-heading,
  .section-sub,
  .section-kicker {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .section-sub--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  .stats-band__item,
  .capacities__metric {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .cta-final__title,
  .cta-final__lead,
  .cta-final__meta {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    overflow-wrap: break-word;
  }

  .cta-final__lead {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .about__text {
    text-align: center;
    max-width: 100%;
  }

  .about__text .section-heading {
    text-align: center;
  }

  .about__meta {
    justify-content: center;
  }

  .about__intro {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
  }

  .about__facts {
    text-align: left;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
  }

  .about__counters {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .stat-card {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .capacity-card__content,
  .capacity-card__title,
  .capacity-card__lead,
  .capacity-card__list {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .capacities__metrics {
    min-width: 0;
    width: 100%;
  }

  .service-card__body .service-card__title,
  .service-card__body .service-card__desc {
    overflow-wrap: break-word;
    word-break: break-word;
    max-width: 100%;
  }

  .feature-item {
    text-align: center;
    max-width: 100%;
  }

  .feature-item__text {
    text-align: center;
  }

  .split-showcase__label {
    max-width: 42%;
    overflow-wrap: break-word;
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
    margin-left: auto;
    margin-right: auto;
    gap: 0.75rem;
  }

  .hero__scroll {
    display: none;
  }

  .stats-band__grid {
    min-width: 0;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
  }

  .about__grid {
    grid-template-columns: 1fr !important;
  }

  .services__grid,
  .features__grid,
  .hub-grid {
    grid-template-columns: 1fr !important;
  }

  .cta-final__actions {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }

  .site-footer__grid {
    grid-template-columns: 1fr !important;
  }

  .site-footer__brand,
  .site-footer__block {
    text-align: center;
  }

  .site-footer__bottom-inner {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 0.75rem;
  }

  .split-showcase__handle span {
    width: 52px;
    height: 52px;
  }

  .split-showcase__range {
    min-height: 44px;
  }

  /* Kartice pogona: na telefonu jedna ispod druge — bez horizontalnog skrola */
  .section.capacities {
    overflow-x: visible;
  }

  .capacities .container {
    overflow-x: visible;
  }

  .capacities__scroll {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow-x: visible;
    overflow-y: visible;
    scroll-snap-type: none;
    touch-action: auto;
    padding-bottom: 0;
    -webkit-overflow-scrolling: auto;
  }

  .capacity-card {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    scroll-snap-align: unset;
  }

  /* „Nazad na početnu / usluge“ — logo već vodi na početnu; smanji šumu na mobilnom */
  .about-hero__crumb,
  .contact-hero__crumb,
  .sub-hero__crumb,
  .plast-hero__crumb {
    display: none !important;
  }

  .sticky-call {
    right: max(1rem, env(safe-area-inset-right));
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 480px) {
  :root {
    --section-y: clamp(1.75rem, 5vw, 2.5rem);
  }

  .container {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }

  .section-heading {
    font-size: clamp(1.2rem, 4.5vw, 1.65rem);
  }

  .section-sub {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .btn {
    width: 100%;
    max-width: 100%;
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 0.9375rem;
    justify-content: center;
  }

  .hero .btn {
    width: 100%;
    max-width: 100%;
  }

  .btn--lg {
    padding: 0.7rem 1.15rem;
    font-size: 0.9375rem;
  }

  .stats-band__grid {
    grid-template-columns: 1fr !important;
  }

  .works__grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }

  .hero__topics a {
    font-size: 0.68rem;
    padding: 0.45rem 0.7rem;
  }
}

@media (hover: hover) and (pointer: fine) {
  .feature-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
  }

  .service-card:hover {
    transform: translateY(-4px);
  }

  .works__item:hover {
    transform: translateY(-3px);
  }

  .hub-tile__link:hover {
    transform: translateY(-4px);
  }
}

@media (hover: none) {
  .feature-item:active,
  .service-card:active,
  .works__item:active {
    transform: scale(0.99);
    transition: transform 0.15s ease;
  }
}

@media (max-width: 768px) {
  .feature-item:hover,
  .service-card:hover,
  .works__item:hover,
  .hub-tile__link:hover {
    transform: none;
    box-shadow: inherit;
  }

  .works__item:hover img {
    transform: none;
  }
}

@media (max-width: 1024px) {
  .split-showcase {
    max-width: 100%;
  }
}

/* =============================================================================
   Telefon (≤768px): hero kao metal landing (kovane), širi „O nama“, početna čitljivija
   ============================================================================= */
@media (max-width: 768px) {
  .page-sub {
    overflow-x: hidden;
  }

  /* Početna: manje sekcija (features ostaje — anchor #zasto-mi) */
  .home-page .stats-band,
  .home-page .showcase,
  .home-page .capacities__process {
    display: none !important;
  }

  /* Početna — više zraka, naslov + kratki lead; bez topic chipova (gužva) */
  .hero {
    align-items: flex-end !important;
    justify-content: center !important;
    min-height: min(56vh, 520px);
    padding: calc(var(--header-h) + 0.75rem) max(1.15rem, env(safe-area-inset-left))
      2rem max(1.15rem, env(safe-area-inset-right));
  }

  .hero .hero__topics {
    display: none !important;
  }

  .hero .hero__eyebrow,
  .hero .hero__lead,
  .hero .hero__actions {
    display: block !important;
  }

  .hero .hero__actions {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    max-width: 18rem;
    margin-top: 1.15rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .hero__content {
    justify-content: flex-end;
    align-items: center;
    min-height: 0;
    padding-bottom: 0;
    text-align: center;
  }

  .hero .hero__title {
    margin-bottom: 0.65rem;
    text-align: center;
    font-size: clamp(1.35rem, 5.2vw, 1.9rem);
    line-height: 1.18;
  }

  .hero .hero__title-line {
    display: block;
  }

  .hero .hero__lead {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .hero .hero__eyebrow {
    font-size: 0.65rem !important;
    letter-spacing: 0.12em;
    margin-bottom: 0.5rem;
  }

  /* Hub / usluge sub-hero — kompaktno */
  .sub-hero__lead {
    display: none !important;
  }

  .sub-hero,
  .sub-hero--hub {
    min-height: min(42vh, 360px) !important;
    align-items: center !important;
    justify-content: center !important;
    background-position: center center !important;
  }

  .sub-hero__content {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.5rem 0 1.75rem !important;
    max-width: 100% !important;
  }

  .sub-hero__title {
    margin-bottom: 0 !important;
  }

  /* O nama — puna širina, tekst kao na metal (lijevo), više slike */
  .page-about .about-hero {
    min-height: min(62vh, 560px) !important;
    align-items: flex-end !important;
    justify-content: stretch !important;
  }

  .page-about .about-hero__inner {
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.75rem 1.25rem 2.5rem !important;
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .page-about .about-hero__title {
    font-size: clamp(1.45rem, 5.5vw, 2rem) !important;
    line-height: 1.12 !important;
    max-width: none !important;
    margin-bottom: 0.75rem !important;
  }

  .page-about .about-hero__eyebrow,
  .page-about .about-hero__sub,
  .page-about .about-hero__line {
    display: block !important;
  }

  .page-about .about-hero__sub {
    max-width: none !important;
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  /* Kontakt hero — širi, čitljivije */
  .page-contact .contact-hero {
    min-height: min(58vh, 520px) !important;
    align-items: flex-end !important;
  }

  .page-contact .contact-hero__inner {
    max-width: 100% !important;
    padding: 1.75rem 1.25rem 2.25rem !important;
    text-align: left !important;
  }

  .page-contact .contact-hero__title {
    font-size: clamp(1.45rem, 5.5vw, 2rem) !important;
    max-width: none !important;
    margin-bottom: 0.65rem !important;
  }

  .page-contact .contact-hero__eyebrow,
  .page-contact .contact-hero__sub,
  .page-contact .contact-hero__line,
  .page-contact .contact-hero__pills,
  .page-contact .contact-hero__actions {
    display: block !important;
  }

  .page-contact .contact-hero__pills {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
    margin: 0.75rem 0 0;
    padding: 0;
    list-style: none;
  }

  .page-contact .contact-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
  }

  /* Metal landing (kovane, čelični, cijevi, stubovi) — pun hero kao desktop */
  .page-metalni .metal-hero {
    min-height: min(72vh, 620px) !important;
    align-items: flex-end !important;
  }

  .page-metalni .metal-hero__inner {
    text-align: left !important;
    max-width: 100% !important;
    width: 100% !important;
    padding: 1.5rem 0 2.25rem !important;
  }

  .page-metalni .metal-hero__title {
    max-width: none !important;
    font-size: clamp(1.5rem, 6vw, 2.05rem) !important;
  }

  .page-metalni .metal-hero__lead {
    max-width: none !important;
    font-size: 0.95rem !important;
  }

  .page-metalni .metal-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* PVC / ALU — isti ritam kao kovane (pun tekst, lijevo, visoka slika) */
  .page-pvc .pvc-hero__accent-line,
  .page-pvc .pvc-hero__window-deco {
    display: none !important;
  }

  .page-pvc .pvc-hero,
  .page-pvc .pvc-hero {
    min-height: min(72vh, 620px) !important;
    max-height: none !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
    padding: calc(var(--header-h) + 1rem) max(1.15rem, env(safe-area-inset-left)) 2rem
      max(1.15rem, env(safe-area-inset-right)) !important;
  }

  .page-pvc .pvc-hero__inner {
    text-align: left !important;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
  }

  .page-pvc .pvc-hero__title {
    max-width: none !important;
    font-size: clamp(1.5rem, 6vw, 2.05rem) !important;
  }

  .page-pvc .pvc-hero__headline {
    font-size: 1rem !important;
  }

  .page-pvc .pvc-hero__sub {
    font-size: 0.92rem !important;
    max-width: none !important;
  }

  .page-pvc .pvc-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* Panelne / žičana — kao metal */
  .page-panelne .panel-hero {
    min-height: min(72vh, 620px) !important;
  }

  .page-panelne .panel-hero__inner {
    min-height: min(72vh, 620px) !important;
    align-items: flex-end !important;
    padding: 1.5rem 0 2rem !important;
  }

  .page-panelne .panel-hero__content {
    text-align: left !important;
    max-width: 100% !important;
    width: 100%;
  }

  .page-panelne .panel-hero__title {
    font-size: clamp(1.5rem, 6vw, 2.05rem) !important;
  }

  .page-panelne .panel-hero__lead {
    max-width: none !important;
    font-size: 0.95rem !important;
  }

  .page-panelne .panel-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* Plastifikacija / zaštita metala */
  .page-plast .plast-hero {
    min-height: min(72vh, 620px) !important;
    align-items: flex-end !important;
    justify-content: flex-start !important;
  }

  .page-plast .plast-hero__inner {
    text-align: left !important;
    max-width: 100% !important;
    padding: 1.5rem 0 2.25rem !important;
  }

  .page-plast .plast-hero__title {
    font-size: clamp(1.5rem, 6vw, 2.05rem) !important;
  }

  .page-plast .plast-hero__sub {
    max-width: none !important;
    font-size: 0.95rem !important;
  }

  .page-plast .plast-hero .btn {
    display: inline-flex !important;
    margin-top: 0.5rem;
  }

  /* Roletne / garažna */
  .page-roletne .roletne-hero {
    min-height: min(72vh, 620px) !important;
  }

  .page-roletne .roletne-hero__content {
    text-align: left !important;
    align-items: flex-start !important;
    max-width: 100% !important;
    padding: 1.5rem max(1.15rem, env(safe-area-inset-left)) 2rem
      max(1.15rem, env(safe-area-inset-right)) !important;
  }

  .page-roletne .roletne-hero__title {
    font-size: clamp(1.5rem, 6vw, 2.05rem) !important;
  }

  .page-roletne .roletne-hero__lead {
    max-width: none !important;
    font-size: 0.95rem !important;
  }

  .page-roletne .roletne-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* Sekcije: naslovi i podnaslovi centrirani */
  .section-head {
    text-align: center !important;
  }

  .section-head .section-heading,
  .section-head .section-kicker,
  .section-head .section-sub {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section-heading {
    font-size: clamp(1.15rem, 4.2vw, 1.5rem) !important;
  }

  .section-sub {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  .section-kicker {
    font-size: 0.68rem !important;
  }

  .sub-content__text,
  .about__intro,
  .service-card__desc,
  .feature-item__text,
  .capacity-card__lead,
  .capacity-card__list,
  .plast-intro__text {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
  }

  /* Dugmad — kompaktnija (globalno na uskim ekranima) */
  .btn {
    min-height: 40px !important;
    padding: 0.45rem 0.95rem !important;
    font-size: 0.875rem !important;
  }

  .btn--lg {
    min-height: 42px !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.9rem !important;
  }

  .cta-final__actions .btn {
    max-width: 16rem;
    margin-left: auto;
    margin-right: auto;
  }
}
