:root {
  --wfemk-accent-default: #1e75ff;
}

.wfemk-section,
.wfemk-section * {
  box-sizing: border-box;
}

.wfemk-section {
  --wfemk-accent: var(--wfemk-accent-default);
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 72px clamp(16px, 4vw, 56px);
  font-family: inherit;
  color: #101827;
}

.wfemk-title {
  margin: 0;
  color: inherit;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
}

.wfemk-title--xl {
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.98;
}

.wfemk-lead,
.wfemk-text {
  margin: 18px 0 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: #526071;
}

.wfemk-eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 0 18px;
  padding: 9px 13px;
  border: 1px solid rgba(30, 117, 255, 0.14);
  border-radius: 999px;
  background: rgba(30, 117, 255, 0.08);
  color: var(--wfemk-accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.wfemk-section-head {
  max-width: 850px;
  margin: 0 0 34px;
}

.wfemk-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.wfemk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.wfemk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 16px 24px;
  border: 0;
  border-radius: 999px;
  text-decoration: none !important;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.wfemk-btn:hover {
  transform: translateY(-2px);
  text-decoration: none !important;
}

.wfemk-btn--primary,
.wfemk-btn--small,
.wfemk-btn--large {
  color: #fff !important;
  background: linear-gradient(135deg, var(--wfemk-accent), #0957d8);
  box-shadow: 0 18px 40px rgba(30, 117, 255, 0.25);
}

.wfemk-btn--ghost {
  color: #13233a !important;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(17, 24, 39, .10);
}

.wfemk-btn--small {
  min-height: 46px;
  padding: 13px 18px;
  font-size: 14px;
}

.wfemk-btn--large {
  min-height: 60px;
  padding: 19px 30px;
  font-size: 18px;
}

.wfemk-note {
  max-width: 300px;
  color: #667085;
  font-size: 14px;
  line-height: 1.45;
}

.wfemk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.wfemk-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(30, 117, 255, .12);
  border-radius: 999px;
  background: #fff;
  color: #27364b;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(16, 24, 40, .06);
}

.wfemk-grid {
  display: grid;
  gap: 22px;
}

.wfemk-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.wfemk-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wfemk-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.wfemk-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(17, 24, 39, .08);
  border-radius: 28px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 22px 60px rgba(16, 24, 40, .08);
}

.wfemk-card h3 {
  margin: 0;
  color: #111827;
  font-size: 22px;
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.wfemk-card p {
  margin: 12px 0 0;
  color: #5b6678;
  font-size: 15px;
  line-height: 1.55;
}

.wfemk-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--wfemk-accent) !important;
  font-weight: 800;
  text-decoration: none !important;
}

/* Hero */
.wfemk-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: clamp(64px, 7vw, 110px) clamp(16px, 5vw, 84px);
  isolation: isolate;
  overflow: hidden;
}

.wfemk-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 82% 18%, rgba(30,117,255,.20), transparent 31%),
    radial-gradient(circle at 13% 78%, rgba(0,210,255,.11), transparent 30%),
    linear-gradient(135deg, #f7fbff 0%, #eef5ff 52%, #ffffff 100%);
}

.wfemk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .55;
  background-image: linear-gradient(rgba(30,117,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(30,117,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 90%);
}

.wfemk-hero--blue {
  color: #fff;
}
.wfemk-hero--blue::before {
  background: radial-gradient(circle at 80% 20%, rgba(74, 169, 255, .35), transparent 30%), linear-gradient(135deg, #063e92, #0b1f4f 78%);
}
.wfemk-hero--blue .wfemk-lead,
.wfemk-hero--blue .wfemk-text { color: rgba(255,255,255,.78); }
.wfemk-hero--blue .wfemk-title { color: #fff; }

.wfemk-hero--dark {
  color: #fff;
}
.wfemk-hero--dark::before {
  background: radial-gradient(circle at 82% 22%, rgba(30,117,255,.28), transparent 30%), linear-gradient(135deg, #090d18, #111827 80%);
}
.wfemk-hero--dark .wfemk-lead,
.wfemk-hero--dark .wfemk-text { color: rgba(255,255,255,.78); }
.wfemk-hero--dark .wfemk-title { color: #fff; }

.wfemk-hero__content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.wfemk-hero__media {
  min-height: 420px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wfemk-hero__media img {
  width: min(100%, 740px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 34px 80px rgba(16,24,40,.20));
}

.wfemk-float-card {
  position: absolute;
  left: 4%;
  bottom: 8%;
  width: min(270px, 80%);
  padding: 18px;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 22px;
  background: rgba(255,255,255,.78);
  box-shadow: 0 24px 60px rgba(16,24,40,.16);
  backdrop-filter: blur(16px);
}
.wfemk-float-card strong { display: block; color: var(--wfemk-accent); font-size: 34px; line-height: 1; }
.wfemk-float-card span { display: block; margin-top: 6px; color: #344054; font-size: 13px; line-height: 1.35; }

/* CTA */
.wfemk-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .52fr);
  align-items: center;
  gap: 34px;
  border-radius: 36px;
  background:
    radial-gradient(circle at 92% 16%, rgba(30,117,255,.18), transparent 28%),
    linear-gradient(135deg, #f7fbff, #eef5ff);
  box-shadow: 0 24px 70px rgba(16,24,40,.07);
}
.wfemk-cta__content { max-width: 760px; }
.wfemk-cta__media img { width: 100%; max-height: 360px; object-fit: contain; filter: drop-shadow(0 24px 50px rgba(16,24,40,.16)); }

/* Benefits */
.wfemk-benefit-card {
  padding: 28px;
}
.wfemk-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  border-radius: 18px;
  background: rgba(30,117,255,.10);
  color: var(--wfemk-accent);
  font-weight: 900;
}

/* Steps */
.wfemk-steps__line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: steps;
}
.wfemk-step {
  position: relative;
  padding: 26px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 18px 44px rgba(16,24,40,.06);
}
.wfemk-step__num {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--wfemk-accent), #0957d8);
  font-weight: 900;
}
.wfemk-step h3 { margin: 0; font-size: 20px; font-weight: 800; }
.wfemk-step p { margin: 10px 0 0; color: #5b6678; line-height: 1.55; }

/* Cases */
.wfemk-case { display: grid; grid-template-columns: 40% 60%; min-height: 280px; }
.wfemk-case__img { background: #eef5ff; min-height: 100%; }
.wfemk-case__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wfemk-case__body { padding: 28px; }
.wfemk-case__metric { display: inline-flex; margin-bottom: 14px; color: var(--wfemk-accent); font-size: 28px; font-weight: 900; }

/* FAQ */
.wfemk-faq__list { max-width: 940px; margin: 0 auto; display: grid; gap: 12px; }
.wfemk-faq__item { border: 1px solid rgba(17,24,39,.08); border-radius: 22px; background: #fff; box-shadow: 0 14px 36px rgba(16,24,40,.05); overflow: hidden; }
.wfemk-faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 22px 24px; border: 0; background: transparent; color: #111827; text-align: left; font-size: 18px; font-weight: 800; cursor: pointer; }
.wfemk-faq__q b { width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: rgba(30,117,255,.10); color: var(--wfemk-accent); }
.wfemk-faq__a { display: none; padding: 0 24px 22px; color: #5b6678; }
.wfemk-faq__a p { margin: 0; line-height: 1.6; }
.wfemk-faq__item.is-open .wfemk-faq__a { display: block; }
.wfemk-faq__item.is-open .wfemk-faq__q b { transform: rotate(45deg); }

/* Pricing */
.wfemk-price { padding: 30px; }
.wfemk-price.is-featured { border-color: rgba(30,117,255,.35); box-shadow: 0 28px 80px rgba(30,117,255,.14); transform: translateY(-8px); }
.wfemk-price__label { display: inline-flex; margin-bottom: 14px; padding: 8px 10px; border-radius: 999px; background: rgba(30,117,255,.10); color: var(--wfemk-accent); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.wfemk-price__value { margin-top: 14px; color: #111827; font-size: 32px; line-height: 1; font-weight: 900; letter-spacing: -0.03em; }
.wfemk-price ul { margin: 22px 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.wfemk-price li { position: relative; padding-left: 24px; color: #46556a; line-height: 1.4; }
.wfemk-price li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--wfemk-accent); font-weight: 900; }

/* Comparison */
.wfemk-table-wrap { overflow-x: auto; border-radius: 28px; box-shadow: 0 24px 70px rgba(16,24,40,.08); }
.wfemk-table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; overflow: hidden; }
.wfemk-table th { padding: 22px; background: #f1f6ff; color: #111827; text-align: left; font-size: 15px; }
.wfemk-table td { padding: 20px 22px; border-top: 1px solid rgba(17,24,39,.08); color: #536173; line-height: 1.45; vertical-align: top; }
.wfemk-table td:first-child { color: #111827; font-weight: 800; }
.wfemk-table .is-good { color: #193b73; background: rgba(30,117,255,.05); font-weight: 700; }

/* Services */
.wfemk-service__img { height: 180px; background: #eef5ff; }
.wfemk-service__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wfemk-service__body { padding: 24px; }
.wfemk-service__price { display: inline-flex; margin-bottom: 12px; color: var(--wfemk-accent); font-weight: 900; }

/* Final CTA */
.wfemk-final__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 34px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 22%, rgba(118,183,255,.30), transparent 30%),
    linear-gradient(135deg, #0a2d68, #101827 78%);
  box-shadow: 0 28px 90px rgba(16,24,40,.18);
}
.wfemk-final .wfemk-title { color: #fff; }
.wfemk-final .wfemk-text { color: rgba(255,255,255,.74); }
.wfemk-contacts { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 22px; }
.wfemk-contacts a { color: #fff !important; text-decoration: none !important; font-weight: 800; }

@media (max-width: 1024px) {
  .wfemk-hero,
  .wfemk-cta,
  .wfemk-final__box {
    grid-template-columns: 1fr;
  }
  .wfemk-hero__media { min-height: 320px; }
  .wfemk-grid--3,
  .wfemk-grid--4,
  .wfemk-steps__line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wfemk-case { grid-template-columns: 1fr; }
  .wfemk-case__img { min-height: 220px; }
}

@media (max-width: 767px) {
  .wfemk-section {
    padding: 52px 16px;
  }
  .wfemk-title {
    letter-spacing: -0.035em;
  }
  .wfemk-hero {
    padding: 58px 16px;
  }
  .wfemk-grid--2,
  .wfemk-grid--3,
  .wfemk-grid--4,
  .wfemk-steps__line {
    grid-template-columns: 1fr;
  }
  .wfemk-actions,
  .wfemk-btn {
    width: 100%;
  }
  .wfemk-btn {
    min-height: 54px;
  }
  .wfemk-hero__media {
    min-height: 260px;
  }
  .wfemk-float-card {
    position: relative;
    left: auto;
    bottom: auto;
    width: 100%;
    margin-top: 18px;
  }
  .wfemk-cta,
  .wfemk-final__box {
    border-radius: 26px;
  }
  .wfemk-price.is-featured {
    transform: none;
  }
}
