:root {
  --color-primary: #009ad4;
  --color-accent: #e35d16;
  --color-black: #000000;
  --color-graphite: #333836;
  --color-ink: #0f1112;
  --color-ink-soft: #171b1d;
  --color-light: #f4f8fb;
  --color-muted: #d2e5ee;
  --color-border: rgba(255, 255, 255, 0.11);
  --shadow-card: 0 24px 54px rgba(0, 0, 0, 0.3);
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.2);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--color-light);
  background:
    radial-gradient(circle at top right, rgba(0, 154, 212, 0.18), transparent 24%),
    radial-gradient(circle at 10% 50%, rgba(227, 93, 22, 0.16), transparent 22%),
    linear-gradient(160deg, #020304 0%, #090c0d 30%, #151918 100%);
  line-height: 1.55;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0 0 0.65rem;
  font-family: "Barlow Condensed", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
}

p {
  margin: 0;
}

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

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

.container {
  width: min(1260px, 94vw);
  margin: 0 auto;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  filter: blur(90px);
  opacity: 0.22;
}

.orb-a {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -70px;
  background: var(--color-primary);
}

.orb-b {
  width: 300px;
  height: 300px;
  left: -120px;
  top: 48%;
  background: var(--color-accent);
}

.orb-c {
  width: 320px;
  height: 320px;
  right: 18%;
  bottom: -140px;
  background: #59d8ff;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--color-border);
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.brand-logo {
  width: clamp(180px, 17vw, 252px);
  max-height: 52px;
  object-fit: contain;
}

.brand-fallback {
  display: none;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.55rem;
  font-weight: 800;
  text-transform: uppercase;
}

.brand-fallback.is-visible {
  display: inline-block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.main-nav a {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #d9ebf3;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--color-primary);
}

.nav-zivra {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-right: 0.35rem;
  padding-right: 0.7rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.nav-zivra::before {
  content: "";
  position: absolute;
  inset: -6px -2px -6px 0;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(173, 252, 3, 0.26) 0, rgba(173, 252, 3, 0.06) 48%, transparent 78%);
  filter: blur(14px);
  opacity: 0.82;
  z-index: -1;
  animation: zivra-nav-glow 3.8s ease-in-out infinite;
}

.nav-zivra-logo {
  width: clamp(86px, 8vw, 120px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 8px rgba(173, 252, 3, 0.52))
    drop-shadow(0 0 18px rgba(173, 252, 3, 0.18));
  animation: zivra-logo-neon 4s ease-in-out infinite;
}

.nav-zivra:hover .nav-zivra-logo {
  transform: scale(1.04);
}

@keyframes zivra-nav-glow {
  0%,
  100% {
    opacity: 0.72;
    transform: scale(0.98);
  }

  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

@keyframes zivra-logo-neon {
  0%,
  100% {
    filter:
      drop-shadow(0 0 8px rgba(173, 252, 3, 0.52))
      drop-shadow(0 0 18px rgba(173, 252, 3, 0.18));
  }

  50% {
    filter:
      drop-shadow(0 0 10px rgba(255, 255, 255, 0.42))
      drop-shadow(0 0 28px rgba(173, 252, 3, 0.36));
  }
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 0.25rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

section {
  padding: 4.85rem 0;
}

.eyebrow {
  margin-bottom: 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.section-head {
  display: grid;
  gap: 0.28rem;
}

.section-head h2 {
  max-width: none;
  font-size: clamp(2.1rem, 3.75vw, 3.55rem);
  text-wrap: balance;
}

.section-split {
  display: grid;
  grid-template-columns: minmax(340px, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(1.6rem, 3vw, 2.7rem);
  align-items: start;
}

.section-split-reverse .section-copy {
  order: 2;
}

.section-split-reverse .section-content {
  order: 1;
}

.section-copy,
.section-content {
  min-width: 0;
}

.section-copy {
  padding-top: 0.25rem;
}

.section-copy .section-head h2 {
  max-width: none;
}

.section-intro {
  max-width: 54ch;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 1.02rem;
}

.section-content .carousel-shell {
  margin-top: 0;
}

.carousel-head-compact {
  margin-bottom: 0.95rem;
  align-items: center;
}

.carousel-head-compact .carousel-kicker {
  margin-bottom: 0;
}

.hero {
  padding-top: 6.2rem;
}

.hero-kicker {
  margin-bottom: 1.15rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  gap: clamp(1.4rem, 3vw, 2.6rem);
  align-items: start;
}

.hero-copy {
  display: grid;
  align-content: start;
}

.hero-copy h1 {
  max-width: 12.5ch;
  font-size: clamp(2.8rem, 5.8vw, 4.9rem);
  margin-bottom: 0.8rem;
}

.hero-lead {
  max-width: 58ch;
  color: #d7e8ef;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.hero-actions {
  margin-top: 1.45rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), #25baf1);
  color: #04141c;
}

.btn-ghost {
  border: 1px solid rgba(0, 154, 212, 0.5);
  color: #b4e9fb;
}

.btn-ghost:hover {
  border-color: var(--color-primary);
  color: #fff;
}

.hero-metrics {
  margin: 1.8rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.hero-metrics li {
  padding: 0.95rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border);
}

.hero-metrics strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.95rem;
  color: var(--color-primary);
}

.hero-metrics span {
  font-size: 0.82rem;
  color: #d4e5ed;
}

.hero-panel,
.carousel-shell,
.partners-marquee,
.contact-form {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(0, 154, 212, 0.16), rgba(0, 0, 0, 0.58)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.hero-panel-video {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.hero-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.panel-copy {
  color: var(--color-muted);
}

.carousel-shell {
  margin-top: 1.8rem;
  border-radius: var(--radius-xl);
  padding: 1.35rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.035), rgba(18, 23, 25, 0.9));
}

.carousel-head {
  margin-bottom: 1.1rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.carousel-head-tight {
  margin-bottom: 1rem;
}

.carousel-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.carousel-copy {
  max-width: 54ch;
  color: var(--color-muted);
}

.carousel-controls {
  display: flex;
  gap: 0.45rem;
  flex-shrink: 0;
}

.carousel-button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(0, 154, 212, 0.38);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.carousel-button:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background: rgba(0, 154, 212, 0.18);
}

.carousel-viewport {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.carousel-viewport::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 clamp(252px, 33vw, 360px);
  scroll-snap-align: start;
}

.slider-window {
  overflow: hidden;
}

.slider-window-video {
  flex: 1 1 auto;
  max-width: 380px;
  margin: 0;
}

.slider-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.6s ease;
  will-change: transform;
}

.slider-card {
  min-width: 0;
}

.video-slider-track .slider-card {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
}

.video-card {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #07090a;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: #000;
}

.video-slider-stage {
  width: 100%;
  max-width: 520px;
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.video-nav {
  flex: 0 0 auto;
}

.video-caption,
.service-body {
  padding: 0.95rem 1rem 1.05rem;
}

.video-caption strong,
.project-copy h3,
.service-body h3 {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.video-caption span,
.service-body p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.video-caption {
  margin-top: 0.95rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-link {
  margin-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 800;
  color: #9fe6ff;
}

.panel-link:hover {
  color: #fff;
}

.showcase {
  background: linear-gradient(180deg, rgba(0, 154, 212, 0.08), transparent 75%);
}

.showcase .carousel-shell {
  max-width: 1040px;
  margin-inline: auto;
}

.portfolio-carousel {
  gap: 0.85rem;
}

.portfolio-carousel .carousel-card {
  flex-basis: clamp(236px, 29vw, 320px);
}

.project-card {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #101314;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18) 58%);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.project-copy {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
}

.project-copy p {
  margin-bottom: 0.25rem;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8fddfa;
}

.project-copy span {
  color: #daeaf1;
  font-size: 0.9rem;
}

.services {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 72%);
}

.service-carousel .carousel-card {
  flex-basis: clamp(260px, 31vw, 320px);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04), rgba(12, 14, 15, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.service-body h3 {
  margin-bottom: 0.4rem;
}

.zivra-section {
  --zivra-green: #adfc03;
  --zivra-black: #000000;
  --zivra-white: #ffffff;
  --zivra-graphite: #3b3b35;
  background:
    radial-gradient(circle at 82% 18%, rgba(173, 252, 3, 0.16), transparent 22%),
    radial-gradient(circle at 14% 78%, rgba(173, 252, 3, 0.09), transparent 20%),
    linear-gradient(160deg, #040404 0%, #13130f 46%, #000000 100%);
}

.zivra-section .eyebrow {
  color: var(--zivra-green);
}

.zivra-section .section-head h2,
.zivra-section .section-intro,
.zivra-section .zivra-note span {
  color: var(--zivra-white);
}

.zivra-visual {
  padding: clamp(1.4rem, 3vw, 2.2rem);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(59, 59, 53, 0.88), rgba(0, 0, 0, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
  border: 1px solid rgba(173, 252, 3, 0.16);
  box-shadow: 0 26px 54px rgba(0, 0, 0, 0.42);
}

.zivra-logo-frame {
  min-height: 340px;
  padding: 1.8rem;
  display: grid;
  place-items: center;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at center, rgba(173, 252, 3, 0.14), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(59, 59, 53, 0.48));
  border: 1px solid rgba(173, 252, 3, 0.16);
}

.zivra-logo-display {
  width: min(100%, 430px);
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 10px rgba(173, 252, 3, 0.55))
    drop-shadow(0 0 24px rgba(173, 252, 3, 0.2));
  animation: zivra-section-float 4.2s ease-in-out infinite;
}

.zivra-pills {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.zivra-pills span {
  padding: 0.48rem 0.8rem;
  border-radius: 999px;
  background: rgba(173, 252, 3, 0.08);
  border: 1px solid rgba(173, 252, 3, 0.22);
  color: var(--zivra-green);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.zivra-notes {
  margin-top: 1.15rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.zivra-note {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(59, 59, 53, 0.58);
  border: 1px solid rgba(173, 252, 3, 0.16);
}

.zivra-note:last-child {
  grid-column: 1 / -1;
  width: min(100%, calc(50% - 0.4rem));
  justify-self: center;
}

.zivra-note strong {
  display: block;
  margin-bottom: 0.28rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--zivra-green);
}

@keyframes zivra-section-float {
  0%,
  100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 0 10px rgba(173, 252, 3, 0.55))
      drop-shadow(0 0 24px rgba(173, 252, 3, 0.2));
  }

  50% {
    transform: translateY(-8px) scale(1.01);
    filter:
      drop-shadow(0 0 12px rgba(255, 255, 255, 0.28))
      drop-shadow(0 0 34px rgba(173, 252, 3, 0.34));
  }
}

.process-steps {
  margin: 1.7rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.process-steps li {
  padding: 1.25rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(227, 93, 22, 0.22);
}

.process-steps span {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.75rem;
  color: var(--color-accent);
}

.process-steps h3 {
  font-size: 1.35rem;
}

.process-steps p {
  color: var(--color-muted);
  font-size: 0.92rem;
}

.section-content .process-steps {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partners {
  background: linear-gradient(180deg, transparent, rgba(0, 154, 212, 0.08));
}

.partners-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 1.4rem;
  align-items: center;
}

.partners-copy h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-wrap: balance;
}

.partners-copy p {
  max-width: 58ch;
  color: var(--color-muted);
}

.partners-marquee {
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 1.2rem;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(17, 20, 22, 0.92));
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: max-content;
  animation: partners-scroll 34s linear infinite;
}

.partner-mark {
  min-width: 148px;
  min-height: 98px;
  padding: 0.95rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.partner-mark img {
  max-width: 100%;
  max-height: 58px;
  object-fit: contain;
}

@keyframes partners-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.3rem;
  align-items: start;
}

.contact-copy h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 3rem);
  text-wrap: balance;
}

.contact-copy p {
  margin-bottom: 1rem;
  max-width: 56ch;
  color: var(--color-muted);
}

.contact-copy ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.42rem;
  max-width: 52ch;
}

.contact-copy li {
  color: #ecf6fb;
}

.social-links {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-link {
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 154, 212, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: #dff2fb;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.social-link:hover {
  border-color: var(--color-primary);
  background: rgba(0, 154, 212, 0.16);
  color: #fff;
}

.contact-form {
  padding: 1.25rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(0, 154, 212, 0.14), rgba(0, 0, 0, 0.52));
  display: grid;
  gap: 0.55rem;
}

.contact-form label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9edff7;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  padding: 0.78rem 0.85rem;
  font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
}

.contact-form button {
  min-height: 48px;
  margin-top: 0.5rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #f27a2b);
}

.contact-form button:hover {
  filter: brightness(1.05);
}

.site-footer {
  padding: 1.6rem 0 2.1rem;
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #bdd1da;
  font-size: 0.9rem;
}

.footer-logo {
  width: min(230px, 42vw);
  max-height: 48px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.footer-social a,
.footer-inner > a:last-child {
  padding: 0.38rem 0.64rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 154, 212, 0.35);
  color: #99dced;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-social a:hover,
.footer-inner > a:last-child:hover {
  color: #fff;
  border-color: var(--color-primary);
}

.logo-asset.is-hidden {
  display: none;
}

.reveal,
.reveal-stagger {
  opacity: 0;
  transform: translateY(24px);
}

.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal-stagger.is-visible {
  transition-delay: var(--delay, 0ms);
}

@media (max-width: 1024px) {
  section {
    padding: 4.1rem 0;
  }

  .menu-toggle {
    display: inline-block;
    z-index: 25;
  }

  .main-nav {
    position: absolute;
    top: 78px;
    left: 50%;
    transform: translateX(-50%);
    width: min(420px, 92vw);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(6, 8, 9, 0.98);
    box-shadow: var(--shadow-card);
    padding: 1rem;
    display: none;
    flex-direction: column;
    text-align: center;
  }

  .main-nav.is-open {
    display: flex;
  }

  .nav-zivra {
    align-items: center;
    margin-right: 0;
    padding-right: 0;
    padding-bottom: 0.8rem;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-zivra-logo {
    width: 110px;
  }

  .hero {
    padding-top: 5.2rem;
  }

  .hero-grid,
  .section-split,
  .partners-grid,
  .contact-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .section-split-reverse .section-copy,
  .section-split-reverse .section-content {
    order: initial;
  }

  .hero-kicker {
    margin-bottom: 0.8rem;
  }

  .hero-copy h1,
  .section-head h2,
  .partners-copy h2,
  .contact-copy h2 {
    max-width: none;
  }

  .hero-panel,
  .carousel-shell,
  .partners-marquee,
  .contact-form {
    padding: 1.15rem;
  }

  .carousel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-panel-video {
    padding: 0;
  }
}

@media (max-width: 720px) {
  .section-intro {
    max-width: none;
  }

  .nav-zivra-logo {
    width: 98px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 12vw, 3.55rem);
  }

  .hero-metrics,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .carousel-card,
  .service-carousel .carousel-card,
  .video-carousel .carousel-card {
    flex-basis: min(84vw, 320px);
  }

  .portfolio-carousel .carousel-card {
    flex-basis: min(74vw, 280px);
  }

  .project-card {
    aspect-ratio: 4 / 5;
  }

  .video-slider-stage {
    max-width: 100%;
    gap: 0.45rem;
  }

  .video-nav {
    width: 38px;
    height: 38px;
  }

  .zivra-logo-frame {
    min-height: 260px;
    padding: 1.2rem;
  }

  .zivra-pills {
    gap: 0.5rem;
  }

  .zivra-notes {
    grid-template-columns: 1fr;
  }

  .zivra-note:last-child {
    width: 100%;
  }

  .partner-mark {
    min-width: 132px;
    min-height: 88px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-logo {
    width: min(220px, 62vw);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  .reveal-stagger {
    opacity: 1;
    transform: none;
  }
}
