.wfx-page {
  --wfx-black: #05070d;
  --wfx-ink: #11131a;
  --wfx-muted: #687180;
  --wfx-line: rgba(17, 19, 26, 0.12);
  --wfx-red: #ec1d24;
  --wfx-red-dark: #9f1118;
  --wfx-silver: #f3f5f7;
  --wfx-white: #ffffff;
  --wfx-shadow: 0 24px 70px rgba(5, 7, 13, 0.16);
  color: var(--wfx-ink);
  background: var(--wfx-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow: clip;
}

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

.wfx-page a {
  color: inherit;
  text-decoration: none;
}

.wfx-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.wfx-nav {
  position: sticky;
  z-index: 20;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 76px;
  padding: 14px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(17, 19, 26, 0.08);
  backdrop-filter: blur(18px);
}

.wfx-brand {
  display: block;
  width: clamp(180px, 20vw, 290px);
}

.wfx-menu {
  justify-self: center;
  display: flex;
  gap: 8px;
  font-size: 14px;
  font-weight: 800;
}

.wfx-menu a,
.wfx-nav-cta {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 9px 12px;
}

.wfx-menu a:hover {
  background: rgba(236, 29, 36, 0.08);
  color: var(--wfx-red);
}

.wfx-nav-cta {
  background: var(--wfx-black);
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(5, 7, 13, 0.18);
}

.wfx-hero {
  position: relative;
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: clamp(58px, 8vw, 105px) clamp(18px, 5vw, 70px);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.88) 42%, rgba(255, 255, 255, 0.36) 100%),
    var(--wfx-hero-image) center / cover no-repeat;
}

.wfx-hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 46%;
  background: linear-gradient(0deg, #fff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.wfx-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.24;
  background-image:
    radial-gradient(circle at 24% 28%, rgba(236, 29, 36, 0.18), transparent 20%),
    radial-gradient(circle at 78% 18%, rgba(0, 0, 0, 0.12), transparent 18%);
}

.wfx-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.64fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  width: min(1240px, 100%);
  margin-inline: auto;
}

.wfx-eyebrow {
  margin: 0 0 13px;
  color: var(--wfx-red);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.wfx-page h1,
.wfx-page h2,
.wfx-page h3,
.wfx-page p {
  overflow-wrap: anywhere;
}

.wfx-page h1 {
  max-width: 780px;
  margin: 0;
  color: var(--wfx-black);
  font-size: clamp(42px, 6vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.wfx-lead {
  max-width: 680px;
  margin: 24px 0 0;
  color: #424a57;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.7;
}

.wfx-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.wfx-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 13px 18px;
  font-weight: 950;
  line-height: 1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.wfx-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(236, 29, 36, 0.22);
}

.wfx-button-primary {
  background: linear-gradient(135deg, var(--wfx-red), var(--wfx-red-dark));
  color: #fff !important;
}

.wfx-page .wfx-button-primary:hover,
.wfx-page .wfx-nav-cta:hover {
  color: #fff !important;
}

.wfx-button-ghost {
  border-color: rgba(5, 7, 13, 0.16);
  background: rgba(255, 255, 255, 0.72);
  color: var(--wfx-black);
}

.wfx-hero-card {
  position: relative;
  min-height: 460px;
  display: grid;
  align-content: end;
  gap: 22px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.66);
  box-shadow: var(--wfx-shadow);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 180ms ease;
}

.wfx-hero-card > * {
  position: relative;
  z-index: 1;
}

.wfx-hero-card img {
  width: min(340px, 86%);
  padding: 14px;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 8px;
}

.wfx-hero-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 950;
}

.wfx-hero-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wfx-hero-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--wfx-red);
  box-shadow: 0 0 20px rgba(236, 29, 36, 0.75);
}

.wfx-hero-card a {
  width: fit-content;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--wfx-black);
  color: #fff;
  font-weight: 950;
}

.wfx-orbit {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.wfx-orbit span {
  position: absolute;
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--wfx-red);
  filter: drop-shadow(0 0 15px rgba(236, 29, 36, 0.9));
  animation: wfxFloat 7s ease-in-out infinite;
}

.wfx-orbit span:nth-child(1) {
  top: 18%;
  right: 18%;
}

.wfx-orbit span:nth-child(2) {
  top: 48%;
  right: 9%;
  animation-delay: -2s;
}

.wfx-orbit span:nth-child(3) {
  bottom: 18%;
  left: 14%;
  animation-delay: -4s;
}

.wfx-section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 5vw, 70px);
}

.wfx-section-head {
  width: min(850px, 100%);
  margin-bottom: 38px;
}

.wfx-section h2 {
  margin: 0;
  color: var(--wfx-black);
  font-size: clamp(32px, 4.4vw, 58px);
  line-height: 1.04;
  letter-spacing: 0;
}

.wfx-intro {
  background: #fff;
}

.wfx-intro-grid,
.wfx-service-grid,
.wfx-roadmap {
  display: grid;
  gap: 18px;
}

.wfx-intro-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wfx-metric,
.wfx-service,
.wfx-step {
  border: 1px solid var(--wfx-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(5, 7, 13, 0.06);
}

.wfx-metric {
  min-height: 180px;
  padding: 26px;
}

.wfx-metric strong {
  display: block;
  margin-bottom: 22px;
  color: var(--wfx-red);
  font-size: 40px;
  line-height: 1;
}

.wfx-metric span {
  color: #3e4653;
  font-size: 18px;
  line-height: 1.55;
}

.wfx-services {
  background:
    linear-gradient(180deg, #f5f7fa 0%, #ffffff 100%);
}

.wfx-service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wfx-service {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.wfx-service::after {
  content: "";
  position: absolute;
  inset: auto 20px 0;
  height: 4px;
  background: linear-gradient(90deg, var(--wfx-red), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 190ms ease;
}

.wfx-service:hover {
  transform: translateY(-6px);
  border-color: rgba(236, 29, 36, 0.34);
  box-shadow: var(--wfx-shadow);
}

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

.wfx-service span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(236, 29, 36, 0.09);
  color: var(--wfx-red);
  font-size: 12px;
  font-weight: 950;
}

.wfx-team-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.8fr);
  min-height: 520px;
  background: #fff;
}

.wfx-team-image {
  min-height: 420px;
}

.wfx-team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wfx-team-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 100px);
  background: #f4f6f8;
}

.wfx-team-copy h2 {
  max-width: 560px;
  margin: 0;
  color: var(--wfx-black);
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.06;
}

.wfx-team-copy p:last-child {
  max-width: 530px;
  margin: 22px 0 0;
  color: var(--wfx-muted);
  font-size: 18px;
  line-height: 1.68;
}

.wfx-service h3,
.wfx-step h3 {
  margin: 24px 0 12px;
  color: var(--wfx-black);
  font-size: 24px;
}

.wfx-service p,
.wfx-step p,
.wfx-seo-panel p,
.wfx-contact p {
  color: var(--wfx-muted);
  line-height: 1.72;
}

.wfx-process {
  background: var(--wfx-black);
  color: #fff;
}

.wfx-process .wfx-section h2,
.wfx-process h2,
.wfx-process h3 {
  color: #fff;
}

.wfx-roadmap {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wfx-step {
  min-height: 280px;
  padding: 28px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border-color: rgba(255, 255, 255, 0.13);
}

.wfx-step b {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wfx-red);
  color: #fff;
  font-size: 18px;
}

.wfx-step p {
  color: rgba(255, 255, 255, 0.72);
}

.wfx-seo {
  background:
    linear-gradient(135deg, rgba(236, 29, 36, 0.08), rgba(5, 7, 13, 0)),
    #fff;
}

.wfx-seo-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(330px, 0.62fr);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
  width: min(1180px, 100%);
  margin-inline: auto;
}

.wfx-checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wfx-checks span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 14px;
  border-radius: 8px;
  background: #f4f6f8;
  color: var(--wfx-black);
  font-weight: 850;
}

.wfx-seo-photo {
  min-height: 390px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--wfx-shadow);
}

.wfx-seo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.wfx-contact {
  background:
    linear-gradient(115deg, rgba(5, 7, 13, 0.94), rgba(5, 7, 13, 0.78)),
    var(--wfx-contact-image) center / cover no-repeat;
  color: #fff;
}

.wfx-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(300px, 0.52fr);
  gap: clamp(28px, 5vw, 74px);
  width: min(1180px, 100%);
  margin-inline: auto;
  align-items: start;
}

.wfx-contact h2 {
  color: #fff;
}

.wfx-contact p {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.wfx-contact-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
}

.wfx-contact-card a:not(.wfx-button) {
  display: grid;
  gap: 5px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.wfx-contact-card small {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 750;
}

.wfx-contact-card strong {
  font-size: 22px;
}

.wfx-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 620ms ease, transform 620ms ease;
}

.wfx-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes wfxFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(12px, -18px, 0) scale(1.45);
  }
}

@media (max-width: 1080px) {
  .wfx-nav {
    grid-template-columns: 1fr auto;
  }

  .wfx-menu {
    display: none;
  }

  .wfx-hero-grid,
  .wfx-seo-panel,
  .wfx-contact-grid,
  .wfx-team-showcase {
    grid-template-columns: 1fr;
  }

  .wfx-service-grid,
  .wfx-roadmap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wfx-nav {
    min-height: auto;
    gap: 14px;
    padding-block: 12px;
  }

  .wfx-brand {
    width: min(220px, 58vw);
  }

  .wfx-nav-cta {
    font-size: 13px;
    padding-inline: 10px;
  }

  .wfx-hero {
    min-height: auto;
    padding-top: 56px;
  }

  .wfx-hero-card {
    min-height: 390px;
  }

  .wfx-intro-grid,
  .wfx-service-grid,
  .wfx-roadmap,
  .wfx-checks {
    grid-template-columns: 1fr;
  }

  .wfx-team-image {
    min-height: 340px;
  }

  .wfx-team-copy {
    padding: 56px 24px;
  }

  .wfx-seo-photo {
    min-height: 270px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wfx-page *,
  .wfx-page *::before,
  .wfx-page *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
