:root {
  --boja-pozadina: #F7F9FC;
  --boja-pozadina-sekundarna: #FFFFFF;
  --boja-akcent: #0096C7;
  --boja-akcent-svijetli: #00D4FF;
  --boja-tekst: #1A1D26;
  --boja-tekst-prigusen: #5A6478;

  --border-color: #E4E8F0;
  --border-card: 1px solid var(--border-color);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.05), 0 16px 32px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.08), 0 32px 64px rgba(0, 0, 0, 0.18);

  --ease-reveal: cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--boja-tekst);
  background-color: var(--boja-pozadina);
  line-height: 1.6;
}

/* Vrlo suptilan grain preko cijele stranice, da površina ne izgleda digitalno ravno */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

h1,
h2,
h3 {
  font-family: "Space Grotesk", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

section[id] {
  scroll-margin-top: 80px;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: box-shadow 0.25s ease, transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--primary {
  background-color: var(--boja-akcent);
  color: var(--boja-tekst);
}

.btn--primary:hover {
  background-color: var(--boja-akcent-svijetli);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  box-shadow: none;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.is-scrolled {
  background-color: #0A0E1A;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  font-size: 1.4rem;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.02em;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navbar__link {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.25s ease;
}

.navbar__link:hover {
  color: var(--boja-akcent-svijetli);
}

.navbar__link--cta {
  background-color: var(--boja-akcent);
  color: var(--boja-tekst);
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.25s ease;
}

.navbar__link--cta:hover {
  background-color: var(--boja-akcent-svijetli);
  color: var(--boja-tekst);
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.navbar__toggle span {
  width: 24px;
  height: 2px;
  background-color: #FFFFFF;
  display: block;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* HERO */
.hero {
  position: relative;
  height: 100vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.08), transparent 55%), #0A0E1A;
  overflow: hidden;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 14, 26, 0.8) 0%, rgba(10, 14, 26, 0.55) 45%, rgba(10, 14, 26, 0.9) 100%),
    radial-gradient(circle at 30% 25%, rgba(0, 212, 255, 0.14), transparent 60%);
}

.hero__content {
  position: relative;
  z-index: 1;
  color: #FFFFFF;
  text-align: center;
  margin: 0 auto;
  padding-top: 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.6rem, 7vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: #FFFFFF;
  max-width: 900px;
}

/* Ulazna animacija — čisti CSS, pokreće se na page load, ne ovisi o JS-u/scrollu.
   Naslov je uvijek u DOM-u kao normalan tekst; ako animacija iz bilo kojeg razloga
   ne bi proradila (npr. vrlo star preglednik), krajnje stanje (opacity:1, bez transforma)
   je zajamčeno kroz animation-fill-mode: forwards čim se animacija odigra. */
.hero__line {
  display: block;
  overflow: hidden;
  text-align: center;
}

.hero__line-inner {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  animation: hero-line-in 1.2s var(--ease-reveal) 0.45s forwards;
}

.hero__line:nth-child(2) .hero__line-inner {
  animation-delay: 0.67s;
}

@keyframes hero-line-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin-bottom: 36px;
  opacity: 0;
  transform: translateY(20px);
  animation: hero-fade-up 0.6s var(--ease-reveal) 2.2s forwards;
}

@keyframes hero-fade-up {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__line-inner,
  .hero__subtitle {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* SECTIONS */
.section {
  padding: 140px 0;
  position: relative;
}

.section--alt {
  background-color: var(--boja-pozadina-sekundarna);
}

/* Ambijentalni gradijent mesh — vrlo suptilna dubina na svijetlim sekcijama,
   asimetrično pozicioniran, uvijek ispod sadržaja */
#o-nama {
  background-image:
    radial-gradient(ellipse 700px 500px at 88% 8%, rgba(0, 150, 199, 0.05), transparent 60%),
    radial-gradient(ellipse 600px 480px at 6% 94%, rgba(10, 14, 26, 0.035), transparent 60%);
}

#usluge {
  background-image:
    radial-gradient(ellipse 650px 550px at 8% 6%, rgba(0, 150, 199, 0.045), transparent 60%),
    radial-gradient(ellipse 700px 500px at 95% 88%, rgba(10, 14, 26, 0.03), transparent 60%);
}

#tehnologija {
  background-image:
    radial-gradient(ellipse 700px 500px at 92% 12%, rgba(0, 150, 199, 0.05), transparent 60%),
    radial-gradient(ellipse 550px 450px at 4% 82%, rgba(10, 14, 26, 0.025), transparent 60%);
}

#projekti {
  background-image:
    radial-gradient(ellipse 650px 550px at 6% 10%, rgba(10, 14, 26, 0.03), transparent 60%),
    radial-gradient(ellipse 700px 500px at 94% 92%, rgba(0, 150, 199, 0.045), transparent 60%);
}

#kontakt {
  background-image:
    radial-gradient(ellipse 700px 550px at 90% 8%, rgba(0, 150, 199, 0.05), transparent 60%),
    radial-gradient(ellipse 600px 500px at 8% 95%, rgba(10, 14, 26, 0.03), transparent 60%);
}

/* Suptilan razdjelnik gdje se dvije sekcije iste nijanse nižu jedna za drugom */
#usluge,
#projekt-helendoron {
  border-top: 1px solid rgba(10, 14, 26, 0.04);
}

.section__kicker {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--boja-akcent);
  margin-bottom: 18px;
}

.section__title {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--boja-tekst);
}

.section__title--left {
  text-align: left;
}

/* O NAMA */
.about {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 80px;
}

.about__text p {
  margin-top: 28px;
  max-width: 620px;
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--boja-tekst-prigusen);
}

.about__stats {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 76px;
}

.stat__number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  line-height: 1;
  color: var(--boja-tekst);
}

.stat__label {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--boja-tekst-prigusen);
}

.process {
  display: flex;
  border-top: 1px solid var(--border-color);
  margin-top: 88px;
}

.process__step {
  flex: 1;
  padding: 28px 32px 0 0;
  border-left: 1px solid var(--border-color);
  padding-left: 32px;
}

.process__step:first-child {
  border-left: none;
  padding-left: 0;
}

.process__num {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--boja-akcent);
  margin-bottom: 12px;
}

.process__label {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--boja-tekst);
}

/* PROIZVODI I USLUGE */
.services__intro {
  margin-bottom: 56px;
}

.services__lead {
  max-width: 620px;
  margin-top: 24px;
  font-size: 1.1rem;
  color: var(--boja-tekst-prigusen);
}

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

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--boja-pozadina-sekundarna);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 28px 50px rgba(0, 0, 0, 0.12);
}

.product-card__visual {
  position: relative;
  height: 190px;
  overflow: hidden;
}

.product-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__visual img {
  transform: scale(1.05);
}

.product-card__body {
  padding: 24px 32px 32px;
}

.product-card__title {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--boja-tekst);
}

.product-card__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--boja-tekst-prigusen);
}

/* Vizuali po kategoriji */
.product-card--neon .product-card__visual {
  background: linear-gradient(135deg, #0A0E1A, #12172B);
}

.product-card--letters .product-card__visual {
  background: linear-gradient(135deg, #0096C7, #04384A);
}

.product-card--xxl .product-card__visual {
  background: linear-gradient(160deg, #F7FBFD, #EAF4F9);
}

.product-card--paint .product-card__visual {
  background: linear-gradient(150deg, #EFF7FB, #E2EFF5);
}

.product-card--custom .product-card__visual {
  background: linear-gradient(150deg, #F1F5F9, #E6EDF3);
}

/* Motiv animacije na hover */
.motif-tube {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.product-card:hover .motif-tube {
  transform: scaleX(1.15);
}

.motif-depth {
  transform-box: fill-box;
  transition: transform 0.3s ease;
}

.product-card:hover .motif-depth {
  transform: translate(8px, 8px);
}

.motif-arrow {
  transform-box: fill-box;
  transition: transform 0.3s ease;
}

.product-card:hover .motif-arrow--up {
  transform: translate(4px, -4px);
}

.product-card:hover .motif-arrow--down {
  transform: translate(4px, 4px);
}

.motif-paint {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.product-card:hover .motif-paint {
  transform: rotate(3deg) scale(1.04);
}

.motif-shape {
  transform-box: fill-box;
  transform-origin: center;
  transition: transform 0.3s ease;
}

.product-card:hover .motif-shape--1 {
  transform: rotate(-6deg) translate(-4px, -3px);
}

.product-card:hover .motif-shape--2 {
  transform: translate(6px, -5px);
}

.product-card:hover .motif-shape--3 {
  transform: rotate(8deg) translate(4px, 5px);
}

.product-card:hover .motif-shape--4 {
  transform: rotate(-5deg) translate(-3px, 4px);
}

/* BROJKE */
.stats-band {
  background-color: #0A0E1A;
  padding: 64px 0;
}

.stats-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-band__number {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  line-height: 1;
  color: var(--boja-akcent-svijetli);
}

.stats-band__label {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #AEB6C9;
}

/* TEHNOLOGIJA I PROIZVODNJA */
.tech__lead {
  max-width: 640px;
  margin: 24px 0 64px;
  font-size: 1.1rem;
  color: var(--boja-tekst-prigusen);
}

.tech__grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.tech__list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}

.tech__list li:first-child {
  border-top: 1px solid var(--border-color);
}

.tech__index {
  flex-shrink: 0;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--boja-akcent);
  padding-top: 3px;
}

.tech__item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech__machine {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--boja-tekst);
}

.tech__item p {
  color: var(--boja-tekst-prigusen);
  font-size: 0.95rem;
  line-height: 1.65;
  max-width: 780px;
}

.tech__equipment {
  border-left: 3px solid var(--boja-akcent);
  padding: 4px 0 4px 28px;
}

.tech__equipment p {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  line-height: 1.4;
  color: var(--boja-tekst);
  max-width: none;
}

/* GALERIJA / ISTAKNUTI PROJEKTI */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.gallery__item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: var(--border-card);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 150, 199, 0.08), rgba(0, 150, 199, 0.02));
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03), 0 8px 20px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  padding: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery__item:hover img {
  transform: scale(1.05);
}

.gallery__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--boja-akcent);
}

.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  background: linear-gradient(0deg, rgba(10, 14, 26, 0.85), transparent);
  text-align: left;
}

.gallery__item--missing img {
  display: none;
}

/* ISTAKNUTI PROJEKT: HELEN DORON */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.featured-project__content p {
  margin-top: 24px;
  max-width: 560px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--boja-tekst-prigusen);
}

.featured-project__content strong {
  color: var(--boja-akcent);
  font-weight: 700;
}

.featured-project__slideshow {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  border: var(--border-card);
  box-shadow: var(--shadow-md);
}

.featured-project__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.featured-project__slide.is-active {
  opacity: 1;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background-color: rgba(5, 8, 16, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__image {
  max-width: 100%;
  max-height: 100%;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: var(--border-card);
  background-color: var(--boja-pozadina-sekundarna);
  color: var(--boja-tekst);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.25s ease;
}

.lightbox__close:hover {
  color: var(--boja-akcent);
}

/* KLIJENTI */
.client-blocks {
  display: flex;
  flex-direction: column;
  gap: 96px;
  margin: 56px 0 72px;
}

.client-block .featured-project__content {
  background: linear-gradient(160deg, #0077A3, #005F87);
  border-radius: 20px;
  padding: 56px;
}

.client-block .featured-project__content p {
  text-align: justify;
  hyphens: auto;
  color: #FFFFFF;
}

.client-block__title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 20px;
  color: var(--boja-akcent-svijetli);
}


/* KONTAKT */
.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.contact__item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 36px;
  background-color: var(--boja-pozadina-sekundarna);
  border-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 16px 32px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.contact__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06), 0 28px 50px rgba(0, 0, 0, 0.12);
}

.contact__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--boja-akcent);
}

.contact__value {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.25;
  color: var(--boja-tekst);
  overflow-wrap: anywhere;
  transition: color 0.25s ease;
}

a.contact__item:hover .contact__value {
  color: var(--boja-akcent);
}


/* FOOTER */
.footer {
  background-color: #0A0E1A;
  color: #AEB6C9;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 212, 255, 0.1);
}

.footer .navbar__logo {
  color: #FFFFFF;
  font-size: 1.1rem;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__brand p {
  font-size: 0.85rem;
  margin-top: 4px;
}

.footer__social {
  display: flex;
  gap: 20px;
}

.footer__social a {
  font-size: 0.85rem;
  color: #AEB6C9;
  transition: color 0.25s ease;
}

.footer__social a:hover {
  color: var(--boja-akcent-svijetli);
}

.footer__copy {
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* SCROLL-IN ANIMACIJA — jedinstven sustav za cijelu stranicu */
/* Sigurnosno pravilo: "skriveno" stanje (.reveal / .step-reveal.is-hidden) dodaje
   ISKLJUČIVO JavaScript, prije nego počne promatranje. Ako JS ne učita ili observer
   ne okine, element nikad ne dobiva skriveno stanje i ostaje normalno vidljiv. */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.85s var(--ease-reveal), transform 0.85s var(--ease-reveal);
}

.reveal--media {
  transform: translateY(24px) scale(0.97);
}

.reveal--visible {
  opacity: 1;
  transform: none;
}

/* Odlomci koji slijede naslov sekcije — blago kašnjenje iza naslova */
.services__lead,
.tech__lead,
.about__text p,
.featured-project__content p {
  transition-delay: 0.1s;
}

/* O nama — koraci procesa (zaseban okidač, isti jezik pokreta) */
.step-reveal {
  transition: opacity 0.5s var(--ease-reveal), transform 0.5s var(--ease-reveal);
}

.step-reveal.is-hidden {
  opacity: 0;
  transform: translateY(24px);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .step-reveal.is-hidden {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .about {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__stats {
    flex-direction: row;
    gap: 56px;
    padding-top: 0;
  }

  .tech__grid {
    gap: 32px;
  }

  .featured-project {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .featured-project__media {
    order: -1;
  }

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

@media (max-width: 900px) {
  .section {
    padding: 96px 0;
  }

  .process {
    flex-direction: column;
    border-top: none;
  }

  .process__step {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .process__step:first-child {
    border-top: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-band__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }

  .client-blocks {
    gap: 64px;
  }
}

@media (max-width: 720px) {
  .navbar__nav {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: rgba(10, 14, 26, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .navbar__nav.is-open {
    max-height: 400px;
  }

  .navbar__link {
    width: 100%;
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__link--cta {
    margin: 12px 24px;
    display: inline-block;
    width: calc(100% - 48px);
    text-align: center;
  }

  .navbar__toggle {
    display: flex;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }

  .client-block .featured-project__content {
    padding: 32px 28px;
  }

  .about__stats {
    flex-direction: column;
    gap: 32px;
  }

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

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

  .stats-band__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
