:root {
  --ink: #0a0c0b;
  --paper: #e7ebe8;
  --signal: #b8ff3c;
  --mist: #c5ccc7;
  --mute: #5c655e;
  --amadora: #7c3aed;
}

*,
*::before,
*::after {
  border-radius: 0 !important;
}

html {
  scroll-behavior: smooth;
}

::selection {
  background: var(--signal);
  color: var(--ink);
}

.partner-badge {
  background: var(--amadora);
  color: #fff;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

.partner-badge:hover {
  background: #6d28d9;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.partner-badge-divider {
  width: 1px;
  height: 1rem;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.partner-badge .partner-logo {
  filter: brightness(0) invert(1);
}

/* Muted hero photo — right side only, no animation */
.hero-visual {
  position: absolute;
  inset: 0 0 0 42%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(0.4) contrast(1.05);
  opacity: 0.55;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(10, 12, 11, 0.75) 28%, transparent 62%),
    linear-gradient(180deg, rgba(10, 12, 11, 0.35) 0%, transparent 35%, rgba(10, 12, 11, 0.55) 100%);
}

@media (max-width: 767px) {
  .hero-visual {
    inset: 0;
    opacity: 0.35;
  }

  .hero-visual::after {
    background:
      linear-gradient(180deg, rgba(10, 12, 11, 0.55) 0%, rgba(10, 12, 11, 0.82) 55%, var(--ink) 100%),
      linear-gradient(90deg, var(--ink) 0%, transparent 70%);
  }
}

/* One-shot hero entrance — transform only, no continuous paint */
.hero-word {
  transform: translateY(110%);
  animation: rise-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.1s;
}

.hero-word-delay {
  animation-delay: 0.22s;
}

@keyframes rise-in {
  to {
    transform: translateY(0);
  }
}

/* Service hover line — only on hover, cheap transform */
.service-card {
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::after {
  transform: scaleX(1);
}

.client-dot {
  display: inline-block;
  width: 28px;
  height: 2px;
  background: rgba(197, 204, 199, 0.35);
}

.client-dot.is-active {
  width: 48px;
  background: var(--signal);
}

.client-logo {
  position: relative;
}

.client-logo::before {
  content: "";
  position: absolute;
  left: 0;
  top: -0.5rem;
  width: 2rem;
  height: 2px;
  background: var(--signal);
}

.form-field {
  width: 100%;
  background: transparent;
  border: 0;
  outline: none;
  padding: 1.15rem 1.25rem;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  color: var(--ink);
}

.form-field::placeholder {
  color: var(--mute);
}

.form-field:focus {
  background: rgba(184, 255, 60, 0.12);
}

.form-field.is-invalid {
  background: rgba(217, 52, 38, 0.08);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-word {
    animation: none !important;
    transform: none !important;
  }

  .service-card::after {
    transition: none !important;
  }

  #clients-track {
    transition: none !important;
  }
}
