:root {
  --teget: #003049;
  --teget-light: #004d73;
  --teget-muted: rgba(0, 48, 73, 0.08);
  --text: #003049;
  --text-muted: #003049;
  --white: #ffffff;
  --header-h: 5.5rem;
  --header-h-scrolled: 4rem;
  --header-home-offset: 45px;
  --font: "Montserrat", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  padding-top: var(--header-h);
  overflow-x: clip;
}

.text-muted {
  color: var(--teget) !important;
}

strong,
b {
  color: inherit;
  font-weight: 600;
}

body.header-scrolled {
  padding-top: var(--header-h-scrolled);
}

/* Podrazumevana tema: header 45px niže dok nije skrol — samo desktop */
@media (min-width: 992px) {
  body.theme-header-offset {
    padding-top: calc(var(--header-home-offset) + var(--header-h));
  }

  body.theme-header-offset.header-scrolled {
    padding-top: var(--header-h-scrolled);
  }

  body.theme-header-offset .site-header {
    transition:
      height 0.35s ease,
      top 0.35s ease,
      box-shadow 0.35s ease,
      border-color 0.35s ease;
  }

  body.theme-header-offset .site-header:not(.is-scrolled) {
    top: var(--header-home-offset);
  }

  body.theme-header-offset .site-header.is-scrolled {
    top: 0;
  }

  body.theme-header-offset .hero-section {
    min-height: calc(100vh - var(--header-home-offset) - var(--header-h));
  }
}

body.theme-header-offset .contact-fab,
body.theme-header-offset.header-scrolled .contact-fab {
  top: auto;
  left: auto;
}

/* Početna i proizvodi - cover iza menija, beli header dok nije skrol */
body.home-cover,
body.product-cover {
  padding-top: 0;
}

body.home-cover.header-scrolled,
body.product-cover.header-scrolled {
  padding-top: var(--header-h-scrolled);
}

@media (min-width: 992px) {
  body.home-cover.theme-header-offset,
  body.product-cover.theme-header-offset {
    padding-top: 0;
  }

  body.home-cover.theme-header-offset.header-scrolled,
  body.product-cover.theme-header-offset.header-scrolled {
    padding-top: var(--header-h-scrolled);
  }

  body.home-cover .hero-cover-inner {
    padding-top: calc(var(--header-home-offset) + var(--header-h) + 2.5rem);
  }

  body.product-cover .product-hero-inner {
    padding-top: calc(var(--header-home-offset) + var(--header-h) + 2rem);
  }
}

body.home-cover:not(.header-scrolled) .site-header,
body.product-cover:not(.header-scrolled) .site-header {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.home-cover:not(.header-scrolled) .nav-main .nav-link,
body.home-cover:not(.header-scrolled) .nav-main .nav-link-submenu,
body.product-cover:not(.header-scrolled) .nav-main .nav-link,
body.product-cover:not(.header-scrolled) .nav-main .nav-link-submenu {
  color: var(--white);
}

body.home-cover:not(.header-scrolled) .nav-main .nav-link:hover,
body.home-cover:not(.header-scrolled) .nav-main .nav-link.active,
body.home-cover:not(.header-scrolled) .nav-main .nav-link-submenu:hover,
body.home-cover:not(.header-scrolled) .nav-main .nav-link-submenu.active,
body.product-cover:not(.header-scrolled) .nav-main .nav-link:hover,
body.product-cover:not(.header-scrolled) .nav-main .nav-link.active,
body.product-cover:not(.header-scrolled) .nav-main .nav-link-submenu:hover,
body.product-cover:not(.header-scrolled) .nav-main .nav-link-submenu.active {
  color: rgba(255, 255, 255, 0.88);
}

body.home-cover:not(.header-scrolled) .nav-main .nav-link.active:not(.nav-link-submenu)::after,
body.product-cover:not(.header-scrolled) .nav-main .nav-link.active:not(.nav-link-submenu)::after {
  background: var(--white);
}

body.home-cover:not(.header-scrolled) .nav-main .nav-link-submenu.active,
body.product-cover:not(.header-scrolled) .nav-main .nav-link-submenu.active {
  box-shadow: inset 0 -2px 0 var(--white);
}

body.home-cover:not(.header-scrolled) .navbar-brand-logo,
body.product-cover:not(.header-scrolled) .navbar-brand-logo {
  filter: brightness(0) invert(1);
}

body.home-cover:not(.header-scrolled) .brand-text,
body.product-cover:not(.header-scrolled) .brand-text {
  color: var(--white);
}

body.home-cover:not(.header-scrolled) .btn-icon,
body.product-cover:not(.header-scrolled) .btn-icon {
  color: var(--white);
}

body.home-cover:not(.header-scrolled) .lang-switch .btn,
body.product-cover:not(.header-scrolled) .lang-switch .btn {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

body.home-cover:not(.header-scrolled) .lang-switch .btn:hover,
body.product-cover:not(.header-scrolled) .lang-switch .btn:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.65);
}

body.home-cover:not(.header-scrolled) .lang-switch .btn.active,
body.product-cover:not(.header-scrolled) .lang-switch .btn.active {
  background: var(--white);
  color: var(--teget);
  border-color: var(--white);
}

.hero-cover {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

body.home-cover .hero-cover {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
}

body.product-cover .product-hero.hero-cover {
  min-height: clamp(22rem, 48vh, 32rem);
  height: clamp(22rem, 48vh, 32rem);
}

.product-hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

.product-hero-lead {
  margin: 0;
  max-width: 41rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  line-height: 1.65;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.product-page-body {
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.product-intro {
  padding: 3rem 0 2rem;
  background: var(--white);
}

.product-intro .page-section-heading {
  color: var(--teget);
}

.product-sections {
  background: var(--white);
  padding-bottom: 3rem;
}

.product-sections-stack {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.product-section-heading--center {
  text-align: center;
  margin-bottom: 2rem;
}

.product-panel--dark {
  background: #0a1e34;
  color: rgba(255, 255, 255, 0.92);
  border-radius: 0.85rem;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  box-shadow: 0 8px 32px rgba(0, 48, 73, 0.14);
}

.product-panel-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.product-page-content--inverse p,
.product-page-content--inverse li {
  color: rgba(255, 255, 255, 0.9);
}

.product-page-content--inverse .page-section-heading,
.product-page-content--inverse strong {
  color: #fff;
}

.product-panel-list {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.product-panel-list li {
  line-height: 1.2 !important;
}

.product-panel-list li::marker {
  color: rgba(255, 255, 255, 0.55);
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: 0.85rem;
  background: var(--teget-muted);
  border: 1px solid rgba(0, 48, 73, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.product-card:hover {
  background: var(--teget);
  border-color: var(--teget);
}

.product-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--teget);
  transition: color 0.25s ease;
}

.product-card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-muted);
  transition: color 0.25s ease;
}

.product-card-text strong {
  color: var(--teget);
  transition: color 0.25s ease;
}

.product-card:hover .product-card-title,
.product-card:hover .product-card-text,
.product-card:hover .product-card-text strong {
  color: #fff;
}

.product-section-list {
  margin-top: 0.35rem;
}

.product-cta {
  padding: 0 0 4rem;
  background: var(--white);
}

.product-catalog {
  background: var(--white);
  padding-bottom: 4rem;
}

.product-catalog .product-page-body {
  padding-top: 0;
  padding-bottom: 0;
}

.product-catalog .wood-page-actions {
  border-top-color: var(--teget-muted);
}

.product-page-body .other-products-list li {
  color: inherit;
}

.hero-cover-media {
  position: absolute;
  inset: 0;
}

.hero-cover-img,
.hero-cover-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(10, 30, 52, 0.72) 0%,
    rgba(10, 30, 52, 0.42) 45%,
    rgba(0, 0, 0, 0.28) 100%
  );
  pointer-events: none;
}

.hero-cover-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
}

.hero-cover-content {
  max-width: 44rem;
}

.hero-cover-title {
  font-size: clamp(1.85rem, 4.8vw, 2.55rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--white);
  letter-spacing: -0.02em;
  margin: 0;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
  min-height: 2.4em;
}

.hero-rotate-text {
  display: inline-block;
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hero-rotate-text.is-leaving {
  opacity: 0;
  transform: translateY(-14px);
}

.hero-rotate-text.is-entering {
  opacity: 0;
  transform: translateY(14px);
}

.hero-cover-cta {
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-cover .hero-content {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-cover.hero-ready .hero-content {
  opacity: 1;
  transform: translateY(0);
}

.home-prose {
  line-height: 1.75;
 
}

.about-offer-detail {
  margin-bottom: 0;
}

.about-offer-detail + .about-intro {
  padding-top: 2rem;
  border-top: 1px solid var(--teget-muted);
}

.about-page-content,
.product-page-content {
  font-size: 1.22rem !important;
  line-height: 1.55 !important;
  color: var(--text-muted);
}

.about-page-content p,
.about-page-content li,
.product-page-content p,
.product-page-content li {
  font-size: inherit;
  line-height: inherit;
}

.about-page-content p,
.product-page-content p {
  margin-bottom: 1rem;
  text-align:justify
}

.about-page-content p:last-child,
.product-page-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .product-hero-title {
    font-size: clamp(1.45rem, 5.5vw, 1.75rem);
  }

  .product-hero-lead {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .product-page-content {
    font-size: 1.05rem !important;
  }

  .product-page-content .page-section-heading {
    font-size: 1.45rem;
  }

  .product-panel-heading {
    font-size: 1.35rem;
  }

  .product-card-title {
    font-size: 1.05rem;
  }

  .about-page-content p,
  .product-page-content p {
    text-align: left;
  }
}

.about-intro {
  padding: 3.5rem 0 3rem;
  background: var(--white);
}

.about-section--boxed-dark {
  background: var(--white);
  padding-bottom: 2.5rem;
}

.about-dark-panel {
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.about-dark-panel .about-profile-card {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.about-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.about-band--dark {
  background: #0a1e34;
  color: rgba(255, 255, 255, 0.92);
}

.about-band--light {
  background: #fff;
  color: var(--teget);
}

.about-band--light .about-band-heading {
  color: var(--teget);
}

.about-band-heading {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  line-height: 1.25;
  color: inherit;
}

.about-band-heading--center {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.about-page-content--inverse p,
.about-page-content--inverse li {
  color: rgba(255, 255, 255, 0.9);
}

.about-page-content--inverse .about-band-heading {
  color: #fff;
}

.about-page-content--inverse strong {
  color: #fff;
}

.about-band-list {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  display: grid;
  gap: 1rem;
}

.about-band-list li {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.about-band-list li::marker {
  color: rgba(255, 255, 255, 0.55);
}

.about-profile-card {
  background: #fff;
  color: var(--text-muted);
  border-radius: 0.85rem;
  padding: 1.75rem 1.5rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22);
}

.about-profile-card-title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--teget);
}

.about-profile-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.about-profile-list li {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid var(--teget-muted);
  line-height: 1.65;
  font-size: 1rem;
}

.about-profile-list li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.about-profile-label {
  display: block;
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--teget);
}

.about-profile-text {
  display: block;
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

@media (min-width: 992px) {
  .about-profile-card {
    position: sticky;
    top: 6.5rem;
  }
}

.about-why-grid {
  margin-top: 0;
}

.about-why-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  padding: 1.5rem 1.35rem;
  border-radius: 0.85rem;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.about-band--light .about-why-card {
  background: var(--teget-muted);
  border: 1px solid rgba(0, 48, 73, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.about-band--light .about-why-card:hover {
  background: var(--teget);
  border-color: var(--teget);
}

.about-why-card-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  transition: color 0.25s ease;
}

.about-band--light .about-why-card-title {
  color: var(--teget);
}

.about-why-card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  transition: color 0.25s ease;
}

.about-band--light .about-why-card-text {
  color: var(--text-muted);
}

.about-band--light .about-why-card-text strong {
  color: var(--teget);
  transition: color 0.25s ease;
}

.about-band--light .about-why-card:hover .about-why-card-title,
.about-band--light .about-why-card:hover .about-why-card-text,
.about-band--light .about-why-card:hover .about-why-card-text strong {
  color: #fff;
}

.about-cta {
  padding: 3.5rem 0 4.5rem;
}

.about-section-heading {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teget);
}

.page-section-heading {
  margin: 1.75rem 0 0.85rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teget);
}

.product-page-content .page-section-heading {
  font-size: 1.95rem;
}

.product-page-content > .page-section-heading:first-child,
.industry-content > .page-section-heading:first-child {
  margin-top: 0;
}

.about-page-list {
  margin-bottom: 1rem;
}

.wood-pellet-section {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--teget-muted);
}

.wood-pellet-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.wood-pellet-media {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 48, 73, 0.1);
  background: var(--teget-muted);
}

.wood-pellet-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (min-width: 992px) {
  .wood-pellet-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
  }

  .wood-pellet-body {
    flex: 1;
    min-width: 0;
  }

  .wood-pellet-media {
    flex: 0 0 48%;
    max-width: 480px;
  }
}

.wood-page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 0;
}

.wood-contact-btn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  line-height: 1.25;
}

.wood-contact-btn-phone {
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

@media (min-width: 768px) {
  .wood-contact-btn {
    flex-direction: row;
    align-items: center;
    gap: 0.55rem;
    text-align: left;
  }

  .wood-contact-btn-phone {
    font-size: inherit;
    font-weight: 600;
    opacity: 1;
  }
}

.wood-gallery-teaser {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--teget-muted);
}

.wood-gallery-teaser-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.wood-gallery-teaser-label {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teget);
}

.wood-gallery-teaser-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--teget);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.wood-gallery-teaser-all:hover {
  color: var(--teget-light);
}

.wood-gallery-teaser-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(3, minmax(5.5rem, 1fr));
  gap: 0.75rem;
  min-height: clamp(16rem, 34vw, 22rem);
}

.wood-gallery-teaser-item {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: none;
  border-radius: 0.85rem;
  overflow: hidden;
  cursor: pointer;
  background: var(--teget-muted);
  box-shadow: 0 4px 18px rgba(0, 48, 73, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.wood-gallery-teaser-item--featured,
.wood-gallery-teaser-item:first-child {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
}

.wood-gallery-teaser-item:nth-child(2) {
  grid-column: 3;
  grid-row: 1;
}

.wood-gallery-teaser-item:nth-child(3) {
  grid-column: 3;
  grid-row: 2;
}

.wood-gallery-teaser-item:nth-child(4) {
  grid-column: 1;
  grid-row: 3;
}

.wood-gallery-teaser-item:nth-child(5) {
  grid-column: 2;
  grid-row: 3;
}

.wood-gallery-teaser-item:nth-child(6) {
  grid-column: 3;
  grid-row: 3;
}

.wood-gallery-teaser-item:nth-child(n + 7) {
  grid-column: span 1;
  grid-row: auto;
}

.wood-gallery-teaser-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 48, 73, 0.18);
}

.wood-gallery-teaser-item img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.wood-gallery-teaser-item:hover img {
  transform: scale(1.06);
}

.wood-gallery-teaser-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 48, 73, 0.08) 0%, rgba(0, 48, 73, 0.62) 100%);
  color: #fff;
  font-size: 1.45rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.wood-gallery-teaser-item:hover .wood-gallery-teaser-overlay,
.wood-gallery-teaser-item:focus-visible .wood-gallery-teaser-overlay {
  opacity: 1;
}

@media (max-width: 767.98px) {
  .wood-gallery-teaser-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    min-height: 0;
  }

  .wood-gallery-teaser-item--featured,
  .wood-gallery-teaser-item:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 16 / 9;
  }

  .wood-gallery-teaser-item:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
  }

  .wood-gallery-teaser-item:not(:first-child) {
    aspect-ratio: 4 / 3;
  }
}

body.wood-gallery-open {
  overflow: hidden;
}

.wood-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.wood-gallery-lightbox[hidden] {
  display: none !important;
}

.wood-gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 38, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.wood-gallery-lightbox-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 72rem);
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  animation: woodGalleryIn 0.28s ease;
}

@keyframes woodGalleryIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.wood-gallery-lightbox-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.wood-gallery-lightbox-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.wood-gallery-lightbox-counter {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.wood-gallery-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.wood-gallery-lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
}

.wood-gallery-lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(52vh, 34rem);
}

.wood-gallery-lightbox-figure {
  margin: 0;
  width: 100%;
  max-width: calc(100% - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.wood-gallery-lightbox-main {
  display: block;
  max-width: 100%;
  max-height: min(52vh, 34rem);
  width: auto;
  height: auto;
  border-radius: 0.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.wood-gallery-lightbox-main.is-changing {
  opacity: 0.35;
  transform: scale(0.985);
}

.wood-gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.35rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.wood-gallery-lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-50%) scale(1.04);
}

.wood-gallery-lightbox-nav--prev {
  left: 0;
}

.wood-gallery-lightbox-nav--next {
  right: 0;
}

.wood-gallery-lightbox-thumbs {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
}

.wood-gallery-lightbox-thumb {
  flex: 0 0 auto;
  width: 4.75rem;
  height: 3.4rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.55rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wood-gallery-lightbox-thumb:hover,
.wood-gallery-lightbox-thumb.is-active {
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.85);
  transform: translateY(-2px);
}

.wood-gallery-lightbox-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 767.98px) {
  .wood-gallery-lightbox-panel {
    padding: 1rem 0.85rem 1.15rem;
  }

  .wood-gallery-lightbox-figure {
    max-width: 100%;
  }

  .wood-gallery-lightbox-nav {
    width: 2.35rem;
    height: 2.35rem;
    font-size: 1.1rem;
  }

  .wood-gallery-lightbox-nav--prev {
    left: -0.15rem;
  }

  .wood-gallery-lightbox-nav--next {
    right: -0.15rem;
  }
}

.wood-products-list {
  margin-top: 3rem;
}

.home-offer-detail {
  border-top: 1px solid var(--teget-muted);
  padding-top: 2.5rem;
}

.home-offer-highlights {
  margin: 0;
  padding-left: 1.35rem;
  max-width: 52rem;
}

.home-offer-highlights li {
  margin-bottom: 0.5rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.home-offer-highlights li::marker {
  color: var(--teget);
}

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

a:hover {
  color: var(--teget-light);
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: height 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  height: var(--header-h);
}

.site-header.is-scrolled {
  height: var(--header-h-scrolled);
  border-bottom-color: rgba(0, 48, 73, 0.1);
  box-shadow: 0 4px 24px rgba(0, 48, 73, 0.06);
}

.site-header .navbar {
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
}

.site-header .navbar-brand img,
.site-header .navbar-brand svg,
.site-header .navbar-brand-logo {
  height: 7rem;
  width: auto;
  transition: height 0.35s ease;
}

.site-header.is-scrolled .navbar-brand img,
.site-header.is-scrolled .navbar-brand svg,
.site-header.is-scrolled .navbar-brand-logo {
  height: 3rem;
}

.brand-text {
  font-weight: 700;
  font-size: 1.85rem;
  color: var(--teget);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
  transition: font-size 0.35s ease, color 0.35s ease;
}

.site-header.is-scrolled .brand-text {
  font-size: 1.45rem;
}

.nav-main .nav-link {
  color: var(--text);
  font-weight: 500;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem !important;
  position: relative;
}

.nav-main .nav-link.active,
.nav-main .nav-link:hover {
  color: var(--teget);
}

.nav-main .nav-link.active:not(.nav-link-submenu)::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--teget);
}

.nav-main .nav-link-submenu.active {
  box-shadow: inset 0 -2px 0 var(--teget);
}

.nav-main .nav-link-submenu .nav-submenu-caret {
  font-size: 0.7rem;
  vertical-align: 0.1em;
  opacity: 0.85;
  transition: transform 0.2s ease;
}

.nav-submenu.show > .nav-link-submenu .nav-submenu-caret,
.nav-submenu > .nav-link-submenu[aria-expanded="true"] .nav-submenu-caret {
  transform: rotate(180deg);
}

.lang-switch .btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 2rem;
}

.lang-switch .btn.active {
  background: var(--teget);
  color: var(--white);
  border-color: var(--teget);
}

.btn-icon {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--teget);
}

.btn-icon:hover {
  color: var(--teget-light);
}

.btn-menu-toggle {
  width: 3.94rem;
  height: 3.94rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1035;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.btn-menu-toggle .bi {
  font-size: 2.63rem;
  line-height: 1;
  pointer-events: none;
}

.lang-switch-drawer .btn {
  font-size: 0.95rem;
  padding: 0.45rem 1rem;
}

/* Side drawer (right on desktop, left on mobile) */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1045;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 85vw);
  height: 100dvh;
  min-height: 100%;
  background: var(--white);
  z-index: 1055;
  transform: translateX(-100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 4px 0 32px rgba(0, 48, 73, 0.12);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.drawer-panel.open {
  transform: translateX(0);
}

@media (min-width: 992px) {
  .drawer-panel.drawer-panel-end {
    left: auto;
    right: 0;
    transform: translateX(100%);
    box-shadow: -4px 0 32px rgba(0, 48, 73, 0.12);
  }

  .drawer-panel.drawer-panel-end.open {
    transform: translateX(0);
  }
}

.drawer-views-track {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.drawer-views {
  display: flex;
  width: 200%;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(0);
}

.drawer-views[data-pane="products"] {
  transform: translateX(-50%);
}

.drawer-pane {
  width: 50%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.drawer-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.drawer-pane-title {
  color: var(--teget);
  font-size: 1.1rem;
}

.drawer-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teget);
  margin: 0 0 1rem;
}

.drawer-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: none;
  background: transparent;
  color: var(--teget);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.25rem 0;
  cursor: pointer;
}

.drawer-back:hover {
  color: var(--teget-light);
}

.drawer-panel .nav-link,
.drawer-nav-parent {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--teget-muted);
  color: var(--text);
  text-align: left;
  background: transparent;
  border-left: none;
  border-right: none;
  border-top: none;
  cursor: pointer;
  text-decoration: none;
}

.drawer-nav-parent .drawer-chevron {
  font-size: 1.1rem;
  color: var(--teget);
  flex-shrink: 0;
}

.drawer-panel .nav-link.active,
.drawer-nav-parent.active {
  color: var(--teget);
}

/* Hero */
.hero-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 32rem;
  margin-top: 1.25rem;
}

.hero-graphic {
  width: 100%;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.hero-graphic img,
.hero-graphic-img,
.hero-graphic svg {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

/* Početna - full-width slideshow */
.home-slideshow {
  width: 100%;
  margin: 0;
  position: relative;
}

.home-slideshow .carousel,
.home-slideshow .carousel-inner,
.home-slideshow .carousel-item {
  min-height: clamp(320px, 62vh, 720px);
  position: relative;
}

.home-slideshow .carousel-item {
  background: var(--teget-muted);
}

.home-slideshow-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-slideshow-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(15, 45, 75, 0.72) 0%,
    rgba(15, 45, 75, 0.35) 45%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.home-slideshow-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  padding: 2.5rem clamp(1.25rem, 5vw, 4rem) 3.5rem;
  text-align: left;
  z-index: 2;
}

.home-slideshow-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.75rem;
  max-width: 42rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.home-slideshow-text {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  max-width: 36rem;
  margin-bottom: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}

.home-slideshow .carousel-control-prev,
.home-slideshow .carousel-control-next {
  width: 8%;
  z-index: 3;
}

.home-slideshow .carousel-indicators {
  z-index: 3;
  margin-bottom: 1rem;
}

@media (max-width: 575.98px) {
  .home-slideshow-caption {
    padding-bottom: 2.5rem;
  }
}

.btn-teget {
  background: var(--teget);
  color: var(--white);
  border: none;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
}

.btn-teget:hover {
  background: var(--teget-light);
  color: var(--white);
}

.btn-outline-teget {
  border: 2px solid var(--teget);
  color: var(--teget);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 2rem;
}

.btn-outline-teget:hover {
  background: var(--teget);
  color: var(--white);
}

/* Sections */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
}

.stat-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin: 0 auto 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--teget);
  font-size: 1.45rem;
  box-shadow: 0 2px 10px rgba(0, 48, 73, 0.06);
}

.stat-card .value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--teget);
  line-height: 1;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.bg-teget-muted {
  background: var(--teget-muted);
}

/* Početna - ponuda i CTA pre footera */
.home-offer-full {
  background: var(--white);
}

.home-offer-full-header {
  padding: 4rem 0 2.5rem;
  text-align: center;
}

.home-intro-block .section-title,
.home-offer-full-header .section-title {
  font-size: clamp(1.75rem, 3.25vw, 2.28rem);
  font-weight: 700;
  color: var(--teget);
  margin-bottom: 1rem;
}

.home-intro-block .home-prose,
.home-offer-full-header .section-lead {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--text-muted);
}

.home-offer-boxes {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
}

.home-offer-boxes .home-offer-strip {
  border-radius: 0.85rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 48, 73, 0.08);
  border: 1px solid rgba(0, 48, 73, 0.08);
}

.home-offer-strip {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 22rem;
}

.home-offer-strip-media {
  position: relative;
  min-height: 16rem;
  background: var(--teget-muted);
}

.home-offer-strip-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  object-position: center;
}

.home-offer-strip-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
  background-color: var(--white);
  transition: background-color 0.3s ease;
}

.home-offer-strip--featured .home-offer-strip-content {
 
}

.home-offer-strip-content:hover,
.home-offer-strip-content:focus-within {
  background-color: var(--teget);
}

.home-offer-strip-content:hover .home-offer-strip-title,
.home-offer-strip-content:focus-within .home-offer-strip-title,
.home-offer-strip-content:hover .home-offer-strip-text,
.home-offer-strip-content:focus-within .home-offer-strip-text {
  color: var(--white);
}

.home-offer-strip-content:hover .home-offer-strip-link,
.home-offer-strip-content:focus-within .home-offer-strip-link {
  color: var(--white);
}

.home-offer-strip-content:hover .home-offer-strip-link:hover,
.home-offer-strip-content:focus-within .home-offer-strip-link:hover {
  color: rgba(255, 255, 255, 0.82);
}

.home-offer-strip-inner {
  width: min(100%, 34rem);
}

.home-offer-strip-title {
  margin: 0 0 1rem;
  color: var(--teget);
  font-size: clamp(1.75rem, 3.25vw, 2.28rem);
  font-weight: 700;
  transition: color 0.3s ease;
}

.home-offer-strip-text {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.home-offer-strip-text:last-of-type {
  margin-bottom: 1.25rem;
}

.home-offer-strip-link {
  color: var(--teget);
  font-size: 1.24rem;
  transition: color 0.3s ease;
}

.home-offer-strip-link:hover {
  color: var(--teget-light);
}

.home-offer-full-markets {
  padding: 2.5rem 0 4rem;
}

@media (min-width: 992px) {
  .home-offer-boxes .home-offer-strip {
    flex-direction: row;
    min-height: 22rem;
  }

  .home-offer-boxes .home-offer-strip--image-right {
    flex-direction: row-reverse;
  }

  .home-offer-boxes .home-offer-strip-media,
  .home-offer-boxes .home-offer-strip-content {
    flex: 1 1 50%;
    max-width: 50%;
    min-height: 22rem;
  }

  .home-offer-boxes .home-offer-strip-img {
    min-height: 22rem;
  }

  .home-offer-boxes .home-offer-strip-content {
    padding: 2.5rem clamp(1.75rem, 3vw, 3rem);
  }
}

.home-offer {
  background: var(--white);
}

.home-offer-card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 1.35rem;
  border-radius: 1rem;
  background: var(--white);
  border: 1px solid rgba(0, 48, 73, 0.1);
  box-shadow: 0 4px 24px rgba(0, 48, 73, 0.06);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 48, 73, 0.12);
  border-color: rgba(0, 48, 73, 0.2);
  color: var(--text);
}

.home-offer-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: var(--teget-muted);
  color: var(--teget);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  margin-bottom: 1rem;
}

.home-offer-card h3 {
  color: var(--teget);
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.home-offer-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex: 1;
  margin-bottom: 1rem;
}

.home-offer-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--teget);
}

.home-markets {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 48, 73, 0.08);
}

.home-markets-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
}

.home-markets-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.65rem 1rem;
}

.home-markets-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  background: var(--teget-muted);
  border-radius: 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--teget);
}

.home-markets-list li i {
  font-size: 0.85rem;
  opacity: 0.75;
}

.home-partners-carousel {
  position: relative;
  padding: 0 2.75rem;
}

.home-partner-logo {
  background: var(--white);
  border-radius: 0.75rem;
  padding: 1.25rem 1rem;
  min-height: 7.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0, 48, 73, 0.07);
  border: 1px solid rgba(0, 48, 73, 0.06);
}

.home-partner-logo img {
  display: block;
  max-height: 7.25rem;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.home-partners-control {
  width: 2.5rem;
  opacity: 1;
}

.home-partners-control-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--teget);
  box-shadow: 0 4px 16px rgba(0, 48, 73, 0.12);
  font-size: 1.15rem;
}

.home-partners-indicators {
  position: static;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.home-partners-indicators [data-bs-target] {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background-color: rgba(0, 48, 73, 0.25);
}

.home-partners-indicators .active {
  background-color: var(--teget);
}

@media (max-width: 767.98px) {
  .home-partners-carousel {
    padding: 0;
  }

  .home-partners-control {
    display: none;
  }
}

.home-cta-band {
  background: linear-gradient(135deg, var(--teget) 0%, var(--teget-light) 100%);
  padding: 4.5rem 0;
  margin-bottom: 0;
}

.home-cta-title {
  font-size: clamp(1.5rem, 3.5vw, 2.15rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.home-cta-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

.home-cta-band .btn-light {
  color: var(--teget);
  font-weight: 600;
}

.home-cta-band .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* News cards */
.news-card {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0, 48, 73, 0.06);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 48, 73, 0.1);
}

.news-card .card-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-card-img-wrap {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--teget-muted);
}

.news-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card-img {
  transform: scale(1.04);
}

.news-card .card-body {
  color: var(--text);
}

.news-card-readmore {
  color: var(--teget);
}

.news-card-readmore:hover {
  color: var(--teget) !important;
}

.news-page-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.25rem;
}

.news-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--teget-muted);
}

.news-view-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: var(--teget);
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.news-view-toggle-btn:hover {
  color: var(--teget);
  background: rgba(255, 255, 255, 0.65);
}

.news-view-toggle-btn.is-active {
  background: #fff;
  color: var(--teget);
  box-shadow: 0 2px 10px rgba(0, 48, 73, 0.12);
}

.news-archive-panel[hidden] {
  display: none !important;
}

.news-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news-list-item {
  border-radius: 0.85rem;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 48, 73, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 48, 73, 0.1);
}

.news-list-link {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  padding: 1rem;
  color: inherit;
  text-decoration: none;
}

.news-list-thumb {
  flex: 0 0 7.5rem;
  width: 7.5rem;
  aspect-ratio: 4 / 3;
  border-radius: 0.65rem;
  overflow: hidden;
  background: var(--teget-muted);
}

.news-list-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-list-content {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  justify-content: center;
}

.news-list-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.news-list-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teget);
  line-height: 1.35;
}

.news-list-excerpt {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.news-list-readmore {
  margin-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teget);
}

@media (min-width: 768px) {
  .news-list-link {
    gap: 1.25rem;
    padding: 1.15rem 1.25rem;
  }

  .news-list-thumb {
    flex-basis: 11rem;
    width: 11rem;
  }
}

/* News article */
.news-article-layout {
  align-items: flex-start;
  margin-top:15px;
}

.news-article-title {
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 700;
  color: var(--teget);
  line-height: 1.2;
}

.news-article-hero img {
  max-height: 420px;
  object-fit: cover;
}

.news-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
}

.news-body p,
.news-body ul,
.news-body ol,
.news-body blockquote {
  margin-bottom: 1.25rem;
}

.news-body h2,
.news-body h3 {
  color: var(--teget);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.news-body img {
  margin: 1.5rem 0;
  border-radius: 0.5rem;
}

.news-body a {
  color: var(--teget);
  font-weight: 500;
}

.news-body blockquote {
  border-left: 4px solid var(--teget);
  padding-left: 1rem;
  color: var(--text-muted);
}

.news-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 1.5rem);
  background: var(--teget-muted);
  border-radius: 0.75rem;
  padding: 1.5rem;
}

.news-sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--teget);
  margin-bottom: 1.25rem;
}

.news-sidebar-item + .news-sidebar-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 48, 73, 0.1);
}

.news-sidebar-link {
  display: flex;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.news-sidebar-link:hover {
  opacity: 0.85;
}

.news-sidebar-link:hover .news-sidebar-headline {
  color: var(--teget);
}

.news-sidebar-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 54px;
  border-radius: 0.35rem;
  overflow: hidden;
  background: var(--white);
}

.news-sidebar-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-sidebar-date {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.news-sidebar-headline {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  transition: color 0.2s ease;
}

@media (max-width: 991.98px) {
  .news-sidebar {
    position: static;
    margin-top: 1rem;
  }
}

/* Product blocks */
.product-block {
  background: var(--white);
  border: 1px solid rgba(0, 48, 73, 0.1);
  border-radius: 0.75rem;
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.product-block h3 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teget);
}

.product-block ul {
  margin-bottom: 0;
  padding-left: 1.25rem;
}

/* Contact FAB — uvek donji desni ugao (viewport), bez top offseta */
.contact-fab {
  position: fixed;
  top: auto;
  left: auto;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--teget);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1020;
  box-shadow: 0 8px 24px rgba(0, 48, 73, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

@media (max-width: 991.98px) {
  .contact-fab {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
  }
}

.contact-fab:hover {
  color: var(--white);
  transform: scale(1.06);
  background: var(--teget-light);
}

/* Pre-footer */
.site-prefooter {
  background: var(--teget-muted);
  padding: 2.75rem 0;
  border-top: 1px solid rgba(0, 48, 73, 0.08);
}

.site-prefooter-quote {
  margin: 0 auto;
  max-width: 56rem;
  text-align: center;
  border: 0;
  padding: 0;
}

.site-prefooter-quote p {
  margin: 0;
  color: var(--teget);
  font-size: clamp(1rem, 2.2vw, 1.1rem);
  line-height: 1.75;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--teget-muted);
  padding: 3rem 0 2rem;
  margin-top: 0;
}

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 48, 73, 0.08);
}

.footer-cert-link {
  display: block;
  line-height: 0;
}

.footer-cert-img {
  display: block;
  height: 4rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-cert-link:hover .footer-cert-img,
.footer-cert-link:focus-visible .footer-cert-img {
  opacity: 1;
  transform: translateY(-1px);
}

.footer-logo {
  display: block;
  height: 4.5rem;
  width: auto;
  max-width: 100%;
  margin-bottom: 0.85rem;
  object-fit: contain;
}

.footer-copy,
.footer-siteby {
  line-height: 1.5;
}

.footer-siteby a {
  font-weight: 500;
}

.site-footer a {
  color: var(--text-muted);
}

.site-footer a:hover {
  color: var(--teget);
}

/* Admin */
.admin-wrap {
  max-width: 960px;
  margin: 2rem auto 4rem;
  padding: 0 1rem;
}

.admin-table {
  font-size: 0.9rem;
}

.admin-quill .ql-editor {
  min-height: 220px;
  font-size: 1rem;
}

.admin-quill .ql-toolbar {
  border-top-left-radius: 0.375rem;
  border-top-right-radius: 0.375rem;
}

.featured-preview-img {
  max-width: 320px;
  max-height: 200px;
  object-fit: cover;
}

/* Page hero inner */
.page-hero {
  padding: 5rem 0 2rem;
  border-bottom: 1px solid var(--teget-muted);
  margin-bottom: 2rem;
}

.about-icon-list li {
  margin-bottom: 0.75rem;
  padding-left: 1.5rem;
  position: relative;
}

.about-icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teget);
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 5.35rem;
    --header-h-scrolled: 4.65rem;
  }

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

  .site-header .navbar-brand img,
  .site-header .navbar-brand svg,
  .site-header .navbar-brand-logo {
    height: 4.25rem;
  }

  .site-header.is-scrolled .navbar-brand img,
  .site-header.is-scrolled .navbar-brand svg,
  .site-header.is-scrolled .navbar-brand-logo {
    height: 3.5rem;
  }

  .brand-text {
    font-size: 1.45rem;
  }

  .site-header.is-scrolled .brand-text {
    font-size: 1.25rem;
  }

  .drawer-panel .nav-link {
    font-size: 1.25rem;
    padding: 1rem 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 2rem;
    padding-bottom: 2.5rem;
  }

  .hero-graphic {
    max-width: min(260px, 78vw);
    margin-top: 0.5rem;
  }
}

@media (max-width: 991.98px) {
  .drawer-panel.drawer-panel-end {
    left: 0;
    right: auto;
    transform: translateX(-100%);
    box-shadow: 4px 0 32px rgba(0, 48, 73, 0.12);
  }

  .drawer-panel.drawer-panel-end.open {
    transform: translateX(0);
  }
}

/* Animacije */
.hero-section .hero-content,
.hero-section .hero-graphic-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-section.hero-ready .hero-content,
.hero-section.hero-ready .hero-graphic-reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero-section.hero-ready .hero-graphic-reveal {
  transition-delay: 0.18s;
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }

.stat-card .value {
  font-variant-numeric: tabular-nums;
}

/* Nav - padajući meniji */
.nav-submenu .dropdown-menu {
  border: none;
  border-radius: 0.5rem;
  padding: 0.35rem;
  min-width: 280px;
}

.nav-submenu .dropdown-item {
  border-radius: 0.35rem;
  padding: 0.55rem 0.95rem;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--teget);
}

.nav-submenu .dropdown-item:hover,
.nav-submenu .dropdown-item:focus {
  color: var(--teget);
  background: var(--teget-muted);
}

.nav-submenu .dropdown-item.active,
.nav-submenu .dropdown-item:active {
  background: var(--teget-muted);
  color: var(--teget);
  font-weight: 600;
}

.drawer-pane[data-drawer-pane="products"] .nav-link-sub {
  color: var(--teget);
  font-size: 1.2rem;
  font-weight: 500;
}

.drawer-pane[data-drawer-pane="products"] .nav-link-sub:hover {
  color: var(--teget-light);
}

.drawer-pane[data-drawer-pane="products"] .nav-link-sub.active {
  color: var(--teget);
  font-weight: 600;
}


/* Drvna građa - blok sa slikom levo */
.product-block-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .product-block-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 1.75rem;
  }

  .product-block-media {
    flex: 0 0 min(38%, 320px);
    max-width: 320px;
  }
}

.product-block-media {
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--teget-muted);
}

.product-block-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-block-body {
  flex: 1;
  min-width: 0;
}

.product-block-body h3 {
  margin-top: 0;
}

/* Ostalo */
.other-content p {
  margin-bottom: 1rem;
}

.other-section-intro,
.other-chemical-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52rem;
}

.other-brand-badges {
  margin-top: 0.25rem;
}

.other-brand-website {
  color: var(--teget);
  text-decoration: none;
}

.other-brand-website:hover {
  color: var(--teget-light);
  text-decoration: underline;
}

.other-offer-overview {
  background: var(--teget-muted);
}

.other-offer-overview .other-products-list li {
  margin-bottom: 0.45rem;
}

.other-section-contact a[href^="tel"],
.other-chemical-contact a[href^="tel"] {
  color: var(--teget);
}

.other-brands-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.other-brand-card {
  background: #fff;
  border: 1px solid rgba(0, 48, 73, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 48, 73, 0.05);
}

.other-brand-card-header {
  padding: 1.25rem 1.35rem 1rem;
  background: var(--teget-muted);
  border-bottom: 1px solid rgba(0, 48, 73, 0.06);
}

.other-brand-card-header h3 {
  color: var(--teget);
  font-weight: 700;
}

.other-brand-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.other-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teget);
}

.other-brand-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
}

.other-brand-card-body p:last-child {
  margin-bottom: 0;
}

.other-products-list {
  margin: 0;
  padding-left: 1.2rem;
}

.other-products-list li {
  margin-bottom: 0.35rem;
  color: var(--text-muted);
}

.other-related a {
  font-weight: 500;
}

.other-feature-figure {
  margin: 0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 48, 73, 0.1);
}

.other-feature-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.other-feature-caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--teget-muted);
  text-align: center;
}

.other-rubber-split .other-products-list-inline {
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.other-products-list-inline li {
  margin-bottom: 0.35rem;
}

@media (min-width: 992px) {
  .other-rubber-split {
    align-items: flex-start !important;
  }
}

/* Kontakt */
.contact-info-card {
  background: #fff;
}

.contact-info-heading {
  color: var(--teget);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-info-heading-icon {
  font-size: 1.35rem;
  color: var(--teget);
  opacity: 0.85;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.contact-info-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--teget-muted);
  color: var(--teget);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.contact-info-item strong {
  display: block;
  color: var(--teget);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-main-list li {
  margin-bottom: 0.25rem;
}

.contact-main-list--phones {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.25rem;
  row-gap: 0.35rem;
}

.contact-phone-row {
  display: contents;
}

.contact-phone-label {
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
}

.contact-email {
  font-weight: 500;
}

.contact-locations-section {
  border-top: 1px solid var(--teget-muted);
}

.contact-location-card {
  background: var(--teget-muted);
  border-radius: 0.75rem;
  padding: 1.25rem 1.35rem;
}

.contact-location-title {
  color: var(--teget);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-location-address {
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.contact-map-wrap {
  border-radius: 0.5rem;
  overflow: hidden;
  background: #e8eef4;
  box-shadow: inset 0 0 0 1px rgba(0, 48, 73, 0.08);
}

.contact-map {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 320px);
  border: 0;
}

.contact-departments-section {
  border-top: 1px solid var(--teget-muted);
}

.contact-departments-section .row {
  --bs-gutter-x: 1rem;
}

/* Kontakt - odeljenja */
.contact-dept-card {
  background: var(--teget-muted);
  border-radius: 0.75rem;
  padding: 1rem 1.15rem;
  height: 100%;
}

.contact-dept-card h3 {
  color: var(--teget);
  font-weight: 600;
}

.contact-phone {
  display: inline-block;
  padding: 0.2rem 0;
  font-weight: 500;
}

.other-placeholder {
  background: var(--teget-muted);
  border-left: 4px solid var(--teget);
}
