/* =========================================================
   FIERA MEDIA — Design System
   Cinematic, minimal, high-end. All component styles live here.
   ========================================================= */

:root {
  /* Brand */
  --accent: #00ff86;
  --accent-2: #0db565;
  --bg: #02140c;
  --bg-2: #041d11;
  --card: #08251a;
  --card-hi: #0c3324;
  --line: rgba(0, 255, 134, 0.12);
  --line-strong: rgba(0, 255, 134, 0.28);

  /* Text */
  --text: #ffffff;
  --muted: #9aa8a0;
  --muted-2: #6f7f77;

  /* Layout */
  --container: 1200px;
  --radius: 22px;
  --radius-sm: 14px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* ----------------------- Base ----------------------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Sansation', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 300;
  letter-spacing: 0.01em;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.05; margin: 0; letter-spacing: -0.02em; }

::selection { background: var(--accent); color: var(--bg); }

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

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

.text-accent { color: var(--accent); }
.text-gradient {
  background: linear-gradient(100deg, #ffffff 0%, var(--accent) 55%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Skip link */
.skip-link {
  position: fixed;
  top: -100px;
  left: 1rem;
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  font-weight: 700;
  transition: top 0.25s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  z-index: 120;
  box-shadow: 0 0 14px var(--accent);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  background: var(--bg);
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.is-done { opacity: 0; visibility: hidden; }
.preloader__logo { width: 72px; height: 72px; animation: spinPulse 1.4s var(--ease) infinite; }
@keyframes spinPulse {
  0% { transform: rotate(0) scale(0.9); opacity: 0.5; }
  50% { transform: rotate(180deg) scale(1.05); opacity: 1; }
  100% { transform: rotate(360deg) scale(0.9); opacity: 0.5; }
}

/* ----------------------- Buttons ----------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease),
    box-shadow 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  will-change: transform;
}
.btn--sm { padding: 0.6rem 1.15rem; font-size: 0.85rem; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.05rem; }

.btn--primary {
  background: var(--accent);
  color: #02140c;
  box-shadow: 0 8px 30px rgba(0, 255, 134, 0.25);
}
.btn--primary:hover {
  background: #4dffab;
  box-shadow: 0 12px 44px rgba(0, 255, 134, 0.45);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: var(--line-strong);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ----------------------- Navigation ----------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 110;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease), padding 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1.4rem;
  transition: padding 0.4s var(--ease);
}
.nav.is-scrolled {
  background: rgba(2, 20, 12, 0.72);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.nav.is-scrolled .nav__inner { padding-block: 0.85rem; }

.nav__brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.nav__logo { width: 38px; height: 38px; transition: transform 0.5s var(--ease); }
.nav__brand:hover .nav__logo { transform: rotate(12deg) scale(1.05); }
.nav__brandtext { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }

.nav__links { display: flex; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.3s var(--ease);
  padding-block: 0.25rem;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1rem; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255, 255, 255, 0.02);
}
.lang-switch__btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease);
}
.lang-switch__btn.is-active { background: var(--accent); color: var(--bg); }
.lang-switch__btn:not(.is-active):hover { color: var(--text); }
.lang-switch--footer .lang-switch__btn { font-size: 0.85rem; padding: 0.45rem 0.9rem; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 42px; height: 42px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span {
  width: 20px; height: 2px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ----------------------- Sections ----------------------- */
.section { padding-block: clamp(4.5rem, 10vw, 9rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }

.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.section__tag::before { content: '— '; color: var(--accent-2); }
.section__title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.section__intro { margin-top: 1.2rem; color: var(--muted); font-size: 1.1rem; max-width: 620px; }

/* ----------------------- Hero ----------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 6rem;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }

/* Background showreel */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
/* Readability scrim + brand tint + vignette over the video */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(2, 20, 12, 0.55) 0%, rgba(2, 20, 12, 0.35) 40%, rgba(2, 20, 12, 0.92) 100%),
    linear-gradient(90deg, rgba(2, 20, 12, 0.7) 0%, transparent 55%),
    radial-gradient(120% 90% at 50% 40%, transparent 40%, rgba(2, 20, 12, 0.6) 100%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.hero__glow--1 {
  width: 46vw; height: 46vw;
  top: -8vw; left: -6vw;
  background: radial-gradient(circle, rgba(0, 255, 134, 0.35), transparent 65%);
  animation: float1 16s var(--ease) infinite alternate;
}
.hero__glow--2 {
  width: 42vw; height: 42vw;
  bottom: -12vw; right: -8vw;
  background: radial-gradient(circle, rgba(13, 181, 101, 0.32), transparent 65%);
  animation: float2 20s var(--ease) infinite alternate;
}
@keyframes float1 { to { transform: translate(6vw, 5vw) scale(1.1); } }
@keyframes float2 { to { transform: translate(-5vw, -4vw) scale(1.12); } }

.hero__inner { position: relative; z-index: 2; max-width: 960px; }
.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.6rem;
  font-weight: 700;
}
.hero__title {
  font-size: clamp(2.6rem, 8vw, 6rem);
  line-height: 0.98;
  margin-bottom: 1.8rem;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__subtitle {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 2.4rem;
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 3.5rem; }

.hero__stats { display: flex; flex-wrap: wrap; gap: clamp(1.8rem, 5vw, 4rem); }
.hero__stat { display: flex; flex-direction: column; }
.hero__statnum { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 700; color: var(--text); }
.hero__statlabel { font-size: 0.85rem; color: var(--muted-2); letter-spacing: 0.04em; }

.hero__scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.hero__mouse {
  width: 24px; height: 40px;
  border: 2px solid var(--line-strong);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}
.hero__wheel { width: 3px; height: 8px; border-radius: 3px; background: var(--accent); animation: wheel 1.6s var(--ease) infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* ----------------------- About ----------------------- */
.about__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.about__lead { font-size: clamp(1.25rem, 2.4vw, 1.7rem); line-height: 1.4; color: #dfeae4; font-weight: 400; }
.about__points { display: grid; gap: 1.8rem; }
.about__point h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.about__point p { color: var(--muted); font-size: 0.98rem; }
.about__point { padding-left: 1.3rem; border-left: 2px solid var(--line-strong); }

/* ----------------------- Industries ----------------------- */
.industries { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.industries__item {
  padding: 0.7rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease);
}
.industries__item:hover {
  color: var(--bg);
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* ----------------------- Services ----------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  position: relative;
  padding: 2.2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 255, 134, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.service-card:hover::before { opacity: 1; }
.service-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(0, 255, 134, 0.1);
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 1.4rem;
}
.service-card h3 { font-size: 1.3rem; margin-bottom: 0.7rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; margin-bottom: 1.3rem; }
.service-card__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; position: relative; z-index: 1; }
.service-card__tags li {
  font-size: 0.78rem;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

/* ----------------------- Portfolio ----------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.2rem; }
.filter {
  font-family: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  cursor: pointer;
  transition: color 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.filter:hover { color: var(--text); }
.filter.is-active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

.portfolio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease);
}
.work.is-hidden { display: none; }
.work__media {
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(120% 120% at 20% 10%, hsla(var(--hue, 150), 90%, 45%, 0.5), transparent 55%),
    linear-gradient(160deg, #0b3223, #041a0f);
  transition: transform 0.7s var(--ease);
}
.work::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(2, 20, 12, 0.9) 8%, transparent 55%);
}
.work__body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: 1.5rem;
  transform: translateY(6px);
  transition: transform 0.5s var(--ease);
}
.work__cat { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.work__title { font-size: 1.15rem; margin-top: 0.35rem; }
.work:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.work:hover .work__media { transform: scale(1.08); }
.work:hover .work__body { transform: translateY(0); }

/* ----------------------- Process ----------------------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 34px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  z-index: 0;
}
.process__step { position: relative; z-index: 1; padding-top: 0.5rem; }
.process__num {
  display: inline-grid;
  place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.process__step h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.process__step p { color: var(--muted); font-size: 0.95rem; }

/* ----------------------- Why ----------------------- */
.why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.why__card {
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.why__card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.why__card h3 { font-size: 1.35rem; margin-bottom: 0.6rem; }
.why__card p { color: var(--muted); }

/* ----------------------- Stats ----------------------- */
.stats-section { border-block: 1px solid var(--line); background: var(--bg-2); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat__num {
  display: block;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat__label { color: var(--muted); font-size: 0.95rem; margin-top: 0.6rem; display: block; }

/* ----------------------- Clients ----------------------- */
.clients__label { text-align: center; color: var(--muted-2); font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 2rem; }
.clients {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.clients__logo {
  display: grid;
  place-items: center;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  filter: grayscale(1);
  opacity: 0.7;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease), border-color 0.3s var(--ease), filter 0.3s;
}
.clients__logo:hover { color: var(--accent); opacity: 1; border-color: var(--line-strong); filter: none; }

/* ----------------------- Testimonials ----------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial {
  margin: 0;
  padding: 2rem;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--card), var(--bg-2));
  border: 1px solid var(--line);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.testimonial:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.testimonial blockquote { margin: 0 0 1.4rem; font-size: 1.05rem; line-height: 1.55; color: #e6efe9; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.2rem; }
.testimonial__name { font-weight: 700; }
.testimonial__role { color: var(--muted-2); font-size: 0.85rem; }

/* ----------------------- FAQ ----------------------- */
.faq { display: grid; gap: 1rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color 0.3s var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); }
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.3rem 1.5rem;
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__answer { padding: 0 1.5rem 1.4rem; color: var(--muted); }
.faq__answer p { margin: 0; }

/* ----------------------- CTA ----------------------- */
.cta { position: relative; padding-block: clamp(5rem, 12vw, 9rem); overflow: hidden; }
.cta__inner { position: relative; text-align: center; }
.cta__glow {
  position: absolute;
  width: 60vw; height: 60vw;
  max-width: 700px; max-height: 700px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(0, 255, 134, 0.22), transparent 62%);
  filter: blur(70px);
  z-index: -1;
}
.cta__title { font-size: clamp(2.2rem, 6vw, 4.4rem); }
.cta__subtitle { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 1.2rem auto 2.4rem; max-width: 560px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ----------------------- Footer ----------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 6vw, 5rem); background: var(--bg-2); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
.footer__tagline { color: var(--muted); margin-top: 1rem; max-width: 280px; }
.footer__col h4 { font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 1.1rem; }
.footer__col a { display: block; color: var(--muted); margin-bottom: 0.65rem; transition: color 0.3s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__social { display: flex; gap: 1rem; margin-top: 1rem; }
.footer__social a { margin: 0; font-size: 0.85rem; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem;
  padding-block: 1.6rem;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 0.85rem;
}
.footer__bottom p { margin: 0; }

/* ----------------------- Reveal animation base ----------------------- */
.reveal { opacity: 0; transform: translateY(28px); }
.reveal.is-visible { opacity: 1; transform: none; transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }

/* ----------------------- Responsive ----------------------- */
@media (max-width: 980px) {
  .services, .portfolio, .testimonials, .clients { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 820px) {
  .nav__links {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(80vw, 340px);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem;
    background: rgba(4, 20, 12, 0.96);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
    z-index: 105;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 1.3rem; }
  .nav__toggle { display: flex; }
  .nav .btn--sm { display: none; }
  .nav .lang-switch { display: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 620px) {
  .services, .portfolio, .testimonials, .clients, .why, .stats { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .stats { gap: 2.2rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero { padding-top: 5rem; }
}

@media (max-width: 380px) {
  :root { --gutter: 1.1rem; }
  .service-card, .why__card, .testimonial { padding: 1.5rem; }
}

/* ----------------------- Reduced motion ----------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .hero__glow { animation: none; }
}
