/* ================================================
   EKOPLAN-SUSTAVI — Stylesheet
   Dizajn i razvoj: Winkla
   ================================================ */

/* ---- FONTS ---- */
@font-face {
  font-family: 'News Gothic MT Pro';
  src: url('../fonts/NewsGothicMTPro.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'News Gothic MT Pro';
  src: url('../fonts/NewsGothicMTPro-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'News Gothic MT Pro';
  src: url('../fonts/NewsGothicMTPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'News Gothic MT Pro';
  src: url('../fonts/NewsGothicMTPro-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ---- DESIGN TOKENS ---- */
:root {
  --dark:        #1a202c;
  --dark-2:      #111827;
  --dark-3:      #1f2937;
  --green:       #1a3c34;
  --green-light: #245046;
  --green-accent:#2d6b5a;
  --warm:        #2d6b5a;
  --warm-mid:    #245046;
  --white:       #f8f9fa;
  --gray:        #6b7280;
  --light-bg:    #eef0f3;
  --light-bg-alt:#e4e7ec;
  --divider:     rgba(0,0,0,0.08);
  --neu-bg:      #e0e5ec;
  --neu-shadow-light: #ffffff;
  --neu-shadow-dark:  #a3b1c6;

  /* Footer */
  --primary-bg:  #1a3c34;
  --secondary-bg:#152e28;
  --sidebar-bg:  #1a3c34;
  --text-white:  #f3f7ff;
  --text-gray:   #94a3b8;
  --accent-color:#f3f7ff;
  --social-glow-rgb:   255,255,255;
  --social-glow-alpha: 0.32;
  --social-glow-blur:  14px;
  --watermark-ink: color-mix(in srgb, var(--text-white) 12%, transparent);
  --watermark-opacity: 0.9;

  /* Typography */
  --serif: 'News Gothic MT Pro', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --sans:  'News Gothic MT Pro', -apple-system, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --pad-x: clamp(20px, 6vw, 140px);
  --pad-y: clamp(60px, 10vh, 140px);
  --section-gap: 182px;
  --section-gap-half: 91px;
  --nav-h: 72px;
  --max-content: 1600px;
}

/* Large screens (24"+ monitors, 1920px+) */
@media (min-width: 1920px) {
  :root {
    --pad-x: clamp(60px, 4vw, 100px);
    --nav-h: 80px;
  }
}

/* Extra large screens (27"+ monitors, 2560px+) */
@media (min-width: 2560px) {
  :root {
    --pad-x: clamp(80px, 5vw, 140px);
  }
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--sans); background: var(--light-bg); color: var(--dark); overflow-x: hidden; line-height: 1.6; }
img { max-width: 100%; display: block; object-fit: cover; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
ul, ol { list-style: none; }

/* ---- NAVIGATION ---- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color 280ms ease, backdrop-filter 280ms ease, -webkit-backdrop-filter 280ms ease;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color 280ms ease, backdrop-filter 280ms ease, -webkit-backdrop-filter 280ms ease;
  pointer-events: none;
  z-index: 0;
}
.nav.scrolled {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav.scrolled::before {
  background: rgba(248, 249, 250, 0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
/* Stranica Proizvodi i podstranice - pozadina odmah */
.page-proizvodi .nav,
.page-proizvodi-item .nav {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.page-proizvodi .nav::before,
.page-proizvodi-item .nav::before {
  background: rgba(248, 249, 250, 0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.nav-inner {
  height: var(--nav-h); 
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 var(--pad-x);
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.nav-menu-left { 
  display: flex; 
  align-items: center; 
  gap: clamp(20px,3vw,40px);
  justify-content: flex-start;
  height: 100%;
}
.nav-menu-right { 
  display: flex; 
  align-items: center; 
  gap: clamp(20px,3vw,40px);
  justify-content: flex-end;
  height: 100%;
}
.nav-logo { 
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 40px;
}
.nav-logo a {
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 48px;
  width: auto;
  display: block;
  transition: filter 280ms ease;
}
.nav-link {
  font-size: 18px; 
  font-weight: 500; 
  color: rgba(26,32,44,0.7); 
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  letter-spacing: -0.01em;
  transition: color 220ms ease;
}
.nav-link::after {
  display: none;
}
.nav-link:hover { color: var(--dark); }

.nav-actions { display: none; }
.nav-cta {
  background: var(--green); color: #fff; padding: 10px 22px;
  border-radius: 2px; font-size: 16px; font-weight: 500; letter-spacing: 0.03em;
  transition: none;
}
.nav-cta:hover { background: var(--green-light); }

/* Hamburger SVG button */
.nav-hamburger { display: none; padding: 4px; cursor: pointer; position: relative; z-index: 103; }
.hamburger-svg {
  height: 2.4em;
  transform: none;
  transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger-svg .line {
  fill: none; stroke: var(--dark);
  stroke-linecap: round; stroke-linejoin: round; stroke-width: 3;
  transition: stroke 220ms ease,
              stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
              stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.hamburger-svg .line-top-bottom { stroke-dasharray: 12 63; }
.nav-hamburger.open .hamburger-svg { transform: rotate(-45deg); }
.nav-hamburger.open .hamburger-svg .line-top-bottom { stroke-dasharray: 20 300; stroke-dashoffset: -32.42; }

/* Nav colors (static) */
.nav:not(.scrolled) .nav-logo-main { color: #f3f7ff; }
.nav:not(.scrolled) .nav-link { color: rgba(243,247,255,0.8); }
.nav:not(.scrolled) .nav-link:hover { color: #fff; }
.nav:not(.scrolled) .hamburger-svg .line { stroke: #f3f7ff; }
.nav:not(.scrolled) .dd-arrow { border-top-color: rgba(243,247,255,0.8); }
.nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

/* Nav scrolled text colors */
.nav.scrolled .nav-logo-main { color: #1a202c; }
.nav.scrolled .nav-link { color: rgba(26, 32, 44, 0.7); }
.nav.scrolled .nav-link:hover { color: #1a202c; }
.nav.scrolled .hamburger-svg .line { stroke: #1a202c; }
.nav.scrolled .dd-arrow { border-top-color: rgba(26, 32, 44, 0.7); }

/* Stranica Proizvodi i podstranice - tamne boje odmah (visoka specifičnost) */
.page-proizvodi .nav .nav-logo-main,
.page-proizvodi-item .nav .nav-logo-main { color: #1a202c !important; }
.page-proizvodi .nav .nav-link,
.page-proizvodi-item .nav .nav-link { color: rgba(26, 32, 44, 0.7) !important; }
.page-proizvodi .nav .nav-link:hover,
.page-proizvodi-item .nav .nav-link:hover { color: #1a202c !important; }
.page-proizvodi .nav .hamburger-svg .line,
.page-proizvodi-item .nav .hamburger-svg .line { stroke: #1a202c !important; }
.page-proizvodi .nav .dd-arrow,
.page-proizvodi-item .nav .dd-arrow { border-top-color: rgba(26, 32, 44, 0.7) !important; }
.page-proizvodi .nav .nav-logo img,
.page-proizvodi-item .nav .nav-logo img { filter: none !important; }

@media (max-width: 900px) {
  .nav-inner { 
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
  }
  .nav-logo { 
    order: 1;
    padding: 0;
    position: relative;
    z-index: 102;
  }
  .nav-logo img {
    height: 40px;
  }
  .nav-hamburger { 
    order: 2;
    display: block;
    padding: 8px;
  }
  .hamburger-svg {
    height: 3.2em;
  }
  .nav-menu-left {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100dvh;
    background: #ffffff;
    backdrop-filter: none; -webkit-backdrop-filter: none;
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: calc(var(--nav-h) + 2px) 16px 16px; gap: 3px;
    display: none;
    overflow-y: auto; overflow-x: hidden; z-index: 100;
  }
  .nav-menu-right {
    display: none;
  }
  .nav-menu-left.open { display: flex; }
  .nav-menu-left .nav-link, .nav-menu-right .nav-link { 
    font-size: 17px; font-family: var(--sans); color: var(--dark);
    padding: 0; height: auto;
  }
  .nav-menu-left .nav-dropdown { width: 100%; height: auto; display: block; }
  .nav-menu-left > .nav-link,
  .nav-menu-left > .nav-dropdown {
    width: 100%;
  }
  .nav-menu-left > .nav-link {
    border-bottom: 1px solid rgba(26, 32, 44, 0.06);
    padding: 8px 0 9px;
  }
  .nav-menu-left .nav-dropdown-trigger {
    justify-content: flex-start;
    width: 100%;
  }
  .nav-menu-left .nav-dropdown-menu {
    padding: 6px 0 6px 12px;
    margin-top: 2px;
    border-left: 2px solid rgba(26, 60, 52, 0.2);
    background: transparent;
    border-radius: 0;
  }
  .nav-menu-left > .nav-link,
  .nav-menu-left > .nav-dropdown > .nav-link {
    font-size: 18px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: normal;
    overflow-wrap: anywhere;
    color: #1a202c !important;
  }
  .nav-menu-left > .nav-link + .nav-link,
  .nav-menu-left > .nav-link + .nav-dropdown,
  .nav-menu-left > .nav-dropdown + .nav-link,
  .nav-menu-left > .nav-dropdown + .nav-dropdown {
    margin-top: 3px;
  }
  .nav-menu-left .nav-dropdown-link,
  .nav-menu-right .nav-dropdown-link {
    color: rgba(26, 32, 44, 0.65) !important;
    font-size: 15px;
    line-height: 1.3;
    padding: 3px 0;
    font-weight: 500;
    letter-spacing: -0.005em;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .nav:not(.scrolled) .nav-menu-left .nav-link,
  .nav:not(.scrolled) .nav-menu-right .nav-link,
  .nav:not(.scrolled) .nav-menu-left .nav-dropdown-link,
  .nav:not(.scrolled) .nav-menu-right .nav-dropdown-link {
    color: rgba(26, 32, 44, 0.75) !important;
  }
  .nav.mobile-menu-open {
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid rgba(26, 32, 44, 0.08);
  }
  .nav.mobile-menu-open .hamburger-svg .line { stroke: #1a202c; }
  .nav.mobile-menu-open .nav-logo img { filter: none; }
  .nav-menu-left .nav-dropdown-menu {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    min-width: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: none;
  }
  .nav-menu-left .dd-arrow { display: none; }
}

/* ---- STATS SHOWCASE (O nama) ---- */
.stats-showcase {
  background: var(--light-bg);
  padding: var(--section-gap-half) 0;
  min-height: auto;
  display: flex;
  align-items: center;
}

@media (max-width: 900px) {
  .stats-showcase {
    min-height: auto;
    padding: var(--section-gap-half) 0;
  }
}
.stats-showcase-inner {
  max-width: min(1500px, 90vw); margin: 0 auto; padding: 0 var(--pad-x);
}
.stats-showcase-header {
  text-align: left; margin-bottom: 48px;
}
.stats-showcase-header .section-title {
  max-width: 1400px;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}
.stats-card {
  background: #fff; 
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  display: flex; 
  flex-direction: column;
  position: relative; 
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.stats-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.stats-card.center-image {
  padding: 0;
  overflow: hidden;
}
.stats-card-img {
  width: 100%; 
  height: 100%; 
  object-fit: cover;
}
.stats-card:hover .stats-card-img { transform: scale(1.02); transition: transform 0.6s ease; }

.stats-card-icon-round {
  width: 56px; height: 56px; background: #f8fafc; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 32px; border: 1px solid #f1f5f9;
}
.stats-card-number-huge {
  font-size: clamp(48px, 5vw, 64px); font-weight: 700; color: #1a3c34;
  line-height: 1; margin-bottom: 16px; letter-spacing: -0.04em;
}
.stats-card-label-large { font-size: 20px; font-weight: 600; color: #1a3c34; margin-bottom: 12px; }
.stats-card-text-light { font-size: 16px; color: #64748b; line-height: 1.6; }

/* Glass Overlay */
.stats-card-glass-overlay {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  padding: 20px; border-radius: 24px; border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  z-index: 2;
}
.stats-card-glass-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.glass-info-title { color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.glass-info-sub { color: rgba(255,255,255,0.85); font-size: 13px; }

/* Dot Grid */
.stats-card-dot-grid {
  margin-top: auto; 
  display: grid; 
  grid-template-columns: repeat(10, 1fr); 
  gap: 6px; 
  padding-top: 32px;
}
.stat-dot { 
  width: 8px; 
  height: 8px; 
  border-radius: 50%; 
  background: #e5e7eb;
  transition: background 0.3s ease;
}
.stat-dot.filled { 
  background: #84cc16;
}

/* Lightning Visuals */
.stats-card-visual-lightning {
  margin-top: auto; padding-top: 32px; opacity: 0.15;
}
.stats-card-visual-lightning svg { width: 100%; height: auto; }

/* Stats Card - Highlights List */
.stats-card-highlights {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stats-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
.stats-highlight-icon {
  width: 20px;
  height: 20px;
  background: #e8f5e9;
  color: var(--green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}
.stats-highlight-text {
  font-size: 14px;
  color: #475569;
  font-weight: 500;
}

/* Stats Card - Benefits Rows */
.stats-card-benefits {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #f1f5f9;
}
.stats-benefit-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stats-benefit-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 400;
}
.stats-benefit-value {
  font-size: 15px;
  color: #1a3c34;
  font-weight: 600;
}

/* Stats Showcase Footer - Styled Highlight Box */
.stats-showcase-footer {
  margin-top: 60px;
}
.stats-footer-highlight {
  background: linear-gradient(135deg, rgba(26,60,52,0.04), rgba(26,60,52,0.01));
  border: 1px solid rgba(26,60,52,0.1);
  border-radius: 16px;
  padding: 32px 40px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.stats-footer-icon {
  font-size: 32px;
  line-height: 1;
  flex-shrink: 0;
}
.stats-footer-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}
.stats-footer-text strong {
  color: #1a3c34;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .stats-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .stats-cards { grid-template-columns: 1fr; }
  .stats-card { padding: 36px 28px; }
  .stats-card.center-image { min-height: 400px; }
}
@media (max-width: 480px) {
  .stats-cards { gap: 20px; }
  .stats-card { padding: 28px 20px; }
  .stats-card-icon-round { width: 48px; height: 48px; font-size: 20px; margin-bottom: 24px; }
  .stats-showcase-footer-text { font-size: 15px; margin-top: 60px; }
}

/* ---- HERO — Full-width background image (SolarWave style) ---- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: flex-end; overflow: hidden;
  padding-bottom: clamp(24px, 3vw, 48px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-media-grid {
  display: grid;
  grid-template-columns: 50vw 50vw;
  grid-template-rows: 1fr 1fr;
  width: 100vw; height: 100%;
}
.hero-media-grid img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10,14,26,0.85) 0%, rgba(10,14,26,0.5) 50%, rgba(10,14,26,0.2) 100%),
    linear-gradient(to top, rgba(10,14,26,0.6) 0%, transparent 40%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 3vw, 48px);
  max-width: min(1600px, 85vw); margin: 0; width: 100%;
}
.hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); font-weight: 500; margin-bottom: 16px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.2s ease forwards;
}
.hero-headline {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.3;
  margin-bottom: 12px; max-width: none; color: #fff;
  opacity: 0; transform: translateY(30px);
  animation: fadeUp 0.9s 0.35s ease forwards;
}
.hero-sub {
  font-size: clamp(15px,1.2vw,18px); line-height: 1.6;
  color: rgba(255,255,255,0.8); max-width: none;
  margin-bottom: 20px; font-weight: 300;
  white-space: nowrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s ease forwards;
}
.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.65s ease forwards;
}
.hero-stats-bar {
  display: flex; gap: 48px; margin-top: 60px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.8s ease forwards;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.hero-stat-num { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 44px); font-weight: 700; color: #fff; line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.6); font-weight: 400; }

.hero-categories {
  margin-top: 24px;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s ease forwards;
  max-width: 480px;
}
.hero-cat-item {
  font-size: clamp(18px,1.5vw,22px); 
  color: rgba(255,255,255,0.95);
  font-weight: 400; 
  padding: 18px 0; 
  letter-spacing: 0.01em;
  text-decoration: none; 
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-cat-item::after {
  content: '→';
  font-size: 24px;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}
.hero-cat-item:hover { 
  color: rgba(255,255,255,1); 
  border-bottom-color: rgba(255,255,255,0.8);
}
.hero-cat-item:hover::after {
  opacity: 1;
  transform: translateX(0);
}
.hero-cat-divider {
  display: none;
}
/* ---- BUTTONS - LETTER LIFT HOVER EFFECT (from Winkla) ---- */
.btn-hero-primary, .btn-hero-outline, .btn-neu, .btn-neu-dark, .btn-submit {
  position: relative;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.4);
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #1d1d1f;
  overflow: hidden;
  transition: background-color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
  min-width: 140px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-hero-primary:hover,
.btn-hero-primary:active,
.btn-hero-outline:hover,
.btn-hero-outline:active,
.btn-neu:hover,
.btn-neu:active,
.btn-neu-dark:hover,
.btn-neu-dark:active,
.btn-submit:hover,
.btn-submit:active {
  background-color: rgba(0,0,0,0.05);
}

.btn-neu-dark {
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn-neu-dark:hover,
.btn-neu-dark:active {
  background-color: rgba(255,255,255,0.1);
}

/* Letter lift animation structure */
.btn-letter-anim {
  display: inline-flex;
  align-items: flex-start;
}

.btn-letter {
  display: inline-block;
  height: 1.65em;
  line-height: 1.35em;
  overflow: hidden;
  vertical-align: bottom;
  padding-top: 0.3em;
}

.btn-letter-inner {
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: var(--d, 0s);
  will-change: transform;
}

.btn-letter-top,
.btn-letter-bottom {
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.35em;
  height: 1.65em;
  display: block;
}

.btn-letter-top {
  color: inherit;
}

.btn-letter-bottom {
  color: inherit;
  transform: translateY(0.03em);
}

/* Hover effect - lift letters up */
.btn-hero-primary:hover .btn-letter-inner,
.btn-hero-outline:hover .btn-letter-inner,
.btn-neu:hover .btn-letter-inner,
.btn-neu-dark:hover .btn-letter-inner,
.btn-submit:hover .btn-letter-inner,
.hero-cat-item:hover .btn-letter-inner,
.nav-link:hover .btn-letter-inner,
.nav-dropdown-link:hover .btn-letter-inner,
.cookie-banner__btn:hover .btn-letter-inner,
.cookie-modal__btn:hover .btn-letter-inner,
.contact-left-link:hover .btn-letter-inner,
.contact-gdpr-links a:hover .btn-letter-inner,
.final-cta-phone a:hover .btn-letter-inner,
.thermia-online-sticky:hover .btn-letter-inner {
  transform: translateY(calc(-1 * 1.65em));
}

/* Hard-disable legacy letter wrappers in dropdown triggers and filter links (cache-safe) */
.nav-dropdown-trigger .btn-letter-anim,
.prod-filter-btn .btn-letter-anim {
  display: inline !important;
}
.nav-dropdown-trigger .btn-letter,
.prod-filter-btn .btn-letter {
  display: inline !important;
  height: auto !important;
  line-height: inherit !important;
  overflow: visible !important;
  vertical-align: baseline !important;
  padding-top: 0 !important;
}
.nav-dropdown-trigger .btn-letter-inner,
.prod-filter-btn .btn-letter-inner {
  display: inline !important;
  flex-direction: row !important;
  transform: none !important;
  transition: none !important;
}
.nav-dropdown-trigger .btn-letter-top,
.prod-filter-btn .btn-letter-top {
  display: inline !important;
  height: auto !important;
  line-height: inherit !important;
}
.nav-dropdown-trigger .btn-letter-bottom,
.prod-filter-btn .btn-letter-bottom {
  display: none !important;
}

@media (max-width: 768px) {
  .btn-hero-primary, .btn-hero-outline, .btn-neu, .btn-neu-dark, .btn-submit {
    font-size: 13px;
    padding: 12px 24px;
  }
}
@media (max-width: 480px) {
  .btn-hero-primary, .btn-hero-outline, .btn-neu, .btn-neu-dark, .btn-submit {
    font-size: 12px;
    padding: 10px 20px;
  }
}

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--sans); font-size: 15px; font-weight: 500;
  letter-spacing: 0.02em; padding: 14px 30px; border-radius: 2px;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer; border: none; white-space: nowrap;
}
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-light); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(26,60,52,0.35); }
.btn-ghost { background: transparent; color: var(--dark); border: 1px solid rgba(0,0,0,0.2); }
.btn-ghost:hover { border-color: rgba(0,0,0,0.4); background: rgba(0,0,0,0.04); }

/* ---- SECTION SHARED ---- */
.section-eyebrow { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 16px; }
.section-title { 
  font-family: var(--serif); font-size: clamp(32px,4.5vw,64px); font-weight: 700; 
  letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 20px; color: var(--dark);
  position: relative; padding-bottom: 24px;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--green);
  border-radius: 3px;
}
.section-sub { font-size: clamp(16px,1.3vw,19px); line-height: 1.7; color: var(--gray); font-weight: 400; max-width: 60ch; }

/* ---- HOW IT WORKS ---- */
.how { background: var(--light-bg); min-height: auto; display: flex; align-items: center; }
.how-inner { padding: var(--section-gap-half) var(--pad-x); max-width: min(1600px, 90vw); margin: 0 auto; width: 100%; }
.how-header { margin-bottom: clamp(32px,5vh,56px); display: flex; flex-direction: column; gap: clamp(12px,2vh,20px); position: relative; }
.how-header-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.how-cta-inline { 
  position: absolute; 
  right: 0; 
  bottom: -14px;
  z-index: 10;
}
.how-header .section-title::after { display: none; }
.how-header .section-title { padding-bottom: 0; margin-bottom: 0; }
.how-steps-wrapper { margin-bottom: clamp(48px,7vh,80px); }
.how-steps {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: clamp(24px,3vw,48px);
}
.how-step { border-top: 1px solid rgba(0,0,0,0.15); padding-top: 28px; }
.how-step-num {
  font-family: var(--serif); font-size: 64px; font-weight: 700;
  color: rgba(26,60,52,0.15); line-height: 1; margin-bottom: 20px; letter-spacing: -0.04em;
}
.how-cta-inline {
  align-self: flex-start;
}
.how-step-title { font-family: var(--serif); font-size: clamp(20px,2.5vw,30px); font-weight: 600; color: var(--dark); margin-bottom: 12px; }
.how-step-text { font-size: clamp(14px,1.1vw,16px); line-height: 1.75; color: var(--gray); font-weight: 400; }

.how-stat {
  background: linear-gradient(135deg, rgba(26,60,52,0.08), rgba(26,60,52,0.02));
  border: 1px solid rgba(26,60,52,0.15); border-radius: 2px;
  padding: clamp(28px,4vh,48px) clamp(24px,4vw,60px);
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.how-stat-main { display: flex; flex-direction: column; gap: 6px; }
.how-stat-number { font-family: var(--serif); font-size: clamp(40px,5vw,72px); color: var(--green); line-height: 1; letter-spacing: -0.03em; font-weight: 700; }
.how-stat-label { font-size: 13px; color: var(--gray); font-weight: 400; }
.how-stat-desc { font-size: clamp(16px,1.3vw,20px); color: var(--dark); font-weight: 400; line-height: 1.55; max-width: 44ch; }

/* ---- APPLICATIONS ---- */
.apps { background: var(--light-bg); }
.apps-inner { padding: var(--section-gap-half) var(--pad-x); max-width: min(1600px, 90vw); margin: 0 auto; width: 100%; }
.apps-header { margin-bottom: clamp(40px,6vh,72px); max-width: 1400px; }

.apps-neo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(16px, 2vw, 24px);
}

.neo-card {
  background: linear-gradient(135deg, rgba(26,60,52,0.08), rgba(26,60,52,0.02));
  border: 1px solid rgba(26,60,52,0.15);
  border-radius: 20px;
  padding: 12px;
  display: flex;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.neo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,60,52,0.1);
}

.neo-img {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: var(--light-bg-alt);
}
.neo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}
.neo-card:hover .neo-img img {
  transform: scale(1.05);
}

.neo-body {
  padding: 16px 12px 12px 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.neo-header {
  margin-bottom: 14px;
}
.neo-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.neo-subtitle {
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.neo-text {
  font-size: clamp(14px, 1.15vw, 16px);
  line-height: 1.7;
  color: var(--gray);
  font-weight: 400;
}

.neo-stats {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.neo-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.neo-stat-value {
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 18px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.neo-stat-label {
  font-size: 11px;
  color: var(--gray);
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.neo-footer {
  margin-top: auto;
}
.neo-footer-right {
  display: flex;
  justify-content: flex-end;
}
.neo-btn {
  display: inline-block;
  background: var(--dark);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s;
  width: 100%;
  text-align: center;
}
.neo-btn:hover {
  background: var(--green);
}
.neo-footer-right .neo-btn {
  width: auto;
  background: var(--green);
}
.neo-footer-right .neo-btn:hover {
  background: var(--green-light);
}

/* Vertical cards (span 2 cols out of 6 -> 3 per row) */
.neo-v {
  grid-column: span 2;
  flex-direction: column;
}
.neo-v .neo-img {
  width: 100%;
  aspect-ratio: 4/3;
}

/* Horizontal cards (span 3 cols out of 6 -> 2 per row) */
.neo-h {
  grid-column: span 3;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
}
.neo-h .neo-img {
  width: 45%;
  aspect-ratio: 1/1;
}
.neo-h .neo-body {
  width: 55%;
  padding: 8px;
  justify-content: center;
}
.neo-h-text-left {
  flex-direction: row-reverse;
}

/* ---- WHY GEOTHERMAL ---- */
.why-geo { background: var(--light-bg); min-height: auto; display: flex; align-items: center; }
.why-geo-inner { padding: var(--section-gap-half) var(--pad-x); max-width: min(1600px, 90vw); margin: 0 auto; width: 100%; }
.why-geo-header { margin-bottom: clamp(40px,6vh,72px); max-width: 1400px; }

.why-reasons {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(24px,3vw,48px); margin-bottom: clamp(60px,9vh,100px);
}
.reason-card { border-top: 1px solid var(--divider); padding-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.reason-num {
  font-family: var(--serif); font-size: 64px; font-weight: 700;
  color: rgba(26,60,52,0.15); line-height: 1; margin-bottom: 10px; letter-spacing: -0.04em;
}
.reason-title { font-family: var(--serif); font-size: clamp(20px,2.5vw,30px); font-weight: 600; color: var(--dark); letter-spacing: -0.02em; }
.reason-text { font-size: clamp(14px,1.1vw,16px); line-height: 1.75; color: var(--gray); font-weight: 400; }

.compare-heading { font-family: var(--serif); font-size: clamp(24px,3vw,42px); color: var(--dark); margin-bottom: 32px; font-weight: 700; }
.compare-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(14px,2vw,20px); }
.compare-card { border: 1px solid var(--divider); border-radius: 2px; overflow: hidden; background: #fff; }
.compare-head { padding: 14px 22px; border-bottom: 1px solid var(--divider); }
.compare-head-label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); font-weight: 500; }
.compare-card.geo .compare-head { background: rgba(26,60,52,0.08); border-bottom-color: rgba(26,60,52,0.15); }
.compare-card.geo .compare-head-label { color: var(--green); }
.compare-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; }
.compare-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--gray); }
.compare-card.geo .compare-item { color: var(--dark); }
.ci-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.ci-dot.bad { background: rgba(0,0,0,0.15); }
.ci-dot.good { background: var(--green); }

/* ---- STATS ---- */
.stats { background: var(--green); border: none; }
.stats-inner {
  padding: clamp(48px,8vh,96px) 0; margin: 0 auto; width: 100%;
  display: flex; flex-wrap: wrap; gap: 0;
}
.stat-item { width: 25vw; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; padding: 0 clamp(20px,2.5vw,36px); border-left: 1px solid rgba(255,255,255,0.2); align-items: center; text-align: center; }
.stat-item:first-child { border-left: none; }
.stat-number { font-family: var(--serif); font-size: clamp(40px,5.5vw,80px); font-weight: 700; color: #fff; letter-spacing: -0.04em; line-height: 1; white-space: nowrap; }
.stat-number span { color: rgba(255,255,255,0.6); }
.stat-label { font-size: clamp(13px,1vw,15px); color: rgba(255,255,255,0.7); font-weight: 400; line-height: 1.4; }

/* ---- THERMIA PARTNER ---- */
.thermia {
  position: relative; height: auto; display: flex; align-items: center;
  overflow: hidden; background: #0a0f18;
}
.thermia-bg {
  position: absolute; inset: -60% 0; z-index: 0;
  will-change: transform;
}
.thermia-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.55) saturate(0.85);
}
.thermia-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,24,0.4) 0%, rgba(10,15,24,0.15) 50%, rgba(10,15,24,0.55) 100%);
}

.thermia-inner {
  position: relative; z-index: 2;
  padding: var(--section-gap-half) var(--pad-x);
  max-width: min(1600px, 90vw); margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: clamp(520px, 76vh, 820px);
}

.thermia-label {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 500;
}

.thermia-center {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: clamp(16px,2.5vh,28px);
  padding: clamp(20px,4vh,60px) 0;
}
.thermia-title {
  font-family: var(--serif); font-size: clamp(36px,5.5vw,80px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; color: #fff;
}
.thermia-subtitle {
  font-size: clamp(15px,1.3vw,20px);
  font-weight: 300; color: rgba(255,255,255,0.55); letter-spacing: 0.01em;
  line-height: 1.7; max-width: 64ch;
}

.thermia-bottom {
  display: flex; align-items: flex-end; justify-content: center;
}

.thermia-stats {
  display: flex; align-items: center; gap: clamp(28px,4vw,56px);
}
.thermia-stat-item {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.thermia-stat-divider {
  width: 1px; height: 40px; background: rgba(255,255,255,0.1);
}
.thermia-stat-number {
  font-family: var(--serif); font-size: clamp(26px,2.8vw,40px);
  font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.thermia-stat-label {
  font-size: clamp(10px,0.75vw,12px); color: rgba(255,255,255,0.35);
  font-weight: 400; line-height: 1.4; letter-spacing: 0.03em; text-transform: uppercase;
}

/* ---- ABOUT PAGE ---- */

/* About Hero */
.about-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column; justify-content: flex-end;
  overflow: hidden; background: #0a0f18;
}
.about-hero-bg {
  position: absolute; inset: -15% 0; z-index: 0; will-change: transform;
}
.about-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
}
.about-hero-bg--contain { inset: 0; }
.about-hero-bg--contain img { object-fit: cover; object-position: center; }
/* Grid variant for quad images — 50vw x 50vh each */
.about-hero-bg--grid {
  inset: 0;
  display: grid;
  grid-template-columns: 50vw 50vw;
  grid-template-rows: 50vh 50vh;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  position: absolute;
  top: 0;
  left: 0;
}
.about-hero-bg--grid img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.5) saturate(0.85);
}
/* Case Stories Hero - single full-bleed image */
#caseStoriesHeroSection .about-hero-bg--grid {
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
}
#caseStoriesHeroSection .about-hero-bg--grid img {
  object-position: center center;
}

#caseStoriesHeroSection .about-hero-overlay {
  background: linear-gradient(180deg, rgba(10,15,24,0.2) 0%, rgba(10,15,24,0.1) 42%, rgba(10,15,24,0.5) 100%);
}

.about-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,24,0.3) 0%, rgba(10,15,24,0.15) 40%, rgba(10,15,24,0.65) 100%);
}
.about-hero-inner {
  position: relative; z-index: 2;
  padding: 0 clamp(24px, 3vw, 48px) clamp(48px,6vh,80px);
  max-width: min(1600px, 85vw); margin: 0; width: 100%;
}
/* Hero elementi odmah vidljivi bez čekanja na scroll */
.about-hero-inner .reveal {
  opacity: 1;
  transform: translateY(0);
}
#about-hero-section .about-hero-inner { padding-bottom: 0; }
.about-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); font-weight: 500; margin-bottom: 16px;
}
.about-hero-title {
  font-family: var(--serif); font-size: clamp(36px,5.5vw,80px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.2; color: #fff;
  margin-bottom: 12px;
}
.about-hero-sub {
  font-size: clamp(15px,1.2vw,19px); line-height: 1.7;
  color: rgba(255,255,255,0.5); font-weight: 400; max-width: none;
}
@media (min-width: 1024px) {
  .about-hero-sub { white-space: nowrap; }
}
.about-hero-stats {
  position: relative; z-index: 2;
  display: flex; width: 100%;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: clamp(40px,5vh,64px);
}
.about-hero-stat {
  flex: 1; display: flex; flex-direction: column; gap: 6px;
  padding: clamp(24px,3vh,40px) var(--pad-x);
  border-right: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.about-hero-stat:last-child { border-right: none; }
.about-hero-stat-number {
  font-family: var(--serif); font-size: clamp(24px,2.5vw,36px);
  font-weight: 700; color: #fff; line-height: 1; letter-spacing: -0.02em;
}
.about-hero-stat-label {
  font-size: clamp(10px,0.75vw,12px); color: rgba(255,255,255,0.35);
  font-weight: 400; letter-spacing: 0.04em; text-transform: uppercase;
}

/* About Story */
.about-story {
  background: var(--light-bg);
  padding: clamp(40px,5vh,64px) 0 var(--section-gap-half);
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
}
.about-story-inner {
  max-width: min(1400px, 90vw); margin: 0 auto; padding: 0 var(--pad-x); width: 100%;
}

.about-story-top {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px,6vw,100px); align-items: start;
  margin-bottom: clamp(32px,4vh,48px);
}
.about-story-top-left {
  display: flex; flex-direction: column; gap: 20px;
}
.about-story-lead {
  font-size: clamp(15px,1.2vw,18px); line-height: 1.75;
  color: var(--gray); font-weight: 300;
}

.about-story-columns {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,5vw,80px);
  padding-top: clamp(28px,3vh,40px);
  border-top: 1px solid var(--divider);
}
.about-story-columns p {
  font-size: clamp(14px,1vw,15px); line-height: 1.8;
  color: var(--gray); font-weight: 400;
}

/* Company card */
.about-company-card {
  background: linear-gradient(135deg, rgba(26,60,52,0.08), rgba(26,60,52,0.02));
  border: 1px solid rgba(26,60,52,0.15); border-radius: 2px;
  padding: clamp(28px,3vw,40px); display: flex; flex-direction: column; gap: 16px;
}
.about-company-label {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gray); font-weight: 500;
}
.about-company-name {
  font-family: var(--serif); font-size: clamp(18px,1.5vw,24px);
  font-weight: 700; color: var(--dark);
}
.about-company-divider {
  width: 100%; height: 1px; background: rgba(26,60,52,0.15);
}
.about-company-detail {
  display: flex; justify-content: space-between; gap: 16px;
  font-size: clamp(13px,1vw,15px); line-height: 1.5;
}
.about-company-detail span:first-child {
  color: var(--gray); font-weight: 400;
}
.about-company-detail span:last-child {
  color: var(--dark); font-weight: 500; text-align: right;
}

/* About Process */
.about-process {
  background: var(--light-bg);
  padding: var(--section-gap-half) 0 clamp(80px,12vh,140px);
}
.about-process-inner {
  max-width: min(1400px, 90vw); margin: 0 auto; padding: 0 var(--pad-x);
}
.about-process-header {
  margin-bottom: clamp(56px,8vh,96px); max-width: 900px;
}
.about-process-lead {
  font-size: clamp(16px,1.3vw,20px); line-height: 1.75;
  color: var(--gray); font-weight: 300; margin-top: 20px; max-width: 64ch;
}
.about-process-steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,48px);
}
.about-process-step {
  border-top: 1px solid rgba(0,0,0,0.15); padding-top: 28px;
}
.about-process-step-num {
  font-family: var(--serif); font-size: 64px; font-weight: 700;
  color: rgba(26,60,52,0.15); line-height: 1; margin-bottom: 20px; letter-spacing: -0.04em;
}
.about-process-step-line { display: none; }
.about-process-step-title {
  font-family: var(--serif); font-size: clamp(20px,2.5vw,30px);
  font-weight: 600; color: var(--dark); margin-bottom: 12px;
}
.about-process-step-text {
  font-size: clamp(14px,1.1vw,16px); line-height: 1.75;
  color: var(--gray); font-weight: 400;
}

@media (max-width: 1024px) {
  .about-story { min-height: auto; }
  .about-story-top { grid-template-columns: 1fr; }
  .about-story-columns { grid-template-columns: 1fr; }
  .about-process-steps { grid-template-columns: 1fr; }
  .about-hero-stats { flex-wrap: wrap; }
  .about-hero-stat { flex: 1 1 50%; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .about-hero-stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.1); }
  .about-hero-stat:last-child { border-right: none; border-bottom: none; }
  .about-hero-stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 640px) {
  .about-hero {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .about-hero-stats { flex-wrap: nowrap; }
  .about-hero-stat {
    flex: 1 1 33.333%;
    border-right: 1px solid rgba(255,255,255,0.1) !important;
    border-bottom: none !important;
    padding: 18px 10px;
  }
  .about-hero-stat:last-child { border-right: none !important; }
  .about-hero-stat-number { font-size: clamp(20px, 7vw, 28px); }
  .about-hero-stat-label {
    font-size: clamp(9px, 2.5vw, 11px);
    letter-spacing: 0.02em;
  }
}

/* ---- PRODUCTS TEASER ---- */
.products-teaser { background: var(--light-bg); min-height: auto; display: flex; align-items: center; }
.products-teaser-inner { padding: var(--section-gap-half) var(--pad-x); max-width: min(1600px, 90vw); margin: 0 auto; width: 100%; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(40px,6vh,72px); flex-wrap: wrap; }
.products-header .section-title { margin-bottom: 0; }
.products-teaser .products-header > .btn-neu { transform: translateY(-25px); }

.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: clamp(14px,2vw,20px); }
.product-card { 
  border: none; border-radius: 0; overflow: visible; display: flex; flex-direction: column; 
  transition: transform 0.4s ease; background: transparent; text-decoration: none;
}
.product-card:hover { transform: translateY(-8px); }
.product-card-img { 
  aspect-ratio: 1; background: transparent; position: relative; overflow: hidden;
  border-radius: 0; box-shadow: none;
  transition: transform 0.4s ease;
  width: 100%;
}
.product-card:hover .product-card-img { transform: none; }
.product-card-img img { 
  width: 100%; height: 100%; 
  max-width: 100%; max-height: 100%;
  object-fit: contain; padding: 0;
}
.product-card-img-ph { 
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; 
  font-size: 11px; letter-spacing: 0.1em; color: rgba(0,0,0,0.1); text-transform: uppercase; 
}
.product-card-body { 
  padding: 24px 8px 0; flex: 1; display: flex; flex-direction: column; gap: 8px; 
  text-align: center;
}
.product-card-cat { 
  font-size: 10px; letter-spacing: 0.15em; text-transform: uppercase; 
  color: var(--green); font-weight: 600; opacity: 0.8;
}
.product-card-name { 
  font-family: var(--sans); font-size: clamp(16px,1.8vw,20px); font-weight: 600; 
  color: var(--dark); line-height: 1.3; margin-bottom: 4px;
}
.product-card-text { 
  font-size: 13px; line-height: 1.6; color: var(--gray); font-weight: 400; 
  flex: 1; display: none;
}
.product-card-link { 
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; 
  font-weight: 600; color: var(--green); letter-spacing: 0.03em; 
  margin-top: 8px; transition: gap 0.2s; justify-content: center; opacity: 0;
  transition: opacity 0.3s ease, gap 0.2s;
}
.product-card:hover .product-card-link { opacity: 1; gap: 10px; }

/* ---- WHY US ---- */
.why-us { background: var(--light-bg); }
.why-us-inner {
  padding: var(--section-gap-half) var(--pad-x);
  max-width: min(1400px, 90vw); margin: 0 auto; width: 100%;
}

.why-us-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: clamp(40px,6vw,100px); margin-bottom: clamp(56px,8vh,100px);
}
.why-us-header-left { flex: 1; min-width: 0; }
.why-us-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin-bottom: 24px;
}
.why-us-title {
  font-family: var(--serif); font-size: clamp(32px,4.5vw,64px);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.1; color: var(--dark);
}
.why-us-intro {
  flex: 0 0 38%; max-width: 38%;
  font-size: clamp(15px,1.2vw,18px); line-height: 1.75;
  color: var(--gray); font-weight: 400; padding-top: clamp(24px,3vw,48px);
}

.why-us-points {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px,3vw,48px);
}
.why-us-point {
  border-top: 1px solid rgba(0,0,0,0.15); padding-top: 28px;
}
.why-us-point-num {
  font-family: var(--serif); font-size: 64px; font-weight: 700;
  color: rgba(26,60,52,0.15); line-height: 1; margin-bottom: 20px; letter-spacing: -0.04em;
}
.why-us-point-title {
  font-family: var(--serif); font-size: clamp(20px,2.5vw,30px);
  font-weight: 600; color: var(--dark); margin-bottom: 12px; letter-spacing: -0.02em;
}
.why-us-point-text {
  font-size: clamp(14px,1.1vw,16px); line-height: 1.75;
  color: var(--gray); font-weight: 400;
}

.why-us-stats {
  display: flex; width: 100%;
  border-top: 1px solid var(--divider);
}
.why-us-stat {
  flex: 1; display: flex; flex-direction: column; gap: 8px;
  padding: clamp(32px,4vh,56px) var(--pad-x);
  border-right: 1px solid var(--divider);
  text-align: center;
}
.why-us-stat:last-child { border-right: none; }
.why-us-stat-number {
  font-family: var(--serif); font-size: clamp(28px,3vw,44px);
  font-weight: 700; color: var(--dark); line-height: 1; letter-spacing: -0.02em;
}
.why-us-stat-label {
  font-size: clamp(11px,0.8vw,13px); color: var(--gray);
  font-weight: 400; letter-spacing: 0.03em; text-transform: uppercase;
}

/* ---- FINAL CTA ---- */
.final-cta { position: relative; background: var(--light-bg); overflow: hidden; }
.final-cta::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% 100%, rgba(26,60,52,0.06) 0%, transparent 65%);
}
.final-cta-inner {
  padding: var(--section-gap-half) var(--pad-x); max-width: min(1200px, 80vw); margin: 0 auto;
  text-align: center; position: relative; z-index: 1;
}
.final-cta-eyebrow { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); font-weight: 600; margin-bottom: 24px; }
.final-cta-title { font-family: var(--serif); font-size: clamp(40px,6vw,88px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 24px; color: var(--dark); }
.final-cta-sub { font-size: clamp(17px,1.4vw,21px); color: var(--gray); font-weight: 400; max-width: 80ch; margin: 0 auto 44px; line-height: 1.6; }
.final-cta-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.final-cta-phone { font-size: 15px; color: var(--gray); }
.final-cta-phone a { color: var(--green); font-weight: 600; transition: color 0.2s; }
.final-cta-phone a:hover { color: var(--green-light); }

/* ================================================
   FOOTER — Dark green
   ================================================ */
#kontakt-footer {
  height: auto; min-height: auto;
  background: var(--green);
  position: relative; overflow: hidden;
}
#kontakt-footer::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0;
  height: clamp(120px,24vh,260px); pointer-events: none; z-index: 3;
  background: linear-gradient(to top,
    var(--green) 0%,
    color-mix(in srgb, var(--green) 96%, transparent) 14%,
    color-mix(in srgb, var(--green) 88%, transparent) 30%,
    color-mix(in srgb, var(--green) 72%, transparent) 48%,
    color-mix(in srgb, var(--green) 46%, transparent) 66%,
    color-mix(in srgb, var(--green) 22%, transparent) 82%,
    transparent 100%
  );
}
.contact-shell {
  width: 100%; height: auto; display: flex; flex-direction: column;
  justify-content: flex-start; gap: clamp(18px,2.2vh,28px);
  padding-top: clamp(20px, 3.2vh, 38px);
padding-right: clamp(22px, 3.2vw, 46px);
padding-bottom: 0;
padding-left: clamp(22px, 3.2vw, 46px);
  position: relative; z-index: 1;
}
.contact-panels { display: grid; grid-template-columns: 1.35fr 0.65fr; gap: clamp(14px,1.8vw,22px); align-items: stretch; }
.contact-panel { border: 1px solid rgba(255,255,255,0.15); padding: clamp(22px,2.8vh,34px) clamp(20px,2.4vw,36px); min-height: clamp(170px,24vh,240px); }
.contact-panel-info { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(16px,2vh,22px); }
.contact-panel-info .contact-info-grid { grid-template-columns: 1fr; }
.contact-left { height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: clamp(18px,3vw,44px); row-gap: clamp(14px,2.2vh,20px); align-items: stretch; }
.contact-left-primary, .contact-left-secondary { display: flex; flex-direction: column; gap: 0; justify-content: space-between; height: 5em; }
.contact-left-secondary { align-items: center; justify-self: center; text-align: center; }
.contact-left > .contact-info-label { grid-column: 1 / -1; margin-bottom: 0; font-size: 12px; }
.contact-info-label { color: rgba(255,255,255,0.6); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.contact-company-name { color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -0.2px; margin: 0; opacity: 0.95; }
.contact-left-link { color: #fff; text-decoration: none; font-size: 18px; font-weight: 500; opacity: 0.95; width: fit-content; line-height: 1.32; transition: opacity 180ms ease; }
.contact-left-link:hover { opacity: 0.7; }
.contact-left-text { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.32; margin: 0; }
.contact-left-hours { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.32; margin: 0; }
.contact-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px,2vw,28px); align-items: start; }
.contact-info-text { color: rgba(255,255,255,0.7); font-size: 16px; line-height: 1.32; margin: 0; }
.contact-info-block-right { text-align: right; }
.contact-gdpr-links {
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-top: 24px;
}
.contact-gdpr-links a {
  color: rgba(255,255,255,0.45); font-size: 13px; text-decoration: none;
  transition: color 0.25s;
}
.contact-gdpr-links a:hover { color: rgba(255,255,255,0.8); }
.contact-developed { display: flex; flex-direction: column; gap: 0; }
.contact-developed-label { color: rgba(255,255,255,0.6); font-size: 16px; line-height: 1.32; margin: 0; }
.contact-developed-link { color: #fff; font-size: 0; line-height: 0; display: inline-flex; align-items: flex-start; width: fit-content; overflow: visible; cursor: pointer; }
.contact-developed-logo { height: 68px; width: auto; display: block; filter: brightness(0) invert(1); }
.contact-wordmark { width: 100%; height: 195px; margin-top: clamp(14px,2vh,24px); color: #fff; font-weight: 700; letter-spacing: -3px; line-height: 1; font-size: clamp(56px,18vw,240px); white-space: nowrap; overflow: hidden; text-overflow: clip; opacity: 0.15; }

@media (max-width: 768px) {
  #kontakt-footer { display: flex; flex-direction: column; }
  #kontakt-footer::after { height: clamp(64px,14vh,140px); }
  .contact-panels { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  #kontakt-footer::after { height: clamp(34px,9vh,72px); opacity: 0.78; }
  .contact-shell { gap: 14px; padding: 24px 18px 0; }
  .contact-panel { padding: 20px 16px; }
  .contact-left { grid-template-columns: 1fr; row-gap: 14px; }
  .contact-left-primary, .contact-left-secondary { height: auto; gap: 6px; justify-content: flex-start; text-align: left; }
  .contact-info-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-info-text, .contact-left-text, .contact-left-hours, .contact-developed-label { font-size: 14px; }
  .contact-wordmark {
    height: 60px;
    display: flex;
    align-items: flex-start;
    margin-top: 4px;
    font-size: clamp(34px,18vw,110px);
    line-height: 1;
  }
}

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-hero { padding-top: var(--nav-h); background: var(--green); position: relative; overflow: hidden; }
.contact-hero::before { content: ''; position: absolute; bottom: -80px; right: -100px; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%); pointer-events: none; }
.contact-hero-inner { padding: clamp(60px,10vh,100px) var(--pad-x) clamp(50px,8vh,80px); max-width: min(1400px, 90vw); margin: 0 auto; }
.contact-hero-inner h1 { font-family: var(--serif); font-size: clamp(44px,6.5vw,88px); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; margin-bottom: 20px; color: #fff; }
.contact-hero-inner p { font-size: clamp(16px,1.4vw,20px); color: rgba(255,255,255,0.7); font-weight: 300; line-height: 1.7; max-width: 58ch; }
.contact-hero-inner .section-eyebrow { color: rgba(255,255,255,0.5); margin-bottom: 16px; }

.contact-main { background: var(--light-bg); }
.contact-main-inner {
  padding: var(--pad-y) var(--pad-x); max-width: min(1400px, 90vw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(48px,6vw,100px); align-items: start;
}
.contact-info-side { position: sticky; top: calc(var(--nav-h) + 32px); }
.info-block { border-top: 1px solid var(--divider); padding: 22px 0; display: flex; flex-direction: column; gap: 5px; }
.info-block:last-child { border-bottom: 1px solid var(--divider); }
.info-block-label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.info-block-value { font-size: clamp(15px,1.4vw,19px); color: var(--dark); font-weight: 500; }
.info-block-value a { color: var(--dark); transition: color 0.2s; }
.info-block-value a:hover { color: var(--green); }
.info-block-sub { font-size: 13px; color: var(--gray); font-weight: 400; }

/* Form styles moved to floating label section below */

/* ================================================
   PRODUCTS PAGE - PREMIUM HERO
   ================================================ */
.page-hero { 
  padding-top: var(--nav-h); 
  background: linear-gradient(160deg, #0f1a16 0%, #162822 35%, #1a3c34 60%, #0f1a16 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(45, 107, 90, 0.25) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 107, 90, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out 4s infinite alternate;
}

@keyframes heroGlow {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.08); }
}

.page-hero-inner { 
  padding: clamp(80px,12vh,140px) var(--pad-x) clamp(80px,11vh,130px); 
  max-width: min(1400px, 90vw); 
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-hero-inner .section-eyebrow { 
  color: rgba(255,255,255,0.85);
  font-size: clamp(12px, 0.9vw, 14px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.06);
  border-radius: 100px;
  margin-bottom: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
}

.page-hero-inner .section-eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px rgba(45, 107, 90, 0.6);
  flex-shrink: 0;
}

.page-hero-inner h1 { 
  color: #fff; 
  font-family: var(--serif); 
  font-size: clamp(44px,6.5vw,88px); 
  font-weight: 700; 
  letter-spacing: -0.03em; 
  line-height: 1.05; 
  margin-bottom: 24px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255,255,255,0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-hero-inner p:not(.section-eyebrow):not(.product-scroll-hint) { 
  color: rgba(255,255,255,0.55);
  font-size: clamp(16px,1.4vw,20px);
  line-height: 1.7;
  font-weight: 400;
  max-width: 58ch;
}

.page-hero-line {
  display: block;
  width: 48px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4a5568, rgba(74, 85, 104, 0.3));
  margin-bottom: 32px;
}

.products-filter { background: var(--light-bg); border-bottom: 1px solid var(--divider); }
.products-filter-inner { padding: 0 var(--pad-x); max-width: min(1400px, 90vw); margin: 0 auto; display: flex; gap: 0; }
.filter-btn { padding: 18px 24px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; color: var(--gray); border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; cursor: pointer; white-space: nowrap; }
.filter-btn.active, .filter-btn:hover { color: var(--dark); border-bottom-color: var(--green); }

.products-all { background: var(--light-bg); }
.products-all-inner { padding: var(--pad-y) var(--pad-x); max-width: min(1400px, 90vw); margin: 0 auto; }
.products-all-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2vw,24px); }

/* ---- THERMIA ONLINE STICKY ---- */
.thermia-online-sticky {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  display: flex; align-items: center; gap: 8px;
  background: var(--dark); color: #fff;
  padding: 12px 20px; border-radius: 50px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(26,32,44,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.thermia-online-sticky:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26,32,44,0.4);
  background: var(--dark-3);
}
.thermia-online-sticky svg { flex-shrink: 0; }

/* ---- ANIMATIONS ---- */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; } 50% { opacity: 1; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }
.reveal-d4 { transition-delay: 0.4s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .products-all-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 1024px) {
  .apps-neo-grid { grid-template-columns: repeat(2, 1fr); }
  .neo-v { grid-column: span 1; }
  .neo-v:nth-child(3) { grid-column: span 2; }
  .neo-h { grid-column: span 2; }
  .thermia-bottom { justify-content: center; }
  .why-us-header { flex-direction: column; gap: 24px; }
  .why-us-intro { flex: none; max-width: 100%; padding-top: 0; }
  .why-us-points { grid-template-columns: 1fr; }
  .why-us-stats { flex-wrap: wrap; }
  .why-us-stat { flex: 1 1 50%; border-right: none; border-bottom: 1px solid var(--divider); }
  .why-us-stat:nth-child(odd) { border-right: 1px solid var(--divider); }
  .why-us-stat:nth-last-child(-n+2) { border-bottom: none; }
  .products-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item { width: 50vw; }
  .stat-item:nth-child(3) { border-left: none; }
  .compare-grid { grid-template-columns: 1fr; gap: 12px; }
  .why-reasons { grid-template-columns: 1fr; }
  .contact-main-inner { grid-template-columns: 1fr; }
  .contact-info-side { position: static; }
}
@media (max-width: 768px) {
  .apps-neo-grid { grid-template-columns: 1fr; }
  .neo-v, .neo-h { grid-column: span 1; }
  .neo-v:nth-child(3) { grid-column: span 1; }
  .neo-h { flex-direction: column; }
  .neo-h .neo-img, .neo-h .neo-body { width: 100%; }
  .thermia-online-sticky { bottom: 16px; right: 16px; padding: 10px 16px; font-size: 12px; }
  .hero-headline { font-size: clamp(36px, 8vw, 56px); }
  .hero-sub { white-space: normal; }
  .section-title { font-size: clamp(28px, 6vw, 48px); }
  .hero-cat-item { font-size: 16px; padding: 16px 0; }
  .hero-cat-item::after { font-size: 20px; }
  .stats-showcase { padding: var(--section-gap-half) 0; min-height: auto; }
  .stats-showcase-header { margin-bottom: 60px; }
  .stats-card { padding: 32px 24px; }
  .how, .apps, .why-geo, .why-us, .products-teaser, .final-cta { min-height: auto; }
  .how-inner, .apps-inner, .why-geo-inner, .why-us-inner, .products-teaser-inner, .final-cta-inner {
    padding: var(--section-gap-half) var(--pad-x);
  }
  .thermia { height: auto; }
  .thermia-title { font-size: clamp(40px, 12vw, 80px); }
  .hero { align-items: flex-end; padding-bottom: 4vh; }
  
  .page-hero::before { width: 400px; height: 400px; top: -40%; right: -30%; }
  .page-hero::after { width: 350px; height: 350px; bottom: -25%; left: -20%; }
  .page-hero-inner { padding: clamp(60px,10vh,100px) var(--pad-x) clamp(50px,8vh,80px); }
  .page-hero-inner .section-eyebrow { font-size: 11px; padding: 8px 14px; }
  .page-hero-line { width: 36px; margin-bottom: 24px; }
}
@media (max-width: 640px) {
  .how-steps { grid-template-columns: 1fr; }
  .how-header {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 44px;
  }
  .how-header-top { display: contents; }
  .how-header .section-eyebrow { order: 1; }
  .how-header .section-title { order: 2; }
  .how-cta-inline {
    order: 3;
    position: static;
    margin-top: 6px;
    align-self: flex-end;
  }
  .why-us-stat { flex: 1 1 50%; }
  .stat-item { width: 50vw; }
  .stat-item:nth-child(3) { border-left: none; }
  .products-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-stats-bar { flex-direction: column; gap: 24px; }
  .products-header { flex-direction: column; align-items: stretch; }
  .products-teaser .products-header > .btn-neu { align-self: flex-end; }
  .how-inner, .apps-inner, .why-geo-inner, .why-us-inner, .products-teaser-inner, .final-cta-inner {
    padding: var(--section-gap-half) var(--pad-x);
  }
  .form-row { grid-template-columns: 1fr; }
  .apps-grid { grid-template-columns: 1fr; }
  .thermia-online-sticky span { display: none; }
  .thermia-online-sticky { padding: 12px; border-radius: 50%; }
  .products-all-grid { grid-template-columns: 1fr; }
  .hero-headline { font-size: clamp(32px, 9vw, 48px); max-width: 100%; }
  .section-title { font-size: clamp(24px, 7vw, 40px); }
  .section-sub { font-size: 15px; }
  .hero-cat-item { font-size: 15px; padding: 14px 0; }
  .stats-showcase { padding: var(--section-gap-half) 0; }
  .stats-card { padding: 28px 20px; }
  .stats-card-number-huge { font-size: clamp(36px, 10vw, 52px); }
  .stats-card-label-large { font-size: 18px; }
  .how-inner, .apps-inner, .why-geo-inner, .why-us-inner, .products-teaser-inner, .final-cta-inner { padding: var(--section-gap-half) var(--pad-x); }
  .how-step-title, .app-title, .reason-title, .why-us-point-title, .about-process-step-title { font-size: 18px; }
  .how-step-text, .app-text, .reason-text, .why-us-point-text, .about-process-step-text { font-size: 14px; }
}
@media (max-width: 480px) {
  .hero { min-height: 600px; }
  .hero-headline { font-size: clamp(28px, 10vw, 40px); }
  .section-title { font-size: clamp(22px, 8vw, 32px); }
  .hero-cat-item { font-size: 14px; padding: 12px 0; }
  .hero-cat-item::after { font-size: 18px; }
  .stats-showcase { padding: var(--section-gap-half) 0; }
  .stats-card { padding: 24px 16px; }
  .stats-card-number-huge { font-size: clamp(32px, 11vw, 44px); }
  .stats-card-label-large { font-size: 16px; }
  .stats-card-text-light { font-size: 14px; }
  .how-inner, .apps-inner, .why-geo-inner, .why-us-inner, .products-teaser-inner, .final-cta-inner { padding: var(--section-gap-half) 20px; }
  .section-eyebrow { font-size: 11px; }
  .btn-hero-primary, .btn-hero-outline, .btn-neu, .btn-submit { font-size: 13px; padding: 11px 20px; }
  
  .page-hero::before { width: 300px; height: 300px; top: -35%; right: -40%; filter: blur(50px); }
  .page-hero::after { width: 250px; height: 250px; bottom: -20%; left: -30%; filter: blur(60px); }
  .page-hero-inner { padding: clamp(50px,8vh,80px) 20px clamp(40px,6vh,60px); }
  .page-hero-inner .section-eyebrow { font-size: 10px; padding: 7px 12px; margin-bottom: 20px; }
  .page-hero-inner h1 { margin-bottom: 16px; }
  .page-hero-line { width: 32px; margin-bottom: 20px; }
}

/* ================================================
   NAV DROPDOWN
   ================================================ */
.nav-dropdown { position: relative; height: 100%; display: flex; align-items: center; }
.nav-dropdown-trigger { display: flex; align-items: center; gap: 4px; }
.dd-arrow {
  display: inline-block; margin-left: 8px; width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid rgba(26,32,44,0.5);
  transition: border-top-color 220ms ease;
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 240px;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: 8px 0;
  display: none;
  z-index: 80;
  flex-direction: column;
  gap: 0;
  border-radius: 0;
  box-shadow: none;
  transition: background-color 280ms ease, backdrop-filter 280ms ease, -webkit-backdrop-filter 280ms ease;
}
.nav-dropdown-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  transition: background-color 280ms ease, backdrop-filter 280ms ease, -webkit-backdrop-filter 280ms ease;
  pointer-events: none;
  z-index: 0;
}
.nav-dropdown-menu > * {
  position: relative;
  z-index: 1;
}
.nav:not(.scrolled) .nav-dropdown-menu {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav:not(.scrolled) .nav-dropdown-menu::before {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.nav.scrolled .nav-dropdown-menu {
  background: transparent !important;
  backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
  border-bottom: none;
  box-shadow: none;
}
.nav.scrolled .nav-dropdown-menu::before {
  background: rgba(248, 249, 250, 0.75) !important;
  backdrop-filter: blur(6px) !important; -webkit-backdrop-filter: blur(6px) !important;
}
/* Stranica Proizvodi, podstranice i Geotermalna podstranice - dropdown pozadina odmah */
.page-proizvodi .nav-dropdown-menu,
.page-proizvodi-item .nav-dropdown-menu {
  background: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}
.page-proizvodi .nav-dropdown-menu::before,
.page-proizvodi-item .nav-dropdown-menu::before {
  background: rgba(248, 249, 250, 0.75);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.page-proizvodi .nav .nav-dropdown-link,
.page-proizvodi-item .nav .nav-dropdown-link {
  color: rgba(26, 32, 44, 0.7) !important;
}
.page-proizvodi .nav .nav-dropdown-link:hover,
.page-proizvodi-item .nav .nav-dropdown-link:hover {
  color: var(--dark) !important;
  background: rgba(0,0,0,0.05) !important;
}
.nav-dropdown:hover .nav-dropdown-menu { display: flex; }
.nav-dropdown-link {
  display: block;
  padding: 12px 20px;
  font-size: 13px; letter-spacing: 0.02em;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: none;
  position: relative;
  white-space: nowrap;
}
.nav:not(.scrolled) .nav-dropdown-link {
  color: rgba(255,255,255,0.8);
}
.nav:not(.scrolled) .nav-dropdown-link:hover {
  color: #fff;
}
.nav.scrolled .nav-dropdown-link {
  color: rgba(26, 32, 44, 0.7);
}
.nav.scrolled .nav-dropdown-link:hover {
  color: var(--dark);
  background: rgba(0,0,0,0.05);
}
.nav-dropdown-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.1);
}

@media (max-width: 900px) {
  .nav-dropdown-menu {
    position: relative; transform: none; min-width: auto; padding: 2px 0 2px 16px;
    background: transparent;
    border: none; border-bottom: none; display: flex; box-shadow: none;
    display: flex; flex-direction: column; gap: 0; width: auto;
  }

  .nav-dropdown-menu::before {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav.scrolled .nav-dropdown-menu,
  .page-proizvodi .nav-dropdown-menu,
  .page-proizvodi-item .nav-dropdown-menu {
    background: rgba(248, 249, 250, 0.75) !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
  }

  .nav.scrolled .nav-dropdown-menu::before,
  .page-proizvodi .nav-dropdown-menu::before,
  .page-proizvodi-item .nav-dropdown-menu::before {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .nav-dropdown-link {
    font-size: 14px; padding: 5px 12px;
    color: rgba(26, 32, 44, 0.55); border-right: none;
  }
  .nav-dropdown-link::after { display: none; }
  .nav-dropdown-link:hover { color: var(--dark); background: transparent; }
  .dd-arrow { display: none; }
}

/* Span inside buttons — just inherit */
.btn-neu span, .btn-hero-primary span, .btn-hero-outline span, .btn-submit span {
  color: inherit;
}

/* ================================================
   SPOTLIGHT BUTTONS (Products filter)
   ================================================ */
.spotlight-filter {
  background: linear-gradient(160deg, #0f1a16 0%, #162822 35%, #1a3c34 60%, #0f1a16 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 0;
}
.spotlight-filter-inner {
  display: flex; justify-content: center; gap: 12px;
  padding: 14px var(--pad-x);
  max-width: min(1400px, 90vw); margin: 0 auto;
}
.spotlight-btn {
  position: relative;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
  font-weight: 500;
  color: #94a3b8;
  transition: color 0.3s ease;
}

/* The Line Indicator (Top) */
.spotlight-btn .glow-line {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 200px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

/* The Beam (Pseudo-element of the line) */
.spotlight-btn .glow-line::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.1) 40%, transparent 80%);
  filter: blur(8px);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Hover State */
.spotlight-btn:hover {
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.5);
}

.spotlight-btn:hover .glow-line {
  background-color: #ffffff;
  box-shadow: 
    0 2px 10px 1px rgba(255, 255, 255, 0.8),
    0 4px 20px 2px rgba(255, 255, 255, 0.4),
    0 8px 40px 4px rgba(255, 255, 255, 0.2);
}

.spotlight-btn:hover .glow-line::after {
  opacity: 1;
}

/* Active State */
.spotlight-btn.active {
  color: #4a5568;
  text-shadow: 0 4px 20px rgba(74, 85, 104, 0.5);
}

.spotlight-btn.active .glow-line {
  background-color: #4a5568;
  box-shadow: 
    0 2px 10px 1px rgba(74, 85, 104, 0.8),
    0 4px 20px 2px rgba(74, 85, 104, 0.4),
    0 8px 40px 4px rgba(74, 85, 104, 0.2);
}

.spotlight-btn.active .glow-line::after {
  opacity: 1;
}

@media (max-width: 640px) {
  .spotlight-filter-inner { flex-wrap: wrap; gap: 10px; }
  .spotlight-btn { padding: 20px 30px; font-size: 12px; }
}

/* ---- PRODUCTS HERO ---- */
.prod-hero {
  padding-top: var(--nav-h); background: var(--light-bg);
}
.prod-hero-inner {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: clamp(40px,6vw,100px);
  padding: clamp(80px,12vh,140px) var(--pad-x) clamp(48px,6vh,72px);
  max-width: min(1400px, 90vw); margin: 0 auto;
}
.prod-hero-text { flex: 1; min-width: 0; }
.prod-hero-eyebrow {
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--green); font-weight: 600; margin-bottom: 24px;
}
.prod-hero-title {
  font-family: var(--serif); font-size: clamp(36px,5vw,72px);
  font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: var(--dark);
}
.prod-hero-sub {
  flex: 0 0 34%; max-width: 34%;
  font-size: clamp(15px,1.2vw,18px); line-height: 1.75;
  color: var(--gray); font-weight: 400; padding-top: clamp(16px,2vw,40px);
}

@media (max-width: 768px) {
  .prod-hero-inner { flex-direction: column; gap: 20px; }
  .prod-hero-sub { flex: none; max-width: 100%; padding-top: 0; }
}

/* ---- PRODUCTS FILTER ---- */
.prod-filter {
  background: var(--light-bg);
  position: sticky; top: var(--nav-h); z-index: 90;
  border-bottom: 1px solid var(--divider);
  transition: opacity 0.4s ease, visibility 0.4s;
}
.prod-filter.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.prod-filter-inner {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: min(1400px, 90vw); margin: 0 auto; padding: 10px var(--pad-x);
}
.prod-filter-btn {
  position: relative; background: none; cursor: pointer;
  padding: 10px 24px;
  font-size: 14px; font-weight: 600; letter-spacing: 0.04em;
  color: rgba(0,0,0,0.65);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 999px;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.prod-filter-btn:hover { color: var(--dark); border-color: rgba(0,0,0,0.15); }
.prod-filter-btn.active {
  color: #fff; background: var(--dark); border-color: var(--dark);
}

@media (max-width: 1024px) {
  .prod-filter-inner {
    flex-wrap: wrap;
    overflow: visible;
    justify-content: flex-start;
  }
  .prod-filter-btn {
    flex: 1 1 calc(33.333% - 6px);
    min-width: calc(33.333% - 6px);
    max-width: calc(33.333% - 6px);
    text-align: center;
    white-space: normal;
  }

  .prednosti-filter {
    justify-content: center;
  }
  .prednosti-filter .prod-filter-btn {
    flex: 1 1 calc(50% - 6px);
    min-width: calc(50% - 6px);
    max-width: calc(50% - 6px);
    white-space: normal;
    line-height: 1.2;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .prod-filter-btn {
    padding: 9px 12px;
    font-size: 12.5px;
    line-height: 1.25;
    flex: 1 1 calc(33.333% - 4px);
    min-width: calc(33.333% - 4px);
    max-width: calc(33.333% - 4px);
  }
  .prod-filter-inner { gap: 4px; padding: 10px var(--pad-x); }
}
@media (max-width: 400px) {
  .prod-filter-btn {
    padding: 8px 10px;
    font-size: 11.5px;
  }
  .prod-filter-inner { gap: 3px; }
}

/* ================================================
   PRODUCT DETAIL PAGE
   ================================================ */
.product-detail { background: var(--light-bg); padding-top: var(--nav-h); }
.product-detail-inner {
  padding: clamp(60px,10vh,120px) var(--pad-x) var(--pad-y); max-width: min(1200px, 90vw); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center;
}
.product-detail-img {
  background: transparent; border: none; border-radius: 0;
  padding: 0; display: flex; align-items: center; justify-content: center;
  max-height: 90vh; position: static;
}
.product-detail-img img {
  max-height: 90vh !important; max-width: 100%;
  object-fit: contain;
}
.product-detail-info { display: flex; flex-direction: column; gap: 24px; }
.product-detail-cat { font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--green); font-weight: 600; }
.product-detail-name { font-family: var(--serif); font-size: clamp(32px,4vw,52px); font-weight: 700; color: var(--dark); letter-spacing: -0.02em; line-height: 1.1; }
.product-detail-desc { font-size: clamp(16px,1.2vw,18px); line-height: 1.75; color: var(--gray); }
.product-detail-features { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.product-detail-features li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--dark); line-height: 1.5; }
.product-detail-features li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--green); flex-shrink: 0; margin-top: 6px; }
/* Product Image Gallery */
.product-gallery {
  position: sticky; top: calc(var(--nav-h) + 24px);
  background: transparent; border: none; border-radius: 0;
  padding: 0; display: flex; align-items: center; justify-content: center;
  max-height: 90vh;
}
.product-gallery-main {
  position: relative;
  width: 100%; max-height: 90vh;
  display: flex; align-items: center; justify-content: center;
}
.product-gallery-main img {
  max-height: 90vh; max-width: 100%; object-fit: contain;
  transition: opacity 0.35s ease;
}
.product-gallery-main img.gallery-hidden { opacity: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; margin: auto; pointer-events: none; }
.product-gallery-main img.gallery-active { opacity: 1; position: relative; }
.product-gallery-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--neu-bg);
  box-shadow: 4px 4px 10px var(--neu-shadow-dark), -4px -4px 10px var(--neu-shadow-light);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: box-shadow 0.2s ease, transform 0.2s ease;
  cursor: pointer; border: none; padding: 0;
}
.product-gallery-arrow:hover {
  box-shadow: inset 2px 2px 5px var(--neu-shadow-dark), inset -2px -2px 5px var(--neu-shadow-light);
}
.product-gallery-arrow:active { transform: translateY(-50%) scale(0.95); }
.product-gallery-arrow svg { width: 18px; height: 18px; stroke: var(--dark); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.product-gallery-arrow--prev { left: -8px; }
.product-gallery-arrow--next { right: -8px; }
.product-gallery-dots {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px;
}
.product-gallery-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--neu-shadow-dark); opacity: 0.35;
  transition: opacity 0.3s ease, background 0.3s ease;
  cursor: pointer; border: none; padding: 0;
}
.product-gallery-dot.active { opacity: 1; background: var(--green); }

@media (max-width: 768px) {
  .product-detail-inner { grid-template-columns: 1fr; }
}

/* ---- Product Scroll Gallery (vertical scroll, left images + right sticky text) ---- */
.product-scroll-layout {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: clamp(32px, 5vw, 64px);
  max-width: min(1200px, 90vw);
  margin: 0 auto;
  padding: var(--pad-y) var(--pad-x);
  align-items: start;
}
.product-scroll-images {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 4vw, 48px);
  position: relative;
}
.product-scroll-images img {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}
.product-scroll-info {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  min-height: calc(100vh - var(--nav-h) - 24px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.product-scroll-hint {
  position: sticky;
  top: calc(var(--nav-h) + 12px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  opacity: 0.5;
  padding: 0 0 16px;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.product-scroll-hint.hidden { opacity: 0; }
.product-scroll-fade { display: none; }
.product-scroll-hint svg {
  width: 14px;
  height: 14px;
  stroke: var(--gray);
  stroke-width: 2;
  fill: none;
  animation: scrollHintBounce 2s ease-in-out infinite;
}
@keyframes scrollHintBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}

@media (max-width: 768px) {
  .product-scroll-hint,
  .product-scroll-fade { width: 100%; }
  .product-scroll-layout {
    grid-template-columns: 1fr;
  }
  .product-scroll-info {
    position: static;
    min-height: 0;
    justify-content: flex-start;
    transform: none;
  }
  .product-scroll-images {
    gap: 20px;
  }
}
@media (max-width: 480px) {
  .product-scroll-layout {
    padding: 32px 16px;
  }
  .product-scroll-images {
    gap: 16px;
  }
}

/* FAQ PAGE — styles moved to css/faq.css */

/* ================================================
   CONTACT FORM STYLES - Floating Label System
   ================================================ */
.form-wrap {
  background: linear-gradient(135deg, rgba(26,60,52,0.08), rgba(26,60,52,0.02));
  border: 1px solid rgba(26,60,52,0.15);
  border-radius: 2px;
  padding: clamp(32px,5vh,56px) clamp(28px,4vw,52px);
}
.form-section-label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--green);
  padding: 48px 0 20px;
}
.form-section-label:first-child { padding-top: 0; }
.form-section-gap { display: flex; flex-direction: column; gap: 28px; margin-bottom: 0; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

/* Floating Label Field — scoped to groups with direct input/select/textarea + label siblings */
.form-group {
  position: relative;
  margin-bottom: 4px;
}

.form-group > input,
.form-group > select,
.form-group > textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 20px 0 14px 0;
  border: none;
  border-bottom: 1px solid rgba(61, 79, 74, 0.15);
  background: transparent;
  color: var(--dark);
  transition: all 0.3s ease;
  outline: none;
  appearance: none;
}

.form-group > input + label,
.form-group > select + label,
.form-group > textarea + label {
  position: absolute;
  left: 0;
  top: 20px;
  color: rgba(61, 79, 74, 0.5);
  pointer-events: none;
  transition: all 0.3s ease;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.form-group > input:focus,
.form-group > select:focus,
.form-group > textarea:focus {
  border-bottom-color: transparent;
}

/* Floating label animation */
.form-group > input:focus ~ label,
.form-group > input:not(:placeholder-shown) ~ label,
.form-group > select:focus ~ label,
.form-group > select:not([value=""]):valid ~ label,
.form-group > textarea:focus ~ label,
.form-group > textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 600;
}

/* Animated underline */
.form-field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  transition: width 0.3s ease;
}

.form-group > input:focus ~ .form-field-line,
.form-group > select:focus ~ .form-field-line,
.form-group > textarea:focus ~ .form-field-line {
  width: 100%;
}

.form-group > select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a3c34' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  padding-right: 32px;
}

.form-group > textarea {
  min-height: 120px;
  resize: vertical;
}

/* Non-floating form labels (for checkbox/radio groups) */
.form-label { display: block; font-size: 13px; font-weight: 500; color: var(--gray); margin-bottom: 10px; letter-spacing: 0.02em; }
.form-label .req { color: var(--green); }

/* Checkboxes */
.form-checks { display: flex; flex-direction: column; gap: 12px; }
.form-check {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
}
.form-check-box {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; min-width: 18px;
  border: 1.5px solid rgba(61, 79, 74, 0.3); border-radius: 3px;
  background: transparent; cursor: pointer;
  position: relative; margin-top: 1px;
  transition: border-color 0.2s, background 0.2s;
}
.form-check-box:checked { background: var(--green); border-color: var(--green); }
.form-check-box:checked::after {
  content: ''; position: absolute; left: 5px; top: 1px;
  width: 6px; height: 10px;
  border: 2px solid #fff; border-top: none; border-left: none;
  transform: rotate(45deg);
}
.form-check-label { font-size: 14px; color: var(--dark); font-weight: 400; line-height: 1.5; cursor: pointer; }
.form-privacy { font-size: 13px; color: var(--gray); line-height: 1.6; }
.form-privacy a { color: var(--green); font-weight: 500; }
.form-privacy a:hover { text-decoration: underline; }

/* Radio buttons */
.form-radios { display: flex; flex-direction: column; gap: 12px; }
.form-radio {
  display: flex; align-items: center; gap: 12px; cursor: pointer;
}
.form-radio-btn {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px; min-width: 18px;
  border: 1.5px solid rgba(61, 79, 74, 0.3); border-radius: 50%;
  background: transparent; cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}
.form-radio-btn:checked { border-color: var(--green); }
.form-radio-btn:checked::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: var(--green);
}
.form-radio-label { font-size: 14px; color: var(--dark); font-weight: 400; cursor: pointer; }

.form-submit-row {
  display: flex; align-items: center; gap: 20px; margin-top: 32px;
  flex-wrap: wrap;
}
/* Captcha verification */
.form-captcha {
  margin: 24px 0 16px;
  padding: 0;
}
.form-captcha-label {
  font-size: 13px; font-weight: 500; color: var(--gray);
  margin-bottom: 16px; letter-spacing: 0.01em;
}
.form-captcha-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.form-captcha-word {
  display: inline-block;
  font-family: var(--serif); font-size: clamp(24px,3vw,36px); font-weight: 700;
  color: var(--dark); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 12px 24px;
  background: rgba(26,60,52,0.06);
  border: 1px dashed rgba(26,60,52,0.2);
  border-radius: 8px;
  user-select: none;
}
.form-captcha-refresh {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(26,60,52,0.15); border-radius: 8px;
  background: transparent; cursor: pointer;
  color: var(--green);
  transition: background 0.2s, border-color 0.2s;
}
.form-captcha-refresh:hover {
  background: rgba(26,60,52,0.06);
  border-color: var(--green);
}
.form-captcha-error {
  display: none;
  font-size: 13px; color: #dc4a3c; font-weight: 500;
  margin-top: 8px;
}

.form-submit-note { font-size: 13px; color: var(--gray); font-weight: 300; }

@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-main-inner { grid-template-columns: 1fr; }
  .form-checks { flex-direction: column; }
}
@media (max-width: 480px) {
  .form-group > input, .form-group > select, .form-group > textarea { font-size: 16px; padding: 12px 0 10px; }
  .form-group > input + label, .form-group > select + label, .form-group > textarea + label { font-size: 0.75rem; }
  .form-section-label { font-size: 12px; }
  .btn-submit { width: 100%; text-align: center; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
  .form-wrap { padding: 24px 18px; }
}

/* ================================================
   GEOTERMALNA BENTO GRID
   ================================================ */
.geo-bento { background: var(--light-bg); }
.geo-bento-inner { padding: var(--pad-y) var(--pad-x); max-width: min(1600px, 90vw); margin: 0 auto; }
.geo-bento-header { margin-bottom: clamp(40px,5vh,64px); }
.geo-bento-title {
  font-family: var(--serif); font-size: clamp(36px,5vw,72px); font-weight: 700;
  color: var(--dark); letter-spacing: -0.03em; line-height: 1.1;
}

.geo-bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}

/* Card */
.geo-bento-card {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: clamp(24px,3vw,40px);
  border-radius: 20px;
  text-decoration: none;
  position: relative; overflow: hidden;
  height: 44vh;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s ease;
}
.geo-bento-card::before {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.75) 100%);
  transition: background 0.4s ease;
}
.geo-bento-card::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.geo-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.geo-bento-card:hover::before {
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,0.85) 100%);
}

/* Image */
.geo-bento-card-img {
  position: absolute; inset: 0; z-index: 0;
}
.geo-bento-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(.22,1,.36,1);
}
.geo-bento-card:hover .geo-bento-card-img img {
  transform: scale(1.06);
}

/* Tag */
.geo-bento-card-tag {
  position: absolute; top: clamp(16px,2vw,28px); left: clamp(16px,2vw,28px);
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 7px 16px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
}

/* Title */
.geo-bento-card-title {
  font-family: var(--serif); font-size: clamp(20px, 2.2vw, 32px); font-weight: 600;
  color: #fff; line-height: 1.2; letter-spacing: -0.02em;
  margin-bottom: 8px;
  position: relative; z-index: 2;
}

/* Text */
.geo-bento-card-text {
  font-size: clamp(13px, 1vw, 16px); color: rgba(255,255,255,0.65);
  line-height: 1.6; font-weight: 400;
  position: relative; z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .geo-bento-grid { grid-template-columns: 1fr; }
  .geo-bento-card { height: 40vh; }
}
@media (max-width: 480px) {
  .geo-bento-card { height: 36vh; padding: 24px; border-radius: 16px; }
  .geo-bento-card-title { font-size: 20px; }
}

/* ================================================
   GEO CONTENT — Premium 2026 Subpage Styles
   ================================================ */
.geo-content { background: var(--light-bg); }
.geo-content-inner {
  padding: clamp(64px, 8vw, 120px) var(--pad-x) var(--pad-y);
  max-width: min(1600px, 90vw); margin: 0 auto; width: 100%;
}
.geo-content-inner h2 {
  font-family: var(--serif); font-size: clamp(30px, 3.5vw, 48px); font-weight: 700;
  color: var(--dark); margin: clamp(56px, 7vw, 96px) 0 20px; letter-spacing: -0.025em;
  line-height: 1.15;
}
.geo-content-inner h2:first-child { margin-top: 0; }
.geo-content-inner > h2:not(:first-child) {
  margin-top: clamp(95px, 12vw, 163px);
}
.geo-content-inner .geo-calc-heading {
  text-align: center;
}
.geo-content-inner h3 {
  font-family: var(--serif); font-size: clamp(21px, 2.2vw, 30px); font-weight: 600;
  color: var(--dark); margin: 40px 0 14px; letter-spacing: -0.015em; line-height: 1.2;
}
.geo-content-inner p {
  font-size: clamp(16px, 1.15vw, 19px); line-height: 1.85; color: var(--gray);
  margin-bottom: 24px; max-width: none;
}
.geo-content-inner ul {
  padding-left: 0; margin-bottom: 28px;
}
.geo-content-inner ul li {
  display: flex; align-items: flex-start; gap: 14px;
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: var(--gray);
  margin-bottom: 12px;
}
.geo-content-inner ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); flex-shrink: 0; margin-top: 10px;
}

/* Geo hero image (full-width below hero) */
.geo-hero-img {
  width: 100%; max-height: 520px; object-fit: cover;
  border-radius: 20px; margin: 0 0 56px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
}

/* Geo split section (image + text side by side) */
.geo-split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 72px); align-items: center;
  margin: clamp(48px, 6vw, 80px) 0;
}
.geo-split--reverse { direction: rtl; }
.geo-split--reverse > * { direction: ltr; }
.geo-split-img {
  width: 100%; border-radius: 16px; object-fit: contain;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.geo-split-text h3 { margin-top: 0; }

/* Geo feature cards (grid) */
.geo-cards {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin: 48px 0;
}
.geo-card {
  background: #fff; border-radius: 20px; padding: 36px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1);
}
.geo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.08);
}
.geo-card-icon {
  width: 52px; height: 52px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(26,60,52,0.06); border-radius: 14px;
  color: var(--green);
}
.geo-card-icon svg { width: 24px; height: 24px; stroke: var(--green); stroke-width: 2; fill: none; }
.geo-card h3 { margin: 0 0 10px; font-size: 19px; font-weight: 600; }
.geo-card p { margin: 0; font-size: 15px; line-height: 1.7; }
.geo-card ul { margin-top: 12px; margin-bottom: 0; }

/* Geo inline image */
.geo-img-block {
  margin: clamp(40px, 5vw, 64px) 0; text-align: center;
}
.geo-img-block img {
  width: 100%; max-height: 700px; object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.geo-img-block figcaption {
  font-size: 13px; color: var(--gray); margin-top: 14px;
  font-style: italic; letter-spacing: 0.01em;
}

/* Geo wide intro */
.geo-intro-wide {
  max-width: 100%;
}
.geo-intro-wide h2 { margin-top: 0; }
.geo-intro-wide p { max-width: 100%; }

/* Geo image + text row */
.geo-img-text-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin: clamp(48px, 6vw, 80px) 0;
}
.geo-img-text-img {
  margin: 0;
}
.geo-img-text-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
}
.geo-img-text-img figcaption {
  font-size: 13px; color: var(--gray); margin-top: 12px;
  font-style: italic;
}
.geo-img-text-body {
  padding-top: 8px;
}
.geo-img-text-body p {
  max-width: 100%;
}
@media (max-width: 768px) {
  .geo-img-text-row {
    grid-template-columns: 1fr;
  }
}

/* Geo media row — text left, video/image right */
.geo-media-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(24px, 3vw, 40px);
}
.geo-media-row-text p:first-child {
  margin-top: 0;
}
.geo-media-row-media .geo-video {
  margin: 0;
}
.geo-media-row-img {
  margin: 0;
}
.geo-media-row-img img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.06);
  display: block;
}
@media (max-width: 900px) {
  .geo-media-row {
    grid-template-columns: 1fr;
  }
  .geo-media-row-media {
    margin-top: 8px;
  }
}

/* Geo video — YouTube & native */
.geo-video {
  margin: clamp(40px, 5vw, 56px) 0;
  border-radius: 16px; overflow: hidden;
  position: relative; padding-bottom: 56.25%; height: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  background: #000;
}
.geo-video iframe,
.geo-video video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  border: none; display: block;
}

/* Geo video featured — larger */
.geo-video-featured {
  margin: clamp(48px, 6vw, 72px) 0;
}

/* Geo video native — maintains aspect ratio, no cropping */
.geo-video-native {
  margin: clamp(40px, 5vw, 56px) 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  background: #000;
}
.geo-video-native video {
  width: 100%;
  height: auto;
  display: block;
}

/* Geo video grid — two videos side by side */
.geo-video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 40px);
  margin: clamp(40px, 5vw, 56px) 0;
}
.geo-video-grid .geo-video {
  margin: 0;
}
@media (max-width: 900px) {
  .geo-video-grid {
    grid-template-columns: 1fr;
  }
}

/* Kako radi steps — premium numbered steps */
.kako-radi-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: clamp(32px, 4vw, 48px) 0 clamp(48px, 6vw, 72px);
}
.kako-radi-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: start;
  padding: clamp(28px, 3.5vw, 40px) 0;
  border-bottom: 1px solid var(--divider);
}
.kako-radi-step:first-child {
  border-top: 1px solid var(--divider);
}
.kako-radi-step-num {
  font-family: var(--serif);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  opacity: 0.3;
}
.kako-radi-step-content h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 12px;
  line-height: 1.2;
}
.kako-radi-step-content p {
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.75;
  color: var(--gray);
  margin: 0;
  max-width: 64ch;
}
@media (max-width: 600px) {
  .kako-radi-step {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .kako-radi-step-num {
    font-size: 40px;
  }
}

/* Geo highlight box — premium callout */
.geo-highlight-box {
  background: linear-gradient(135deg, rgba(26,60,52,0.04) 0%, rgba(26,60,52,0.08) 100%);
  border-left: 4px solid var(--green);
  padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 40px);
  border-radius: 0 16px 16px 0;
  margin: clamp(32px, 4vw, 48px) 0;
}
.geo-highlight-box p {
  margin: 0 0 16px;
  max-width: none;
}
.geo-highlight-box p:last-child {
  margin-bottom: 0;
}
.geo-highlight-result {
  font-size: clamp(18px, 1.4vw, 24px);
  color: var(--dark);
  font-weight: 500;
}

/* Geo checklist numbered */
.geo-checklist {
  counter-reset: checklist;
  list-style: none; padding: 0; margin: 40px 0;
}
.geo-checklist > li {
  counter-increment: checklist;
  display: flex; align-items: flex-start; gap: 24px;
  padding: 32px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: var(--gray);
}
.geo-checklist > li:last-child { border-bottom: none; }
.geo-checklist > li::before {
  content: counter(checklist);
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; border-radius: 50%;
  background: rgba(26,60,52,0.06); color: var(--green);
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.geo-checklist-content h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--dark); }
.geo-checklist-content p { margin: 0; }

/* Geo CTA banner */
.geo-cta {
  background: transparent;
  border-radius: 24px; padding: clamp(48px, 7vw, 80px) clamp(32px, 5vw, 64px);
  text-align: center; margin: clamp(64px, 8vw, 100px) 0 0;
}
.geo-cta h2 { color: var(--dark); margin: 0 0 16px; }
.geo-cta p { color: var(--gray); margin-bottom: 32px; max-width: 100%; }

/* Geo CTA Wrapper — CENTERED */
.geo-cta-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  padding: clamp(48px, 7vw, 80px) 20px;
  margin: clamp(64px, 8vw, 100px) 0 0;
  box-sizing: border-box;
}
.geo-cta-wrapper h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 16px;
  text-align: center;
}
.geo-cta-wrapper p {
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.7;
  color: var(--gray);
  margin: 0 0 32px;
  max-width: 600px;
  text-align: center;
}
.geo-cta-wrapper .btn-neu {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Geo advantages strip */
.geo-advantages {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: 48px 0;
}
.geo-advantage {
  text-align: center; padding: 32px 24px;
  background: #fff; border-radius: 16px;
  border: 1px solid rgba(0,0,0,0.04);
}
.geo-advantage-icon { font-size: 32px; margin-bottom: 12px; }
.geo-advantage h4 { font-size: 16px; font-weight: 600; color: var(--dark); margin: 0 0 8px; }
.geo-advantage p { font-size: 14px; color: var(--gray); margin: 0; line-height: 1.6; }

/* Geo next page link */
.geo-next {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 36px; margin-top: 56px;
  background: #fff; border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  text-decoration: none; color: var(--dark);
  transition: transform 0.4s cubic-bezier(.22,1,.36,1), box-shadow 0.4s cubic-bezier(.22,1,.36,1);
}
.geo-next:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.geo-next-label { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray); margin-bottom: 4px; }
.geo-next-title { font-size: 18px; font-weight: 600; font-family: var(--serif); }
.geo-next-arrow { font-size: 24px; color: var(--green); }

/* Geo internal nav links — REDESIGNED 2026 */
.geo-nav {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin: clamp(56px, 7vw, 88px) 0 0;
}
.geo-nav-link {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 32px; background: #fff; border-radius: 20px;
  border: 2px solid rgba(0,0,0,0.06);
  text-decoration: none; color: var(--dark);
  transition: transform 0.35s cubic-bezier(.22,1,.36,1), box-shadow 0.35s cubic-bezier(.22,1,.36,1), border-color 0.3s, background 0.3s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.geo-nav-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.09);
  border-color: rgba(26,60,52,0.15);
  background: rgba(255,255,255,1);
}
.geo-nav-link.geo-nav-active {
  background: linear-gradient(135deg, rgba(26,60,52,0.04) 0%, rgba(26,60,52,0.08) 100%);
  border-color: var(--green);
  pointer-events: none;
  box-shadow: 0 8px 24px rgba(26,60,52,0.12);
}
.geo-nav-num {
  display: flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; border-radius: 50%;
  background: rgba(26,60,52,0.08); color: var(--green);
  font-weight: 700; font-size: 16px; flex-shrink: 0;
}
.geo-nav-active .geo-nav-num { 
  background: var(--green); 
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,60,52,0.25);
}
.geo-nav-text { font-size: 15px; font-weight: 600; line-height: 1.4; }

/* Geo content section divider */
.geo-content-inner > h2:not(:first-child)::before {
  content: ''; display: block;
  width: 40px; height: 3px; border-radius: 2px;
  background: var(--green); margin-bottom: 24px; opacity: 0.4;
}

@media (max-width: 768px) {
  .geo-content-inner { width: 100%; }
  .geo-split { grid-template-columns: 1fr; }
  .geo-split--reverse { direction: ltr; }
  .geo-cards { grid-template-columns: 1fr; }
  .geo-advantages { grid-template-columns: 1fr; }
  .geo-hero-img { max-height: 300px; border-radius: 14px; }
  .geo-cta { padding: 36px 28px; border-radius: 18px; }
  .geo-next { padding: 22px 26px; }
  .geo-nav { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .geo-nav-link { padding: 22px 24px; }
  .geo-content-inner > h2:not(:first-child)::before { width: 32px; }
}
@media (max-width: 480px) {
  .geo-hero-img { max-height: 220px; border-radius: 12px; }
  .geo-card { padding: 28px 24px; border-radius: 16px; }
  .geo-checklist > li { gap: 16px; padding: 24px 0; }
  .geo-checklist > li::before { min-width: 36px; height: 36px; font-size: 14px; }
  .geo-nav { grid-template-columns: 1fr; gap: 14px; }
  .geo-nav-link { padding: 20px 22px; border-radius: 16px; }
  .geo-nav-num { min-width: 38px; height: 38px; font-size: 15px; }
  .geo-nav-text { font-size: 14px; }
  .geo-video { border-radius: 14px; }
}

/* ================================================
   PREDNOSTI — Benefits Tabbed Section
   ================================================ */
.prednosti-section {
  background: var(--light-bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: var(--pad-y) 0;
}
.prednosti-inner {
  max-width: min(1200px, 85vw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  width: 100%;
}
.prednosti-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark);
  text-align: center;
  margin-bottom: clamp(32px, 5vh, 56px);
}
.prednosti-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: clamp(32px, 5vh, 48px);
}
.prednosti-filter .prod-filter-btn {
  font-size: 15px;
  padding: 10px 24px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: normal;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prednosti-panels {
  display: grid;
}
.prednosti-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s;
}
.prednosti-panel.active {
  opacity: 1;
  visibility: visible;
}
.prednosti-panel-text {
  max-width: 1000px;
  margin: 0 auto;
}
.prednosti-panel-text h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.prednosti-panel-lead {
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.75;
  color: var(--gray);
  max-width: 64ch;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.prednosti-panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.prednosti-panel-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: flex-start;
  gap: 16px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.75;
  color: var(--dark);
  padding: clamp(18px, 2vw, 28px) 0;
  border-bottom: 1px solid var(--divider);
  text-align: left;
}
.prednosti-panel-list li:first-child {
  border-top: 1px solid var(--divider);
}
.prednosti-panel-item {
  display: grid;
  grid-template-columns: minmax(160px, 0.9fr) minmax(0, 1.35fr);
  column-gap: 18px;
  row-gap: 4px;
  align-items: start;
}
.prednosti-item-key {
  font-weight: 600;
  color: var(--dark);
}
.prednosti-item-value {
  color: var(--dark);
}
.prednosti-dot {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 0.55em;
}

@media (max-width: 768px) {
  .prednosti-section {
    min-height: auto;
    padding: 60px 0;
  }
  .prednosti-filter {
    overflow: visible;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    padding: 0 var(--pad-x);
    gap: 10px;
  }
  .prednosti-filter .prod-filter-btn {
    flex: 0 0 100%;
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    font-size: clamp(12px, 3.2vw, 14px);
    padding: 12px 18px;
  }
  .prednosti-panel-item {
    display: block;
  }
  .prednosti-item-key,
  .prednosti-item-value {
    display: inline;
  }
  .prednosti-item-key { margin-right: 6px; }
  .prednosti-item-value {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}
@media (max-width: 480px) {
  .prednosti-section {
    padding: 40px 0;
  }
  .prednosti-title {
    font-size: clamp(24px, 7vw, 36px);
    margin-bottom: 24px;
  }
  .prednosti-filter {
    margin-bottom: 24px;
    gap: 8px;
  }
  .prednosti-filter .prod-filter-btn {
    padding: 11px 14px;
    font-size: 12px;
  }
  .prednosti-panel-text h3 {
    font-size: 20px;
  }
  .prednosti-panel-lead {
    font-size: 15px;
    margin-bottom: 20px;
  }
  .prednosti-panel-list li {
    font-size: 14px;
    gap: 8px;
  }
  .prednosti-dot {
    width: 6px;
    height: 6px;
  }
  .prednosti-panel-item {
    grid-template-columns: 1fr;
    row-gap: 2px;
  }
  .prednosti-panel-list li {
    padding: 14px 0;
  }
}

@media (max-width: 768px) {
  .product-detail-info > div[style*="display:flex"],
  .product-scroll-info > div[style*="display:flex"] {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .product-detail-info > div[style*="display:flex"] .btn-neu,
  .product-scroll-info > div[style*="display:flex"] .btn-neu {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (max-width: 900px) {
  #geoHeroBg {
    transform: translateY(0) !important;
  }
  #cetiriNacinaHeroSection.about-hero--quad,
  #stoMozeHeroSection.about-hero--quad {
    min-height: 100dvh;
    height: 100dvh;
  }
  #cetiriNacinaHeroSection .about-hero-bg--grid,
  #stoMozeHeroSection .about-hero-bg--grid {
    height: 100dvh;
    grid-template-columns: 50vw 50vw;
    grid-template-rows: 50dvh 50dvh;
  }
}

/* ================================================
   LARGE SCREENS (1920px+) — 24" monitors and up
   ================================================ */
@media (min-width: 1920px) {
  /* Navigation - larger header fonts (NOT dropdowns) */
  .nav-link { font-size: 17px; }
  .nav-inner { max-width: none; padding: 0 clamp(40px, 4vw, 80px); }
  
  /* Buttons */
  .btn-neu, .btn-hero-primary, .btn-hero-outline { font-size: 15px; padding: 18px 38px; }
  
  /* All containers - use 92vw like FAQ */
  .hero-content { max-width: 92vw; }
  .about-hero-inner { max-width: 92vw; }
  .stats-showcase-inner { max-width: 92vw; }
  .how-inner { max-width: 92vw; }
  .apps-inner { max-width: 92vw; }
  .why-geo-inner { max-width: 92vw; }
  .thermia-inner { max-width: 92vw; }
  .products-teaser-inner { max-width: 92vw; }
  .about-story-inner { max-width: 92vw; }
  .about-process-inner { max-width: 92vw; }
  .why-us-inner { max-width: 92vw; }
  .page-hero-inner { max-width: 92vw; }
  .products-filter-inner { max-width: 92vw; }
  .products-all-inner { max-width: 92vw; }
  .prod-hero-inner { max-width: 92vw; }
  .prod-filter-inner { max-width: 92vw; }
  .spotlight-filter-inner { max-width: 92vw; }
  .geo-bento-inner { max-width: 92vw; }
  .contact-hero-inner { max-width: 92vw; }
  .contact-main-inner { max-width: 92vw; }
  .prednosti-inner { max-width: 92vw; }
  .final-cta-inner { max-width: min(1400px, 80vw); }
  .geo-content-inner { max-width: 92vw; }
  
  /* Hero */
  .hero-headline { font-size: clamp(52px, 4.5vw, 88px); }
  .hero-sub { font-size: 20px; }
  .hero-eyebrow { font-size: 14px; }
  .hero-stat-num { font-size: clamp(36px, 3vw, 56px); }
  .hero-stat-label { font-size: 16px; }
  
  /* About Hero */
  .about-hero-title { font-size: clamp(52px, 4.5vw, 88px); }
  .about-hero-sub { font-size: 20px; }
  .about-hero-eyebrow { font-size: 14px; }
  
  /* Section titles */
  .section-title { font-size: clamp(36px, 3.5vw, 60px); }
  .section-sub { font-size: 19px; }
  .section-eyebrow { font-size: 13px; }
  
  /* Stats */
  .stats-card-title { font-size: 24px; }
  .stats-card-text { font-size: 17px; }
  
  /* How Section */
  .how-stat-number { font-size: clamp(48px, 4vw, 72px); }
  .how-stat-desc { font-size: 18px; }
  .how-step-title { font-size: 22px; }
  .how-step-text { font-size: 17px; }
  
  /* Neo/Apps Section */
  .neo-card { padding: clamp(24px, 2.5vw, 36px); }
  .neo-card-title { font-size: 24px; }
  .neo-card-text { font-size: 16px; }
  .apps-neo-grid { gap: clamp(16px, 2vw, 28px); }
  
  /* Why Geo */
  .reason-title { font-size: 24px; }
  .reason-text { font-size: 17px; }
  
  /* Thermia Section */
  .thermia-title { font-size: clamp(48px, 4vw, 76px); }
  .thermia-sub { font-size: 20px; }
  
  /* Products */
  .product-card-title { font-size: 22px; }
  .product-card-desc { font-size: 16px; }
  .product-card-cat { font-size: 12px; }
  
  /* Geo Bento */
  .geo-bento-title { font-size: clamp(40px, 3.5vw, 64px); }
  .geo-bento-card-title { font-size: 26px; }
  .geo-bento-card-text { font-size: 16px; }
  
  /* Geo Content - subpages */
  .geo-content-inner h2 { font-size: clamp(32px, 2.8vw, 48px); }
  .geo-content-inner h3 { font-size: 26px; }
  .geo-content-inner p { font-size: 18px; }
  .geo-content-inner ul li { font-size: 17px; }
  .geo-intro-wide h2 { font-size: clamp(32px, 2.8vw, 48px); }
  .geo-intro-wide p { font-size: 18px; }
  
  /* Prednosti */
  .prednosti-title { font-size: clamp(40px, 3.5vw, 60px); }
  .prednosti-panel-text h3 { font-size: clamp(36px, 3vw, 52px); }
  .prednosti-panel-lead { font-size: 19px; }
  .prednosti-panel-list li { font-size: 18px; }
  
  /* About sections */
  .about-story-lead { font-size: 18px; }
  .about-story-columns p { font-size: 16px; }
  .about-process-step-title { font-size: 26px; }
  .about-process-step-text { font-size: 17px; }
  .about-process-lead { font-size: 19px; }
  
  /* Smanjeni paddinzi između sekcija na O nama stranici */
  .about-story { padding-bottom: clamp(20px, 3vh, 40px); }
  .about-process { padding-top: clamp(20px, 3vh, 40px); }
  
  /* Why Us */
  .why-us-title { font-size: clamp(40px, 3.5vw, 60px); }
  .why-us-intro { font-size: 18px; }
  .why-us-point-title { font-size: 26px; }
  .why-us-point-text { font-size: 17px; }
  .why-us-stat-number { font-size: clamp(32px, 3vw, 52px); }
  .why-us-stat-label { font-size: 14px; }
  
  /* Page Hero (Products) */
  .page-hero-inner h1 { font-size: clamp(52px, 4.5vw, 88px); }
  .page-hero-inner p:not(.section-eyebrow) { font-size: 19px; }
  .prod-hero-title { font-size: clamp(48px, 4vw, 76px); }
  .prod-hero-sub { font-size: 18px; }
  
  /* Final CTA */
  .final-cta-title { font-size: clamp(44px, 3.5vw, 68px); }
  .final-cta-sub { font-size: 19px; }
  
  /* Contact */
  .contact-hero-inner h1 { font-size: clamp(52px, 4.5vw, 88px); }
  .contact-hero-inner p { font-size: 19px; }
  .info-block-value { font-size: 20px; }
  .info-block-label { font-size: 12px; }
  
  /* FAQ */
  .faq-question { font-size: 19px; }
  .faq-answer { font-size: 17px; }
  
  /* Footer */
  .contact-company-name { font-size: 22px; }
  .contact-left-link { font-size: 19px; }
  .contact-left-text { font-size: 16px; }
  .contact-left-hours { font-size: 15px; }
  
  /* Product Detail Page */
  .product-detail-inner { max-width: 92vw; }
  .product-scroll-layout { max-width: 92vw; margin: 0 auto; }
  .product-detail-name { font-size: clamp(36px, 3.5vw, 56px); }
  .product-detail-desc { font-size: 18px; }
  .product-detail-features li { font-size: 17px; }
}

/* ================================================
   EXTRA LARGE SCREENS (2560px+) — 27"+ monitors
   ================================================ */
@media (min-width: 2560px) {
  /* Navigation - larger header fonts (NOT dropdowns) */
  .nav-link { font-size: 18px; }
  
  /* All containers - 90vw */
  .hero-content { max-width: 90vw; }
  .about-hero-inner { max-width: 90vw; }
  .stats-showcase-inner { max-width: 90vw; }
  .how-inner { max-width: 90vw; }
  .apps-inner { max-width: 90vw; }
  .why-geo-inner { max-width: 90vw; }
  .thermia-inner { max-width: 90vw; }
  .products-teaser-inner { max-width: 90vw; }
  .about-story-inner { max-width: 90vw; }
  .about-process-inner { max-width: 90vw; }
  .why-us-inner { max-width: 90vw; }
  .page-hero-inner { max-width: 90vw; }
  .products-filter-inner { max-width: 90vw; }
  .products-all-inner { max-width: 90vw; }
  .prod-hero-inner { max-width: 90vw; }
  .prod-filter-inner { max-width: 90vw; }
  .spotlight-filter-inner { max-width: 90vw; }
  .geo-bento-inner { max-width: 90vw; }
  .contact-hero-inner { max-width: 90vw; }
  .contact-main-inner { max-width: 90vw; }
  .prednosti-inner { max-width: 90vw; }
  .geo-content-inner { max-width: 90vw; }
  .final-cta-inner { max-width: min(1500px, 75vw); }
  
  /* Product Detail Page */
  .product-detail-inner { max-width: 90vw; }
  .product-scroll-layout { max-width: 90vw; margin: 0 auto; }
  
  /* Hero */
  .hero-headline { font-size: clamp(56px, 3.5vw, 88px); }
  .hero-sub { font-size: clamp(18px, 0.9vw, 23px); }
  .about-hero-title { font-size: clamp(56px, 3.5vw, 88px); }
  .about-hero-sub { font-size: clamp(18px, 0.9vw, 23px); }
  
  /* Neo/Apps Section - smaller on very large screens */
  .neo-card-title { font-size: clamp(16px, 1vw, 22px); }
  .neo-card-text { font-size: clamp(12px, 0.65vw, 14px); }
}

/* ================================================
  CASE STORIES - NEW GRID DESIGN
  ================================================ */

.case-stories-hero-points {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
}

.case-stories-hero-points li {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.case-stories-section {
  padding: var(--pad-y) var(--pad-x);
  background: linear-gradient(180deg, var(--light-bg) 0%, var(--light-bg-alt) 100%);
}

.case-stories-section-inner {
  max-width: min(1400px, 90vw);
  margin: 0 auto;
}

.services__topline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.services__labelRow {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.services__label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray);
}

.services__line {
  height: 1px;
  background: var(--divider);
  flex: 1;
}

.services__header {
  margin-bottom: 80px;
  max-width: 700px;
}

.services__title {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--dark);
}

.services__subtitle {
  margin: 24px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--gray);
  font-weight: 300;
}

.serviceList {
  border-top: 1px solid var(--divider);
  counter-reset: service-counter;
}

.service {
  border-bottom: 1px solid var(--divider);
}

.service__card {
  display: grid;
  grid-template-columns: minmax(360px, 1.5fr) minmax(280px, 1.6fr) 360px;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 32px 0;
  position: relative;
  height: 25vh;
  min-height: 220px;
  transition: height 500ms cubic-bezier(0.25, 1, 0.5, 1), background-color 300ms ease;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
}

.service__name {
  margin: 0;
  font-size: clamp(22px, 1.8vw, 28px);
  font-weight: 400;
  color: var(--dark);
  transition: transform 500ms cubic-bezier(0.25, 1, 0.5, 1), color 300ms ease;
  display: flex;
  align-items: center;
  gap: 16px;
  white-space: normal;
  line-height: 1.25;
}

.service__name::before {
  counter-increment: service-counter;
  content: "0" counter(service-counter);
  font-size: 14px;
  color: var(--gray);
  font-weight: 300;
  opacity: 0.6;
  letter-spacing: 0.05em;
}

.service__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray);
  font-weight: 300;
  max-width: 420px;
  transition: transform 500ms cubic-bezier(0.25, 1, 0.5, 1), color 300ms ease;
}

.service__media {
  width: 200px;
  height: 140px;
  border-radius: 2px;
  overflow: hidden;
  justify-self: end;
  transition: all 500ms cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 1;
}

.service__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms ease;
}

.case-service-location {
  margin: 0 0 12px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.case-service-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}

.case-service-stats span {
  font-size: 13px;
  color: var(--gray);
}

.case-service-stats strong {
  color: var(--green);
  font-weight: 600;
}

.case-service-cta {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
}

@media (hover: hover) and (pointer: fine) {
  .service:hover .service__card {
    background: transparent;
    height: 40vh;
    align-items: flex-start;
    padding-top: 32px;
    border-left: 1px solid var(--divider);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
  }

  .service:hover .service__name {
    color: var(--dark);
    transform: translateX(20px);
  }

  .service:hover .service__desc {
    color: var(--gray);
    transform: translateX(20px);
  }

  .service:hover .case-service-location,
  .service:hover .case-service-cta,
  .service:hover .case-service-stats strong {
    color: var(--green);
  }

  .service:hover .case-service-stats {
    border-top-color: var(--divider);
  }

  .service:hover .case-service-stats span,
  .service:hover .service__name::before {
    color: var(--gray);
  }

  .service:hover .service__media {
    width: 360px;
    height: 260px;
    transform: none;
  }

  .service:hover .service__img {
    transform: scale(1.05);
  }
}

/* Case Stories Grid - Tablet */
@media (max-width: 1024px) {
  .case-stories-section-inner {
    max-width: 92vw;
  }

  .services__header {
    margin-bottom: 48px;
  }

  .service__card {
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: auto auto;
    padding: 40px 0;
    height: auto !important;
    min-height: auto;
    gap: 24px;
    padding-top: 40px;
  }

  .service__name {
    grid-column: 1 / -1;
    font-size: 24px;
    margin-bottom: 8px;
  }

  .case-service-body {
    grid-column: 1 / 2;
  }

  .service__media {
    grid-column: 2 / 3;
    width: 100%;
    height: 180px;
    justify-self: stretch;
  }

  .service:hover .service__card {
    background: transparent;
    height: auto !important;
    border-left: 0;
    box-shadow: none;
  }

  .service:hover .service__media {
    width: 100%;
    height: 180px;
    transform: none;
  }

  .service:hover .service__name,
  .service:hover .service__desc {
    color: inherit;
    transform: none;
  }
}

/* Case Stories Grid - Mobile */
@media (max-width: 768px) {
  /* Single hero image — fill entire section */
  #caseStoriesHeroSection .about-hero-bg--grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
  }

  #caseStoriesHeroSection .about-hero-overlay {
    background: linear-gradient(180deg, rgba(10,15,24,0.24) 0%, rgba(10,15,24,0.12) 42%, rgba(10,15,24,0.54) 100%);
  }

  .case-stories-section {
    min-height: auto;
    padding: 80px 0;
  }

  .case-stories-hero-points {
    gap: 8px;
  }

  .case-stories-hero-points li {
    font-size: 11px;
    padding: 7px 10px;
  }
  
  .services__header {
    margin-bottom: 36px;
  }

  .services__subtitle {
    font-size: 16px;
  }

  .service__card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 0;
  }

  .case-service-body,
  .service__media {
    width: 100%;
  }

  .service__media {
    height: 200px;
  }

  .service__name {
    font-size: 22px;
  }
}

/* Case Stories Grid - Small Mobile */
@media (max-width: 480px) {
  .case-stories-hero-points {
    flex-direction: column;
    align-items: flex-start;
  }

  .case-stories-hero-points li {
    width: 100%;
    text-align: center;
  }

  .services__title {
    font-size: clamp(28px, 9vw, 36px);
  }

  .service__card {
    padding: 20px 0;
  }

  .service__media {
    height: 170px;
  }

  .case-service-stats {
    flex-direction: column;
    gap: 8px;
  }
}

/* ================================================
   PRODUCT DOCUMENTATION
   ================================================ */
.product-docs {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--divider);
}

.product-docs-title {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 16px;
}

.product-docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.prod-index-docs .product-docs-list {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 12px;
}

.prod-index-docs .product-doc-link {
  flex: 1 1 0;
  justify-content: center;
}

.product-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--light-bg);
  border-radius: 8px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.product-doc-link:hover {
  background: var(--green);
  color: #fff;
}

.product-doc-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .product-docs {
    margin-top: 24px;
    padding-top: 20px;
  }

  .prod-index-docs .product-docs-list {
    flex-direction: column;
    gap: 8px;
  }

  .prod-index-docs .product-doc-link {
    flex: 1 1 auto;
    justify-content: flex-start;
  }
  
  .product-doc-link {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* ========================================
   CASE STORY DETAIL PAGES
   ======================================== */

.case-story-detail-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: flex-end;
  padding: 80px 24px 60px;
}

.case-story-detail-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.case-story-detail-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-story-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 1;
}

.case-story-detail-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

/* Case Story Subpages - Hero image no crop */
[id^="caseStory"] .about-hero-bg {
  inset: 0;
}

[id^="caseStory"] .about-hero-bg img {
  object-fit: cover;
  object-position: center;
}

[id^="caseStory"] .about-hero-overlay {
  background: linear-gradient(180deg, rgba(10,15,24,0.16) 0%, rgba(10,15,24,0.08) 42%, rgba(10,15,24,0.52) 100%);
}

[id^="caseStory"] .about-hero-inner {
  max-width: min(980px, 78vw);
}

[id^="caseStory"] .about-hero-title {
  font-size: clamp(34px, 4.6vw, 68px);
  line-height: 1.12;
  margin-bottom: 0;
  max-width: 24ch;
  text-wrap: balance;
}

[id^="caseStory"] .about-hero-eyebrow {
  margin-bottom: 12px;
}

[id^="caseStory"] .case-story-back-link {
  margin-bottom: 18px;
}

.case-story-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.case-story-back-link:hover {
  color: #fff;
}

.case-story-back-link svg {
  width: 18px;
  height: 18px;
}

.case-story-detail-location {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: 12px;
}

.case-story-detail-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.case-story-detail-content {
  padding: 60px var(--pad-x) 80px;
  background: var(--light-bg);
}

.case-story-detail-inner {
  max-width: var(--max-content);
  margin: 0 auto;
}

.case-story-detail-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 32px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 48px;
}

.case-story-detail-stat {
  text-align: center;
}

.case-story-detail-stat-value {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.case-story-detail-stat-label {
  font-size: 13px;
  color: var(--gray);
}

.case-story-detail-body {
  background: #fff;
  padding: 48px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  margin-bottom: 48px;
}

.case-story-detail-body h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 16px;
}

.case-story-detail-body h2:first-child {
  margin-top: 0;
}

.case-story-detail-body p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.case-story-detail-body ul {
  margin: 16px 0 24px 24px;
}

.case-story-detail-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 8px;
}

.case-story-detail-inner > h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--dark);
  margin: 32px 0 16px;
}

.case-story-detail-inner > h2:first-child {
  margin-top: 0;
}

.case-story-detail-inner > p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}

.case-story-detail-quote {
  margin: 32px 0;
  padding: 24px 32px;
  background: var(--light-bg);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
}

.case-story-detail-quote p {
  font-size: 18px;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 12px;
}

.case-story-detail-quote cite {
  font-size: 14px;
  color: var(--gray);
  font-style: normal;
}

.case-story-detail-product {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.case-story-detail-product h3 {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: 20px;
}

.case-story-detail-product-card {
  display: flex;
  gap: 24px;
  align-items: center;
}

.case-story-detail-product-card img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 16px;
}

.case-story-detail-product-info h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.case-story-detail-product-info p {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.case-story-btn {
  margin-top: 24px;
}

.case-story-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color 0.2s ease;
}

.case-story-back-link:hover {
  color: #fff;
}

.case-story-back-link svg {
  width: 18px;
  height: 18px;
}

.case-story-pdf-link {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--light-bg);
}

.case-story-pdf-link .btn-neu {
  display: inline-flex;
  align-items: center;
}

/* Case Story Detail Responsive */
@media (max-width: 768px) {
  [id^="caseStory"] .about-hero {
    min-height: 76vh;
    min-height: 76dvh;
  }

  [id^="caseStory"] .about-hero-overlay {
    background: linear-gradient(180deg, rgba(10,15,24,0.2) 0%, rgba(10,15,24,0.1) 44%, rgba(10,15,24,0.58) 100%);
  }

  [id^="caseStory"] .about-hero-inner {
    max-width: 100%;
    padding-bottom: clamp(32px, 6.5vh, 52px);
  }

  [id^="caseStory"] .about-hero-title {
    font-size: clamp(30px, 7.6vw, 46px);
    max-width: 20ch;
  }

  [id^="caseStory"] .about-hero-eyebrow {
    margin-bottom: 10px;
  }

  [id^="caseStory"] .case-story-back-link {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .case-story-detail-hero {
    min-height: 50vh;
    padding: 100px 20px 40px;
  }

  .case-story-detail-title {
    font-size: 28px;
  }

  .case-story-detail-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 24px;
  }

  .case-story-detail-stat-value {
    font-size: 22px;
  }

  .case-story-detail-body {
    padding: 24px;
  }

  .case-story-detail-body h2 {
    font-size: 20px;
  }

  .case-story-detail-inner > h2 {
    font-size: 20px;
  }

  .case-story-detail-quote {
    padding: 20px;
  }

  .case-story-detail-quote p {
    font-size: 16px;
  }

  .case-story-detail-product-card {
    flex-direction: column;
    text-align: center;
  }

  .case-story-detail-product-card img {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 480px) {
  [id^="caseStory"] .about-hero {
    min-height: 68vh;
    min-height: 68dvh;
  }

  [id^="caseStory"] .about-hero-inner {
    padding-bottom: 30px;
  }

  [id^="caseStory"] .about-hero-title {
    font-size: clamp(26px, 9vw, 34px);
    max-width: 18ch;
  }

  [id^="caseStory"] .about-hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.22em;
  }

  [id^="caseStory"] .case-story-back-link {
    margin-bottom: 12px;
    font-size: 12px;
  }

  .case-story-detail-stats {
    grid-template-columns: 1fr 1fr;
  }

  .case-story-detail-stat-value {
    font-size: 20px;
  }

  .case-story-detail-stat-label {
    font-size: 12px;
  }
}

/* ========================================
   MATERIALS PAGE
   ======================================== */

.materials-hero {
  padding: 140px 24px 60px;
  background: var(--dark);
  text-align: center;
}

.materials-hero-inner {
  max-width: 700px;
  margin: 0 auto;
}

.materials-hero-eyebrow {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 16px;
}

.materials-hero-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.materials-hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
}

.materials-section {
  padding: 80px 24px;
  background: var(--light-bg);
}

.materials-inner {
  max-width: 1100px;
  margin: 0 auto;
}

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

.material-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.material-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.material-card-icon {
  width: 56px;
  height: 56px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.material-card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.material-card-content {
  flex: 1;
}

.material-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.material-card-desc {
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 16px;
}

.material-card-meta {
  display: flex;
  gap: 12px;
}

.material-card-format,
.material-card-size {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--light-bg);
  color: var(--gray);
}

.material-card-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  padding: 14px 24px;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  transition: background 0.2s ease;
}

.material-card-download:hover {
  background: var(--green-dark);
}

.material-card-download svg {
  width: 18px;
  height: 18px;
}

/* Materials Responsive */
@media (max-width: 900px) {
  .materials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .materials-hero {
    padding: 120px 20px 50px;
  }

  .materials-hero-sub {
    font-size: 16px;
  }

  .materials-section {
    padding: 60px 20px;
  }

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

  .material-card {
    padding: 24px;
  }
}
