/* ============================================================================
   Home redesign — loaded on is_front_page() only.
   Every class is .wmh-*, against the site's existing .wm-*, so nothing here can
   reach another page even by accident. Colours come from the theme's own :root
   tokens in main.css, which loads first — no new brand colour is introduced.
   ========================================================================== */

.wmh-container {
  width: 100%;
  max-width: var(--wm-container, 1180px);
  margin-inline: auto;
  padding-inline: 20px;
}

/* Display face for headings only. Body text stays on Inter, which the site
   already loads — swapping it would cost a request and gain nothing. */
.wmh-hero-title,
.wmh-section-title { font-family: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, sans-serif; }

/* ─── Shared home primitives ──────────────────────────────────────────────── */

.wmh-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.76rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--wm-primary);
  background: var(--wm-blue-soft);
  border: 1px solid var(--wm-blue-soft-2);
  padding: 6px 14px 6px 11px; border-radius: 999px;
}
.wmh-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: var(--wm-secondary);
  box-shadow: 0 0 0 0 var(--wm-secondary-glow);
  animation: wmh-pulse 2.4s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wmh-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,168,107,0.45); }
  70%  { box-shadow: 0 0 0 9px rgba(0,168,107,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,107,0); }
}

.wmh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--wm-radius-sm, 12px);
  font-size: 0.95rem; font-weight: 700; font-family: inherit;
  text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .22s var(--wm-ease), box-shadow .22s var(--wm-ease), background .22s var(--wm-ease);
}
.wmh-btn-primary { background: var(--wm-primary); color: #fff; box-shadow: 0 10px 28px rgba(11,95,255,0.26); }
.wmh-btn-primary:hover { background: var(--wm-primary-dark); transform: translateY(-2px); box-shadow: 0 16px 38px rgba(11,95,255,0.32); }
.wmh-btn-whatsapp { background: #fff; color: var(--wm-dark); border-color: var(--wm-border-2); }
.wmh-btn-whatsapp:hover { border-color: #25D366; color: #128C43; transform: translateY(-2px); }
.wmh-btn-block { width: 100%; }
.wmh-btn:focus-visible { outline: 3px solid var(--wm-primary-glow); outline-offset: 2px; }

/* ─── Hero ────────────────────────────────────────────────────────────────── */

.wmh-hero {
  position: relative;
  /* The site header is position:fixed, so the top padding has to clear it. The old
     hero used 120px on desktop and 104px below 768px; anything less hides the eyebrow
     behind the header, which a first draft here did. */
  padding-block: clamp(104px, 9vw, 124px) clamp(56px, 9vw, 96px);
  background: linear-gradient(180deg, var(--wm-white) 0%, var(--wm-light) 100%);
  overflow: hidden;
}
/* A slow mesh rather than the old dot grid plus two blobs — one element, and it
   drifts instead of sitting still. */
.wmh-hero-mesh {
  position: absolute; inset: -30% -10% auto -10%; height: 150%;
  /* Colour is placed deliberately BEHIND the form card, around 76% across. Glass
     only reads as glass when there is something to see through it — over a white
     background the blur has nothing to do and the card just looks grey. */
  background:
    radial-gradient(40% 44% at 16% 22%, rgba(11,95,255,0.16), transparent 70%),
    radial-gradient(34% 40% at 88% 10%, rgba(0,168,107,0.16), transparent 70%),
    radial-gradient(38% 44% at 76% 52%, rgba(11,95,255,0.20), transparent 68%),
    radial-gradient(34% 36% at 62% 88%, rgba(59,130,246,0.14), transparent 72%);
  animation: wmh-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes wmh-drift {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to   { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.wmh-hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px);
  gap: clamp(32px, 5vw, 64px); align-items: center;
}
.wmh-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }

.wmh-hero-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800; letter-spacing: -0.033em; line-height: 1.07;
  color: var(--wm-dark); margin: 0; text-wrap: balance;
}
/* The highlighted phrase is underlined, not filled. Same emphasis, and it does not
   turn the first line into a block of colour. */
.wmh-mark { position: relative; white-space: nowrap; }
.wmh-mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.28em;
  background: linear-gradient(90deg, var(--wm-primary-glow), rgba(0,168,107,0.24));
  border-radius: 3px; z-index: -1;
  transform-origin: left center; transform: scaleX(0);
  animation: wmh-underline .9s .35s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes wmh-underline { to { transform: scaleX(1); } }

.wmh-hero-sub { font-size: 1.04rem; line-height: 1.75; color: var(--wm-muted); margin: 0; max-width: 56ch; }
.wmh-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.wmh-chips { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.wmh-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.82rem; font-weight: 600; color: var(--wm-dark-3);
  background: var(--wm-white); border: 1px solid var(--wm-border);
  padding: 7px 13px; border-radius: 999px;
}
.wmh-chip svg { color: var(--wm-secondary); flex: 0 0 auto; }

/* Right column */
.wmh-hero-panel { position: relative; display: flex; flex-direction: column; gap: 12px; }

.wmh-status { display: flex; flex-wrap: wrap; gap: 7px; }
.wmh-status-pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.74rem; font-weight: 700; color: var(--wm-dark-3);
  background: var(--wm-white); border: 1px solid var(--wm-border);
  padding: 6px 11px; border-radius: 999px; box-shadow: var(--wm-shadow-xs);
  opacity: 0; transform: translateY(6px);
  animation: wmh-deal .5s cubic-bezier(.34,1.56,.64,1) forwards;
  animation-delay: calc(0.25s + var(--i) * 0.11s);
}
.wmh-status-pill svg { color: var(--wm-primary); flex: 0 0 auto; }
@keyframes wmh-deal { to { opacity: 1; transform: translateY(0); } }

/* Glass. Real glass does three things at once: it blurs what is behind it, it
   lifts the saturation slightly, and it catches light along its top edge. Doing
   only the blur is what makes most "glassmorphism" look like a grey rectangle.
   The card is kept at 74% opacity rather than something more dramatic, because
   this is the form the business runs on and it has to stay easy to read. */
.wmh-form-card {
  position: relative;
  background: rgba(255,255,255,0.74);
  -webkit-backdrop-filter: blur(26px) saturate(1.7);
  backdrop-filter: blur(26px) saturate(1.7);
  border: 1px solid rgba(255,255,255,0.85);
  border-radius: var(--wm-radius-lg, 24px);
  box-shadow: 0 24px 64px rgba(15,23,42,0.13), inset 0 1px 0 rgba(255,255,255,0.9);
  padding: 26px 26px 22px;
  overflow: hidden;
}
/* The light along the top edge. A single specular streak, off-centre, because a
   symmetrical one reads as a border rather than as light. */
.wmh-form-card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.95) 38%, rgba(255,255,255,0.4) 62%, transparent);
  pointer-events: none;
}
/* Where backdrop-filter is unavailable the card falls back to solid white rather
   than to a washed-out panel nobody can read. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .wmh-form-card { background: var(--wm-white); }
}
.wmh-form-head { margin-bottom: 18px; }
.wmh-form-title { font-size: 1.14rem; font-weight: 800; color: var(--wm-dark); margin: 0 0 4px; letter-spacing: -0.015em; }
.wmh-form-sub { font-size: 0.86rem; color: var(--wm-muted); margin: 0; line-height: 1.55; }

.wmh-form { display: flex; flex-direction: column; gap: 14px; }
.wmh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wmh-field { display: flex; flex-direction: column; gap: 6px; }
.wmh-field label { font-size: 0.79rem; font-weight: 700; color: var(--wm-dark-3); }
.wmh-field label span { color: var(--wm-primary); }
.wmh-field input,
.wmh-field select {
  width: 100%; padding: 12px 14px; font-size: 0.92rem; font-family: inherit;
  color: var(--wm-dark); background: var(--wm-light);
  border: 1.5px solid var(--wm-border); border-radius: var(--wm-radius-xs, 6px);
  transition: border-color .18s var(--wm-ease), background .18s var(--wm-ease), box-shadow .18s var(--wm-ease);
}
.wmh-field input::placeholder { color: var(--wm-muted-2); }
.wmh-field input:focus,
.wmh-field select:focus {
  outline: none; background: var(--wm-white);
  border-color: var(--wm-primary); box-shadow: 0 0 0 4px var(--wm-primary-glow);
}
/* A field that has been filled correctly says so, quietly. */
.wmh-field input:not(:placeholder-shown):valid { border-color: rgba(0,168,107,0.55); }

/* The guide. Exactly one field at a time carries a slow breathing ring — the next
   one still to fill — and it moves on as soon as that field is done. It is the
   form pointing at itself rather than a tooltip telling someone what to do, and
   it stops entirely once the form is complete. */
.wmh-field.is-next > input,
.wmh-field.is-next > select,
.wmh-check.is-next {
  animation: wmh-breathe 2.6s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes wmh-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(11,95,255,0.00); }
  45%      { box-shadow: 0 0 0 5px rgba(11,95,255,0.16); }
}
/* Focus always wins over the guide — a person typing should not see the ring
   pulsing under their own focus ring. */
.wmh-field.is-next > input:focus,
.wmh-field.is-next > select:focus { animation: none; }
.wmh-check.is-next { border-radius: 8px; margin-inline: -6px; padding: 6px; }

.wmh-check { display: flex; align-items: flex-start; gap: 9px; }
.wmh-check input { margin-top: 3px; width: 15px; height: 15px; accent-color: var(--wm-primary); flex: 0 0 auto; }
.wmh-check label { font-size: 0.78rem; color: var(--wm-muted); line-height: 1.55; }
.wmh-check a { color: var(--wm-primary); }

/* Completion bar. Not decoration — someone half way through a form is more likely
   to finish it when the form says how much is left. */
.wmh-form-progress { display: flex; align-items: center; gap: 11px; }
.wmh-form-progress-bar { flex: 1 1 auto; height: 4px; border-radius: 99px; background: var(--wm-light-2); overflow: hidden; }
.wmh-form-progress-bar i {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--wm-primary), var(--wm-secondary));
  transition: width .32s var(--wm-ease);
}
.wmh-form-progress-txt { font-size: 0.72rem; font-weight: 700; color: var(--wm-muted); white-space: nowrap; }

.wmh-form-foot {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 0.72rem; color: var(--wm-muted-2); margin: 14px 0 0; line-height: 1.5;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media (max-width: 960px) {
  .wmh-hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .wmh-hero-copy { align-items: flex-start; }
  .wmh-hero-panel { max-width: 560px; width: 100%; }
}
@media (max-width: 520px) {
  .wmh-form-row { grid-template-columns: 1fr; }
  .wmh-form-card { padding: 22px 18px 18px; }
  .wmh-btn { width: 100%; }
  .wmh-mark { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  .wmh-hero-mesh { animation: none; }
  .wmh-pulse { animation: none; }
  .wmh-mark::after { animation: none; transform: scaleX(1); }
  .wmh-status-pill { animation: none; opacity: 1; transform: none; }
  .wmh-form-progress-bar i { transition: none; }
  /* The guide still marks the next field, it just stops breathing. */
  .wmh-field.is-next > input,
  .wmh-field.is-next > select,
  .wmh-check.is-next { animation: none; box-shadow: 0 0 0 3px rgba(11,95,255,0.16); }
}

/* ─── Trust strip ─────────────────────────────────────────────────────────── */

.wmh-trust {
  background: var(--wm-white);
  border-block: 1px solid var(--wm-border);
  padding-block: 22px;
}
/* Six items, so the column count must divide six — auto-fit gave five across and
   left the sixth sitting alone on its own row. */
.wmh-trust-row {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 10px;
}
@media (max-width: 1080px) { .wmh-trust-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 620px)  { .wmh-trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wmh-trust-item {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 4px 8px; text-align: left;
}
/* A hairline between items instead of six boxes — six bordered cards in a row is
   what made this strip read as a toolbar rather than as a line of facts. */
.wmh-trust-item + .wmh-trust-item { box-shadow: -1px 0 0 var(--wm-border); }
.wmh-trust-icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: var(--wm-blue-soft); color: var(--wm-primary);
}
.wmh-trust-text { font-size: 0.85rem; color: var(--wm-muted); line-height: 1.4; }
.wmh-trust-text strong { color: var(--wm-dark); font-weight: 700; }

/* Reveal. The resting state is VISIBLE — the class that hides them is added by
   JavaScript, so with JS off every claim simply renders. */
.wmh-reveal-ready .wmh-trust-item { opacity: 0; transform: translateY(10px); }
.wmh-reveal-ready.is-in .wmh-trust-item {
  opacity: 1; transform: none;
  transition: opacity .5s var(--wm-ease), transform .5s var(--wm-ease);
  transition-delay: calc(var(--i) * 0.07s);
}


@media (prefers-reduced-motion: reduce) {
  .wmh-reveal-ready .wmh-trust-item { opacity: 1; transform: none; }
  .wmh-reveal-ready.is-in .wmh-trust-item { transition: none; transition-delay: 0s; }
}

/* The divider belongs BETWEEN columns, not at the start of a wrapped row, so it
   is keyed to the grid column rather than to sibling order. */
.wmh-trust-item + .wmh-trust-item { box-shadow: none; }
@media (min-width: 1081px) {
  .wmh-trust-item:not(:nth-child(6n + 1)) { box-shadow: -1px 0 0 var(--wm-border); }
}
@media (min-width: 621px) and (max-width: 1080px) {
  .wmh-trust-item:not(:nth-child(3n + 1)) { box-shadow: -1px 0 0 var(--wm-border); }
}
@media (max-width: 620px) { .wmh-trust-item { justify-content: flex-start; } }

/* ─── Problems (ink band) ─────────────────────────────────────────────────── */

.wmh-problems {
  background: linear-gradient(165deg, #0A1428 0%, var(--wm-dark) 45%, #0C1B36 100%);
  color: rgba(255,255,255,0.72);
  padding-block: clamp(56px, 8vw, 92px);
}
.wmh-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 5vw, 52px); }
.wmh-eyebrow-dark {
  background: rgba(11,95,255,0.16);
  border-color: rgba(120,170,255,0.28);
  color: #8FB6FF;
}
.wmh-section-title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.028em;
  line-height: 1.14; margin: 16px 0 0; text-wrap: balance; color: #fff;
}
.wmh-head-sub { font-size: 1rem; line-height: 1.7; margin: 14px auto 0; max-width: 56ch; color: rgba(255,255,255,0.64); }

.wmh-problems-cta {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  margin-top: clamp(34px, 5vw, 50px); text-align: center;
}
.wmh-problems-cta p { font-size: 0.97rem; color: rgba(255,255,255,0.66); margin: 0; }

@media (max-width: 900px) {
}
@media (max-width: 560px) {
}
@media (prefers-reduced-motion: reduce) {
}

/* ─── Symptom picker ──────────────────────────────────────────────────────────
   Replaces six paragraph-cards. At rest a visitor reads six short names; choosing
   one opens the detail. The photograph finally belongs to something. */

.wmh-symptom {
  display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.28fr);
  gap: clamp(20px, 3vw, 38px); align-items: start;
}

.wmh-symptom-list { display: flex; flex-direction: column; gap: 4px; }
.wmh-symptom-btn {
  display: flex; align-items: center; gap: 13px; width: 100%;
  padding: 15px 16px; border: 0; border-radius: var(--wm-radius-sm, 12px);
  background: transparent; color: rgba(255,255,255,0.62);
  font: inherit; font-size: 0.95rem; font-weight: 600; text-align: left; cursor: pointer;
  position: relative; transition: background .22s var(--wm-ease), color .22s var(--wm-ease);
}
.wmh-symptom-btn:hover { background: rgba(255,255,255,0.05); color: rgba(255,255,255,0.88); }
.wmh-symptom-btn:focus-visible { outline: 2px solid #4D8BFF; outline-offset: -2px; }
.wmh-symptom-btn[aria-selected="true"] {
  background: rgba(255,255,255,0.07); color: #fff;
}
/* The active marker is a rail, not a border — a border on one item in a stack
   shifts everything beside it. */
.wmh-symptom-btn::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 3px; height: 0; border-radius: 3px; background: var(--wm-primary);
  transition: height .28s var(--wm-spring);
}
.wmh-symptom-btn[aria-selected="true"]::before { height: 62%; }

.wmh-symptom-icon {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.55);
  transition: background .22s var(--wm-ease), color .22s var(--wm-ease);
}
.wmh-symptom-btn[aria-selected="true"] .wmh-symptom-icon { background: rgba(11,95,255,0.22); color: #9CC0FF; }
.wmh-symptom-label { flex: 1 1 auto; }
.wmh-symptom-go { flex: 0 0 auto; opacity: 0; transform: translateX(-4px); transition: opacity .22s var(--wm-ease), transform .22s var(--wm-ease); }
.wmh-symptom-btn[aria-selected="true"] .wmh-symptom-go,
.wmh-symptom-btn:hover .wmh-symptom-go { opacity: .8; transform: none; }

/* Stage */
.wmh-symptom-stage { position: relative; }
.wmh-symptom-panel {
  display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 22px; align-items: center;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--wm-radius-md, 18px);
  padding: 20px;
}
/* Without JavaScript every panel is simply shown, stacked. The script adds the
   class that hides the inactive ones. */
.wmh-symptom-js .wmh-symptom-panel { display: none; }
.wmh-symptom-js .wmh-symptom-panel.is-active {
  display: grid;
  animation: wmh-panel-in .42s var(--wm-ease) both;
}
@keyframes wmh-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

.wmh-symptom-media { position: relative; }
.wmh-symptom-media img {
  width: 100%; display: block; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 42%;
  border-radius: var(--wm-radius-sm, 12px);
  filter: saturate(0.82) contrast(1.02);
}
/* The number is stamped over the photo rather than sitting above it, so the
   picture and the label read as one object. */
.wmh-symptom-stamp {
  position: absolute; left: 12px; bottom: 12px;
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em;
  color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}

.wmh-symptom-copy h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 10px; line-height: 1.2;
}
.wmh-symptom-copy p { font-size: 0.92rem; line-height: 1.72; color: rgba(255,255,255,0.66); margin: 0 0 18px; }
.wmh-symptom-fix {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.87rem; font-weight: 600; color: #9CC0FF; text-decoration: none;
  padding: 9px 15px; border-radius: 999px;
  background: rgba(11,95,255,0.16); border: 1px solid rgba(120,170,255,0.26);
  transition: background .22s var(--wm-ease), transform .22s var(--wm-ease);
}
.wmh-symptom-fix:hover { background: rgba(11,95,255,0.28); transform: translateX(3px); color: #fff; }
.wmh-symptom-fix strong { color: #fff; font-weight: 700; }

@media (max-width: 980px) {
  .wmh-symptom { grid-template-columns: 1fr; }
  .wmh-symptom-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .wmh-symptom-btn { width: auto; padding: 10px 14px; font-size: 0.87rem; }
  .wmh-symptom-btn::before { display: none; }
  .wmh-symptom-btn[aria-selected="true"] { background: rgba(11,95,255,0.22); }
  .wmh-symptom-icon, .wmh-symptom-go { display: none; }
}
@media (max-width: 620px) {
  .wmh-symptom-panel { grid-template-columns: 1fr; }
  .wmh-symptom-media img { aspect-ratio: 16 / 10; }
}
@media (prefers-reduced-motion: reduce) {
  .wmh-symptom-js .wmh-symptom-panel.is-active { animation: none; }
  .wmh-symptom-btn::before { transition: none; }
  .wmh-symptom-fix:hover { transform: none; }
}

/* ─── Services (bento) ────────────────────────────────────────────────────── */

.wmh-services { background: var(--wm-light); padding-block: clamp(56px, 8vw, 92px); }
.wmh-head-light .wmh-section-title { color: var(--wm-dark); }
.wmh-head-light .wmh-head-sub { color: var(--wm-muted); }

/* Seven cards plus the pricing tile is eight cells; the wide first card makes nine,
   which fills a 3-column grid exactly. Seven equal tiles left a hole. */
.wmh-bento {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px; align-items: start;
}
.wmh-svc-wide { grid-column: span 2; }

.wmh-svc {
  display: flex; flex-direction: column; height: 100%;
  background: var(--wm-white);
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius-md, 18px);
  padding: 22px 22px 20px;
  transition: border-color .24s var(--wm-ease), box-shadow .24s var(--wm-ease), transform .24s var(--wm-ease);
}
.wmh-svc:hover {
  border-color: color-mix(in srgb, var(--hue) 40%, var(--wm-border));
  box-shadow: var(--wm-shadow-md);
  transform: translateY(-2px);
}

.wmh-svc-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.wmh-svc-icon {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--hue); background: color-mix(in srgb, var(--hue) 10%, transparent);
}
.wmh-svc-tag {
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--hue); background: color-mix(in srgb, var(--hue) 9%, transparent);
  padding: 4px 10px; border-radius: 999px;
}
.wmh-svc-title {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.08rem; font-weight: 800; letter-spacing: -0.015em;
  color: var(--wm-dark); margin: 0 0 7px;
}
.wmh-svc-wide .wmh-svc-title { font-size: 1.3rem; }
.wmh-svc-desc { font-size: 0.88rem; line-height: 1.65; color: var(--wm-muted); margin: 0 0 14px; }
.wmh-svc-wide .wmh-svc-desc { max-width: 52ch; }

/* Native <details>: no script, keyboard operable and announced for free, and it
   still opens if scripting fails. */
.wmh-svc-more { margin-bottom: 14px; }
.wmh-svc-more summary {
  display: flex; align-items: center; gap: 7px; cursor: pointer; list-style: none;
  font-size: 0.79rem; font-weight: 700; color: var(--hue);
  padding: 7px 0; user-select: none;
}
.wmh-svc-more summary::-webkit-details-marker { display: none; }
.wmh-svc-more summary svg { transition: transform .22s var(--wm-ease); }
.wmh-svc-more[open] summary svg { transform: rotate(180deg); }
.wmh-svc-more summary:focus-visible { outline: 2px solid var(--wm-primary); outline-offset: 3px; border-radius: 4px; }
.wmh-svc-more ul {
  list-style: none; margin: 4px 0 0; padding: 0;
  display: grid; gap: 7px;
}
.wmh-svc-wide .wmh-svc-more ul { grid-template-columns: 1fr 1fr; gap: 7px 20px; }
.wmh-svc-more li {
  position: relative; padding-left: 19px;
  font-size: 0.83rem; line-height: 1.55; color: var(--wm-text);
}
.wmh-svc-more li::before {
  content: ""; position: absolute; left: 3px; top: 0.58em;
  width: 6px; height: 6px; border-radius: 2px; background: var(--hue); opacity: .55;
}

.wmh-svc-best {
  font-size: 0.78rem; line-height: 1.5; color: var(--wm-muted);
  margin: auto 0 14px; padding-top: 13px; border-top: 1px dashed var(--wm-border);
}
.wmh-svc-best strong { color: var(--wm-dark-3); }

.wmh-svc-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.84rem; font-weight: 700; color: var(--hue); text-decoration: none;
}
.wmh-svc-link svg { transition: transform .2s var(--wm-ease); }
.wmh-svc-link:hover svg { transform: translateX(3px); }

/* The pricing tile fills the ninth cell rather than floating under the grid. */
.wmh-svc-pricing {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  min-height: 150px; padding: 24px;
  border-radius: var(--wm-radius-md, 18px); text-decoration: none;
  background: linear-gradient(150deg, var(--wm-primary) 0%, var(--wm-primary-dark) 100%);
  color: #fff; box-shadow: 0 14px 36px rgba(11,95,255,0.24);
  transition: transform .24s var(--wm-ease), box-shadow .24s var(--wm-ease);
}
.wmh-svc-pricing:hover { transform: translateY(-3px); box-shadow: 0 20px 48px rgba(11,95,255,0.32); }
.wmh-svc-pricing-label {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.12rem; font-weight: 800; letter-spacing: -0.015em;
}
.wmh-svc-pricing-sub { font-size: 0.83rem; color: rgba(255,255,255,0.76); }
.wmh-svc-pricing-go { margin-top: 8px; transition: transform .2s var(--wm-ease); }
.wmh-svc-pricing:hover .wmh-svc-pricing-go { transform: translateX(4px); }

@media (max-width: 1000px) {
  .wmh-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wmh-svc-wide { grid-column: span 2; }
  .wmh-svc-wide .wmh-svc-more ul { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wmh-bento { grid-template-columns: 1fr; }
  .wmh-svc-wide { grid-column: span 1; }
  .wmh-svc-wide .wmh-svc-more ul { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .wmh-svc:hover, .wmh-svc-pricing:hover { transform: none; }
  .wmh-svc-more summary svg, .wmh-svc-link svg, .wmh-svc-pricing-go { transition: none; }
}

/* ─── Process (solid brand block, no cards) ───────────────────────────────────
   A deliberate break from the white-rounded-card look. Nothing here is a box:
   four rows on a solid blue ground, separated by hairlines, led by oversized
   outlined numerals. */

.wmh-process {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 85% 8%, rgba(255,255,255,0.14), transparent 62%),
    linear-gradient(158deg, var(--wm-primary) 0%, var(--wm-primary-dark) 58%, #052F8A 100%);
  color: rgba(255,255,255,0.78);
  padding-block: clamp(64px, 9vw, 116px);
}
/* A very faint grain. Flat gradients are the other tell of a generated page —
   a little noise reads as a printed surface rather than a CSS fill. */
.wmh-process-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.045'/%3E%3C/svg%3E");
}

.wmh-process-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(28px, 5vw, 72px); align-items: start;
}

/* The heading holds still while the steps move past it. */
.wmh-process-aside { position: sticky; top: 118px; }
.wmh-eyebrow-onblue {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.26);
  color: #fff;
}
.wmh-process-title {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800;
  letter-spacing: -0.032em; line-height: 1.08; color: #fff;
  margin: 18px 0 0; text-wrap: balance;
}
.wmh-process-sub { font-size: 0.98rem; line-height: 1.72; color: rgba(255,255,255,0.72); margin: 16px 0 0; max-width: 42ch; }

.wmh-process-meter { margin-top: 28px; height: 3px; border-radius: 99px; background: rgba(255,255,255,0.18); overflow: hidden; }
.wmh-process-meter-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: #fff; transition: width .25s linear; }

/* Steps */
.wmh-process-steps { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.wmh-step {
  display: grid; grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2.4vw, 32px); align-items: start;
  padding-block: clamp(26px, 3.4vw, 40px);
  border-top: 1px solid rgba(255,255,255,0.16);
}
.wmh-step:first-child { border-top: 0; padding-top: 0; }

/* Outlined, not filled — a solid numeral this size would shout over the words. */
.wmh-step-num {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(3rem, 6.4vw, 5.4rem); font-weight: 800; line-height: 0.82;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,0.42);
  transition: -webkit-text-stroke-color .35s var(--wm-ease), color .35s var(--wm-ease);
}
.wmh-step.is-on .wmh-step-num { color: rgba(255,255,255,0.14); -webkit-text-stroke-color: rgba(255,255,255,0.9); }

.wmh-step-body h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem); font-weight: 800; letter-spacing: -0.02em;
  color: #fff; margin: 0 0 9px; line-height: 1.2;
}
.wmh-step-body p { font-size: 0.93rem; line-height: 1.75; color: rgba(255,255,255,0.74); margin: 0; max-width: 54ch; }

/* Resting state is visible; the script only adds the lift. */
.wmh-steps-ready .wmh-step { opacity: 0; transform: translateY(16px); }
.wmh-steps-ready .wmh-step.is-on {
  opacity: 1; transform: none;
  transition: opacity .6s var(--wm-ease), transform .6s var(--wm-ease);
}

@media (max-width: 900px) {
  .wmh-process-grid { grid-template-columns: 1fr; }
  .wmh-process-aside { position: static; }
  .wmh-process-meter { margin-top: 22px; }
}
@media (max-width: 560px) {
  .wmh-step { grid-template-columns: 1fr; gap: 6px; }
  .wmh-step-num { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .wmh-steps-ready .wmh-step { opacity: 1; transform: none; }
  .wmh-step-num, .wmh-process-meter-fill { transition: none; }
}

/* ─── Why choose ──────────────────────────────────────────────────────────── */

.wmh-why { background: var(--wm-white); padding-block: clamp(60px, 8vw, 100px); }
.wmh-why-grid {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 68px); align-items: start;
}

.wmh-why-title {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800;
  letter-spacing: -0.032em; line-height: 1.1; color: var(--wm-dark);
  margin: 18px 0 0; max-width: 18ch; text-wrap: balance;
}
.wmh-why-lede { font-size: 1rem; line-height: 1.75; color: var(--wm-muted); margin: 16px 0 0; max-width: 56ch; }

/* Rows, not cards. */
.wmh-why-list { list-style: none; margin: clamp(26px, 4vw, 38px) 0 0; padding: 0; }
.wmh-why-row {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px;
  padding-block: 20px; border-top: 1px solid var(--wm-border);
}
.wmh-why-row:first-child { border-top: 0; padding-top: 0; }
.wmh-why-mark {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--wm-primary); background: var(--wm-blue-soft);
}
.wmh-why-row h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.02rem; font-weight: 800; letter-spacing: -0.015em;
  color: var(--wm-dark); margin: 4px 0 6px;
}
.wmh-why-row p { font-size: 0.89rem; line-height: 1.7; color: var(--wm-muted); margin: 0; max-width: 58ch; }

/* The report. This one is legitimately a card — it is a mock of a document. */
.wmh-report-wrap { position: sticky; top: 118px; }
.wmh-report {
  background: var(--wm-white);
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius-lg, 24px);
  box-shadow: var(--wm-shadow-lg);
  padding: 24px 24px 22px;
}
.wmh-report-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.wmh-report-head h3 {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; color: var(--wm-dark); margin: 0;
}
/* Said twice on purpose — once here and once under the score. These are
   illustrative numbers and the page must not let anyone read them as a client's. */
.wmh-report-flag {
  flex: 0 0 auto; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--wm-muted);
  background: var(--wm-light-2); border: 1px solid var(--wm-border);
  padding: 3px 8px; border-radius: 999px;
}

.wmh-report-row { display: grid; grid-template-columns: 92px minmax(0, 1fr) 34px; gap: 11px; align-items: center; padding-block: 7px; }
.wmh-report-label { font-size: 0.8rem; color: var(--wm-muted); }
.wmh-report-track { height: 6px; border-radius: 99px; background: var(--wm-light-2); overflow: hidden; }
.wmh-report-fill { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--wm-primary); }
.wmh-report-fill.is-good { background: var(--wm-secondary); }
.wmh-report-fill.is-tick { background: var(--wm-secondary); }
.wmh-report.is-live .wmh-report-fill { width: var(--to); transition: width 1.1s cubic-bezier(.22,.8,.3,1); }
/* No script: the bars are already at their value rather than sitting at zero. */
.wmh-report:not(.is-armed) .wmh-report-fill { width: var(--to); }
.wmh-report-val {
  font-size: 0.85rem; font-weight: 800; text-align: right;
  font-variant-numeric: tabular-nums; color: var(--wm-primary);
}
.wmh-report-val.is-good, .wmh-report-val.is-tick { color: var(--wm-secondary); }

.wmh-report-total {
  margin-top: 18px; padding: 16px; text-align: center;
  background: var(--wm-green-soft); border-radius: var(--wm-radius-sm, 12px);
}
.wmh-report-total-label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--wm-secondary); }
.wmh-report-total-num {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 2.1rem; font-weight: 900; color: var(--wm-secondary);
  letter-spacing: -0.03em; font-variant-numeric: tabular-nums;
}
.wmh-report-total-of { font-size: 1rem; font-weight: 800; color: var(--wm-secondary); opacity: .6; }
.wmh-report-note { font-size: 0.73rem; line-height: 1.5; color: var(--wm-muted); margin: 4px 0 0; }
.wmh-report .wmh-btn { margin-top: 18px; }

@media (max-width: 980px) {
  .wmh-why-grid { grid-template-columns: 1fr; }
  .wmh-report-wrap { position: static; max-width: 520px; }
}
@media (max-width: 480px) {
  .wmh-report-row { grid-template-columns: 78px minmax(0, 1fr) 30px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .wmh-report.is-live .wmh-report-fill { transition: none; }
}
/* Grid children default to min-width:auto, which lets long words push the column
   wider than its track. Explicit here so the left column cannot overflow. */
.wmh-why-main { min-width: 0; }

/* ─── Pricing preview ─────────────────────────────────────────────────────── */

.wmh-pricing { background: var(--wm-light); padding-block: clamp(60px, 8vw, 100px); }
.wmh-pricing .wm-currency-switch { margin-bottom: 6px; }
.wmh-cur-note {
  text-align: center; font-size: 0.78rem; color: var(--wm-muted);
  margin: 0 auto clamp(22px, 3vw, 32px); max-width: 52ch;
}

.wmh-plan-note {
  display: flex; align-items: flex-start; gap: 8px; justify-content: center;
  max-width: 70ch; margin: clamp(30px, 4vw, 44px) auto 0;
  font-size: 0.85rem; line-height: 1.7; color: var(--wm-muted); text-align: center;
}
.wmh-plan-note svg { flex: 0 0 auto; margin-top: 4px; color: var(--wm-muted-2); }
.wmh-plan-note a { color: var(--wm-primary); font-weight: 700; white-space: nowrap; }


/* Plans as rows. Comparing two of them means reading down one column rather than
   across three cards, which is what people actually do with a price list. */
.wmh-planlist { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }

.wmh-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.55fr) minmax(0, 0.55fr);
  gap: clamp(18px, 3vw, 40px); align-items: center;
  padding: 26px clamp(20px, 2.6vw, 30px);
  background: var(--wm-white);
  border: 1px solid var(--wm-border);
  border-radius: var(--wm-radius-md, 18px);
  transition: border-color .24s var(--wm-ease), box-shadow .24s var(--wm-ease);
}
.wmh-row:hover { border-color: var(--wm-border-2); box-shadow: var(--wm-shadow-sm); }

/* The plan most people take is the one row that is inverted. */
.wmh-row-lead {
  background: linear-gradient(120deg, var(--wm-dark) 0%, #142A54 100%);
  border-color: transparent;
  box-shadow: 0 20px 52px rgba(15,23,42,0.22);
}
.wmh-row-lead:hover { box-shadow: 0 26px 62px rgba(15,23,42,0.28); }

.wmh-row-id { min-width: 0; }
.wmh-row-nameline { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.wmh-row-name {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: 1.1rem; font-weight: 800; letter-spacing: -0.015em;
  color: var(--wm-dark); margin: 0;
}
.wmh-row-flag {
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase;
  color: #fff; background: var(--wm-primary); padding: 4px 9px; border-radius: 999px; white-space: nowrap;
}
.wmh-row-tag { font-size: 0.82rem; line-height: 1.5; color: var(--wm-muted); margin: 5px 0 14px; }
.wmh-row-price {
  font-family: "Bricolage Grotesque", Inter, sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 900;
  letter-spacing: -0.04em; line-height: 1; color: var(--wm-dark);
  font-variant-numeric: tabular-nums;
}
.wmh-row-price .wm-cur-sym { font-size: 0.6em; font-weight: 800; vertical-align: 0.15em; margin-right: 2px; }
.wmh-row-period { font-size: 0.78rem; color: var(--wm-muted); margin: 7px 0 0; }
.wmh-row-period span { opacity: .7; }

.wmh-row-lead .wmh-row-name,
.wmh-row-lead .wmh-row-price { color: #fff; }
.wmh-row-lead .wmh-row-tag,
.wmh-row-lead .wmh-row-period { color: rgba(255,255,255,0.66); }

/* Features run in two columns so a row stays a row instead of growing into a card. */
.wmh-row-items {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; min-width: 0;
}
.wmh-row-items li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px; align-items: start;
  font-size: 0.845rem; line-height: 1.5; color: var(--wm-text);
}
.wmh-row-items svg { color: var(--wm-secondary); margin-top: 3px; }
.wmh-row-lead .wmh-row-items li { color: rgba(255,255,255,0.80); }
.wmh-row-lead .wmh-row-items svg { color: #4ADE9A; }

.wmh-row-act { min-width: 0; }

@media (max-width: 1020px) {
  .wmh-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .wmh-row-act { grid-column: 1 / -1; }
  .wmh-row-act .wmh-btn { max-width: 280px; }
}
@media (max-width: 680px) {
  .wmh-row { grid-template-columns: 1fr; gap: 18px; padding: 22px 18px; }
  .wmh-row-items { grid-template-columns: 1fr; }
  .wmh-row-act .wmh-btn { max-width: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wmh-row { transition: none; }
}

/* Button variants used by the plan rows. These were defined inside the first
   card-based pricing block and went out with it when that block was removed —
   the buttons rendered as bare blue text until this was put back. */
.wmh-btn-quiet {
  background: var(--wm-white); color: var(--wm-dark);
  border-color: var(--wm-border-2);
}
.wmh-btn-quiet:hover { border-color: var(--wm-primary); color: var(--wm-primary); transform: translateY(-2px); }
.wmh-btn-onink { background: var(--wm-primary); color: #fff; box-shadow: 0 12px 30px rgba(11,95,255,0.34); }
.wmh-btn-onink:hover { background: var(--wm-primary-light); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) {
  .wmh-btn-quiet:hover, .wmh-btn-onink:hover { transform: none; }
}
