/* ═══════════════════════════════════════════════════════════════
   OMLA Battery — Design System
   Brend: navy #0D1F3C · zelena #4CBB47 · premium B2B-tech
   ═══════════════════════════════════════════════════════════════ */

:root {
  /* Boje */
  --navy:        #0D1F3C;
  --navy-card:   #152A4E;
  --navy-deep:   #0A1830;
  --green:       #4CBB47;
  --green-bright:#5FD659;
  --green-dim:   rgba(76, 187, 71, .14);
  --green-border:rgba(76, 187, 71, .35);
  --green-glow:  rgba(76, 187, 71, .28);
  --white:       #FFFFFF;
  --grey:        #B0BEC5;
  --grey-dim:    #7d8da0;
  --border:      rgba(176, 190, 197, .12);
  --border-hover:rgba(176, 190, 197, .22);

  /* Sjene (slojevite za dubinu) */
  --shadow-card:  0 2px 6px rgba(0,0,0,.3), 0 16px 40px rgba(0,0,0,.32);
  --shadow-glow:  0 0 40px var(--green-glow);

  /* Forme */
  --nav-h: 76px;
  --container: min(1200px, 100% - 3rem);
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 100px;

  /* Font */
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

/* ═══ RESET ═══ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ═══ FOCUS (a11y) ═══ */
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 4px; }
:focus:not(:focus-visible) { outline: none; }

/* ═══ POZADINSKI GRADIENT ═══ */
.bg-mesh {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 12% 8%, rgba(76,187,71,.08), transparent 70%),
    radial-gradient(ellipse 50% 55% at 90% 85%, rgba(76,187,71,.06), transparent 70%),
    radial-gradient(ellipse 70% 40% at 50% 50%, rgba(21,42,78,.5), transparent 75%),
    var(--navy);
}

/* ═══ CONTAINER ═══ */
.container { width: var(--container); margin-inline: auto; }
.section { padding: 6rem 0; }
.section--sm { padding: 4rem 0; }

/* ═══ TIPOGRAFIJA ═══ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 800; letter-spacing: -.03em; }
.h2 { font-size: clamp(1.9rem, 3.8vw, 2.85rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 600; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green);
}
.eyebrow::before { content: ''; width: 1.75rem; height: 2px; background: var(--green); border-radius: 2px; }

.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--grey); line-height: 1.75; }
.muted { color: var(--grey); }

/* ═══ SEKCIJSKI ZAGLAVLJE ═══ */
.section-head { max-width: 640px; margin-bottom: 3.25rem; }
.section-head .eyebrow { margin-bottom: 1rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p { color: var(--grey); font-size: 1.05rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

/* ═══ ZELENI SEPARATOR (custom, ne hr) ═══ */
.sep-green {
  height: 2px; border: none;
  background: linear-gradient(90deg, transparent, var(--green-border), var(--green), var(--green-border), transparent);
  opacity: .7;
}

/* ═══ DUGMAD ═══ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .9rem 1.9rem; border-radius: var(--radius-pill);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:active { transform: translateY(0) scale(.98); }

.btn--primary {
  background: var(--green); color: var(--navy-deep);
  box-shadow: 0 6px 20px rgba(76,187,71,.28);
}
.btn--primary:hover {
  background: var(--green-bright); transform: translateY(-2px);
  box-shadow: 0 10px 32px var(--green-glow), var(--shadow-glow);
}

.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid var(--border-hover);
}
.btn--ghost:hover {
  border-color: var(--green); color: var(--green);
  background: var(--green-dim); transform: translateY(-2px);
}

.btn--green-outline {
  background: transparent; color: var(--green);
  border: 1.5px solid var(--green-border);
}
.btn--green-outline:hover { background: var(--green); color: var(--navy-deep); transform: translateY(-2px); box-shadow: var(--shadow-glow); }

/* ═══ KARTICA (osnova) ═══ */
.card {
  background: var(--navy-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
/* zelena linija na vrhu (reveal na hover) */
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--green-bright));
  transform: scaleX(0); transform-origin: left; transition: transform .35s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--green-border);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}
.card:hover::before { transform: scaleX(1); }

/* ═══ HEADER / NAV ═══ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}
.header.scrolled {
  background: rgba(13, 31, 60, .82);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,.25);
}
.header__inner {
  height: 100%; width: var(--container); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.header__logo img { height: 84px; width: auto; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative; font-family: var(--font-display); font-weight: 500;
  font-size: .95rem; color: var(--grey); padding: .35rem 0;
  transition: color .2s;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: -3px; height: 2px; width: 0;
  background: var(--green); border-radius: 2px; transition: width .25s ease;
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { width: 100%; }

.header__right { display: flex; align-items: center; gap: 1.25rem; }
.header__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--white);
  transition: color .2s;
}
.header__phone:hover { color: var(--green); }
.header__phone svg { width: 18px; height: 18px; color: var(--green); }
.header__socials { display: flex; gap: .65rem; }
.header__social {
  width: 38px; height: 38px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  background: var(--navy-card); border: 1px solid var(--border); color: var(--grey);
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.header__social:hover { color: var(--green); border-color: var(--green-border); background: var(--green-dim); transform: translateY(-2px); }
.header__social svg { width: 18px; height: 18px; }

.burger { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; }
.burger span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav__close { display: none; }

/* ═══ FOOTER ═══ */
.footer { background: var(--navy-deep); border-top: 1px solid var(--border); padding: 4rem 0 2rem; margin-top: 5rem; }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 2.5rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.footer__logo img { height: 80px; margin-bottom: 1.1rem; }
.footer__about { color: var(--grey); font-size: .92rem; max-width: 30ch; }
.footer__col-title { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 1.1rem; }
.footer__links { display: flex; flex-direction: column; gap: .65rem; }
.footer__links a, .footer__contact-item { color: var(--grey); font-size: .92rem; transition: color .2s; }
.footer__links a:hover { color: var(--green); }
.footer__contact-item { display: flex; align-items: center; gap: .65rem; margin-bottom: .65rem; }
.footer__contact-item svg { width: 17px; height: 17px; color: var(--green); flex-shrink: 0; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .85rem; color: var(--grey-dim); }
.footer__bar a { color: var(--grey); }
.footer__bar a:hover { color: var(--green); }

/* ═══ SCROLL REVEAL ═══ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1); }
.reveal.visible { opacity: 1; transform: none; }

/* ═══ REDUCED MOTION ═══ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 980px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .header__phone span, .header__socials { display: none; }
}
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .section { padding: 4rem 0; }
  .header__logo img { height: 64px; }
  .nav {
    position: fixed; inset: 0; top: 0;
    flex-direction: column; justify-content: center; gap: .5rem;
    background: rgba(10, 24, 48, .98); backdrop-filter: blur(24px);
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1); z-index: 200;
  }
  .nav.open { transform: translateX(0); }
  .nav__link { font-size: 1.5rem; padding: .75rem 2rem; }
  .nav__close { position: fixed; top: 1.1rem; right: 1.25rem; width: 44px; height: 44px; border-radius: 50%; background: var(--navy-card); border: 1px solid var(--border); display: none; align-items: center; justify-content: center; z-index: 210; }
  .nav.open ~ .nav__close, .nav__close.show { display: flex; }
  .burger { display: flex; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
}

/* ═══════════════════ POČETNA ═══════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 4rem;
  overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 75% 30%, rgba(76,187,71,.1), transparent 65%),
    linear-gradient(180deg, transparent, rgba(10,24,48,.6));
}
.hero__inner { max-width: 780px; }
.hero__eyebrow { margin-bottom: 1.5rem; }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--green), var(--green-bright));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__sub { font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--grey); margin-bottom: 1.25rem; max-width: 58ch; line-height: 1.65; }
.hero__desc { color: var(--grey); margin-bottom: 2.5rem; max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 2.5rem; padding-top: 2.25rem; border-top: 1px solid var(--border); }
.hero__stat-num { font-family: var(--font-display); font-size: 2.25rem; font-weight: 800; color: var(--green); line-height: 1; }
.hero__stat-label { font-size: .85rem; color: var(--grey); margin-top: .35rem; max-width: 16ch; }

/* Kartice-linkovi ka stranicama */
.nav-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.nav-card { display: flex; flex-direction: column; gap: 1rem; text-align: left; min-height: 190px; }
.nav-card__icon {
  width: 54px; height: 54px; border-radius: 14px; flex-shrink: 0;
  background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  transition: transform .3s, box-shadow .3s;
}
.nav-card:hover .nav-card__icon { transform: scale(1.08); box-shadow: var(--shadow-glow); }
.nav-card__icon svg { width: 26px; height: 26px; }
.nav-card h3 { color: var(--white); }
.nav-card p { color: var(--grey); font-size: .92rem; flex: 1; }
.nav-card__more { display: inline-flex; align-items: center; gap: .4rem; color: var(--green); font-family: var(--font-display); font-weight: 600; font-size: .9rem; transition: gap .2s; }
.nav-card:hover .nav-card__more { gap: .7rem; }

/* Prednosti */
.prednosti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prednost { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.75rem; }
.prednost__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.prednost__icon svg { width: 22px; height: 22px; }
.prednost h3 { font-size: 1.05rem; margin-bottom: .4rem; color: var(--white); }
.prednost p { font-size: .9rem; color: var(--grey); }

/* Brendovi ćelija */
.brands { margin-top: 2.5rem; padding: 1.75rem 2rem; background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); }
.brands__label { font-family: var(--font-display); font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--grey-dim); margin-bottom: 1rem; text-align: center; }
.brands__list { display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: center; }
.brands__item { font-family: var(--font-display); font-weight: 600; font-size: .95rem; color: var(--grey); padding: .5rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius-pill); transition: color .2s, border-color .2s; }
.brands__item:hover { color: var(--green); border-color: var(--green-border); }

/* Preview kategorija */
.cat-preview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.cat-chip { display: flex; align-items: center; gap: .9rem; padding: 1.25rem 1.5rem; background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); transition: transform .25s, border-color .25s, box-shadow .25s; }
.cat-chip:hover { transform: translateY(-3px); border-color: var(--green-border); box-shadow: var(--shadow-glow); }
.cat-chip__icon { color: var(--green); display: flex; }
.cat-chip__icon svg { width: 24px; height: 24px; }
.cat-chip span { font-family: var(--font-display); font-weight: 500; font-size: .95rem; }

/* CTA strip (reparacija) */
.cta-strip {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  padding: 2.5rem 3rem; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--navy-card), rgba(76,187,71,.08));
  border: 1px solid var(--green-border);
}
.cta-strip h3 { margin-bottom: .4rem; }
.cta-strip p { color: var(--grey); max-width: 48ch; }

@media (max-width: 900px) {
  .nav-cards, .prednosti-grid, .cat-preview-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .nav-cards, .prednosti-grid, .cat-preview-grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 1.5rem; }
  .cta-strip { padding: 2rem 1.5rem; }
}

/* ═══════════════════ TEKSTURA & DEKOR ═══════════════════ */
/* Suptilni noise preko svega — skida "plastični" plošni dojam */
body::before {
  content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .022;
}

/* Dot-grid pattern (tematski, za tamne sekcije) */
.pattern-dots { position: relative; }
.pattern-dots::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(176,190,197,.08) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000, transparent 75%);
}
.pattern-dots > .container { position: relative; z-index: 1; }

/* Circuit-grid linije (suptilno) */
.pattern-grid { position: relative; }
.pattern-grid > .container { position: relative; z-index: 1; }
.pattern-grid::after {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(76,187,71,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,187,71,.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000, transparent 70%);
  mask-image: radial-gradient(ellipse 70% 70% at 70% 30%, #000, transparent 70%);
}

/* Hero grid (zaseban element, da ne gazi hero::after) */
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(76,187,71,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,187,71,.04) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 38%, #000, transparent 72%);
  mask-image: radial-gradient(ellipse 65% 75% at 72% 38%, #000, transparent 72%);
}

/* ── HERO dekor ── */
.hero { position: relative; }
.hero > .container { position: relative; z-index: 2; }
.hero__decor { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .8; }
.hero__orb--1 { width: 460px; height: 420px; top: -8%; right: 4%;
  background: radial-gradient(ellipse, rgba(76,187,71,.22), transparent 70%);
  animation: orb-float 16s ease-in-out infinite; }
.hero__orb--2 { width: 380px; height: 360px; bottom: -6%; left: -4%;
  background: radial-gradient(ellipse, rgba(21,42,78,.6), transparent 70%);
  animation: orb-float 20s ease-in-out infinite reverse; }
@keyframes orb-float {
  0%,100% { transform: translate(0,0); }
  33% { transform: translate(34px,-26px); }
  66% { transform: translate(-22px,18px); }
}
/* Veliki battery-cells motiv, desno, faint */
.hero__battery {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: min(46vw, 620px); height: auto; opacity: .5;
}
.hero__battery .cell-fill { animation: cell-pulse 4s ease-in-out infinite; }
.hero__battery .cell-fill:nth-child(2) { animation-delay: .5s; }
.hero__battery .cell-fill:nth-child(3) { animation-delay: 1s; }
.hero__battery .cell-fill:nth-child(4) { animation-delay: 1.5s; }
@keyframes cell-pulse { 0%,100% { opacity: .25; } 50% { opacity: .7; } }

/* Zeleni glow iza CTA strip-a */
.cta-strip { position: relative; overflow: hidden; }
.cta-strip::before {
  content: ''; position: absolute; right: -10%; top: -60%; width: 300px; height: 300px;
  background: radial-gradient(circle, var(--green-glow), transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero__battery { display: none; }
  .hero__orb--1 { width: 300px; height: 280px; }
}

/* ═══════════════════ PAGE HERO (unutrašnje) ═══════════════════ */
.page-hero { padding: calc(var(--nav-h) + 4rem) 0 3rem; position: relative; }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero__sub { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--grey); max-width: 56ch; line-height: 1.7; }

/* ═══════════════════ CONTENT (O nama, tekst) ═══════════════════ */
.prose { max-width: 760px; }
.prose p { color: var(--grey); font-size: 1.05rem; margin-bottom: 1.25rem; line-height: 1.8; }
.prose p strong { color: var(--white); font-weight: 600; }
.content-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3.5rem; align-items: start; }
.feature-list { display: flex; flex-direction: column; gap: 1rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-item__check { width: 28px; height: 28px; border-radius: 8px; background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-item__check svg { width: 16px; height: 16px; }
.feature-item p { color: var(--grey); font-size: .98rem; margin: 0; }
.feature-item p strong { color: var(--white); }

/* ═══════════════════ FORME ═══════════════════ */
.form-wrap { background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 2.25rem; box-shadow: var(--shadow-card); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-family: var(--font-display); font-size: .85rem; font-weight: 500; color: var(--grey); margin-bottom: .5rem; }
.field label .req { color: var(--green); }
.field input, .field select, .field textarea {
  width: 100%; background: var(--navy-deep); border: 1.5px solid var(--border);
  border-radius: 12px; padding: .85rem 1.1rem; color: var(--white); font-size: .95rem;
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--grey-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); box-shadow: 0 0 0 3px var(--green-dim);
}
.field select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234CBB47'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; padding-right: 2.5rem; }
.field select option { background: var(--navy-deep); }
.field textarea { resize: vertical; min-height: 120px; }
.field-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { display: none; align-items: center; gap: .65rem; padding: .9rem 1.1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; margin-top: 1rem; }
.form-msg.show { display: flex; }
.form-msg--ok { background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green-bright); }
.form-msg--err { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.3); color: #f87171; }
.form-actions { display: flex; flex-wrap: wrap; gap: .85rem; align-items: center; margin-top: .5rem; }

/* Viber / WhatsApp dugmad */
.contact-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 1.5rem; }
.btn--viber { background: #7360f2; color: #fff; }
.btn--viber:hover { background: #8573ff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(115,96,242,.4); }
.btn--whatsapp { background: #25D366; color: #06351a; }
.btn--whatsapp:hover { background: #2eea73; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.4); }

/* ═══════════════════ KONTAKT ═══════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: start; }
.contact-info-item { display: flex; gap: 1.1rem; align-items: center; padding: 1.25rem 1.4rem; background: var(--navy-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 1rem; transition: border-color .25s, transform .25s; }
.contact-info-item:hover { border-color: var(--green-border); transform: translateX(4px); }
.contact-info-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-item__icon svg { width: 20px; height: 20px; }
.contact-info-item__label { font-size: .78rem; color: var(--grey-dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .15rem; }
.contact-info-item__value { font-family: var(--font-display); font-weight: 600; color: var(--white); word-break: break-word; }
.map-wrap { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); line-height: 0; }
.map-wrap iframe { width: 100%; height: 320px; border: 0; filter: grayscale(.3) contrast(1.05); }

/* ═══════════════════ SHOP ═══════════════════ */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.cat-card { display: flex; flex-direction: column; gap: 1rem; min-height: 200px; }
.cat-card__icon { width: 56px; height: 56px; border-radius: 14px; background: var(--green-dim); border: 1px solid var(--green-border); color: var(--green); display: flex; align-items: center; justify-content: center; transition: transform .3s, box-shadow .3s; }
.cat-card:hover .cat-card__icon { transform: scale(1.08); box-shadow: var(--shadow-glow); }
.cat-card__icon svg { width: 28px; height: 28px; }
.cat-card h3 { color: var(--white); }
.cat-card p { color: var(--grey); font-size: .92rem; flex: 1; }
.cat-card__count { font-family: var(--font-display); font-size: .82rem; color: var(--green); font-weight: 600; }

.shop-bc { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--grey); margin-bottom: 1.5rem; }
.shop-bc a { color: var(--green); }
.shop-bc svg { width: 14px; height: 14px; color: var(--grey-dim); }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.prod-card { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.prod-card__img { aspect-ratio: 4/3; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prod-card__img img { width: 100%; height: 100%; object-fit: cover; }
.prod-card__img-ph { color: var(--grey-dim); display: flex; flex-direction: column; align-items: center; gap: .5rem; font-size: .8rem; }
.prod-card__img-ph svg { width: 40px; height: 40px; color: rgba(76,187,71,.3); }
.prod-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.prod-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--white); margin-bottom: .4rem; }
.prod-card__desc { font-size: .9rem; color: var(--grey); margin-bottom: 1rem; flex: 1; }
.prod-card__bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: auto; }
.prod-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--green); }
.prod-card__price.upit { font-size: .95rem; color: var(--grey); }

.empty-state { text-align: center; padding: 3.5rem 2rem; background: var(--navy-card); border: 1px dashed var(--border-hover); border-radius: var(--radius-lg); }
.empty-state svg { width: 48px; height: 48px; color: rgba(76,187,71,.4); margin: 0 auto 1rem; }
.empty-state h3 { color: var(--white); margin-bottom: .5rem; }
.empty-state p { color: var(--grey); margin-bottom: 1.5rem; }

/* ═══════════════════ MODAL ═══════════════════ */
.modal-overlay { position: fixed; inset: 0; z-index: 300; background: rgba(5,12,28,.78); backdrop-filter: blur(6px); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.modal-overlay.open { display: flex; }
.modal { background: var(--navy-card); border: 1px solid var(--green-border); border-radius: var(--radius-lg); width: 100%; max-width: 480px; max-height: 92vh; overflow-y: auto; padding: 2rem; box-shadow: var(--shadow-card), var(--shadow-glow); }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.modal__title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; }
.modal__sub { font-size: .88rem; color: var(--grey); margin-top: .25rem; }
.modal__close { width: 36px; height: 36px; border-radius: 10px; background: var(--navy-deep); border: 1px solid var(--border); color: var(--grey); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: color .2s, border-color .2s; }
.modal__close:hover { color: var(--green); border-color: var(--green-border); }

@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .cat-grid, .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-grid, .prod-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 1.5rem; }
}

/* ═══════════════════ ATMOSFERA — razbijanje navy monotonije ═══════════════════ */

/* Sekcije: relativne + glow kao child element (bez pseudo-konflikta) */
.section { position: relative; }
/* overflow visible — da donji glow ne bude odsječen na rubu sekcije (body overflow-x:hidden štiti od horiz. scrolla) */
.section--decor { overflow: visible; }
.section--decor > .container { position: relative; z-index: 2; }

/* Zeleni glow mrlje u praznim dijelovima */
.glow { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(50px); }
.glow--tr { top: -140px; right: -100px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(76,187,71,.18), transparent 70%); }
.glow--bl { bottom: -160px; left: -120px; width: 460px; height: 460px; background: radial-gradient(circle, rgba(76,187,71,.13), transparent 70%); }
.glow--cl { top: 30%; left: -160px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(21,42,78,.7), transparent 70%); }

/* VIDLJIVIJI dot pattern */
.pattern-dots::before {
  background-image: radial-gradient(rgba(176,190,197,.16) 1.5px, transparent 1.6px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, #000 45%, transparent 82%);
  mask-image: radial-gradient(ellipse 95% 85% at 50% 50%, #000 45%, transparent 82%);
}

/* VIDLJIVIJI circuit grid + nodovi na presjecima */
.pattern-grid::after {
  background-image:
    linear-gradient(rgba(76,187,71,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,187,71,.08) 1px, transparent 1px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 72% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 85% at 72% 30%, #000 25%, transparent 78%);
}
.pattern-grid::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(rgba(76,187,71,.32) 2px, transparent 2.5px);
  background-size: 50px 50px;
  -webkit-mask-image: radial-gradient(ellipse 80% 85% at 72% 30%, #000 22%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 85% at 72% 30%, #000 22%, transparent 72%);
}

/* Glowing divider između sekcija */
.divider-glow { position: relative; height: 1px; border: none; margin: 0; background: linear-gradient(90deg, transparent, var(--green-border) 35%, var(--green-border) 65%, transparent); }
.divider-glow::after { content: ''; position: absolute; left: 50%; top: -1.5px; transform: translateX(-50%); width: 46%; height: 3px; background: var(--green); filter: blur(7px); opacity: .55; border-radius: 4px; }

/* ── BOLD trust band (zelena energija, lomi plavo) ── */
.trust-band { position: relative; overflow: hidden; padding: 4.5rem 0;
  background:
    radial-gradient(ellipse 60% 120% at 18% 50%, rgba(76,187,71,.16), transparent 70%),
    radial-gradient(ellipse 50% 120% at 85% 30%, rgba(76,187,71,.1), transparent 70%),
    linear-gradient(120deg, var(--navy-deep), #0f2747);
  border-top: 1px solid var(--green-border); border-bottom: 1px solid var(--green-border);
}
.trust-band::before { /* circuit linije */
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(76,187,71,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76,187,71,.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000, transparent);
  mask-image: linear-gradient(90deg, transparent, #000, transparent);
}
.trust-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.trust-item { display: flex; align-items: center; gap: 1.1rem; }
.trust-item__icon { width: 58px; height: 58px; border-radius: 16px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  background: var(--green); color: var(--navy-deep); box-shadow: 0 8px 28px var(--green-glow); }
.trust-item__icon svg { width: 28px; height: 28px; }
.trust-item__num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--white); }
.trust-item__label { font-size: .92rem; color: var(--grey); margin-top: .2rem; }

/* ── Veliki dekorativni motiv (lightning/energija) u praznom dijelu ── */
.sec-motif { position: absolute; pointer-events: none; z-index: 0; opacity: .06; color: var(--green); }
.sec-motif svg { width: 100%; height: 100%; }
.sec-motif--r { right: -4%; top: 50%; transform: translateY(-50%); width: 340px; }
.sec-motif--l { left: -5%; bottom: -10%; width: 300px; }

@media (max-width: 768px) {
  .trust-band__inner { grid-template-columns: 1fr; gap: 1.25rem; }
  .sec-motif { display: none; }
  .glow { filter: blur(40px); }
}

/* ── Page-hero glow (sve unutrašnje stranice) ── */
.page-hero { overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: -140px; right: -60px; width: 440px; height: 440px; border-radius: 50%; background: radial-gradient(circle, rgba(76,187,71,.18), transparent 70%); filter: blur(55px); pointer-events: none; z-index: 0; }
.page-hero::after { content: ''; position: absolute; bottom: -160px; left: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(21,42,78,.6), transparent 70%); filter: blur(55px); pointer-events: none; z-index: 0; }
.page-hero > .container { position: relative; z-index: 1; }

/* ── Separator hero → sadržaj (unutrašnje stranice) ── */
.page-divider { position: relative; width: var(--container); margin: 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-border) 16%, rgba(76,187,71,.65) 50%, var(--green-border) 84%, transparent); }
.page-divider::before { content: ''; position: absolute; left: 50%; top: -5px; transform: translateX(-50%);
  width: 160px; height: 11px; background: radial-gradient(ellipse, var(--green-glow), transparent 70%); filter: blur(4px); pointer-events: none; }
