/* ================================================
   HELIK Invest — style.css
   ================================================ */

/* --- Variables --------------------------------- */
:root {
  --orange:       #f7941d;
  --orange-dark:  #d97d10;
  --dark:         #1a1a1a;
  --dark-2:       #272727;
  --navy:         #0b1627;
  --navy-2:       #0f1e36;
  --gray:         #f5f5f5;
  --gray-2:       #e0e0e0;
  --text:         #333333;
  --text-light:   #666666;
  --white:        #ffffff;
  --font:         'Roboto', sans-serif;
  --shadow:       0 2px 16px rgba(0,0,0,0.07);
  --shadow-hover: 0 8px 32px rgba(0,0,0,0.14);
  --transition:   0.28s ease;
  --radius:       2px;
  --max-width:    1200px;
}

/* --- Reset ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select, button { font-family: var(--font); }

/* --- Typography -------------------------------- */
h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; line-height: 1.3; }
p  { font-size: 0.97rem; color: var(--text-light); }

/* --- Containers -------------------------------- */
.container  { max-width: var(--max-width); margin: 0 auto; padding: 0 28px; }
.section    { padding: 88px 0; }

/* --- Section header --------------------------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { color: var(--dark); margin-bottom: 12px; }
.section-header p  { max-width: 580px; margin: 0 auto; }
.overline {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

/* --- CAD grid pattern ------------------------- */
.cad-grid {
  background-image:
    linear-gradient(rgba(247,148,29,0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.065) 1px, transparent 1px);
  background-size: 48px 48px;
}
.cad-grid-dark {
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-2);
  height: 72px;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.navbar__logo img { height: 46px; width: auto; }

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.navbar__nav a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  transition: color var(--transition);
}
.navbar__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}
.navbar__nav a:hover,
.navbar__nav a.active { color: var(--orange); }
.navbar__nav a:hover::after,
.navbar__nav a.active::after { width: 100%; }

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

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-btn {
  background: none;
  border: none;
  padding: 5px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-light);
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.lang-btn.active { background: var(--orange); color: var(--white); }
.lang-btn:hover:not(.active) { background: var(--gray); }

/* Hamburger */
.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px 4px;
  background: none;
  border: none;
}
.navbar__burger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dark);
  transition: var(--transition);
}
.navbar__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.open span:nth-child(2) { opacity: 0; }
.navbar__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.navbar__mobile {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-2);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  padding: 16px 28px 28px;
  flex-direction: column;
  z-index: 999;
}
.navbar__mobile.open { display: flex; }
.navbar__mobile a {
  display: block;
  padding: 13px 0;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--gray);
  transition: color var(--transition);
}
.navbar__mobile a:hover { color: var(--orange); }
.navbar__mobile .lang-toggle { margin-top: 20px; }

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  border-radius: var(--radius);
  white-space: nowrap;
}
.btn-primary  { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); border-color: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,148,29,0.4); }
.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: var(--white); color: var(--dark); }
.btn-outline-dark { background: transparent; color: var(--dark); border-color: var(--dark); }
.btn-outline-dark:hover { background: var(--orange); color: var(--white); border-color: var(--orange); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(247,148,29,0.3); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); font-weight: 700; }
.btn-white:hover { background: transparent; color: var(--white); border-color: var(--white); transform: translateY(-2px); }

/* ================================================
   HERO — Main
   ================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  background: var(--navy);
  margin-top: 72px;
  overflow: hidden;
}

/* Subtle grid on hero */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 1;
}

/* Split layout */
.hero__layout {
  display: grid;
  grid-template-columns: 45fr 55fr;
  width: 100%;
  min-height: calc(100vh - 72px);
}

/* LEFT — text */
.hero__left {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 80px 52px 80px 0;
}
.hero__content { max-width: 520px; }

/* RIGHT — schematic / photo */
.hero__right {
  position: relative;
  overflow: hidden;
}

/* Gradient fade from navy to transparent (blends left edge into bg) */
.hero__right::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 160px;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* CAD image — fades out when real photo appears */
.hero__cad-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: left center;
  opacity: 0.72;
  filter: brightness(1.15) contrast(1.05);
  transition: opacity 1.6s ease;
}
.hero__cad-img.fade-out { opacity: 0; }

/* Real photo — fades in with zoom after delay */
.hero__real-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.07);
  transition: opacity 1.8s ease, transform 3.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.hero__real-img.visible { opacity: 0.58; transform: scale(1); }

/* ---- Viewport toggle ---- */
.hero__vtoggle {
  position: absolute;
  bottom: 22px;
  right: 22px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.hero__vtoggle-label {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
  transition: color 0.3s ease;
  padding-right: 2px;
}
.hero__vtoggle-track {
  position: relative;
  display: flex;
  background: rgba(11,22,39,0.72);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(247,148,29,0.35);
  border-radius: 2px;
  overflow: hidden;
}
.hero__vtoggle-indicator {
  position: absolute;
  top: 0; left: 0;
  width: 50%; height: 100%;
  background: var(--orange);
  border-radius: 1px;
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
  z-index: 0;
}
.hero__vtoggle-indicator.real { left: 50%; }
.hero__vbtn {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,0.4);
  font-family: 'Roboto Mono', monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.25s ease;
  white-space: nowrap;
}
.hero__vbtn svg { width: 13px; height: 13px; flex-shrink: 0; }
.hero__vbtn.active { color: var(--white); }
.hero__vbtn:not(.active):hover { color: rgba(255,255,255,0.75); }
/* Divider */
#vbtn-cad { border-right: 1px solid rgba(247,148,29,0.25); }

/* Orange accent line */
.hero__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 60%);
  z-index: 4;
}

/* CTA buttons (override generic animation for split hero) */
.hero__left .hero__cta {
  opacity: 0;
  animation: fadeInUp 0.5s ease 1.7s forwards;
}

/* ================================================
   HERO — Mini (inner pages)
   ================================================ */
.hero-mini {
  position: relative;
  padding: 144px 0 64px;
  background: var(--dark);
  margin-top: 72px;
  overflow: hidden;
}
.hero-mini::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  pointer-events: none;
}
.hero-mini__line {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--orange) 0%, transparent 60%);
}
.hero-mini__content { position: relative; z-index: 2; }
.hero-mini h1 { color: var(--white); margin-bottom: 10px; }
.hero-mini h1 .accent { color: var(--orange); }
.hero-mini__breadcrumb {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.hero-mini__breadcrumb a { color: rgba(255,255,255,0.4); transition: color var(--transition); }
.hero-mini__breadcrumb a:hover { color: var(--orange); }
.hero-mini__breadcrumb .sep { margin: 0 8px; }
.hero-mini__breadcrumb .current { color: var(--orange); }

/* ================================================
   PARALLAX SECTIONS
   ================================================ */
.parallax-section {
  position: relative;
  min-height: 380px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-color: var(--dark-2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-section__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.62);
}
.parallax-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 70px 28px;
  max-width: 760px;
}
.parallax-section__content h2 { color: var(--white); margin-bottom: 14px; }
.parallax-section__content p { color: rgba(255,255,255,0.75); margin-bottom: 32px; font-size: 1rem; }
.parallax-section__content .overline { color: rgba(247,148,29,0.9); }

/* ================================================
   ABOUT BRIEF (Index)
   ================================================ */
.about-section {
  padding: 52px 0;
  background: #f8f8f8;
  position: relative;
  overflow: hidden;
}
.about-brief {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 56px;
  align-items: center;
  position: relative;
}
.about-brief__text {
  border-left: 4px solid var(--orange);
  padding-left: 32px;
}
.about-brief__text .overline { display: block; margin-bottom: 10px; }
.about-brief__text h2 { color: var(--dark); margin-bottom: 18px; }
.about-brief__text p  { margin-bottom: 16px; line-height: 1.75; }
.about-brief__text .btn { margin-top: 8px; }

/* Logo evolucija — desna kolona */
.logo-evo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.logo-evo__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.logo-evo__img--old {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  object-fit: contain;
}
.logo-evo__img--new {
  max-width: 200px;
  max-height: 110px;
  width: auto;
  object-fit: contain;
}
.logo-evo__year {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.62rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}
.logo-evo__connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--orange);
  padding: 4px 0;
  position: relative;
}
.logo-evo__connector svg {
  width: 32px;
  height: 80px;
}
/* ================================================
   USLUGE BAND — Parallax strip
   ================================================ */
.svc-band {
  position: relative;
  background: url('../Fajlovi/Slike/Ventilacija i Klimatizacija - Caffora GM.jpg') center / cover fixed;
  overflow: hidden;
}
.svc-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg,
    rgba(247,148,29,0.85) 0%,
    rgba(200,90,5,0.78) 30%,
    rgba(10,18,35,0.93) 65%
  );
  z-index: 0;
}
.svc-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.svc-band__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 52px 24px;
  text-decoration: none;
  color: #fff;
  border-right: 1px solid rgba(255,255,255,0.12);
  position: relative;
  gap: 16px;
  transition: background 0.35s ease;
  overflow: hidden;
}
.svc-band__item:last-child { border-right: none; }
.svc-band__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.35s ease;
}
.svc-band__item:hover::after { background: rgba(255,255,255,0.06); }
.svc-band__icon {
  width: 52px;
  height: 52px;
  color: rgba(255,255,255,0.88);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1), color 0.25s ease;
}
.svc-band__item:hover .svc-band__icon {
  transform: translateY(-5px) scale(1.12);
  color: #fff;
}
.svc-band__icon svg { width: 100%; height: 100%; }
.svc-band__title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
  color: rgba(255,255,255,0.92);
  transition: color 0.25s ease;
}
.svc-band__item:hover .svc-band__title { color: #fff; }
.svc-band__bar {
  width: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
  transition: width 0.55s cubic-bezier(0.22,1,0.36,1);
}
.svc-band__item.visible .svc-band__bar { width: 36px; }
.svc-band__item:hover .svc-band__bar { width: 52px; }

@media (max-width: 900px) {
  .svc-band__inner { grid-template-columns: repeat(2, 1fr); }
  .svc-band__item:nth-child(2) { border-right: none; }
  .svc-band__item:nth-child(1),
  .svc-band__item:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
}
@media (max-width: 480px) {
  .svc-band__inner { grid-template-columns: 1fr 1fr; padding: 0 12px; }
  .svc-band__item { padding: 36px 12px; gap: 12px; }
  .svc-band__icon { width: 40px; height: 40px; }
  .svc-band__title { font-size: 0.7rem; }
}

/* Klijenti — marquee slider */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.clients-marquee {
  overflow: hidden;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  padding: 8px 0;
}
.clients-marquee__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.clients-marquee__track:hover { animation-play-state: paused; }
.clients-marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  border-right: 1px solid var(--gray-2);
  flex-shrink: 0;
}
.clients-marquee__item img {
  max-height: 80px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease;
}
.clients-marquee__item:hover img { filter: grayscale(0%) opacity(1); }

@media (max-width: 768px) {
  .about-brief { grid-template-columns: 1fr; }
  .logo-evo { flex-direction: row; justify-content: center; }
  .logo-evo__connector { padding: 0 8px; }
  .logo-evo__connector svg { width: 60px; height: 32px; transform: rotate(-90deg); }
  .logo-evo__span-label { display: none; }
  .clients-marquee__item { padding: 16px 24px; }
  .clients-marquee__item img { max-height: 56px; max-width: 140px; }
}

.about-inline-stats {
  display: flex;
  gap: 0;
  margin: 28px 0 32px;
  border-top: 1px solid var(--gray-2);
  border-bottom: 1px solid var(--gray-2);
  padding: 20px 0;
}
.about-inline-stat {
  flex: 1;
  padding: 0 24px 0 0;
  border-right: 1px solid var(--gray-2);
  margin-right: 24px;
}
.about-inline-stat:last-child {
  border-right: none;
  margin-right: 0;
}
.about-inline-stat__num {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.about-inline-stat__label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 5px;
}

/* ================================================
   LOGO EVOLUCIJA
   ================================================ */
.logo-evolution {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--gray-2);
}
.logo-evolution__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-evolution__img--old {
  max-height: 48px;
  width: auto;
  filter: grayscale(100%) opacity(0.5);
}
.logo-evolution__img--new {
  max-height: 62px;
  width: auto;
}
.logo-evolution__year {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.65rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
}
.logo-evolution__arrow {
  flex: 1;
  color: var(--orange);
  display: flex;
  align-items: center;
  min-width: 60px;
}
.logo-evolution__arrow svg {
  width: 100%;
  height: 16px;
}

/* ================================================
   KAKO RADIMO
   ================================================ */
.how-section { background: #fff; }
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}
.how-step {
  padding: 0 48px 0 0;
  margin-right: 48px;
  border-right: 1px solid var(--gray-2);
}
.how-step:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.how-step__num {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.14em;
  margin-bottom: 20px;
}
.how-step__num::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
  margin-top: 10px;
  opacity: 0.5;
}
.how-step__title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.how-step__text {
  font-size: 0.93rem;
  color: var(--text-light);
  line-height: 1.75;
}

/* ================================================
   KLIJENTI — tamna verzija
   ================================================ */
.clients-dark-section { background: #0b1627; }
.clients-dark-section .section-header h2 { color: #fff; }
.clients-dark-section .section-header p  { color: rgba(255,255,255,0.5); }
.clients-dark-section .overline          { color: rgba(247,148,29,0.85); }
.clients-dark-section .client-item {
  color: rgba(255,255,255,0.45);
  border-color: rgba(255,255,255,0.07);
}
.clients-dark-section .client-item:hover {
  color: var(--orange);
  border-color: rgba(247,148,29,0.25);
  background: rgba(247,148,29,0.05);
}

/* ================================================
   KAKO RADIMO FINAL — tamna, naglašena
   ================================================ */
.how-final-section { background: #0b1627; }
.how-final-section .section-header h2 { color: #fff; }
.how-final-section .section-header p  { color: rgba(255,255,255,0.5); }
.how-final-section .overline          { color: rgba(247,148,29,0.85); }
.how-final-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 48px;
}
.how-final-step {
  padding: 0 48px 0 0;
  margin-right: 48px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.how-final-step:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}
.how-final__num {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 3.8rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.how-final-step h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.how-final-step p {
  color: rgba(255,255,255,0.5);
  font-size: 0.93rem;
  line-height: 1.75;
}
@media (max-width: 768px) {
  .how-final-grid { grid-template-columns: 1fr; }
  .how-final-step { padding: 0 0 32px; margin: 0 0 32px; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
  .how-final-step:last-child { border-bottom: none; padding-bottom: 0; margin-bottom: 0; }
}

/* ================================================
   HERO STRIP — dark produžetak hero-a
   ================================================ */
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #060f1d;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.hero-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 28px 28px;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 3px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.hero-strip__item:last-child { border-right: none; }
.hero-strip__item::before {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.hero-strip__item:hover { background: rgba(255,255,255,0.03); }
.hero-strip__item:hover::before { transform: scaleX(1); }
.hero-strip__icon svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  margin-top: 2px;
  stroke: rgba(247,148,29,0.55);
  transition: stroke 0.25s ease;
}
.hero-strip__item:hover .hero-strip__icon svg { stroke: var(--orange); }
.hero-strip__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.hero-strip__title {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  transition: color 0.25s ease;
}
.hero-strip__item:hover .hero-strip__title { color: #fff; }
.hero-strip__sub {
  display: block;
  color: rgba(255,255,255,0.35);
  font-size: 0.76rem;
  line-height: 1.55;
  transition: color 0.25s ease;
}
.hero-strip__item:hover .hero-strip__sub { color: rgba(255,255,255,0.55); }
.hero-strip__arrow {
  color: var(--orange);
  font-size: 0.9rem;
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.hero-strip__item:hover .hero-strip__arrow { opacity: 1; transform: translateX(0); }
@media (max-width: 900px) {
  .hero-strip { grid-template-columns: repeat(2, 1fr); }
  .hero-strip__item { border-bottom: 1px solid rgba(255,255,255,0.06); }
}
@media (max-width: 480px) {
  .hero-strip { grid-template-columns: 1fr; }
}

/* ================================================
   CARDS — Oblasti & Usluge
   ================================================ */
.cards-grid   { display: grid; gap: 22px; }
.cards-3      { grid-template-columns: repeat(3, 1fr); }
.cards-5      { grid-template-columns: repeat(5, 1fr); }
.cards-6      { grid-template-columns: repeat(6, 1fr); }

.card {
  background: var(--white);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  border-left: 3px solid transparent;
  transition: var(--transition);
  position: relative;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-left-color: var(--orange);
}
.card__icon {
  width: 48px; height: 48px;
  margin-bottom: 20px;
  color: var(--orange);
}
.card h3 { color: var(--dark); margin-bottom: 10px; }
.card p  { font-size: 0.88rem; line-height: 1.65; }

/* ================================================
   SVC TRIO — editorial service items
   ================================================ */
.svc-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 40px;
}
.svc-divider::before,
.svc-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-2);
}
.svc-divider__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

.svc-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--gray-2);
}

.svc-item {
  display: block;
  padding: 36px 32px 40px;
  border-right: 1px solid var(--gray-2);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
  color: inherit;
}
.svc-item:last-child { border-right: none; }
.svc-item:hover { background: #fff8f0; }

.svc-item__num {
  display: block;
  font-family: 'Roboto Mono', monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.svc-item__title {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.svc-item__text {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
}

.svc-item__arrow {
  display: inline-block;
  margin-top: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.05em;
  transition: transform var(--transition);
}
.svc-item:hover .svc-item__arrow { transform: translateX(4px); }

/* ================================================
   STATS / COUNTERS
   ================================================ */
.stats-strip { background: #fff8f0; border-top: 1px solid #fde8cc; border-bottom: 1px solid #fde8cc; }
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-item {
  text-align: center;
  padding: 52px 24px;
  border-right: 1px solid #fde8cc;
}
.stat-item:last-child { border-right: none; }
.stat-item__num {
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-item__label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 8px;
}

/* ================================================
   CLIENTS GRID
   ================================================ */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.client-item {
  background: var(--gray);
  padding: 18px 12px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  cursor: default;
}
.client-item:hover {
  color: var(--orange);
  border-bottom-color: var(--orange);
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

/* ================================================
   SECTORS
   ================================================ */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sector-card {
  position: relative;
  height: 210px;
  background: var(--dark-2);
  display: flex;
  align-items: flex-end;
  padding: 22px;
  overflow: hidden;
  transition: var(--transition);
}
.sector-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.sector-card__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  transition: opacity var(--transition);
}
.sector-card:hover .sector-card__bg { opacity: 0.25; }
.sector-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(247,148,29,0.75) 0%, rgba(0,0,0,0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.sector-card:hover .sector-card__overlay { opacity: 1; }
.sector-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 2.8rem;
  opacity: 0.18;
  transition: var(--transition);
}
.sector-card:hover .sector-card__icon { opacity: 0.4; transform: translate(-50%, -58%); }
.sector-card h3 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1rem;
}

/* ================================================
   CTA SECTION
   ================================================ */
.cta-section {
  background-color: #e07d0a;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 88px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(247,148,29,0.86) 0%, rgba(190,80,5,0.92) 100%);
  z-index: 1;
}
.cta-section::after {
  content: '';
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  pointer-events: none;
  z-index: 2;
}
.cta-section__content { position: relative; z-index: 3; }
.cta-section h2 { color: var(--white); margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,0.82); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; font-size: 1rem; }

/* ================================================
   TIMELINE (O nama)
   ================================================ */
.timeline { position: relative; max-width: 860px; margin: 0 auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--gray-2);
  transform: translateX(-50%);
}
.tl-item {
  display: grid;
  grid-template-columns: 1fr 28px 1fr;
  gap: 32px;
  margin-bottom: 44px;
  align-items: start;
}
.tl-item:last-child { margin-bottom: 0; }
.tl-left  { text-align: right; }
.tl-right { text-align: left; }
.tl-dot {
  width: 14px; height: 14px;
  background: var(--orange);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
  margin-top: 6px;
  position: relative;
  z-index: 2;
  justify-self: center;
}
.tl-year {
  display: inline-block;
  padding: 4px 14px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 20px;
  margin-bottom: 8px;
}
.tl-box {
  background: var(--white);
  padding: 20px 22px;
  box-shadow: var(--shadow);
  border-left: 3px solid var(--orange);
}
.tl-item:nth-child(even) .tl-box { border-left: none; border-right: 3px solid var(--orange); }
.tl-box h3 { color: var(--dark); font-size: 0.95rem; margin-bottom: 6px; }
.tl-box p  { font-size: 0.87rem; }

/* Odd items: content on right */
.tl-item:nth-child(odd)  .tl-left  { grid-column: 1; }
.tl-item:nth-child(odd)  .tl-right { grid-column: 3; }
/* Even items: content on left */
.tl-item:nth-child(even) { }

/* ================================================
   VALUES
   ================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-item {
  padding: 32px 24px;
  background: var(--gray);
  border-top: 3px solid var(--orange);
  transition: var(--transition);
}
.value-item:hover { background: var(--white); box-shadow: var(--shadow); }
.value-item h3 { color: var(--dark); margin-bottom: 10px; }
.value-item p  { font-size: 0.88rem; }

/* ================================================
   REFERENCE PAGE
   ================================================ */
.ref-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.ref-filter-btn {
  padding: 8px 22px;
  font-size: 0.82rem;
  font-weight: 500;
  border: 2px solid var(--gray-2);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  letter-spacing: 0.04em;
}
.ref-filter-btn:hover,
.ref-filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}
.ref-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 18px;
}
.ref-card {
  background: var(--white);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: var(--transition);
}
.ref-card:hover { border-top-color: var(--orange); box-shadow: var(--shadow-hover); }
.ref-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 11px;
}
.ref-tag--design   { background: rgba(247,148,29,0.1); color: var(--orange); }
.ref-tag--execution { background: rgba(26,26,26,0.07); color: var(--dark); }
.ref-card h3 { font-size: 0.93rem; color: var(--dark); margin-bottom: 8px; line-height: 1.4; }
.ref-card__client { font-size: 0.83rem; color: var(--dark); font-weight: 500; }
.ref-card__meta   { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 { color: var(--dark); font-size: 1.1rem; margin-bottom: 28px; }
.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item__icon {
  width: 44px; height: 44px;
  background: rgba(247,148,29,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-item__icon svg { width: 20px; height: 20px; }
.contact-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 3px;
  display: block;
}
.contact-item__value { font-size: 0.9rem; color: var(--text); }
.contact-item__value a { color: var(--text); transition: color var(--transition); }
.contact-item__value a:hover { color: var(--orange); }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--dark);
  margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.93rem;
  border: 1.5px solid var(--gray-2);
  background: var(--white);
  color: var(--dark);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--orange); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ================================================
   FOOTER
   ================================================ */
footer {
  background: #fff;
  color: rgba(0,0,0,0.45);
  padding: 64px 0 28px;
  border-top: 1px solid #ebebeb;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 52px;
}
.footer-logo { margin-bottom: 16px; }
.footer-logo img { height: 40px; }
.footer-brand p { font-size: 0.85rem; line-height: 1.65; max-width: 260px; }
.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--dark);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.45);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  margin-bottom: 14px; font-size: 0.85rem;
}
.footer-contact-item svg { width: 15px; height: 15px; color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.footer-contact-item span { color: rgba(0,0,0,0.55); }
.footer-contact-item a { color: rgba(0,0,0,0.45); transition: color var(--transition); }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid #ebebeb;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom a { color: var(--orange); }

/* ================================================
   UNDER CONSTRUCTION (reference page)
   ================================================ */
.wip-section {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
  background: #f9f9f9;
}
.wip-inner {
  max-width: 860px;
  width: 100%;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: center;
}
.wip-crane svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.06));
}
.wip-hook {
  transform-origin: 181px 64px;
  animation: crane-swing 3.6s ease-in-out infinite;
}
@keyframes crane-swing {
  0%, 100% { transform: rotate(-6deg); }
  50%       { transform: rotate(6deg); }
}
.wip-text { }
.wip-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 10px 0 16px;
}
.wip-sub {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.75;
  margin-bottom: 28px;
}
.wip-progress {
  height: 3px;
  background: #e8e8e8;
  border-radius: 2px;
  margin-bottom: 14px;
  overflow: hidden;
  max-width: 320px;
}
.wip-progress__bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--orange) 0%, #f7be6d 100%);
  border-radius: 2px;
  animation: wip-fill 2.4s cubic-bezier(0.4,0,0.2,1) 0.4s forwards;
}
@keyframes wip-fill {
  to { width: 62%; }
}
.wip-mono {
  font-family: 'Roboto Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: #aaa;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .wip-inner { grid-template-columns: 1fr; gap: 32px; }
  .wip-crane { max-width: 220px; margin: 0 auto; }
}

/* ================================================
   ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .cards-3 { grid-template-columns: repeat(2, 1fr); }
  .cards-5 { grid-template-columns: repeat(3, 1fr); }
  .cards-6 { grid-template-columns: repeat(3, 1fr); }
  .about-brief { max-width: 680px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__left { padding: 60px 36px 60px 0; }
}

@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__layout { grid-template-columns: 1fr; }
  .hero__left { order: 2; padding: 52px 0 48px; }
  .hero__right { order: 1; height: 48vw; min-height: 220px; }
  .hero__right::before { width: 0; }
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .values-grid  { grid-template-columns: 1fr 1fr; }
  .about-inline-stats { gap: 0; }
  .about-inline-stat  { padding-right: 16px; margin-right: 16px; }
  /* Timeline mobile */
  .timeline::before { left: 16px; }
  .tl-item { grid-template-columns: 28px 1fr; gap: 16px; }
  .tl-left { display: none; }
  .tl-right { grid-column: 2; text-align: left; }
  .tl-item:nth-child(even) .tl-right { grid-column: 2; }
  .tl-dot { justify-self: start; margin-left: 2px; }
  .tl-item:nth-child(even) .tl-box { border-right: none; border-left: 3px solid var(--orange); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .navbar__nav  { display: none; }
  .navbar__burger { display: flex; }
  .cards-3 { grid-template-columns: 1fr; }
  .cards-5 { grid-template-columns: repeat(2, 1fr); }
  .cards-6 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .stat-item:last-child { border-bottom: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-mini { padding: 118px 0 48px; }
  .sectors-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }

  /* Svc trio — stack on mobile */
  .svc-trio { grid-template-columns: 1fr; }
  .svc-item { border-right: none; border-bottom: 1px solid var(--gray-2); }
  .svc-item:last-child { border-bottom: none; }

  /* Hero split — stack vertically */
  .hero { min-height: auto; align-items: stretch; }
  .hero__layout { grid-template-columns: 1fr; }
  .hero__left { padding: 60px 0 40px; order: 2; }
  .hero__right { order: 1; height: 52vw; min-height: 240px; max-height: 360px; }
  .hero__right::before { width: 0; } /* no left fade on mobile */
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { text-align: center; }
  .hero__vtoggle-label { display: none; }
  .hero__vbtn { padding: 8px 12px; font-size: 0.58rem; }

  /* Featured cards — 1 col */
  .featured-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .cards-5 { grid-template-columns: 1fr; }
  .cards-6 { grid-template-columns: 1fr; }
  .ref-grid { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .sectors-grid { grid-template-columns: 1fr; }
}

/* Mobile parallax fix (fixed bg doesn't work well on iOS) */
@media (hover: none) {
  .parallax-section { background-attachment: scroll; }
  .hero__bg         { background-attachment: scroll; }
}

/* ================================================
   FEATURED PROJECT CARDS (homepage)
   ================================================ */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.featured-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  display: block;
  text-decoration: none;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.11);
  border-color: var(--orange);
}

/* Logo area — full image, contained */
.featured-card__logo {
  height: 200px;
  background: #f7f7f7;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 32px;
  border-bottom: 1px solid #efefef;
  overflow: hidden;
  transition: background 0.28s ease;
}
.featured-card:hover .featured-card__logo { background: #fff3e0; }
.featured-card__logo img {
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.featured-card:hover .featured-card__logo img { transform: scale(1.04); }

.featured-card__body {
  padding: 20px 22px 22px;
}
.featured-card__tag {
  display: inline-block;
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.featured-card__title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin: 0 0 6px;
}
.featured-card__client {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* HELIK branded card */
.featured-card--helik {
  border-color: var(--orange);
}
.featured-card--helik:hover {
  box-shadow: 0 12px 40px rgba(247,148,29,0.22);
}
.featured-card__logo--dark {
  background: var(--dark) !important;
  border-bottom-color: rgba(247,148,29,0.2) !important;
}
.featured-card--helik:hover .featured-card__logo--dark {
  background: #0b1627 !important;
}
.featured-card--helik .featured-card__tag {
  color: var(--orange);
}
.featured-card--helik .featured-card__body {
  border-top: 2px solid var(--orange);
}

/* ================================================
   REFERENCE TABLE
   ================================================ */
.ref-table-wrap { overflow-x: auto; }
.ref-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}
.ref-table thead tr {
  background: var(--dark);
  color: var(--white);
}
.ref-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}
.ref-table th:last-child,
.ref-table td:last-child { text-align: right; }

.ref-table tbody tr {
  border-bottom: 1px solid var(--gray-2);
  transition: background var(--transition);
}
.ref-table tbody tr:nth-child(even) { background: #fafafa; }
.ref-table tbody tr:hover { background: rgba(247,148,29,0.07); }

.ref-table td {
  padding: 10px 16px;
  color: var(--text);
  vertical-align: middle;
}
.ref-table td.client {
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}
.ref-table td.year {
  color: var(--text-light);
  white-space: nowrap;
  font-size: 0.8rem;
}
.ref-table td.loc {
  color: var(--text-light);
  font-size: 0.8rem;
  white-space: nowrap;
}
.ref-tag-sm {
  display: inline-block;
  padding: 2px 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.ref-tag-sm--design    { background: rgba(247,148,29,0.1); color: var(--orange); }
.ref-tag-sm--execution { background: rgba(26,26,26,0.07);  color: var(--dark); }

/* ================================================
   SCROLL PROGRESS BAR
   ================================================ */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ffb347);
  z-index: 1002;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ================================================
   HERO — CAD Blueprint redesign
   ================================================ */
.hero__cad {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* CAD draw-in animation */
@keyframes cadDraw {
  to { stroke-dashoffset: 0; }
}
.cad-el { animation: cadDraw 1.4s cubic-bezier(0.4,0,0.2,1) forwards; }
.cad-d1 { animation-delay: 0.2s; }
.cad-d2 { animation-delay: 0.45s; }
.cad-d3 { animation-delay: 0.65s; }
.cad-d4 { animation-delay: 0.85s; }
.cad-d5 { animation-delay: 1.05s; }
.cad-d6 { animation-delay: 1.25s; }

/* Ref line above title */
.hero__ref-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.5s ease 0.4s forwards;
}
.hero__ref-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__ref-text {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247,148,29,0.75);
  font-family: 'Roboto Mono', 'Roboto', monospace;
}

/* Hero title — engineering bold style */
.hero__title {
  color: var(--white);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero__title-accent { color: var(--orange); }

/* Description */
.hero__desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 480px;
  opacity: 0;
  animation: fadeInUp 0.5s ease 1.4s forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================
   CHAR-BY-CHAR REVEAL
   ================================================ */
@keyframes charIn {
  from { opacity: 0; transform: translateY(16px) skewY(2deg); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg); }
}
.char {
  display: inline-block;
  opacity: 0;
  animation: charIn 0.4s cubic-bezier(0.2, 0, 0, 1) forwards;
}
/* Space between words */
.char--space { width: 0.3em; }

/* ================================================
   FLOATING TECH CHIPS
   ================================================ */
.hero__chips {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.chip {
  position: absolute;
  left: var(--x);
  top: var(--y);
  padding: 5px 14px;
  border: 1px solid rgba(247,148,29,0.28);
  color: rgba(247,148,29,0.55);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 30px;
  background: rgba(247,148,29,0.04);
  backdrop-filter: blur(4px);
  white-space: nowrap;
  animation: chipFloat var(--dur, 7s) ease-in-out var(--del, 0s) infinite,
             chipFadeIn 0.8s ease var(--del, 0s) both;
}
.chip--sm { font-size: 0.6rem; padding: 4px 11px; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}
@keyframes chipFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ================================================
   3D CARD TILT
   ================================================ */
.card {
  transform-style: preserve-3d;
  will-change: transform;
}
/* JS handles tilt; ensure smooth reset on leave */
.card.tilt-reset {
  transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.4s ease, border-left-color 0.28s ease !important;
}

/* ================================================
   IMPROVED CAD GRID (sections)
   Make it look more like engineering paper
   ================================================ */
.cad-grid {
  background-color: #f8f8f8;
  background-image:
    /* Major grid lines */
    linear-gradient(rgba(247,148,29,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.10) 1px, transparent 1px),
    /* Minor grid lines */
    linear-gradient(rgba(247,148,29,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(247,148,29,0.04) 1px, transparent 1px);
  background-size:
    96px 96px,
    96px 96px,
    24px 24px,
    24px 24px;
}

/* ================================================
   HERO CTA button reveal
   ================================================ */
.hero__cta {
  opacity: 0;
  animation: fadeInUp 0.5s ease 1.7s forwards;
}

/* Hide default hero__overline, sub on new hero */
.hero__content .hero__overline { display: none; }
.hero__content .hero__sub { display: none; }

/* Responsive chips — hide on mobile */
@media (max-width: 768px) {
  .hero__chips { display: none; }
  .hero__cad   { display: none; }
  .hero__title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero__ref-line { display: none; }
}
