* { box-sizing: border-box; margin: 0; padding: 0; }
  body { font-family: 'Montserrat', sans-serif; background: #fff; color: #222; }
  a { text-decoration: none; color: inherit; }

  .site-nav {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 40px; background: transparent; color: #fff;
    transition: background-color 300ms ease, color 260ms ease, padding 180ms ease;
  }
  .site-nav.affix { background: #ffffff; color: #111; box-shadow: 0px 1px 2px 0px rgba(0,0,0,.05); }
  .site-nav .logo-svg {
    height: 55px; width: auto; color: inherit; display: block;
    filter: grayscale(100%);
    opacity: 1;
    transform: translateY(-4px);
    transition: height 260ms ease, opacity 260ms ease;
  }
  .site-nav.affix { padding: 14px 40px; }
  .site-nav.affix .logo-svg { height: 47px; opacity: 1; }
  .site-nav .menu { display: flex; align-items: center; gap: 4px; }
  .site-nav .menu a {
    font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase; padding: 12px 14px;
  }
  .site-nav .menu span { opacity:.5; padding: 12px 0; }

  .fixed-bg-section {
    position: relative; background-size: cover; background-position: center;
    background-attachment: fixed; display: flex; align-items: center; justify-content: center;
  }
  .fixed-bg-section .dark-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,0) 100%);
  }
  .fixed-bg-section .content { position: relative; z-index: 2; }

  .hero { height: 100vh; min-height: 640px; align-items: flex-end; background-image: url('../images/hero.jpg'); }
  .hero .content { max-width: 750px; padding: 0 40px 110px; text-align: center; }
  .hero h1 {
    font-family: 'Source Sans Pro', sans-serif; font-size: 90px; font-weight: 900;
    color: #EC2327; line-height: 1.05; -webkit-font-smoothing: antialiased;
  }
  .hero .subtitle {
    font-family: 'Montserrat', sans-serif; font-size: 23px; font-weight: 700; color: #000;
    letter-spacing: 1.8px; line-height: 26.45px; margin-top: 8px;
  }

  /* ============================================================
     TRI TIPA SEKCIJA  (mere izvucene iz screenshotova, 1920px sirina)
     Sadrzaj kontejnera = 1280px  (max-width 1360 - 2x40 padding)
     ============================================================ */

  .sec { max-width: 1360px; margin: 0 auto; padding: 60px 40px; }
  .sec-row {
    display: flex; align-items: center;
    flex-wrap: nowrap; gap: 0; justify-content: space-between;
  }
  .sec-row.rev { flex-direction: row-reverse; }
  .sec-row.mid { justify-content: center; gap: 140px; }
  .sec-row img { width: 100%; height: auto; display: block; }
  .sec-media { flex: 0 0 auto; min-width: 0; }
  .sec-text  { flex: 0 0 auto; min-width: 0; }

  /* ispod 1360px kolone se slazu jedna ispod druge */
  @media (max-width: 1360px) {
    .sec-row { flex-wrap: wrap; justify-content: center; gap: 40px; }
    .sec-row .sec-media, .sec-row .sec-text { flex-basis: 100% !important; }
    .sec-row img, .slides { max-width: 620px; margin: 0 auto; }
  }

  /* --- TIP 1: bela sekcija (proizvod / tema + slika) --- */
  .t1 h3 {
    font-family: 'Ubuntu', sans-serif; font-weight: 300; color: #EC2327;
    font-size: 51px; line-height: 53px; margin-bottom: 36px;
  }
  .t1 .sub {
    font-family: 'Ubuntu', sans-serif; font-weight: 300; color: #818181;
    font-size: 34px; line-height: 52px; margin-bottom: 44px;
  }
  .t1 p {
    font-family: 'Ubuntu', sans-serif; font-weight: 400; color: #000;
    font-size: 23px; line-height: 40px; margin-bottom: 40px;
  }
  /* manja skala naslova (sekcija "Kako ustedeti novac") */
  .t1.h-sm h3  { font-size: 34px; line-height: 52px; margin-bottom: 31px; }
  .t1.h-sm .sub { margin-bottom: 32px; }

  /* poravnanja */
  .al-c { text-align: center; }
  .al-l { text-align: left; }
  .al-r { text-align: right; }

  /* --- dugme, isto ponasanje u sva tri tipa --- */
  .btn-d, .btn-l {
    display: inline-block; cursor: pointer; font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 500; letter-spacing: 0.03em;
    text-transform: uppercase; padding: 15px 32px; border: 1px solid #000;
    transition: background 200ms ease, color 200ms ease;
  }
  .btn-d { background: #000; color: #fff; }
  .btn-d:hover { background: #fff; color: #000; }
  .btn-l { background: #fff; color: #000; border-color: #fff; }
  .btn-l:hover { background: transparent; color: #fff; }
  /* dugme centrirano i u levo poravnatom bloku (Therma V) */
  .btn-mid { display: block; width: -moz-fit-content; width: fit-content; margin: 0 auto; }

  /* --- TIP 2: tamna parallax CTA sekcija --- */
  .t2 {
    position: relative; background-size: cover; background-position: center;
    background-attachment: fixed; color: #fff; text-align: center;
    display: flex; align-items: center; justify-content: center;
    padding: 78px 40px 86px;
  }
  .t2 .veil {
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,0) 100%);
  }
  .t2 .inner { position: relative; z-index: 2; max-width: 1280px; margin: 0 auto; }
  .t2 h2 {
    font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 52px;
    line-height: 55px; margin-bottom: 30px;
  }
  .t2 .caps { text-transform: uppercase; }
  .t2 p {
    font-family: 'Ubuntu', sans-serif; font-weight: 700; font-size: 25px;
    line-height: 46.5px; margin-bottom: 44px;
  }
  .t2 p a { color: inherit; text-decoration: underline; }

  /* --- TIP 3: puna tamno-siva sekcija --- */
  .t3 { background: #4a4a4a; color: #fff; }
  .t3 h3 {
    font-family: 'Ubuntu', sans-serif; font-weight: 300; color: #EC2327;
    font-size: 34px; line-height: 52px; margin-bottom: 31px;
  }
  .t3 p {
    font-family: 'Ubuntu', sans-serif; font-weight: 400; color: #fff;
    font-size: 23px; line-height: 40px; margin-bottom: 40px;
  }


  /* --- slideshow: 5s po slajdu, 0.5s fade, bez navigacije --- */
  .slides { position: relative; width: 100%; }
  .slides .sl {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; transition: opacity 500ms ease-in-out;
  }
  .slides .sl.on { opacity: 1; }
  @media (prefers-reduced-motion: reduce){ .slides .sl { transition: none; } }

  .todo { background:#fff8e1; border-left:4px solid #f5a623; padding:14px 20px;
          font-family:'Montserrat',sans-serif; font-size:13px; color:#8a6d1f; }
  .ph { display:flex; align-items:center; justify-content:center; background:#f0f0f0;
        border:2px dashed #bbb; color:#888; font-family:'Montserrat',sans-serif;
        font-size:13px; text-align:center; padding:20px; min-height:300px; }

  footer { background: #111; color: #999; text-align: center; padding: 40px; font-family: 'Montserrat', sans-serif; font-size: 13px; }

/* ============================================================
   PODSTRANICE — hero bez teksta
   ============================================================ */
.hero-sub {
  height: 751px; background-size: cover; background-position: center;
  background-attachment: fixed; position: relative;
}
.hero-sub .dark-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(to bottom, rgba(0,0,0,.30) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,0) 100%);
}

/* ============================================================
   FORMA  (mere sa Kontakt stranice, 1920px)
   ============================================================ */
.form-block h3 { margin-bottom: 40px; }
.info-block h3 { margin-bottom: 37px; }

.f-label {
  display: block; font-family: 'Ubuntu', sans-serif; font-size: 23px;
  font-weight: 400; color: #000; text-transform: uppercase;
  line-height: 1; margin-bottom: 14px;
}
.f-label .req { color: #EC2327; }
.f-row { margin-bottom: 22px; }
.f-row.pair { display: flex; gap: 25px; }

.f-in {
  font-family: 'Ubuntu', sans-serif; font-size: 18px; font-weight: 400;
  color: #000; background: transparent; border: 1px solid rgba(0,0,0,.4);
  border-radius: 0; padding: 12px 20px; box-sizing: border-box;
  transition: background 300ms ease, border-color 300ms ease;
}
.f-in:hover, .f-in:focus { background: rgba(0,0,0,.05); border-color: #000; outline: none; }
.f-in::placeholder { color: rgba(0,0,0,.4); }
.f-first { width: 183px; }
.f-last  { width: 253px; }
.f-email { width: 426px; }
.f-msg   { width: 461px; height: 230px; resize: none; display: block; }

.f-note {
  font-family: 'Ubuntu', sans-serif; font-size: 13px; font-style: italic;
  text-transform: uppercase; color: #000; margin: 19px 0 24px;
}
.f-note .req { color: #EC2327; }
.form-block button.btn-d { margin-top: 29px; }


.info-block p a { color: inherit; text-decoration: none; }
.info-block p a:hover { text-decoration: underline; }

@media (max-width: 1360px) {
  .f-in { max-width: 100%; }
  .f-row.pair { flex-wrap: wrap; }
}

.site-nav .menu a.here { opacity: .55; cursor: default; }

/* --- hero podstranice sa tekstom --- */
.hero-sub.has-text { display: flex; align-items: center; }
.hero-sub .content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1360px; margin: 0 auto; padding: 0 40px;
}
.hero-sub h1 {
  font-family: 'Source Sans Pro', sans-serif; font-size: 90px; font-weight: 900;
  color: #fff; line-height: 1.05; margin: 0 0 26px;
}
.hero-sub .sub {
  font-family: 'Ubuntu', sans-serif; font-size: 26px; font-weight: 700;
  color: #EC2327; line-height: 1.2;
}

/* --- tekstualna sekcija: sivi podnaslov + liste --- */
.t1 h4 {
  font-family: 'Ubuntu', sans-serif; font-size: 33px; font-weight: 300;
  color: #818181; line-height: 52px; margin: 0 0 30px;
}
.t1 ul {
  font-family: 'Ubuntu', sans-serif; font-size: 23px; font-weight: 400;
  color: #000; line-height: 40px; padding-left: 76px; margin: 0 0 40px;
  list-style: disc;
}
.t1 ul li { margin-bottom: 4px; }
.t1 ul li strong { font-weight: 700; }
.t1 h3 + h4 { margin-top: 0; }

/* --- link za preuzimanje fajla --- */
.dl-file { display: flex; align-items: center; gap: 14px; margin: 40px 0 0; }
.dl-file svg { flex: 0 0 auto; }
.dl-file .txt { font-family: 'Ubuntu', sans-serif; line-height: 1.35; }
.dl-file .name { font-size: 17px; font-weight: 700; color: #000; }
.dl-file .act  { font-size: 17px; font-weight: 400; color: #000; }
.dl-file:hover .act { text-decoration: underline; }

/* zamka za botove — nevidljiva posetiocu */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* poruka posle slanja forme */
.f-status {
  font-family: 'Ubuntu', sans-serif; font-size: 20px; line-height: 30px;
  padding: 16px 22px; margin-bottom: 30px; border-left: 4px solid;
}
.f-status.ok  { background: #f1f8f1; border-color: #3c8f3c; color: #1f5c1f; }
.f-status.err { background: #fdf2f2; border-color: #EC2327; color: #9c1a1d; }

/* ============================================================
   PADAJUCI MENI  (mere sa Weebly: panel 226px, stavka 39px)
   ============================================================ */
.site-nav .mi { position: relative; padding-bottom: 10px; margin-bottom: -10px; }
.site-nav .sub-menu {
  position: absolute; top: 100%; left: 0; min-width: 226px;
  background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.14);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  z-index: 200;
}
.site-nav .mi:hover .sub-menu,
.site-nav .mi:focus-within .sub-menu,
.site-nav .mi.open .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.site-nav .sub-menu a {
  display: block; color: #111; background: transparent;
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 400;
  letter-spacing: 0.04em; text-transform: uppercase;
  line-height: 39px; padding: 0 16px; white-space: nowrap;
  transition: background 160ms ease;
}
.site-nav .sub-menu a:hover { background: rgba(0,0,0,.06); }
.site-nav .sub-menu a.here { opacity: .55; }
.site-nav .mi > a::after { content: ''; }

@media (max-width: 1100px) {
  .site-nav .sub-menu { position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; min-width: 0; }
}

/* ============================================================
   THERMA V — hero (tekst uz dno, izmereno sa SC1)
   ============================================================ */
.hero-sub.therma-hero {
  height: 734px; display: flex; align-items: flex-end;
  background-attachment: fixed; background-size: 177.78% auto;
  background-position: center 100%;
}
.hero-sub.therma-hero .content { padding-bottom: 110px; text-align: left; }
.hero-sub.therma-hero h1 {
  font-family: 'Ubuntu', sans-serif; font-weight: 700; font-size: 92px;
  line-height: 1.1; color: #DA4444; margin: 0 0 18px; text-shadow: none;
}
.hero-sub.therma-hero .sub {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 34px;
  line-height: 1.3; color: #fff;
}

/* ============================================================
   "KAKO RADI" — skraceno, minimalan simetrican razmak (izmereno sa SC3)
   ============================================================ */
.t2.kako-radi {
  height: 829px; color: #2a2a2a; background-position: bottom center;
  background-attachment: scroll; background-size: cover;
  align-items: flex-start; padding: 31px 40px 0;
}
.t2.kako-radi .inner { max-width: 1280px; }
.t2.kako-radi h2 { color: #2a2a2a; }
.t2.kako-radi p.lead {
  font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 26px;
  line-height: 40px; color: #2a2a2a; margin-bottom: 0;
}

/* ============================================================
   TRAKA SA PROIZVODIMA (LG Therma V modeli) — izmereno sa SC4/SC5
   ============================================================ */
.prod-band .sec h2 {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 52px;
  line-height: 55px; color: #fff; margin-bottom: 40px;
}
.prod-band .sec h2.dark { color: #2a2a2a; }

.prod-grid {
  display: flex; flex-wrap: wrap; gap: 30px 38px;
}
.prod-card {
  flex: 1 1 calc(33.333% - 26px); min-width: 280px; max-width: 405px;
  background: #fff; border: 3px solid #000; border-radius: 8px;
  padding: 20px 20px 49px; box-sizing: border-box;
}
.prod-card h5 {
  font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 24px;
  color: #000; text-align: left; margin: 0 0 20px; line-height: 1.2;
}
.prod-card img {
  height: 270px; width: auto; max-width: 100%;
  object-fit: contain; display: block; margin: 0 auto;
}
.prod-card p {
  font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 22px;
  color: #000; line-height: 40px; margin: 18px 0 0; text-align: center;
}
.prod-card .pdv { font-size: 16px; font-weight: 400; }

.prod-note {
  font-family: 'Ubuntu', sans-serif; font-size: 15px; font-style: italic;
  color: #fff; margin-top: 30px;
}
.prod-note.dark { color: #2a2a2a; }

@media (max-width: 900px) {
  .prod-card { flex: 1 1 100%; }
}


/* ============================================================
   IKONICE "Zasto toplotna pumpa?"
   ============================================================ */
.icon-grid {
  display: flex; justify-content: center; gap: 190px; flex-wrap: wrap;
  margin-top: 20px;
}
.icon-item { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.icon-item img { width: 105px; height: 105px; object-fit: contain; }
.icon-item span {
  font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 20px; color: #000;
}

/* ============================================================
   PUN-SIRINE BANER SLIKA (bez teksta) — visine izmerene po pravoj
   rezoluciji izvornih slika (2000x1335 / 1704x1080) na 1920px sirine
   ============================================================ */
.banner-img {
  width: 100%; background-size: 100% auto; background-position: 0% 0%;
}
.banner-img.pcb { height: 752px; background-position: 0% 51.47%; }
.banner-img.relay { height: 609px; background-position: 0% 28.26%; }
.banner-img.sightglass { height: 497px; background-position: 0% 51.76%; }
@media (max-width: 900px) {
  .banner-img.pcb, .banner-img.relay, .banner-img.sightglass { height: 220px; }
}

/* ============================================================
   TABELA TEHNICKIH KARAKTERISTIKA
   ============================================================ */
.spec-table-wrap { overflow-x: auto; margin-top: 30px; }
.spec-table {
  border-collapse: collapse; width: 100%; min-width: 900px;
  font-family: 'Ubuntu', sans-serif; font-size: 16px; color: #000;
}
.spec-table th, .spec-table td {
  border: 1px solid #000; padding: 12px 14px; text-align: center;
}
.spec-table th {
  background: #EC2327; color: #fff; font-weight: 700; font-size: 17px;
}
.spec-table td { background: #f5f5f5; }
.spec-table .row-label { text-align: left; background: #ececec; font-weight: 700; }
.spec-table .grp-label { background: #3a3a3a; color: #fff; font-weight: 700; text-align: center; }
.spec-table .grp-sub { background: #3a3a3a; color: #fff; font-weight: 400; text-align: left; }
.spec-table .grp-block td:not(.row-label) { background: #3a3a3a; color: #fff; }
.spec-table .cop-row { background: #EC2327 !important; color: #fff; }

.spec-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px; margin-top: 30px;
}

/* ============================================================
   TABOVI ("Funkcije uredjaja")
   ============================================================ */
.tabs { margin-top: 30px; }
.tab-heads { display: flex; flex-wrap: wrap; border-bottom: 1px solid rgba(0,0,0,.12); }
.tab-head {
  flex: 1 1 0; min-width: 140px; background: #ececec; border: none;
  border-right: 1px solid #fff; padding: 22px 20px; cursor: pointer;
  font-family: 'Montserrat', sans-serif; font-size: 15px; font-weight: 600;
  letter-spacing: .02em; color: rgba(0,0,0,.45); transition: background 160ms ease, color 160ms ease;
}
.tab-head:hover { background: #e2e2e2; }
.tab-head.active { background: #fff; color: #000; box-shadow: inset 0 3px 0 #EC2327; }
.tab-panels { border: 1px solid rgba(0,0,0,.12); border-top: none; padding: 34px 40px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.tab-panel h4 {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 30px;
  color: #818181; margin: 0 0 24px;
}
.tab-panel p {
  font-family: 'Ubuntu', sans-serif; font-size: 19px; line-height: 32px;
  color: #000; margin: 0 0 20px;
}

/* ============================================================
   AKORDEON ("Napredne funkcije TM-100")
   ============================================================ */
.acc-head {
  width: 100%; text-align: left; background: #ececec; border: none;
  padding: 20px 30px; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; font-family: 'Montserrat', sans-serif; font-weight: 600;
  font-size: 15px; letter-spacing: .02em; color: rgba(0,0,0,.6);
  transition: background 160ms ease;
}
.acc-head:hover { background: #e2e2e2; }
.acc-item.open .acc-head { background: #fff; color: #000; }
.acc-icon { font-size: 22px; font-weight: 300; color: rgba(0,0,0,.4); }
.acc-body { display: none; padding: 30px; background: #fff; }
.acc-item.open .acc-body { display: block; }
.acc-body h4 {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 28px;
  color: #818181; margin: 0 0 20px;
}
.acc-body p {
  font-family: 'Ubuntu', sans-serif; font-size: 18px; line-height: 30px;
  color: #000; margin: 0 0 16px;
}

/* ============================================================
   TM-100 HERO — cista slika (bez teksta), realan HTML tekst preko
   ============================================================ */
.hero-sub.tm100-hero {
  background-image: url('../images/tm100-hero-clean.jpg'), linear-gradient(to bottom, #b3b3b3 0%, #ffffff 78%);
  background-blend-mode: multiply, normal;
  background-repeat: no-repeat, no-repeat;
  background-attachment: fixed, fixed;
  background-size: 114.11% auto, 100% 100%;
  background-position: 53.14% calc(-23.48% - 50px), center top;
  height: 801px;
  display: flex; align-items: flex-start;
}
.hero-sub.tm100-hero .content { padding-top: 331px; text-align: right; }
.hero-sub.tm100-hero h1 {
  font-family: 'Ubuntu', sans-serif; font-weight: 700; font-size: 95px;
  line-height: 1.2; color: #EC2327; margin: 0; text-shadow: none;
}

/* ============================================================
   AKORDEON — tanje ivice, i sa strane na otvorenoj stavci
   ============================================================ */
.accordion { margin-top: 30px; border: 1px solid #000; border-bottom: none; }
.acc-item { border-bottom: 1px solid #000; }

/* ============================================================
   SLIDESHOW (Toplotna pumpa - Podzemne vode teaser, 6 slika)
   ============================================================ */
.tp-slideshow {
  position: relative; overflow: hidden; aspect-ratio: 341/480;
}
.tp-slideshow .slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; transform: translateX(100%);
  transition: transform 0.5s ease;
}
.tp-slideshow .slide.active { transform: translateX(0); }
.tp-slideshow .slide.exiting { transform: translateX(100%); }

/* ============================================================
   BOX-OVERLAY sekcija (slika pozadina, tamni providni box sa strane)
   ============================================================ */
.box-overlay {
  position: relative; background-size: 100% auto; background-position: center top;
  min-height: 949px; display: flex; align-items: center;
}
.box-overlay .box {
  background: rgba(40,40,40,.82); color: #fff; max-width: 610px;
  padding: 40px; margin-left: auto; margin-right: 80px; text-align: center;
}
.box-overlay .box h3 {
  font-family: 'Ubuntu', sans-serif; font-weight: 400; font-size: 28px;
  line-height: 1.3; margin: 0 0 24px;
}
.box-overlay .box p {
  font-family: 'Ubuntu', sans-serif; font-size: 18px; line-height: 30px;
  margin: 0 0 24px;
}
@media (max-width: 900px) {
  .box-overlay .box { margin: 0 20px; max-width: none; }
}

.hero-sub.gs-hero { align-items: flex-end; }
.hero-sub.gs-hero .content { padding-bottom: 100px; }

.hero-sub.gt-hero .content h1, .hero-sub.gt-hero .content .sub { color: #2a2a2a; }
.hero-sub.gt-hero .content .sub { color: #EC2327; }
.hero-sub.gt-hero { position: relative; }
.hero-sub.gt-hero::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 160px;
  background: linear-gradient(to bottom, rgba(90,90,90,.55), rgba(90,90,90,0));
  z-index: 1; pointer-events: none;
}



/* ============================================================
   GALERIJA sa tamnom pozadinom (Grejna tela - fan-coil)
   ============================================================ */
.dark-gallery {
  position: relative; background-size: cover; background-position: center;
  padding: 70px 0;
}
.dark-gallery::before {
  content: ""; position: absolute; inset: 0; background: rgba(20,20,20,.75);
}
.dark-gallery .sec { position: relative; z-index: 1; }
.dark-gallery h2 {
  color: #fff; font-family: 'Ubuntu', sans-serif; font-weight: 400;
  font-size: 44px; text-align: center; margin-bottom: 40px;
}
.dg-grid {
  display: flex; gap: 20px; margin-bottom: 40px;
}
.dg-col-narrow { flex: 0 0 341px; display: flex; flex-direction: column; gap: 20px; }
.dg-col-wide { flex: 1; }
.dg-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dg-questions {
  display: flex; gap: 60px;
}
.dg-questions > div { flex: 1; }
.dg-questions h3 {
  color: #fff; font-family: 'Ubuntu', sans-serif; font-weight: 400;
  font-size: 24px; text-align: center; margin-bottom: 20px;
}
.dg-questions p {
  color: #fff; font-family: 'Ubuntu', sans-serif; font-size: 20px; font-weight: 500;
  line-height: 32px; text-align: center;
}

.box-overlay .box.box-left { margin-left: 220px; margin-right: auto; }
.box-overlay .btn-red {
  display: inline-block; background: #CC3433; color: #fff; text-decoration: none;
  font-family: 'Ubuntu', sans-serif; font-size: 20px; padding: 18px 30px; text-align: center;
  border-radius: 8px;
}
.stat-banner {
  background: #4a4a4a; color: #fff; text-align: center; padding: 60px 20px;
  font-family: 'Ubuntu', sans-serif; font-weight: 300; font-size: 30px; line-height: 46px;
}
.four-col {
  display: flex; flex-wrap: wrap; gap: 40px 60px; max-width: 1240px; margin: 0 auto;
}
.four-col > div { flex: 1 1 45%; text-align: center; }
.four-col h3 {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; color: #818181;
  font-size: 34px; margin-bottom: 20px;
}
.four-col p {
  font-family: 'Ubuntu', sans-serif; font-size: 20px; line-height: 34px; color: #2a2a2a;
}

.hero-sub.se-hero { align-items: flex-end; }
.hero-sub.se-hero .content { padding-bottom: 107px; }

.three-col {
  display: flex; flex-wrap: wrap; gap: 40px; max-width: 1280px; margin: 0 auto;
}
.three-col > div { flex: 1 1 28%; text-align: center; }
.three-col h3 {
  font-family: 'Ubuntu', sans-serif; font-weight: 300; color: #818181;
  font-size: 30px; margin-bottom: 20px;
}
.three-col p {
  font-family: 'Ubuntu', sans-serif; font-size: 18px; line-height: 30px; color: #2a2a2a;
}

.hero-sub.hb-hero { align-items: flex-end; }
.hero-sub.hb-hero .content { padding-bottom: 131px; }
.hero-sub.hb-hero .content h1 { color: #4a4a4a; }

.hero-sub.sh-hero { align-items: flex-end; }
.hero-sub.sh-hero .content { padding-bottom: 77px; }
.hero-sub.sh-hero .content h1 { color: #4a4a4a; }

/* ============================================================
   MOBILNA OPTIMIZACIJA
   ============================================================ */

/* --- Hamburger dugme --- */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px; background: transparent; border: none;
  cursor: pointer; padding: 0; position: relative; z-index: 210; flex: 0 0 auto;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}
.site-nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.site-nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: flex; }
  .site-nav { padding: 14px 20px; }
  .site-nav.affix { padding: 12px 20px; }
  .site-nav .logo-svg { height: 38px; }
  .site-nav.affix .logo-svg { height: 34px; }

  .site-nav .menu {
    display: none; position: absolute; top: 100%; left: 0; width: 100%;
    background: #fff; flex-direction: column; align-items: stretch;
    max-height: calc(100vh - 66px); overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,.16); gap: 0;
  }
  .site-nav.menu-open .menu { display: flex; }
  .site-nav .menu a, .site-nav .mi > a {
    color: #111 !important; width: 100%; box-sizing: border-box;
    padding: 16px 24px !important; border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .site-nav .menu > span { display: none; }
  .site-nav .mi { width: 100%; padding-bottom: 0; margin-bottom: 0; }
  .site-nav .sub-menu a {
    padding-left: 40px !important; border-bottom: 1px solid rgba(0,0,0,.06);
    line-height: 1.6; padding-top: 12px; padding-bottom: 12px;
  }
}

@media (max-width: 768px) {
  /* --- Nikakav parallax na mobilnom (bag na iOS Safari + neprimetan efekat) --- */
  .hero, .hero-sub, .t2, .t2.kako-radi, .fixed-bg-section, .banner-img, .box-overlay,
  .hero-sub.therma-hero, .hero-sub.tm100-hero {
    background-attachment: scroll !important;
  }

  /* --- Hero sekcije: visina po sadrzaju, ne fiksni px --- */
  .hero, .hero-sub {
    height: auto !important; min-height: 420px !important;
    background-size: cover !important; background-position: center !important;
  }
  .hero-sub.tm100-hero {
    min-height: 380px !important; padding: 90px 0 40px !important;
    align-items: center !important;
  }
  .hero-sub.tm100-hero .content { padding-top: 0 !important; text-align: center !important; }

  .hero .content, .hero-sub .content { padding: 0 20px !important; }
  .hero-sub.gs-hero .content, .hero-sub.se-hero .content,
  .hero-sub.hb-hero .content, .hero-sub.sh-hero .content {
    padding-left: 20px !important; padding-right: 20px !important;
    padding-bottom: 40px !important;
  }
  .hero-sub.gt-hero::before { height: 100px !important; }

  /* --- Tipografija --- */
  .hero h1, .hero-sub h1 { font-size: 38px !important; line-height: 1.15 !important; margin-bottom: 14px !important; }
  .hero .subtitle, .hero-sub .sub { font-size: 17px !important; line-height: 1.4 !important; letter-spacing: 0 !important; }
  .t1 h3, .t3 h3 { font-size: 28px !important; line-height: 1.3 !important; margin-bottom: 18px !important; }
  .t1.h-sm h3 { font-size: 24px !important; }
  .t1 .sub { font-size: 20px !important; line-height: 1.4 !important; margin-bottom: 24px !important; }
  .t1 h4 { font-size: 22px !important; line-height: 1.4 !important; }
  .t1 p, .t3 p { font-size: 17px !important; line-height: 1.6 !important; margin-bottom: 24px !important; }
  .t1 ul { font-size: 17px !important; line-height: 1.6 !important; padding-left: 24px !important; }
  .t2 h2, .dark-gallery h2, .prod-band .sec h2 { font-size: 26px !important; line-height: 1.25 !important; margin-bottom: 16px !important; }
  .t2 p { font-size: 16px !important; line-height: 1.55 !important; margin-bottom: 24px !important; }
  .t2.kako-radi p.lead { font-size: 18px !important; line-height: 1.5 !important; }
  .box-overlay .box h3 { font-size: 22px !important; }
  .box-overlay .box p { font-size: 16px !important; line-height: 1.5 !important; }
  .stat-banner { padding: 36px 20px !important; font-size: 19px !important; line-height: 1.5 !important; }
  .four-col h3, .three-col h3 { font-size: 22px !important; margin-bottom: 14px !important; }
  .four-col p, .three-col p { font-size: 16px !important; line-height: 1.55 !important; }
  .dg-grid, .dg-questions { }
  .dg-questions h3 { font-size: 20px !important; }
  .dg-questions p { font-size: 16px !important; line-height: 1.5 !important; }
  .dark-gallery h2 { font-size: 24px !important; }

  /* --- Parallax/banner trake preko slike --- */
  .banner-img {
    height: auto !important; min-height: 160px !important;
    background-size: cover !important; background-position: center !important;
    padding: 36px 20px !important;
  }
  .banner-img h2 { font-size: 26px !important; margin-bottom: 12px !important; }
  .banner-img p { font-size: 16px !important; line-height: 1.5 !important; }

  /* --- Box-overlay --- */
  .box-overlay { min-height: 0 !important; padding: 40px 0 !important; background-size: cover !important; }
  .box-overlay .box, .box-overlay .box.box-left {
    margin: 0 16px !important; max-width: none !important; padding: 28px 22px !important;
  }

  /* --- T2 CTA (Projektovanje, Trosite vodu...) --- */
  .t2, .t2.kako-radi { height: auto !important; min-height: 0 !important; padding: 50px 20px !important; }

  /* --- Vise-kolonske sekcije u jednu kolonu --- */
  .three-col, .four-col, .dg-questions, .icon-grid, .prod-grid {
    flex-direction: column !important; gap: 30px !important;
  }
  .three-col > div, .four-col > div, .dg-questions > div, .prod-card {
    flex-basis: 100% !important; max-width: 100% !important;
  }
  .dg-grid { flex-direction: column !important; gap: 12px !important; }
  .dg-col-narrow { flex-direction: row !important; flex-basis: auto !important; width: 100%; gap: 12px !important; }
  .dg-col-narrow img { flex: 1; height: 140px !important; }
  .dg-col-wide img { height: 220px !important; }

  /* --- Forma --- */
  .f-first, .f-last, .f-email, .f-msg { width: 100% !important; }
  .f-label { font-size: 18px !important; }

  /* --- Opsti razmaci --- */
  .sec { padding: 40px 20px !important; }
  .icon-grid { gap: 30px !important; }

  /* --- Slideshow / sec-row slike ne prelaze ekran --- */
  .sec-row img, .slides { max-width: 100% !important; }
}
