/* =========================================================
   ETANOL LAB — premium redizajn
   Paleta iz loga: indigo #293B76 + grimiz #EB2336
   Responsive: desktop / tablet / mobilni
   ========================================================= */

/* ---------- 1. Promenljive ---------- */
:root{
  --navy-900:#161e40;
  --navy-800:#1e2a56;
  --navy-700:#293B76;
  --navy-600:#354890;
  --navy-500:#4a5da3;

  --navy-rgb:41, 59, 118;
  --navy-deep-rgb:22, 30, 64;

  --red:#EB2336;
  --red-600:#c91c2d;
  --red-700:#a81724;

  --ink:#1a2450;
  --ink-soft:#4a5578;
  --muted:#6b7390;
  --line:#e2e4ee;

  --bg:#FFFEFB;
  --bg-soft:#f4f3f8;

  --container:1200px;
  --radius:8px;

  --header-h:90px;

  --ff-display:"Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-body:"Montserrat", "Segoe UI", system-ui, -apple-system, sans-serif;

  --sp-section:clamp(56px, 6vw, 96px);
}

/* ---------- 2. Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%; scroll-behavior:smooth; scroll-padding-top:var(--header-h)}
body{
  margin:0;
  font-family:var(--ff-body);
  font-size:16px;
  line-height:1.65;
  color:var(--ink);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%; height:auto; display:block}
a{color:inherit; text-decoration:none}
ul,ol{margin:0; padding:0; list-style:none}
h1,h2,h3,p{margin:0}
button{font:inherit; color:inherit; background:none; border:0; cursor:pointer}

:focus-visible{outline:3px solid var(--red); outline-offset:3px; border-radius:2px}

.skip-link{
  position:absolute; left:-9999px; top:0; z-index:200;
  background:var(--red); color:#fff; padding:12px 20px; font-weight:600;
}
.skip-link:focus{left:0}

.icon-sprite{display:none}

.container{
  width:100%;
  max-width:var(--container);
  margin-inline:auto;
  padding-inline:24px;
}

/* ---------- 3. Ikonice ---------- */
.ic{
  width:18px; height:18px; flex:none;
  fill:none; stroke:currentColor;
  stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round;
}
.ic-16{width:16px;height:16px}
.ic-24{width:22px;height:22px}
.ic-28{width:28px;height:28px; stroke-width:1.5}
.ic-32{width:32px;height:32px; stroke-width:1.4}
.ic-40{width:38px;height:38px; stroke-width:1.3}
.ic-48{width:46px;height:46px; stroke-width:1.25}

/* ---------- 4. Dugmad ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 26px;
  font-family:var(--ff-body);
  font-size:13px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase;
  border-radius:var(--radius);
  transition:background-color .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
  white-space:nowrap;
}
.btn .ic{transition:transform .22s ease}
.btn:hover .ic{transform:translateX(4px)}

.btn-red{background:var(--red); color:#fff}
.btn-red:hover{background:var(--red-600); transform:translateY(-2px)}

.btn-ghost{background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.75)}
.btn-ghost:hover{background:#fff; color:var(--navy-900); transform:translateY(-2px)}

.btn-sm{padding:12px 20px; font-size:12px}

.link-more{
  display:inline-flex; align-items:center; gap:6px;
  color:var(--red); font-size:12.5px; font-weight:700;
  letter-spacing:.09em; text-transform:uppercase;
  line-height:1;
}
.link-more .ic{
  width:14px; height:14px; display:block; margin:0;
  transition:transform .22s ease;
}
.link-more:hover .ic{transform:translateX(4px)}

/* ---------- 5. Header ---------- */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  height:var(--header-h);
  padding-top:10px;
  display:flex; align-items:center;
  background:transparent;
  transition:background-color .3s ease, height .3s ease, padding-top .3s ease, backdrop-filter .3s ease;
}
.site-header.is-stuck{
  background:rgba(var(--navy-deep-rgb),.92);
  backdrop-filter:blur(18px) saturate(1.2);
  -webkit-backdrop-filter:blur(18px) saturate(1.2);
  padding-top:0;
  height:70px;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between; gap:28px;
}
.logo img{
  width:auto; height:60.7px;
  border-radius:2px;
  transition:height .3s ease;
}
.site-header.is-stuck .logo img{height:52.8px}

.main-nav{display:flex; align-items:center; gap:34px; margin-left:auto}

.nav-list{display:flex; align-items:center; gap:32px}
.nav-list a{
  position:relative;
  display:block; padding:6px 0;
  color:rgba(255,255,255,.86);
  font-size:13px; font-weight:600;
  letter-spacing:.1em; text-transform:uppercase;
  transition:color .2s ease;
}
.nav-list a::after{
  content:""; position:absolute; left:0; bottom:0;
  width:0; height:2px; background:var(--red);
  transition:width .25s ease;
}
.nav-list a:hover{color:#fff}
.nav-list a:hover::after, .nav-list a.is-active::after{width:100%}
.nav-list a.is-active{color:#fff}

.nav-actions{display:flex; align-items:center; gap:22px}
.nav-actions::before{
  content:""; width:1px; height:26px;
  background:rgba(255,255,255,.25);
}
.lang{display:flex; align-items:center; gap:8px; color:rgba(255,255,255,.75)}
.lang-link{font-size:12.5px; font-weight:600; letter-spacing:.06em; transition:color .2s ease}
.lang-link:hover{color:#fff}
.lang-link.is-active{color:#fff}
.lang-sep{opacity:.45}

/* hamburger */
.nav-toggle{
  display:none;
  width:44px; height:44px;
  flex-direction:column; justify-content:center; align-items:flex-end; gap:6px;
  margin-right:-8px;
}
.nav-toggle span{
  display:block; height:2px; width:26px; background:#fff; border-radius:2px;
  transition:transform .28s ease, opacity .2s ease, width .28s ease;
}
.nav-toggle span:nth-child(2){width:20px}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(8px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.nav-toggle[aria-expanded="true"] span:nth-child(3){width:26px; transform:translateY(-8px) rotate(-45deg)}

/* ---------- 6. Hero ---------- */
.hero{
  position:relative;
  min-height:min(760px, 100svh);
  display:flex; flex-direction:column; justify-content:flex-end;
  padding-top:calc(var(--header-h) + 20px);
  background:var(--navy-900);
  color:#fff;
  overflow:hidden;
}
.hero-media{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(var(--navy-deep-rgb),.55) 0%, rgba(var(--navy-deep-rgb),0) 22%, rgba(var(--navy-deep-rgb),0) 55%, rgba(var(--navy-deep-rgb),.92) 100%),
    linear-gradient(90deg, rgba(var(--navy-deep-rgb),.97) 0%, rgba(var(--navy-deep-rgb),.93) 26%, rgba(var(--navy-deep-rgb),.62) 48%, rgba(var(--navy-deep-rgb),.22) 72%, rgba(var(--navy-deep-rgb),.30) 100%),
    url("../img/etanol-lab-02.jpg") center / cover no-repeat;
  background-color:var(--navy-900);
}
.hero-inner{position:relative; z-index:2; flex:1; display:flex; align-items:center; padding-block:40px}
.hero-copy{max-width:640px}

.hero-title{
  font-family:var(--ff-display);
  font-weight:800;
  font-size:clamp(28.16px, 4.48vw, 58.88px);
  line-height:.98;
  letter-spacing:-.015em;
  text-transform:uppercase;
  margin-bottom:18px;
}
.hero-subtitle{
  font-family:var(--ff-display);
  font-weight:600;
  font-size:clamp(14px, 1.7vw, 18px);
  line-height:1.22;
  letter-spacing:-.01em;
  margin-bottom:22px;
  white-space:nowrap;
}
.hero-tags{
  display:flex; flex-wrap:wrap; align-items:center; gap:10px 8px;
  font-size:15px; font-weight:500; color:rgba(255,255,255,.94);
  margin-bottom:20px;
}
.hero-tags li{display:flex; align-items:center}
.hero-tags li:not(:last-child)::after{
  content:""; width:5px; height:5px; margin:0 12px;
  border-radius:50%; background:var(--red);
}
.hero-text{
  max-width:440px;
  font-size:15.5px; line-height:1.72;
  color:rgba(255,255,255,.8);
  margin-bottom:32px;
}
.hero-buttons{display:flex; flex-wrap:wrap; gap:14px}

/* USP traka */
.usp{
  position:relative; z-index:2;
  border-top:1px solid rgba(255,255,255,.12);
  background:rgba(var(--navy-deep-rgb),.58);
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
}
.usp-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding-block:30px;
}
.usp-item{
  display:flex; align-items:flex-start; gap:16px;
  padding-inline:30px;
  border-left:1px solid rgba(255,255,255,.14);
}
.usp-item:first-child{border-left:0; padding-left:0}
.usp-item .ic{color:#fff; opacity:.95; margin-top:2px}
.usp-item h3{
  font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:#fff; margin-bottom:6px;
}
.usp-item p{font-size:15.5px; line-height:1.55; color:rgba(255,255,255,.7)}

/* ---------- 7. Sekcije, naslovi ---------- */
.section{padding-block:var(--sp-section)}
.section-products{background:var(--bg); padding-bottom:calc(var(--sp-section) * .55)}
.section-why{background:var(--bg-soft); padding-block:calc(var(--sp-section) * .55)}
.section-process{background:var(--bg); padding-top:calc(var(--sp-section) * .55); padding-bottom:calc(var(--sp-section) * .9)}

.section-head{text-align:center; margin-bottom:46px}
.eyebrow{
  font-size:12.5px; font-weight:700;
  letter-spacing:.19em; text-transform:uppercase;
}
.eyebrow-red{color:var(--red)}
.rule{
  display:block; width:44px; height:3px; background:var(--red);
  margin:14px auto 18px; border-radius:2px;
}
.rule-left{margin-inline:0}
.section-title{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(26px, 3.2vw, 38px);
  line-height:1.2;
  letter-spacing:-.01em;
  color:var(--navy-700);
}
.section-title-sm{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(17px, 1.9vw, 21px);
  letter-spacing:.13em; text-transform:uppercase;
  color:var(--navy-700);
}
.section-head .rule:last-child{margin-bottom:0}

/* ---------- 8. Proizvodi ---------- */
.cards{
  display:flex; flex-wrap:wrap; justify-content:center; gap:28px;
}
.card{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:44px 30px 36px;
  text-align:center;
  flex:1 1 calc(33.333% - 19px);
  max-width:calc(33.333% - 19px);
  position:relative;
  overflow:hidden;
  transition:transform .28s ease, border-color .28s ease;
}
.card::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background:var(--red);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .28s ease;
}
.card:hover{
  transform:translateY(-8px);
  border-color:#cfd3e4;
}
.card:hover::before{transform:scaleX(1)}
.card > .ic{color:var(--navy-600); margin:0 auto 22px}
.card h3{
  font-family:var(--ff-display);
  font-size:19px; font-weight:700; letter-spacing:.01em;
  text-transform:uppercase;
  color:var(--navy-700);
  margin-bottom:12px;
}
.card p{font-size:15.5px; color:var(--ink-soft); margin-bottom:8px; max-width:26ch; margin-inline:auto}

/* ---------- 9. Zašto ---------- */
.why-grid{
  display:grid; grid-template-columns:repeat(6,1fr);
}
.why-item{
  text-align:center;
  padding:8px 20px;
  border-left:1px solid var(--line);
}
.why-item:first-child{border-left:0}
.why-item .ic{color:var(--navy-600); margin:0 auto 18px}
.why-item h3{
  font-size:12.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase;
  color:var(--navy-700); line-height:1.4; margin-bottom:10px;
  min-height:2.8em; /* poravnanje opisa u redu */
}
.why-item p{font-size:15.5px; line-height:1.6; color:var(--muted)}

/* ---------- 10. Proces ---------- */
.process{
  display:grid; grid-template-columns:repeat(6,1fr); gap:0;
  counter-reset:step;
}
.step{position:relative; text-align:center; padding-inline:12px}
.step:not(:last-child)::after{
  content:"";
  position:absolute; top:34px; left:calc(50% + 46px); right:calc(-50% + 46px);
  height:2px;
  background-image:linear-gradient(90deg, var(--red) 55%, transparent 55%);
  background-size:9px 2px;
  opacity:.75;
}
.step-badge{
  width:68px; height:68px; margin:0 auto 18px;
  display:grid; place-items:center;
  border-radius:50%;
  background:var(--navy-700);
  color:#fff;
  border:2px solid transparent;
  transition:transform .28s ease, background-color .28s ease, border-color .28s ease;
}
.step:hover .step-badge{
  transform:translateY(-4px);
  background:var(--navy-600);
  border-color:var(--red);
}
.step h3{
  font-size:12.5px; font-weight:700; letter-spacing:.08em; text-transform:uppercase;
  color:var(--navy-700); margin-bottom:8px; line-height:1.35;
  min-height:2.7em; /* poravnanje opisa u redu */
}
.step h3 span{color:var(--navy-700)}
.step p{font-size:15.5px; line-height:1.55; color:var(--muted)}

/* ---------- 11. Brojevi ---------- */
.stats{
  background:linear-gradient(105deg, var(--navy-800) 0%, var(--navy-700) 46%, var(--navy-600) 100%);
  color:#fff;
  position:relative;
}
.stats::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background:linear-gradient(90deg, transparent, var(--red), transparent);
}
.stats-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  padding-block:44px;
}
.stat{
  display:flex; align-items:center; justify-content:center; gap:14px;
  padding-inline:14px;
  border-left:1px solid rgba(255,255,255,.16);
}
.stat:first-child{border-left:0}
.stat > div{min-width:0}
.stat .ic{color:#fff; opacity:.9; width:34px; height:34px}
.stat-value{
  font-family:var(--ff-display);
  font-size:clamp(21px, 2.1vw, 27px); font-weight:700; line-height:1.15;
  letter-spacing:-.01em; white-space:nowrap;
}
.stat-label{font-size:15.5px; color:rgba(255,255,255,.72); margin-top:4px}

/* ---------- 12. O nama ---------- */
.section-about{background:var(--bg-soft)}
.about-grid{
  display:grid; grid-template-columns:minmax(0,0.92fr) minmax(0,1fr);
  gap:clamp(32px, 5vw, 72px);
  align-items:center;
}
.about-media{margin:0}
.about-media img{
  width:100%; height:auto; display:block;
  border-radius:var(--radius);
  object-fit:cover; aspect-ratio:16/9;
}
.about-media video{
  display:block;
  width:auto;
  max-width:100%;
  height:auto;
  max-height:min(780px, 82svh);
  object-fit:contain;
  border-radius:var(--radius);
  background:var(--navy-900);
}
.about-page .about-grid{
  grid-template-columns:minmax(220px,.62fr) minmax(0,1.2fr);
  align-items:start;
}
.about-page .about-media{
  display:flex;
  justify-content:center;
}
.about-copy .section-title{
  margin-bottom:18px;
  font-size:clamp(18px, 2vw, 22px);
  white-space:nowrap;
}
.about-copy p:not(.eyebrow){font-size:15.5px; color:var(--ink-soft); margin-bottom:16px; max-width:56ch}
.about-copy .btn{margin-top:12px}

.about-page{
  padding-block:clamp(48px, 5.5vw, 88px);
  background:var(--bg);
}
.about-page .about-copy .section-title{
  white-space:normal;
  font-size:clamp(24px, 2.6vw, 32px);
}
.about-page .about-copy p:not(.eyebrow){max-width:none}
.stats-grid-3{grid-template-columns:repeat(3,1fr)}

/* ---------- 13. CTA / kontakt ---------- */
.cta{
  position:relative;
  background:
    linear-gradient(90deg, rgba(var(--navy-deep-rgb),.98) 0%, rgba(var(--navy-deep-rgb),.9) 55%, rgba(var(--navy-deep-rgb),.86) 100%),
    url("../img/etanol-lab-11.jpg") center / cover no-repeat;
  background-color:var(--navy-900);
  color:#fff;
  padding-block:clamp(44px, 5vw, 68px);
}
.cta::before{
  content:"";
  position:absolute; left:0; right:0; top:0;
  height:3px;
  background:linear-gradient(90deg, transparent, var(--red), transparent);
}
.cta-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto;
  gap:clamp(26px, 3.4vw, 44px);
  align-items:center;
}
.cta-copy h2{
  font-family:var(--ff-display);
  font-size:clamp(22px, 2.4vw, 28px); font-weight:700; line-height:1.26;
  letter-spacing:-.01em; margin-bottom:12px;
}
.cta-text{font-size:14.5px; color:rgba(255,255,255,.72)}

.cta-contacts{
  display:grid; grid-template-columns:repeat(3,max-content); gap:22px;
}
.contact{
  display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto;
  column-gap:10px; row-gap:2px;
  align-items:center;
  transition:opacity .2s ease;
}
.contact .ic{grid-row:1 / span 2; width:20px; height:20px; color:rgba(255,255,255,.85)}
.contact-label{
  font-size:11.5px; font-weight:700; letter-spacing:.14em; text-transform:uppercase;
  color:rgba(255,255,255,.62);
}
.contact-value{font-size:14px; font-weight:500; color:#fff}
a.contact:hover{opacity:.8}
.cta-action{justify-self:end}

/* =========================================================
   14. FOOTER — identičan na svim stranama sajta
   ========================================================= */
.site-footer{
  background:linear-gradient(180deg, var(--navy-900) 0%, #10162e 100%);
  color:rgba(255,255,255,.78);
  padding-top:0;
}

/* četiri kolone */
.footer-grid{
  display:grid;
  grid-template-columns:minmax(0,1.02fr) minmax(0,1.1fr) minmax(0,.95fr) minmax(0,1.03fr);
  gap:clamp(28px, 2.8vw, 40px);
  padding-block:clamp(34px, 3.6vw, 48px);
}
.footer-col h3{
  font-family:var(--ff-display);
  font-size:14px; font-weight:700; letter-spacing:.03em; text-transform:uppercase;
  color:#fff; margin-bottom:22px; text-wrap:balance;
}

/* parovi „labela: vrednost" */
.f-list{margin:0}
.f-list > div{margin-bottom:14px; font-size:14.5px; line-height:1.6}
.f-list > div:last-child{margin-bottom:0}
.f-list dt,
.f-list dd{display:inline; margin:0}
.f-list dt{color:rgba(255,255,255,.72); font-weight:400}
.f-list dd{color:#fff; font-weight:700}
.f-list .f-plain{font-weight:400; color:rgba(255,255,255,.72)}
.f-list dd a{
  color:#fff;
  border-bottom:1px solid transparent;
  transition:border-color .2s ease, color .2s ease;
}
/* brojevi i mejlovi se nikad ne lome na pola */
.f-list dd a[href^="tel"],
.f-list dd a[href^="mailto"]{white-space:nowrap}
.f-list dd a:hover{border-bottom-color:var(--red); color:#fff}

/* dokumenti za preuzimanje */
.f-docs li{margin-bottom:14px; font-size:14.5px; line-height:1.6}
.f-docs li:last-child{margin-bottom:0}
.f-docs a{
  display:inline-flex; align-items:baseline; gap:10px;
  color:rgba(255,255,255,.85);
  transition:color .2s ease, gap .2s ease;
}
.f-docs a::before{content:"—"; color:rgba(255,255,255,.5)}
.f-docs a:hover{color:#fff; gap:13px}
.f-docs a:hover::before{color:var(--red)}

/* copyright */
.footer-bottom{
  display:flex; align-items:center; justify-content:flex-end;
  border-top:1px solid rgba(255,255,255,.1);
  padding-block:22px;
  font-size:13.5px; color:rgba(255,255,255,.55);
}

/* dugme „nazad na vrh" */
.to-top{
  position:fixed; right:24px; bottom:24px; z-index:90;
  width:52px; height:52px;
  display:grid; place-items:center;
  color:#fff;
  background:rgba(var(--navy-deep-rgb),.88);
  border:1px solid rgba(255,255,255,.22);
  border-radius:var(--radius);
  backdrop-filter:blur(4px);
  opacity:0; visibility:hidden; transform:translateY(12px);
  transition:opacity .28s ease, transform .28s ease, visibility .28s ease,
             background-color .22s ease, border-color .22s ease;
}
.to-top.is-visible{opacity:1; visibility:visible; transform:none}
.to-top:hover{background:var(--red); border-color:var(--red)}

/* ---------- 15. Animacija ---------- */
.reveal{opacity:0; transform:translateY(22px); transition:opacity .6s ease, transform .6s ease}
.reveal.is-visible{opacity:1; transform:none}

/* =========================================================
   16. RESPONSIVE
   ========================================================= */

/* --- Veliki laptop --- */
@media (max-width:1200px){
  .container{padding-inline:28px}
  .nav-list{gap:24px}
  .main-nav{gap:24px}
  .usp-item{padding-inline:22px}

  /* CTA: naslov, kontakti i dugme jedno ispod drugog */
  .cta-grid{grid-template-columns:minmax(0,1fr); row-gap:30px}
  .cta-contacts{gap:clamp(20px, 4vw, 52px)}
  .cta-action{justify-self:start}
}

/* --- Tablet landscape / manji laptop --- */
@media (max-width:1080px){
  .why-grid{grid-template-columns:repeat(3,1fr); gap:36px 0}
  .why-item:nth-child(3n+1){border-left:0}
  .process{grid-template-columns:repeat(3,1fr); row-gap:40px}
  .step:nth-child(3n)::after{display:none}
  .footer-grid{grid-template-columns:repeat(2, minmax(0,1fr)); gap:34px 40px}
  /* mesto za lebdeće dugme „nazad na vrh" */
  .footer-bottom{padding-right:76px}
}

/* --- Tablet (portrait) : mobilni meni --- */
@media (max-width:900px){
  :root{--header-h:80px}

  .nav-toggle{display:flex}

  .main-nav{
    position:fixed; inset:0 0 0 auto;
    width:min(360px, 86vw);
    margin:0;
    flex-direction:column; align-items:stretch; justify-content:flex-start; gap:0;
    padding:calc(var(--header-h) + 24px) 30px 40px;
    background:var(--navy-900);
    transform:translateX(102%);
    transition:transform .34s cubic-bezier(.4,0,.2,1);
    overflow-y:auto;
    visibility:hidden;
  }
  .main-nav.is-open{transform:none; visibility:visible}

  .nav-list{flex-direction:column; align-items:stretch; gap:0}
  .nav-list li{border-bottom:1px solid rgba(255,255,255,.08)}
  .nav-list a{padding:16px 0; font-size:14px}
  .nav-list a::after{display:none}
  .nav-list a.is-active{color:var(--red)}

  .nav-actions{
    flex-direction:column; align-items:stretch; gap:20px;
    margin-top:28px;
  }
  .nav-actions::before{display:none}
  .lang{justify-content:flex-start}

  body.nav-open{overflow:hidden}
  body.nav-open::after{
    content:""; position:fixed; inset:0; z-index:99;
    background:rgba(var(--navy-deep-rgb),.55); backdrop-filter:blur(2px);
  }

  /* hero */
  .hero{min-height:auto; padding-top:calc(var(--header-h) + 44px)}
  .hero-media{
    background:
      linear-gradient(180deg, rgba(var(--navy-deep-rgb),.90) 0%, rgba(var(--navy-deep-rgb),.70) 45%, rgba(var(--navy-deep-rgb),.90) 100%),
      url("../img/etanol-lab-11.jpg") center / cover no-repeat;
  }
  .hero-inner{padding-block:8px 44px}
  .hero-copy{max-width:none}
  .hero-text{max-width:60ch}

  .usp-grid{grid-template-columns:repeat(2,1fr); gap:26px 0; padding-block:28px}
  .usp-item{padding-inline:26px}
  .usp-item:nth-child(odd){border-left:0; padding-left:0}

  /* proizvodi */
  .cards{gap:22px}
  .card{padding:36px 26px 30px; flex-basis:calc(50% - 11px); max-width:calc(50% - 11px)}

  /* brojevi */
  .stats-grid{grid-template-columns:repeat(2,1fr); gap:32px 0; padding-block:38px}
  .stat{justify-content:flex-start; padding-inline:26px}
  .stat:nth-child(odd){border-left:0; padding-left:0}

  /* o nama */
  .about-grid{grid-template-columns:1fr; gap:32px}
  .about-page .about-grid{grid-template-columns:1fr}
  .about-media img{aspect-ratio:16/8}
  .about-media video{max-height:min(640px, 72svh); margin-inline:auto}

  /* cta */
  .cta-grid{row-gap:28px}
  .cta-contacts{grid-template-columns:repeat(3,1fr); gap:20px}
}

/* --- Mobilni --- */
@media (max-width:640px){
  .container{padding-inline:20px}

  .logo img{height:52.8px}

  .hero{padding-top:calc(var(--header-h) + 34px)}
  .hero-title{font-size:clamp(24.32px, 7.68vw, 34.56px); margin-bottom:14px}
  .hero-subtitle{font-size:clamp(14px, 4vw, 16px); margin-bottom:18px; white-space:normal}
  .hero-subtitle br{display:none}
  /* tagovi jedan ispod drugog — bez „visećih" tačaka pri prelomu */
  .hero-tags{display:grid; gap:7px; font-size:14px; margin-bottom:22px}
  .hero-tags li{gap:10px}
  .hero-tags li::before{
    content:""; width:5px; height:5px; flex:none;
    border-radius:50%; background:var(--red);
  }
  .hero-tags li:not(:last-child)::after{display:none}
  .hero-text{font-size:14.5px; margin-bottom:26px}
  .usp-item p,
  .card p,
  .step p,
  .why-item p,
  .stat-label{font-size:14.5px}
  .hero-buttons{gap:12px}
  .hero-buttons .btn{flex:1 1 100%; justify-content:center}

  .usp-grid{grid-template-columns:1fr; gap:22px; padding-block:26px}
  .usp-item{padding-inline:0; border-left:0}
  .usp-item .ic{width:26px; height:26px}

  .section-head{margin-bottom:34px}
  .cards{gap:18px}
  .card{padding:32px 24px 28px; flex-basis:100%; max-width:100%}
  .card > .ic{width:40px; height:40px; margin-bottom:18px}

  .why-grid{grid-template-columns:repeat(2,1fr); gap:32px 0}
  .why-item{border-left:0; padding-inline:10px}
  .why-item h3{min-height:0}
  .why-item .ic{width:34px;height:34px; margin-bottom:14px}

  /* proces: vertikalni timeline */
  .process{grid-template-columns:1fr; row-gap:0}
  .step{
    display:grid;
    grid-template-columns:auto 1fr;
    column-gap:18px;
    text-align:left;
    padding:0 0 26px;
  }
  .step-badge{width:54px; height:54px; margin:0; grid-row:1 / span 2}
  .step-badge .ic{width:24px;height:24px}
  .step h3{align-self:center; margin-bottom:4px; min-height:0}
  .step p{grid-column:2}
  .step:not(:last-child)::after{
    display:block;
    top:60px; bottom:6px; left:26px; right:auto;
    width:2px; height:auto;
    background-image:linear-gradient(180deg, var(--red) 55%, transparent 55%);
    background-size:2px 9px;
  }
  .step:nth-child(3n)::after{display:block}
  .step:last-child::after{display:none}

  .stats-grid{grid-template-columns:1fr; gap:26px; padding-block:34px}
  .stat{border-left:0; padding-inline:0}

  .about-media img{aspect-ratio:16/10}
  .about-copy p{font-size:14.5px}
  .about-copy .section-title{white-space:normal}

  .cta-contacts{grid-template-columns:1fr; gap:18px}
  .cta-action{width:100%}
  .cta-action .btn{width:100%; justify-content:center}
  .cta-copy h2 br{display:none}

  .footer-grid{grid-template-columns:1fr; gap:30px}
  .footer-col h3{font-size:14px; margin-bottom:16px}
  .f-list > div,
  .f-docs li{font-size:14px; margin-bottom:11px}
  .footer-bottom{
    justify-content:center; text-align:center; font-size:13px;
    padding-right:0; padding-bottom:80px;
  }

  .to-top{right:16px; bottom:16px; width:46px; height:46px}
  .to-top .ic{width:20px; height:20px}
}

@media (max-width:359px){
  .why-grid{grid-template-columns:1fr}
  .btn{padding:14px 18px; font-size:11.5px}
  .hero-title{font-size:23.04px}
}

/* --- Pristupačnost: manje animacije --- */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{
    animation-duration:.01ms !important;
    transition-duration:.01ms !important;
  }
  .reveal{opacity:1; transform:none}
}

/* ---------- 15. Unutrašnja strana — Proizvodi ---------- */
.page-hero{
  position:relative;
  display:flex; align-items:flex-end;
  min-height:clamp(240px, 32vw, 340px);
  padding-top:calc(var(--header-h) + 12px);
  color:#fff;
  background:var(--navy-900);
  overflow:hidden;
}
.page-hero-media{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(var(--navy-deep-rgb),.55) 0%, rgba(var(--navy-deep-rgb),.35) 40%, rgba(var(--navy-deep-rgb),.92) 100%),
    linear-gradient(90deg, rgba(var(--navy-deep-rgb),.88) 0%, rgba(var(--navy-deep-rgb),.45) 55%, rgba(var(--navy-deep-rgb),.25) 100%),
    url("../img/etanol-lab-02.jpg") center / cover no-repeat;
  background-color:var(--navy-900);
}
.page-hero-inner{position:relative; z-index:2; width:100%; padding-block:36px 48px}
.breadcrumb{
  display:flex; align-items:center; gap:10px;
  font-size:12.5px; font-weight:600; letter-spacing:.12em; text-transform:uppercase;
  color:rgba(255,255,255,.7); margin-bottom:14px;
}
.breadcrumb a{color:rgba(255,255,255,.7); transition:color .2s ease}
.breadcrumb a:hover{color:#fff}
.breadcrumb-sep{opacity:.5}
.page-hero-title{
  font-family:var(--ff-display);
  font-weight:700;
  font-size:clamp(32px, 4.2vw, 52px);
  letter-spacing:-.02em;
  line-height:1.1;
}

.product-intro{
  padding-top:clamp(40px, 5vw, 72px);
  padding-bottom:clamp(20px, 2.5vw, 36px);
  text-align:center;
  background:var(--bg);
}
.product-intro p{
  max-width:82ch; margin-inline:auto;
  font-size:15.5px; line-height:1.75; color:var(--ink-soft);
}
.product-intro strong{color:var(--navy-700); font-weight:700}
.product-intro p + p{margin-top:18px}

.section-cta{text-align:center; margin-top:40px}

.product{
  padding-block:clamp(48px, 5.5vw, 88px);
  scroll-margin-top:calc(var(--header-h) + 8px);
  background:var(--bg);
}
.product-alt{background:var(--bg-soft)}
.product-intro + .product{padding-top:clamp(24px, 2.75vw, 44px)}

.product-head{
  display:flex; align-items:center; gap:18px;
  margin-bottom:20px;
}
.product-head > .ic{color:var(--navy-600); flex:none}
.product-kicker{
  font-size:12px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--red); margin-bottom:6px;
}
.product-head h2{
  font-family:var(--ff-display);
  font-size:clamp(22px, 2.5vw, 30px); font-weight:700;
  letter-spacing:.01em; text-transform:uppercase;
  color:var(--navy-700); line-height:1.2;
}
.product-lead{
  font-size:15.5px; line-height:1.75; color:var(--ink-soft);
  margin-bottom:28px;
}
.product-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:22px;
}
.product-grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
.product-panel{
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 26px 24px;
  border-top:3px solid var(--red);
}
.product-panel h3{
  font-size:12.5px; font-weight:700; letter-spacing:.1em; text-transform:uppercase;
  color:var(--navy-700); margin-bottom:14px;
}
.product-panel > p{
  font-size:15.5px; color:var(--ink-soft); margin-bottom:12px;
}
.product-list li{
  position:relative;
  padding-left:18px;
  font-size:15.5px; line-height:1.55; color:var(--ink-soft);
  margin-bottom:10px;
}
.product-list li:last-child{margin-bottom:0}
.product-list li::before{
  content:"";
  position:absolute; left:0; top:.62em;
  width:6px; height:6px; border-radius:50%;
  background:var(--red);
}
.product-note{
  margin-top:22px;
  font-size:15.5px; line-height:1.75; color:var(--ink-soft);
}
.product-cta{margin-top:28px}

@media (max-width:1080px){
  .product-grid-3{grid-template-columns:repeat(2, minmax(0,1fr))}
}

@media (max-width:900px){
  .page-hero-media{
    background:
      linear-gradient(180deg, rgba(var(--navy-deep-rgb),.88) 0%, rgba(var(--navy-deep-rgb),.72) 50%, rgba(var(--navy-deep-rgb),.92) 100%),
      url("../img/etanol-lab-11.jpg") center / cover no-repeat;
  }
  .page-hero-inner{padding-block:28px 40px}
}

@media (max-width:640px){
  .product-grid,
  .product-grid-3{grid-template-columns:1fr}
  .product-head{align-items:flex-start}
  .product-panel{padding:24px 20px 22px}
}

/* ---------- 16. Stranica Održivost ---------- */
.sustain-intro{
  padding-block:clamp(48px, 6vw, 88px);
  background:var(--bg);
}
.sustain-intro-grid{
  display:grid;
  grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);
  gap:clamp(32px, 5vw, 72px);
  align-items:start;
}
.sustain-intro .eyebrow{margin-bottom:10px}
.sustain-intro .section-title{
  text-align:left;
  font-size:clamp(24px, 2.8vw, 34px);
}
.sustain-intro .rule-left{margin-bottom:0}
.sustain-copy p{
  font-size:15.5px; line-height:1.75; color:var(--ink-soft);
}
.sustain-copy p + p{margin-top:18px}

.sustain-cycle{
  background:var(--bg-soft);
  padding-block:clamp(40px, 5vw, 72px);
}
.cycle-head{text-align:center; margin-bottom:36px}
.cycle-head h2{
  font-family:var(--ff-display);
  font-size:clamp(18px, 2vw, 22px); font-weight:700;
  letter-spacing:.08em; text-transform:uppercase;
  color:var(--navy-700);
}
.cycle-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0,1fr));
  gap:18px;
}
.cycle-item{
  position:relative;
  background:var(--bg);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px 22px 24px;
  text-align:center;
}
.cycle-item .ic{color:var(--navy-600); margin:0 auto 16px}
.cycle-num{
  display:block;
  font-size:11px; font-weight:700; letter-spacing:.16em; text-transform:uppercase;
  color:var(--red); margin-bottom:8px;
}
.cycle-item h3{
  font-family:var(--ff-display);
  font-size:15px; font-weight:700; letter-spacing:.04em; text-transform:uppercase;
  color:var(--navy-700); margin-bottom:8px;
}
.cycle-item p{font-size:14.5px; line-height:1.55; color:var(--ink-soft)}

.sustain-pillars{
  padding-block:clamp(48px, 5.5vw, 88px);
  background:var(--bg);
}
.pillars-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:28px;
}
.pillar{
  border-top:3px solid var(--red);
  background:var(--bg-soft);
  padding:32px 28px 28px;
}
.pillar-index{
  font-family:var(--ff-display);
  font-size:13px; font-weight:700; letter-spacing:.16em;
  color:var(--red); margin-bottom:14px;
}
.pillar h2{
  font-family:var(--ff-display);
  font-size:clamp(18px, 1.8vw, 22px); font-weight:700;
  letter-spacing:.02em; text-transform:uppercase;
  color:var(--navy-700); line-height:1.25; margin-bottom:16px;
}
.pillar p{font-size:15.5px; line-height:1.75; color:var(--ink-soft)}
.pillar p + p{margin-top:14px}

.sustain-vision{
  background:var(--navy-800);
  color:#fff;
  padding-block:clamp(48px, 5.5vw, 80px);
}
.sustain-vision-inner{max-width:820px}
.sustain-vision .eyebrow{margin-bottom:12px}
.sustain-vision h2{
  font-family:var(--ff-display);
  font-size:clamp(22px, 2.6vw, 32px); font-weight:700; line-height:1.3;
  letter-spacing:-.01em; margin-bottom:22px;
}
.sustain-vision p{
  font-size:15.5px; line-height:1.75; color:rgba(255,255,255,.78);
}
.sustain-vision p + p{margin-top:16px}
.sustain-vision .btn{margin-top:32px}

@media (max-width:1080px){
  .sustain-intro-grid{grid-template-columns:1fr; gap:28px}
  .cycle-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .pillars-grid{grid-template-columns:1fr}
}

@media (max-width:640px){
  .cycle-grid{grid-template-columns:1fr}
  .pillar{padding:26px 22px}
}

/* ---------- 17. Galerija ---------- */
.gallery{
  padding-block:clamp(48px, 5.5vw, 88px);
  background:var(--bg);
}
.gallery-head{text-align:center; margin-bottom:36px}
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:12px;
}
.gallery-item{
  display:block;
  overflow:hidden;
  border-radius:var(--radius);
  aspect-ratio:4/3;
  background:var(--navy-900);
}
.gallery-item img{
  width:100%; height:100%;
  object-fit:cover;
  transition:transform .4s ease;
}
.gallery-item:hover img{transform:scale(1.06)}

.lightbox{
  position:fixed; inset:0; z-index:200;
  display:none;
  align-items:center; justify-content:center;
  background:rgba(var(--navy-deep-rgb),.92);
  padding:24px;
}
.lightbox.is-open{display:flex}
.lightbox img{
  max-width:min(1200px, 92vw);
  max-height:86vh;
  width:auto; height:auto;
  object-fit:contain;
  border-radius:var(--radius);
}
.lightbox-btn{
  position:absolute;
  display:grid; place-items:center;
  width:48px; height:48px;
  color:#fff;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  font-size:22px; line-height:1;
  cursor:pointer;
  transition:background-color .2s ease;
}
.lightbox-btn:hover{background:var(--red)}
.lightbox-close{top:20px; right:20px; font-size:28px}
.lightbox-prev{left:20px; top:50%; transform:translateY(-50%)}
.lightbox-next{right:20px; top:50%; transform:translateY(-50%)}
body.lightbox-open{overflow:hidden}

@media (max-width:900px){
  .gallery-grid{grid-template-columns:repeat(2, minmax(0,1fr))}
  .lightbox-prev{left:10px}
  .lightbox-next{right:10px}
}

@media (max-width:640px){
  .gallery-grid{grid-template-columns:1fr 1fr; gap:8px}
}

/* ---------- 18. Kontakt ---------- */
.contact-page{
  padding-block:clamp(48px, 5.5vw, 88px);
  background:var(--bg);
}
.contact-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);
  gap:clamp(28px, 4vw, 56px);
  align-items:stretch;
}
.contact-map{
  position:relative;
  min-height:460px;
  overflow:hidden;
  border-radius:var(--radius);
  background:var(--bg-soft);
}
.contact-map iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
  border:0;
}
.contact-block{margin-bottom:32px}
.contact-block:last-child{margin-bottom:0}
.contact-block h2{
  font-family:var(--ff-display);
  font-size:clamp(20px, 2.2vw, 26px);
  font-weight:700;
  color:var(--navy-900);
  margin-bottom:14px;
}
.contact-list a{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:7px 0;
  font-size:15.5px;
  font-weight:500;
  line-height:1.45;
  color:var(--ink);
  transition:color .2s ease;
}
.contact-list a .ic{color:var(--red); margin-top:1px}
.contact-list a:hover{color:var(--red)}

@media (max-width:900px){
  .contact-layout{grid-template-columns:1fr; gap:36px}
  .contact-map{min-height:320px}
}

/* --- Štampa --- */
@media print{
  .site-header,.nav-toggle,.hero-buttons,.cta-action,.lightbox{display:none}
  .hero,.stats,.cta,.site-footer,.page-hero,.sustain-vision{background:#fff !important; color:#000}
  .hero-media,.page-hero-media{display:none}
}
