/* NSP FX: shared motion + media layer for the enhanced landing pages.
   Pages opt in with a data-fx="<template>" wrapper that also sets the
   --fx-* colour tokens from the page's own palette. Markup is inserted by
   admin-server/scripts/enhance-landing-pages.js; the behaviour lives in
   /assets/fx/nsp-fx.js. Everything is progressive: the hidden "before"
   states only apply once <html> carries .fx-js (set inline in <head>), and
   prefers-reduced-motion switches every animation off at the bottom.

   Plain CSS on purpose — styles.css is a precompiled Tailwind build that
   only contains utilities used at build time, so new utility combos would
   silently render as nothing. */

[data-fx] {
  --fx-ease: cubic-bezier(.16, 1, .3, 1);
  --fx-spring: cubic-bezier(.34, 1.56, .64, 1);
  --fx-accent: #c9a24a;
  --fx-accent-2: #e6cd8f;
  --fx-deep: #1a1a1a;
  --fx-ink: #1c1c1c;
  --fx-radius: 1rem;
}

/* ---------------------------------------------------------------- */
/* Scroll progress                                                   */
/* ---------------------------------------------------------------- */
.fx-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 10000;
  pointer-events: none; transform-origin: 0 50%; transform: scaleX(0);
  background: linear-gradient(90deg, var(--fx-accent), var(--fx-accent-2));
  box-shadow: 0 0 10px var(--fx-accent);
}

/* ---------------------------------------------------------------- */
/* Hero: photo layer (slow zoom + scroll parallax), particles, entrance */
/* ---------------------------------------------------------------- */
.fx-hero { position: relative; overflow: hidden; isolation: isolate; }
.fx-hero-bg { position: absolute; inset: -8% 0 -8% 0; z-index: -1; pointer-events: none; will-change: transform; }
.fx-hero-bg > img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center;
  animation: fx-kenburns 28s ease-in-out infinite alternate;
}
@keyframes fx-kenburns {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to   { transform: scale(1.14) translate3d(-1.8%, -1.2%, 0); }
}
/* A page-specific hero photo reads through a lighter overlay than the
   shared stock background it replaces (those overlays sit at ~90%). */
.fx-hero.fx-has-photo::before { opacity: .8; }

.fx-particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; display: block; }

/* Entrance choreography: pure CSS, so it plays even if nsp-fx.js fails. */
.fx-js .fx-in { animation: fx-rise .95s var(--fx-ease) both; animation-delay: calc(var(--i, 0) * 110ms + 120ms); }
@keyframes fx-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* Word-by-word headline (JS splits the h1 into .fx-w > span). Split words
   are painted solid: script.js's .nx-h1-grad clips a gradient to the
   h1's text, which transformed inline-block words don't reliably take. */
.fx-words.nx-h1-grad { background: none; color: #fff; -webkit-text-fill-color: currentColor; }
.fx-words .fx-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .02em .08em; margin-bottom: -.08em; }
.fx-words .fx-w > span { display: inline-block; animation: fx-word 1s var(--fx-ease) both; animation-delay: calc(var(--i, 0) * 70ms + 180ms); }
@keyframes fx-word { from { transform: translate3d(0, 105%, 0) rotate(4deg); opacity: 0; } to { transform: none; opacity: 1; } }

/* Scroll cue */
.fx-scroll-cue {
  position: absolute; left: 50%; bottom: 1.1rem; z-index: 2; width: 26px; height: 42px; margin-left: -13px;
  border: 2px solid rgba(255, 255, 255, .55); border-radius: 14px; opacity: .85; transition: opacity .3s ease, border-color .3s ease;
}
.fx-scroll-cue::after {
  content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px;
  background: var(--fx-accent-2); animation: fx-cue 1.8s var(--fx-ease) infinite;
}
.fx-scroll-cue:hover { opacity: 1; border-color: var(--fx-accent-2); }
@keyframes fx-cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }
@media (max-width: 640px) { .fx-scroll-cue { display: none; } }

/* ---------------------------------------------------------------- */
/* Marquee ticker                                                    */
/* ---------------------------------------------------------------- */
.fx-marquee {
  position: relative; overflow: hidden; z-index: 1;
  background: var(--fx-deep); color: var(--fx-accent-2);
  border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.fx-marquee-track { display: flex; width: max-content; animation: fx-marquee 46s linear infinite; }
.fx-marquee:hover .fx-marquee-track { animation-play-state: paused; }
.fx-marquee-group { display: flex; align-items: center; flex: none; }
.fx-marquee-item {
  display: inline-flex; align-items: center; gap: 1.4rem; padding: 1rem 0 1rem 1.4rem; white-space: nowrap;
  font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.fx-marquee-item::after { content: "\2726"; color: var(--fx-accent); font-size: .7rem; letter-spacing: 0; }
@keyframes fx-marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ---------------------------------------------------------------- */
/* Media: image slots that reveal with a clip wipe, then parallax.   */
/* A slot whose file doesn't exist yet ships with [hidden]; the     */
/* build script un-hides it once the image is in place.              */
/* ---------------------------------------------------------------- */
.fx-media { margin: 0; position: relative; }
.fx-media[hidden], .fx-media[data-empty] { display: none !important; }
.fx-media-frame {
  position: relative; overflow: hidden; border-radius: var(--fx-radius);
  aspect-ratio: var(--fx-ratio, 4 / 3); background: rgba(0, 0, 0, .06);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .12) inset;
}
.fx-media-frame img {
  position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; display: block;
  translate: 0 var(--fx-par, 0px); scale: 1.02;
  transition: scale 1.2s var(--fx-ease);
}
.fx-media-frame::after {
  /* thin light edge + soft top sheen so photos sit in the page like glass */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), transparent 38%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.fx-js .fx-media .fx-media-frame { clip-path: inset(10% 10% 10% 10% round var(--fx-radius)); transition: clip-path 1.25s var(--fx-ease); }
.fx-js .fx-media img { scale: 1.2; }
.fx-js .fx-media.is-in .fx-media-frame { clip-path: inset(0 0 0 0 round var(--fx-radius)); }
.fx-js .fx-media.is-in img { scale: 1.02; }
.fx-media:hover img { scale: 1.07 !important; }
.fx-media figcaption {
  position: absolute; left: 1rem; bottom: 1rem; z-index: 2; max-width: calc(100% - 2rem);
  padding: .45rem .85rem; border-radius: 999px; font-size: .74rem; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: rgba(0, 0, 0, .42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .22);
  opacity: 0; transform: translateY(10px); transition: opacity .7s ease .6s, transform .7s var(--fx-ease) .6s;
}
.fx-media.is-in figcaption, html:not(.fx-js) .fx-media figcaption { opacity: 1; transform: none; }

/* Split: copy beside a photo. Collapses to one column when the slot is empty. */
.fx-split { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .fx-split { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .fx-split.fx-split--rev { grid-template-columns: .85fr 1.15fr; }
  .fx-split.fx-split--rev > .fx-media { order: -1; }
}
.fx-split:has(> .fx-media[hidden]), .fx-split:has(> .fx-media[data-empty]) { grid-template-columns: 1fr; }
.fx-split > * { min-width: 0; }
.fx-split-copy { max-width: 760px; }
.fx-split-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.18; color: var(--fx-ink); }
/* Wider containers for splits that replaced a narrow text column; they
   fall back to the original width while their photo slot is empty. */
.fx-wide { max-width: 72rem !important; }
.fx-wide:has(.fx-media[hidden]) { max-width: 56rem !important; }
.fx-wide-split { max-width: 72rem; margin: 0 auto; }
.fx-wide-split:has(> .fx-media[hidden]) { max-width: 56rem; }
.fx-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Banner: a wide photo above a section's cards. */
.fx-banner { max-width: 1040px; margin: 0 auto 3rem; }

/* Cinematic band: full-bleed photo strip with a statement over it. */
.fx-band { position: relative; overflow: hidden; isolation: isolate; color: #fff; }
.fx-band .fx-media { position: absolute; inset: 0; z-index: -2; }
.fx-band .fx-media-frame { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.fx-band .fx-media-frame::after { display: none; }
.fx-js .fx-band .fx-media .fx-media-frame, .fx-js .fx-band .fx-media.is-in .fx-media-frame { clip-path: none; }
.fx-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, color-mix(in srgb, var(--fx-deep) 92%, transparent) 0%, color-mix(in srgb, var(--fx-deep) 70%, transparent) 55%, color-mix(in srgb, var(--fx-deep) 40%, transparent) 100%);
}
.fx-band:has(> .fx-media[hidden])::before { background: linear-gradient(120deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 70%, var(--fx-accent))); background-size: 200% 200%; animation: fx-shift 14s ease-in-out infinite; }
.fx-band-inner { max-width: 1120px; margin: 0 auto; padding: clamp(4.5rem, 11vw, 8.5rem) 1.5rem; }
.fx-band-quote { max-width: 760px; font-size: clamp(1.7rem, 3.6vw, 2.8rem); line-height: 1.18; font-weight: 800; letter-spacing: -.01em; }
.fx-band-quote em { font-style: normal; color: var(--fx-accent-2); }
.fx-band-sub { max-width: 560px; margin-top: 1.1rem; font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.fx-band-cta {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.8rem; padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: .92rem; color: var(--fx-deep); background: var(--fx-accent-2);
  box-shadow: 0 16px 34px -16px var(--fx-accent); transition: transform .3s var(--fx-spring), box-shadow .3s ease;
}
.fx-band-cta:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px var(--fx-accent); }
.fx-band-cta span { transition: transform .3s ease; }
.fx-band-cta:hover span { transform: translateX(4px); }
@keyframes fx-shift { 0%, 100% { background-position: 0% 40%; } 50% { background-position: 100% 60%; } }

/* Slot preview (?fx-slots): shows every image slot with its filename. */
.fx-media--preview { display: block !important; }
.fx-media--preview .fx-media-frame {
  clip-path: none !important;
  background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .06) 0 14px, rgba(0, 0, 0, .12) 14px 28px);
  outline: 2px dashed var(--fx-accent); outline-offset: -2px;
}
.fx-media--preview .fx-media-frame img { display: none; }
.fx-media--preview .fx-media-frame::before {
  content: attr(data-file); position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 1rem;
  text-align: center; font: 700 .85rem/1.4 ui-monospace, Consolas, monospace; color: var(--fx-ink); z-index: 2;
}
.fx-band .fx-media--preview { z-index: -2; }

/* ---------------------------------------------------------------- */
/* Stagger groups: [data-fx-stagger] children rise in when in view.  */
/* ---------------------------------------------------------------- */
.fx-js [data-fx-stagger] > * { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s var(--fx-ease), transform .7s var(--fx-ease); transition-delay: calc(var(--i, 0) * 80ms); }
.fx-js [data-fx-stagger].is-in > * { opacity: 1; transform: none; }
.fx-js [data-fx-stagger="pop"] > * { transform: scale(.85); transition-timing-function: var(--fx-spring); }
.fx-js [data-fx-stagger="pop"].is-in > * { transform: none; }

/* ---------------------------------------------------------------- */
/* Tilt + cursor spotlight (added by JS on fine pointers only)       */
/* ---------------------------------------------------------------- */
.fx-tilt { transform-style: preserve-3d; will-change: transform; }
.fx-spot {
  position: absolute !important; inset: 0 !important; z-index: 0 !important; pointer-events: none; border-radius: inherit;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--fx-accent-2) 38%, transparent), transparent 42%);
  opacity: 0; transition: opacity .35s ease;
}
.fx-tilt:hover > .fx-spot { opacity: 1; }
.fx-tilt-host { position: relative; isolation: isolate; }
.fx-tilt-host > :not(.fx-spot) { position: relative; z-index: 1; }

/* Magnetic buttons + a light sweep on hover */
.fx-mag { position: relative; overflow: hidden; isolation: isolate; will-change: transform; }
.fx-mag::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; z-index: 1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-20deg); transition: left .7s var(--fx-ease);
}
.fx-mag:hover::after { left: 120%; }

/* ---------------------------------------------------------------- */
/* Shared bits used by the templates below                           */
/* ---------------------------------------------------------------- */
.fx-container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; position: relative; z-index: 1; }
.fx-eyebrow { display: inline-flex; align-items: center; gap: .55rem; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--fx-accent); }
.fx-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; display: inline-block; }
.fx-pill {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.25rem;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--fx-accent-2);
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.fx-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--fx-accent-2); box-shadow: 0 0 0 0 var(--fx-accent-2); animation: fx-ping 2.2s ease-out infinite; }
@keyframes fx-ping { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--fx-accent-2) 70%, transparent); } 80%, 100% { box-shadow: 0 0 0 10px transparent; } }
.fx-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .55rem; margin-top: 2rem; }
.fx-chip {
  font-size: .78rem; font-weight: 600; padding: .4rem .9rem; border-radius: 999px; color: rgba(255, 255, 255, .9);
  border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06);
}

/* ================================================================= */
/* Template: industry (industries/food-beverage/*)                   */
/* ================================================================= */
[data-fx="industry"] .fx-split-copy [class$="-eyebrow"] { justify-content: flex-start; color: var(--fx-primary); }
[data-fx="industry"] .fx-split-copy > p { color: color-mix(in srgb, var(--fx-ink) 74%, transparent); line-height: 1.75; }
[data-fx="industry"] [class$="-hero-inner"] { will-change: transform, opacity; }
[data-fx="industry"] [class$="-check-list"] li svg { transition: transform .5s var(--fx-spring); }
.fx-js [data-fx="industry"] [class$="-check-list"][data-fx-stagger].is-in li svg { animation: fx-tick .6s var(--fx-spring) both; animation-delay: calc(var(--i, 0) * 80ms + .25s); }
@keyframes fx-tick { from { transform: scale(0) rotate(-45deg); } to { transform: none; } }
/* Brewery taprooms paired its primary CTA and hero accents with the slate
   accent (dark amber on slate, ~1.6:1). Use the amber tones instead. */
.tp-scope .tp-btn-amber { background: var(--tp-amber-light); color: var(--tp-ink); }
.tp-scope .tp-btn-amber:hover { background: #e8ad6c; }
.tp-scope .tp-hero .tp-eyebrow, .tp-scope .tp-trust .num { color: #f2c896; }
/* The warm theme's breadcrumb tokens (#fffbeb text, #fcd34d links) are
   made for dark pages; these pages sit on cream, so use the page palette. */
[data-fx="industry"] .nx-crumbs, [data-fx="industry"] .nx-crumbs a { color: var(--fx-primary); }
[data-fx="industry"] .nx-crumbs a:hover { color: var(--fx-ink); }
[data-fx="industry"] .nx-crumbs span[aria-current] { color: var(--fx-ink); }
[data-fx="industry"] .nx-crumbs .sep { color: color-mix(in srgb, var(--fx-ink) 35%, transparent); }
[data-fx="industry"] .fx-marquee { background: linear-gradient(90deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 80%, var(--fx-accent)), var(--fx-deep)); }

/* ================================================================= */
/* Template: geo (AI search / GEO agency pages)                      */
/* ================================================================= */
[data-fx="geo"] { --fx-accent: #38bdf8; --fx-accent-2: #a5f3fc; --fx-deep: #0b1640; --fx-ink: #0f172a; --fx-violet: #8b5cf6; }

/* Hero */
[data-fx="geo"] .fx-hero--geo { height: auto; min-height: 76vh; padding: 7rem 0 6rem; background: #0b1640 !important; }
[data-fx="geo"] .fx-hero--geo > .bg-blue-900.opacity-80 {
  opacity: 1; z-index: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 45%, rgba(11, 22, 64, .55), rgba(11, 22, 64, .86) 75%), linear-gradient(180deg, rgba(11, 22, 64, .35), rgba(11, 22, 64, .9));
}
[data-fx="geo"] .fx-hero--geo:not(.fx-has-photo) > .bg-blue-900.opacity-80 { background: radial-gradient(ellipse at 20% 20%, rgba(56, 189, 248, .22), transparent 50%), radial-gradient(ellipse at 85% 80%, rgba(139, 92, 246, .28), transparent 55%), linear-gradient(135deg, #0b1640, #13266b 55%, #1d3a9e); }
[data-fx="geo"] .fx-hero--geo .fx-particles { z-index: 1; }
[data-fx="geo"] .fx-hero--geo > .relative.z-10 { max-width: 960px; margin: 0 auto; }
[data-fx="geo"] .fx-hero--geo h1 { letter-spacing: -.02em; line-height: 1.08; text-shadow: 0 12px 44px rgba(56, 189, 248, .35); }
[data-fx="geo"] .fx-hero--geo p { max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.55; }
[data-fx="geo"] .fx-hero--geo a.bg-yellow-500 { background: linear-gradient(135deg, #facc15, #f59e0b); box-shadow: 0 14px 34px -14px rgba(250, 204, 21, .75); }
[data-fx="geo"] .fx-hero--geo .fx-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; animation: fx-orb 18s ease-in-out infinite alternate; }
@keyframes fx-orb { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(40px, -30px, 0) scale(1.15); } }

/* Section headings: a thin gradient rule draws in under centred h2s */
[data-fx="geo"] .text-center > h2 { position: relative; }

/* Service cards (emoji) */
[data-fx="geo"] #services .grid > div {
  position: relative; overflow: hidden; isolation: isolate; background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -28px rgba(15, 23, 42, .35);
  transition: box-shadow .4s ease, border-color .4s ease, transform .4s var(--fx-ease);
}
[data-fx="geo"] #services .grid > div::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease;
  background: linear-gradient(160deg, rgba(56, 189, 248, .10), rgba(139, 92, 246, .10));
}
[data-fx="geo"] #services .grid > div:hover { border-color: rgba(56, 189, 248, .6); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .45); }
[data-fx="geo"] #services .grid > div:hover::before { opacity: 1; }
[data-fx="geo"] #services .grid > div > .text-4xl {
  width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, #eff6ff, #e0e7ff); box-shadow: inset 0 0 0 1px rgba(59, 130, 246, .18), 0 12px 24px -16px rgba(59, 130, 246, .6);
  animation: fx-float 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s);
}
@keyframes fx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* "Why choose" cards */
[data-fx="geo"] .fx-why .grid > div { position: relative; overflow: hidden; isolation: isolate; border: 1px solid #e2e8f0; transition: transform .4s var(--fx-ease), box-shadow .4s ease, border-color .4s ease; }
[data-fx="geo"] .fx-why .grid > div:hover { border-color: rgba(56, 189, 248, .55); box-shadow: 0 30px 60px -30px rgba(29, 78, 216, .45); }
[data-fx="geo"] .fx-why .grid > div .bg-blue-600 { background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .8); transition: transform .5s var(--fx-spring); }
[data-fx="geo"] .fx-why .grid > div:hover .bg-blue-600 { transform: rotate(-8deg) scale(1.08); }
.fx-js [data-fx="geo"] .fx-why [data-fx-stagger].is-in > div .bg-blue-600 svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: fx-draw .7s ease forwards; animation-delay: calc(var(--i, 0) * 80ms + .35s); }
@keyframes fx-draw { to { stroke-dashoffset: 0; } }

/* CTA band */
[data-fx="geo"] .fx-cta { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, #1d4ed8, #4338ca 45%, #0e7490) !important; background-size: 220% 220% !important; animation: fx-shift 16s ease-in-out infinite; }
[data-fx="geo"] .fx-cta::before, [data-fx="geo"] .fx-cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; animation: fx-orb 16s ease-in-out infinite alternate; }
[data-fx="geo"] .fx-cta::before { width: 420px; height: 420px; left: -120px; top: -140px; background: rgba(56, 189, 248, .45); }
[data-fx="geo"] .fx-cta::after { width: 380px; height: 380px; right: -100px; bottom: -160px; background: rgba(167, 139, 250, .5); animation-delay: -6s; }
[data-fx="geo"] .fx-cta form input:focus, [data-fx="geo"] .fx-cta form textarea:focus { box-shadow: 0 0 0 3px rgba(56, 189, 248, .35); }

/* AI answer demo */
.fx-ai { padding: 5.5rem 0; background: radial-gradient(ellipse at 90% 10%, rgba(139, 92, 246, .10), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(56, 189, 248, .12), transparent 50%), #f8fafc; position: relative; overflow: hidden; }
.fx-ai-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .fx-ai-grid { grid-template-columns: .95fr 1.05fr; gap: 4rem; } }
.fx-ai-copy h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 800; color: var(--fx-ink); margin: .8rem 0 1rem; letter-spacing: -.01em; }
.fx-ai-copy p { color: #475569; font-size: 1.05rem; line-height: 1.75; }
.fx-ai-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .9rem; }
.fx-ai-points li { display: flex; gap: .85rem; align-items: flex-start; color: #334155; line-height: 1.55; }
.fx-ai-points b { color: var(--fx-ink); }
.fx-ai-points .fx-ai-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(135deg, #2563eb, #7c3aed); box-shadow: 0 10px 20px -10px rgba(79, 70, 229, .8); }
.fx-ai-points .fx-ai-ico svg { width: 18px; height: 18px; }
.fx-ai-window {
  position: relative; border-radius: 1.25rem; background: rgba(255, 255, 255, .86); border: 1px solid rgba(148, 163, 184, .35);
  box-shadow: 0 40px 80px -40px rgba(15, 23, 42, .45), 0 0 0 6px rgba(255, 255, 255, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}
.fx-ai-window::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; pointer-events: none; background: linear-gradient(135deg, rgba(56, 189, 248, .8), transparent 40%, transparent 60%, rgba(139, 92, 246, .8)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.fx-ai-bar { display: flex; align-items: center; gap: .45rem; padding: .85rem 1.1rem; border-bottom: 1px solid #e2e8f0; background: rgba(248, 250, 252, .9); }
.fx-ai-bar i { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; display: block; }
.fx-ai-bar i:nth-child(1) { background: #f87171; } .fx-ai-bar i:nth-child(2) { background: #fbbf24; } .fx-ai-bar i:nth-child(3) { background: #34d399; }
.fx-ai-bar span { margin-left: .6rem; font-size: .78rem; font-weight: 700; color: #64748b; letter-spacing: .04em; }
.fx-ai-body { padding: 1.5rem 1.4rem 1.6rem; display: grid; gap: 1.1rem; min-height: 360px; align-content: start; }
.fx-ai-q { justify-self: end; max-width: 88%; padding: .8rem 1.05rem; border-radius: 1rem 1rem .3rem 1rem; background: linear-gradient(135deg, #2563eb, #4f46e5); color: #fff; font-size: .95rem; line-height: 1.5; box-shadow: 0 12px 24px -14px rgba(37, 99, 235, .8); }
.fx-ai-a { display: flex; gap: .75rem; align-items: flex-start; }
.fx-ai-avatar { flex: none; width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(from 0deg, #38bdf8, #8b5cf6, #f472b6, #38bdf8); animation: fx-spin 6s linear infinite; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(139, 92, 246, .8); }
@keyframes fx-spin { to { transform: rotate(360deg); } }
.fx-ai-text { color: #1e293b; font-size: .95rem; line-height: 1.7; min-height: 7.5em; }
.fx-ai-text mark { background: linear-gradient(transparent 55%, rgba(56, 189, 248, .35) 55%); color: inherit; font-weight: 700; padding: 0 .1em; }
.fx-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -2px; background: #4f46e5; animation: fx-blink 1s steps(2) infinite; }
.fx-ai-window.is-done .fx-caret { display: none; }
@keyframes fx-blink { 50% { opacity: 0; } }
.fx-ai-cites { display: flex; flex-wrap: wrap; gap: .5rem; padding-left: 2.8rem; }
.fx-ai-cite { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; font-weight: 600; color: #334155; padding: .35rem .7rem; border-radius: 999px; background: #f1f5f9; border: 1px solid #e2e8f0; }
.fx-ai-cite b { display: inline-flex; width: 18px; height: 18px; border-radius: 50%; align-items: center; justify-content: center; font-size: .66rem; color: #fff; background: #4f46e5; }
.fx-ai-cite--you { background: #ecfeff; border-color: rgba(8, 145, 178, .45); color: #0e7490; }
.fx-ai-cite--you b { background: #0891b2; }
.fx-js .fx-ai-cite { opacity: 0; transform: translateY(8px) scale(.96); transition: opacity .5s ease, transform .5s var(--fx-spring); transition-delay: calc(var(--i, 0) * 140ms); }
.fx-js .fx-ai-window.is-done .fx-ai-cite { opacity: 1; transform: none; }
.fx-ai-note { margin-top: .9rem; font-size: .74rem; color: #94a3b8; text-align: right; }

/* Read-more content */
[data-fx="geo"] .fx-stats { background: linear-gradient(120deg, #eff6ff, #eef2ff, #ecfeff) !important; background-size: 200% 200% !important; animation: fx-shift 14s ease-in-out infinite; }
[data-fx="geo"] .fx-stats .text-3xl { background: linear-gradient(135deg, #1d4ed8, #7c3aed); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-fx="geo"] .fx-numbered .grid > div > div:first-child { background: linear-gradient(135deg, #2563eb, #7c3aed) !important; color: #fff !important; font-size: 1.05rem !important; box-shadow: 0 12px 24px -12px rgba(79, 70, 229, .8); transition: transform .5s var(--fx-spring); }
[data-fx="geo"] .fx-numbered .grid > div:hover > div:first-child { transform: scale(1.12) rotate(-6deg); }
[data-fx="geo"] .fx-numbered .grid > div { padding: 1.4rem; border-radius: 1rem; background: #fff; border: 1px solid #e2e8f0; transition: transform .4s var(--fx-ease), box-shadow .4s ease; }
[data-fx="geo"] .fx-numbered .grid > div:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(29, 78, 216, .45); }

/* ================================================================= */
/* Template: alcohol (seo-for/alcohol, dark amber)                    */
/* ================================================================= */
[data-fx="alcohol"] { --fx-accent: #f59e0b; --fx-accent-2: #fcd34d; --fx-deep: #1c1109; --fx-ink: #fffbeb; }
[data-fx="alcohol"] .fx-hero .fx-particles { z-index: 0; }
[data-fx="alcohol"] .fx-hero .container { position: relative; z-index: 1; }
[data-fx="alcohol"] .fx-media-frame { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(245, 158, 11, .25); }
[data-fx="alcohol"] .fx-marquee { background: linear-gradient(90deg, #1c1109, #3b1d0a, #1c1109); }
/* enhancements.css paints amber-section orange CTAs with a white gradient
   (greyscale theme) and the warm theme then only resets background-color,
   leaving #fffbeb text on white. Give the warm theme its orange back. */
html.nx-warm body[data-fx="alcohol"] section a.bg-orange-600 { background-image: linear-gradient(135deg, #f59e0b, #ea580c) !important; box-shadow: 0 14px 30px -14px rgba(234, 88, 12, .8); }
[data-fx="alcohol"] .alc-step-num { transition: transform .5s var(--fx-spring), box-shadow .4s ease; }
[data-fx="alcohol"] .alc-step:hover .alc-step-num { transform: scale(1.12) rotate(-6deg); box-shadow: 0 0 0 6px rgba(245, 158, 11, .15); }
[data-fx="alcohol"] .alc-chip { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
[data-fx="alcohol"] .alc-chip:hover { transform: translateY(-2px); border-color: #f59e0b; background: rgba(146, 64, 14, .6); }

/* ================================================================= */
/* Template: bakery (industries/food-beverage/bakeries/seo)          */
/* The page ships the generic blue SEO template; this reskins it in  */
/* a warm bakery palette without touching the shared template.       */
/* ================================================================= */
[data-fx="bakery"] { --fx-accent: #c8742f; --fx-accent-2: #f3c77b; --fx-deep: #3d2414; --fx-ink: #2d1f14; --fx-crust: #8a4b1f; --fx-cream: #fdf6ec; }
[data-fx="bakery"] .bg-blue-600 { background-color: var(--fx-crust) !important; }
[data-fx="bakery"] .hover\:bg-blue-700:hover { background-color: #6f3a15 !important; }
[data-fx="bakery"] .text-blue-600, [data-fx="bakery"] .text-blue-800, [data-fx="bakery"] .text-blue-700 { color: var(--fx-crust) !important; }
[data-fx="bakery"] .border-blue-600 { border-color: var(--fx-crust) !important; }
[data-fx="bakery"] .hover\:bg-blue-600:hover { background-color: var(--fx-crust) !important; color: #fff !important; }
[data-fx="bakery"] .bg-blue-50 { background-color: #fbefdc !important; }
[data-fx="bakery"] .text-blue-100 { color: #f8e3c4 !important; }
[data-fx="bakery"] .focus\:ring-blue-500:focus { --tw-ring-color: rgba(200, 116, 47, .5) !important; }
[data-fx="bakery"] .from-blue-50 { --tw-gradient-from: var(--fx-cream) !important; --tw-gradient-to: rgba(253, 246, 236, 0) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
[data-fx="bakery"] .bg-gray-50 { background-color: #faf5ee !important; }
[data-fx="bakery"] h1, [data-fx="bakery"] h2 { letter-spacing: -.01em; }
/* overflow stays visible so script.js doesn't dress this light hero with
   its dark-hero grid decor (it only picks overflow:hidden panels). */
[data-fx="bakery"] .fx-hero { overflow: visible; background:radial-gradient(ellipse at 85% 20%, rgba(243, 199, 123, .35), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(200, 116, 47, .14), transparent 55%), var(--fx-cream); }
[data-fx="bakery"] .fx-hero .fx-particles { z-index: 0; opacity: .5; }
[data-fx="bakery"] .fx-hero > .container { position: relative; z-index: 1; }
[data-fx="bakery"] .fx-hero h1 { color: var(--fx-ink); }
[data-fx="bakery"] .fx-hero h1 em { font-style: normal; color: var(--fx-accent); }
/* The fixed 24rem orbit sphere forced the hero grid wider than a phone. */
[data-fx="bakery"] .fx-hero .grid > * { min-width: 0; }
@media (max-width: 480px) {
  [data-fx="bakery"] .fx-hero .w-96.h-96 { width: 100%; max-width: 24rem; transform: scale(.86); transform-origin: top center; }
}
[data-fx="bakery"] .text-sphere-container .from-blue-500 { background-image: linear-gradient(90deg, #c8742f, #8a4b1f) !important; }
[data-fx="bakery"] .text-sphere-container .border-blue-100 { border-color: rgba(200, 116, 47, .25) !important; }
[data-fx="bakery"] .from-blue-100 { background-image: linear-gradient(135deg, #f7e6cc, #efcf9e) !important; }
[data-fx="bakery"] .fx-bake-visual { position: relative; width: 100%; max-width: 460px; margin: 0 auto; }
[data-fx="bakery"] .fx-bake-visual:has(.fx-media[hidden]) { display: none; }
[data-fx="bakery"] .fx-bake-visual .fx-media-frame { --fx-radius: 1.5rem; }
[data-fx="bakery"] .fx-float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--fx-ink); font-size: .82rem; font-weight: 700; box-shadow: 0 18px 36px -18px rgba(61, 36, 20, .55);
  border: 1px solid rgba(200, 116, 47, .25); animation: fx-float 6s ease-in-out infinite;
}
[data-fx="bakery"] .fx-float-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--fx-accent); display: block; }
[data-fx="bakery"] .fx-float-chip:nth-of-type(2) { animation-delay: -2s; }
[data-fx="bakery"] .fx-float-chip:nth-of-type(3) { animation-delay: -4s; }
[data-fx="bakery"] .fx-bake-visual:has(.fx-media[hidden]) .fx-float-chip { display: none; }
[data-fx="bakery"] .newservices_container1__EML8h, [data-fx="bakery"] .relative.h-64 { border-radius: 1rem; overflow: hidden; }
[data-fx="bakery"] img.object-cover { transition: transform 1.2s var(--fx-ease); }
[data-fx="bakery"] .group:hover img.object-cover, [data-fx="bakery"] .grid > div:hover img.object-cover { transform: scale(1.06); }

/* ================================================================= */
/* Template: biz (sector + industry pages, /industries/**)           */
/* Same DOM as the GEO pages, painted from per-sector tokens set on  */
/* the wrapper by admin-server/scripts/enhance-industry-pages.js.    */
/* ================================================================= */
[data-fx="biz"], [data-fx="seo"], [data-fx="hub"], [data-fx="gen"] {
  --fx-ink: #0f172a;
  --fx-soft: color-mix(in srgb, var(--fx-accent) 12%, #fff);
  --fx-soft-2: color-mix(in srgb, var(--fx-primary) 10%, #fff);
}

/* Hero */
[data-fx="biz"] .fx-hero--biz, [data-fx="hub"] .fx-hero--biz {
  height: auto; min-height: 72vh; padding: 7rem 0 6rem;
  background:
    radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--fx-accent) 26%, transparent), transparent 52%),
    radial-gradient(ellipse at 88% 85%, color-mix(in srgb, var(--fx-primary) 50%, transparent), transparent 58%),
    linear-gradient(135deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 62%, var(--fx-primary))) !important;
}
.fx-hero--biz > .bg-blue-900.opacity-80 {
  /* enhancements.css paints .bg-blue-900 solid (!important), which hid the photo */
  background-color: transparent !important;
  opacity: 1; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--fx-deep) 45%, transparent), color-mix(in srgb, var(--fx-deep) 86%, transparent) 78%),
    linear-gradient(180deg, color-mix(in srgb, var(--fx-deep) 30%, transparent), color-mix(in srgb, var(--fx-deep) 92%, transparent));
}
.fx-hero--biz:not(.fx-has-photo) > .bg-blue-900.opacity-80 {
  background:
    radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--fx-accent) 30%, transparent), transparent 52%),
    radial-gradient(ellipse at 88% 85%, color-mix(in srgb, var(--fx-primary) 55%, transparent), transparent 58%),
    linear-gradient(135deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 60%, var(--fx-primary)));
}
.fx-hero--biz .fx-particles { z-index: 1; }
/* The hub hero had a faint 20% stock photo with "INDUSTRY" baked into it;
   the gradient + particles (or the page's own photo) replace it. */
.fx-hero--biz > div.absolute.inset-0:not(.bg-blue-900) { display: none; }
.fx-hero--biz > .relative.z-10 { max-width: 980px; margin: 0 auto; }
.fx-hero--biz h1 { letter-spacing: -.02em; line-height: 1.08; text-shadow: 0 12px 44px color-mix(in srgb, var(--fx-accent) 35%, transparent); }
.fx-hero--biz p { max-width: 760px; margin-left: auto; margin-right: auto; line-height: 1.55; }
.fx-hero--biz a.bg-yellow-500 { background: linear-gradient(135deg, var(--fx-accent-2), var(--fx-accent)); color: var(--fx-deep); box-shadow: 0 14px 34px -14px var(--fx-accent); }
.fx-hero--biz .fx-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: 0; pointer-events: none; animation: fx-orb 18s ease-in-out infinite alternate; }

/* Service cards (emoji) */
[data-fx="biz"] #services .grid > div, [data-fx="hub"] #services .grid > div {
  position: relative; overflow: hidden; isolation: isolate; background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -28px rgba(15, 23, 42, .35);
  transition: box-shadow .4s ease, border-color .4s ease, transform .4s var(--fx-ease);
}
[data-fx="biz"] #services .grid > div::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease; background: linear-gradient(160deg, var(--fx-soft), var(--fx-soft-2)); }
[data-fx="biz"] #services .grid > div:hover { border-color: color-mix(in srgb, var(--fx-accent) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="biz"] #services .grid > div:hover::before { opacity: 1; }
[data-fx="biz"] #services .grid > div > .text-4xl {
  width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 22px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--fx-soft), var(--fx-soft-2)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fx-primary) 18%, transparent), 0 12px 24px -16px var(--fx-primary);
  animation: fx-float 5.5s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.3s);
}

/* Sub-industry link cards (sector pages) and hub sector cards */
[data-fx="biz"] .fx-subs a > div, [data-fx="hub"] .fx-subs > a { transition: transform .4s var(--fx-ease), box-shadow .4s ease, border-color .4s ease; }
[data-fx="biz"] .fx-subs a > div { position: relative; overflow: hidden; isolation: isolate; height: 100%; }
[data-fx="biz"] .fx-subs a:hover > div { border-color: var(--fx-accent) !important; box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="biz"] .fx-subs a .text-blue-600, [data-fx="biz"] .fx-subs a [class*="text-blue"] { color: var(--fx-primary) !important; }
.fx-thumb { margin: -2rem -2rem 1.4rem; aspect-ratio: 16 / 9; overflow: hidden; background: var(--fx-soft); }
.fx-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.1s var(--fx-ease); }
a:hover .fx-thumb img { transform: scale(1.06); }

/* "Why choose" cards */
[data-fx="biz"] .fx-why .grid > div { position: relative; overflow: hidden; isolation: isolate; border: 1px solid #e2e8f0; transition: transform .4s var(--fx-ease), box-shadow .4s ease, border-color .4s ease; }
[data-fx="biz"] .fx-why .grid > div:hover { border-color: color-mix(in srgb, var(--fx-accent) 55%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="biz"] .fx-why .grid > div .bg-blue-600 { background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; box-shadow: 0 10px 22px -10px var(--fx-primary); transition: transform .5s var(--fx-spring); }
[data-fx="biz"] .fx-why .grid > div:hover .bg-blue-600 { transform: rotate(-8deg) scale(1.08); }
.fx-js [data-fx="biz"] .fx-why [data-fx-stagger].is-in > div .bg-blue-600 svg path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: fx-draw .7s ease forwards; animation-delay: calc(var(--i, 0) * 80ms + .35s); }

/* CTA band */
[data-fx="biz"] .fx-cta, [data-fx="hub"] .fx-cta { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--fx-deep), var(--fx-primary) 55%, color-mix(in srgb, var(--fx-primary) 70%, var(--fx-accent))) !important; background-size: 220% 220% !important; animation: fx-shift 16s ease-in-out infinite; }
[data-fx="biz"] .fx-cta::before, [data-fx="biz"] .fx-cta::after, [data-fx="hub"] .fx-cta::before, [data-fx="hub"] .fx-cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; animation: fx-orb 16s ease-in-out infinite alternate; }
[data-fx="biz"] .fx-cta::before, [data-fx="hub"] .fx-cta::before { width: 420px; height: 420px; left: -120px; top: -140px; background: color-mix(in srgb, var(--fx-accent) 45%, transparent); }
[data-fx="biz"] .fx-cta::after, [data-fx="hub"] .fx-cta::after { width: 380px; height: 380px; right: -100px; bottom: -160px; background: color-mix(in srgb, var(--fx-accent-2) 40%, transparent); animation-delay: -6s; }
[data-fx="biz"] .fx-cta .text-blue-100 { color: color-mix(in srgb, #fff 82%, var(--fx-accent-2)) !important; }
[data-fx="biz"] .fx-cta a.bg-white { color: var(--fx-primary) !important; }

/* Read-more content */
[data-fx="biz"] .fx-stats { background: linear-gradient(120deg, var(--fx-soft), var(--fx-soft-2), var(--fx-soft)) !important; background-size: 200% 200% !important; animation: fx-shift 14s ease-in-out infinite; }
[data-fx="biz"] .fx-stats .text-3xl, [data-fx="biz"] .fx-stats .text-lg { background: linear-gradient(135deg, var(--fx-primary), color-mix(in srgb, var(--fx-primary) 60%, var(--fx-accent))); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-fx="biz"] .fx-numbered .grid > div > div:first-child { background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; color: #fff !important; font-size: 1.05rem !important; box-shadow: 0 12px 24px -12px var(--fx-primary); transition: transform .5s var(--fx-spring); }
[data-fx="biz"] .fx-numbered .grid > div { padding: 1.4rem; border-radius: 1rem; background: #fff; border: 1px solid #e2e8f0; transition: transform .4s var(--fx-ease), box-shadow .4s ease; }
[data-fx="biz"] .fx-numbered .grid > div:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="biz"] .fx-numbered .grid > div:hover > div:first-child { transform: scale(1.12) rotate(-6deg); }
[data-fx="biz"] .text-blue-700, [data-fx="biz"] .text-blue-800 { color: var(--fx-primary); }

/* New section shell */
.fx-sec { padding: 5.5rem 0; position: relative; overflow: hidden; }
.fx-sec--tint { background: radial-gradient(ellipse at 92% 8%, var(--fx-soft), transparent 55%), radial-gradient(ellipse at 0% 100%, var(--fx-soft-2), transparent 55%), #f8fafc; }
.fx-sec-head { max-width: 760px; margin: 0 0 2.6rem; }
.fx-sec-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.fx-sec-head .fx-eyebrow { color: var(--fx-primary); }
.fx-sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; font-weight: 800; letter-spacing: -.01em; color: var(--fx-ink); margin: .8rem 0 .9rem; text-wrap: balance; }
.fx-sec-head p { color: #475569; font-size: 1.05rem; line-height: 1.75; }

/* How customers search: animated search box + real query list + insights */
.fx-search-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .fx-search-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.fx-realities { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; counter-reset: fxr; }
.fx-realities li { display: grid; grid-template-columns: 42px 1fr; gap: 1rem; align-items: start; color: #334155; line-height: 1.65; }
.fx-realities li::before {
  counter-increment: fxr; content: counter(fxr, decimal-leading-zero); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 12px;
  font: 800 .85rem/1 ui-monospace, Consolas, monospace; color: #fff; background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)); box-shadow: 0 10px 20px -10px var(--fx-primary);
}
.fx-searchbox {
  display: flex; align-items: center; gap: .8rem; padding: 1rem 1.25rem; border-radius: 999px; background: #fff;
  border: 1px solid #e2e8f0; box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .45), 0 0 0 6px color-mix(in srgb, var(--fx-accent) 10%, transparent);
  font-size: 1.05rem; color: var(--fx-ink); min-height: 60px;
}
.fx-searchbox svg { flex: none; width: 22px; height: 22px; color: var(--fx-primary); }
.fx-searchbox-text { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fx-searchbox .fx-caret { background: var(--fx-primary); }
.fx-queries { list-style: none; padding: 0; margin: 1.4rem 0 0; display: flex; flex-wrap: wrap; gap: .55rem; }
.fx-queries li {
  font-size: .86rem; padding: .45rem .85rem; border-radius: 999px; color: #334155; background: #fff; border: 1px solid #e2e8f0;
  transition: background .35s ease, color .35s ease, border-color .35s ease, transform .35s var(--fx-spring);
}
.fx-queries li::before { content: "\2315"; margin-right: .4rem; color: var(--fx-primary); }
.fx-queries li.is-on { background: var(--fx-primary); border-color: var(--fx-primary); color: #fff; transform: translateY(-2px); }
.fx-queries li.is-on::before { color: #fff; }
.fx-search-note { margin-top: 1rem; font-size: .8rem; color: #94a3b8; }

/* Challenges */
.fx-chal-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .fx-chal-grid { grid-template-columns: 1fr 1fr; } }
.fx-chal-wrap { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .fx-chal-wrap:has(> .fx-media:not([hidden])) { grid-template-columns: .8fr 1.2fr; } }
.fx-chal-wrap > * { min-width: 0; }
.fx-chal {
  position: relative; padding: 1.5rem 1.5rem 1.4rem; border-radius: 1rem; background: #fff; border: 1px solid #e2e8f0;
  box-shadow: 0 18px 40px -32px rgba(15, 23, 42, .4); transition: transform .4s var(--fx-ease), box-shadow .4s ease, border-color .4s ease;
}
.fx-chal:hover { border-color: color-mix(in srgb, var(--fx-accent) 55%, transparent); box-shadow: 0 28px 56px -30px color-mix(in srgb, var(--fx-primary) 50%, transparent); }
.fx-chal-n { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; margin-bottom: .9rem; background: var(--fx-soft); color: var(--fx-primary); font: 800 .85rem/1 ui-monospace, Consolas, monospace; }
.fx-chal h3 { font-size: 1.08rem; font-weight: 800; color: var(--fx-ink); margin-bottom: .45rem; }
.fx-chal p { color: #475569; font-size: .95rem; line-height: 1.65; }

/* Related industries */
.fx-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.fx-rel {
  display: flex; flex-direction: column; border-radius: 1rem; overflow: hidden; background: #fff; border: 1px solid #e2e8f0; color: var(--fx-ink);
  transition: transform .35s var(--fx-ease), box-shadow .35s ease, border-color .35s ease;
}
.fx-rel:hover { transform: translateY(-4px); border-color: var(--fx-accent); box-shadow: 0 24px 48px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
.fx-rel .fx-thumb { margin: 0; }
.fx-rel-body { padding: 1rem 1.1rem 1.1rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem; font-weight: 700; font-size: .98rem; }
.fx-rel-body span { color: var(--fx-primary); transition: transform .3s ease; }
.fx-rel:hover .fx-rel-body span { transform: translateX(4px); }
.fx-rel-all { display: inline-flex; margin-top: 1.6rem; font-weight: 700; color: var(--fx-primary); }
.fx-rel-all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ================================================================= */
/* Template: seo (the industry "…/seo/" pages, generic SEO template) */
/* Reskinned in the sector palette; same approach as the bakery page. */
/* ================================================================= */
[data-fx="seo"] .bg-blue-600 { background-color: var(--fx-primary) !important; }
/* The greyscale theme also paints filled CTAs with a dark gradient image. */
[data-fx="seo"] a.bg-blue-600, [data-fx="seo"] button.bg-blue-600 { background-image: none !important; }
[data-fx="seo"] .hover\:bg-blue-700:hover { background-color: color-mix(in srgb, var(--fx-primary) 82%, #000) !important; }
[data-fx="seo"] .text-blue-600, [data-fx="seo"] .text-blue-800, [data-fx="seo"] .text-blue-700 { color: var(--fx-primary) !important; }
[data-fx="seo"] .border-blue-600 { border-color: var(--fx-primary) !important; }
[data-fx="seo"] .hover\:bg-blue-600:hover { background-color: var(--fx-primary) !important; color: #fff !important; }
[data-fx="seo"] .bg-blue-50 { background-color: var(--fx-soft) !important; }
[data-fx="seo"] .text-blue-100 { color: color-mix(in srgb, #fff 82%, var(--fx-accent-2)) !important; }
[data-fx="seo"] .from-blue-50 { --tw-gradient-from: var(--fx-soft) !important; --tw-gradient-to: rgba(255, 255, 255, 0) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
[data-fx="seo"] .from-blue-100 { background-image: linear-gradient(135deg, var(--fx-soft), var(--fx-soft-2)) !important; }
[data-fx="seo"] .text-sphere-container .from-blue-500 { background-image: linear-gradient(90deg, var(--fx-primary), color-mix(in srgb, var(--fx-primary) 60%, var(--fx-accent))) !important; }
[data-fx="seo"] .text-sphere-container .border-blue-100 { border-color: color-mix(in srgb, var(--fx-primary) 25%, transparent) !important; }
[data-fx="seo"] .fx-hero { overflow: visible; background: radial-gradient(ellipse at 85% 20%, var(--fx-soft), transparent 52%), radial-gradient(ellipse at 0% 100%, var(--fx-soft-2), transparent 55%), #fff; }
[data-fx="seo"] .fx-hero .fx-particles { z-index: 0; opacity: .45; }
[data-fx="seo"] .fx-hero > .container { position: relative; z-index: 1; }
[data-fx="seo"] .fx-hero .grid > * { min-width: 0; }
[data-fx="seo"] .fx-hero h1 em { font-style: normal; color: var(--fx-primary); }
[data-fx="seo"] .fx-seo-visual { position: relative; width: 100%; max-width: 480px; margin: 0 auto; }
[data-fx="seo"] .fx-seo-visual .fx-media-frame { --fx-radius: 1.5rem; }
[data-fx="seo"] .fx-seo-visual:has(.fx-media[hidden]) { display: none; }
[data-fx="seo"] .fx-float-chip {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem .95rem; border-radius: 999px;
  background: rgba(255, 255, 255, .94); color: var(--fx-ink); font-size: .82rem; font-weight: 700; box-shadow: 0 18px 36px -18px rgba(15, 23, 42, .5);
  border: 1px solid color-mix(in srgb, var(--fx-primary) 25%, transparent); animation: fx-float 6s ease-in-out infinite;
}
[data-fx="seo"] .fx-float-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--fx-accent); display: block; }
[data-fx="seo"] .fx-float-chip:nth-of-type(2) { animation-delay: -2s; }
[data-fx="seo"] .fx-float-chip:nth-of-type(3) { animation-delay: -4s; }
[data-fx="seo"] img.object-cover { transition: transform 1.2s var(--fx-ease); }
[data-fx="seo"] .grid > div:hover img.object-cover { transform: scale(1.06); }
@media (max-width: 480px) { [data-fx="seo"] .fx-hero .w-96.h-96 { width: 100%; max-width: 24rem; transform: scale(.86); transform-origin: top center; } }

/* ================================================================= */
/* Template: hub (/industries/)                                      */
/* ================================================================= */
[data-fx="hub"] .fx-subs > a:hover { border-color: var(--fx-accent) !important; }

/* ================================================================= */
/* Template: gen (niche + service subpages, enhance-subpages.js)     */
/* Any Tailwind page: the hero is the block around the first <h1>,   */
/* painted from the sector / service tokens on the page wrapper.     */
/* ================================================================= */
[data-fx="gen"] .fx-hero.fx-hero--gen { /* beats enhancements.css div[class*="from-blue-900"].relative */
  display: flex; flex-direction: column; justify-content: center; align-items: stretch; height: auto; min-height: 64vh; padding-top: 6.5rem; padding-bottom: 6.5rem; color: #fff;
  background:
    radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--fx-accent) 26%, transparent), transparent 52%),
    radial-gradient(ellipse at 88% 85%, color-mix(in srgb, var(--fx-primary) 50%, transparent), transparent 58%),
    linear-gradient(135deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 62%, var(--fx-primary))) !important;
}
[data-fx="gen"] .fx-hero--gen > .container, [data-fx="gen"] .fx-hero--gen > div:not(.absolute):not(.fx-hero-bg) { position: relative; z-index: 2; width: 100%; }
/* The old overlays and script.js's generic hero decor give way to the FX layers. */
[data-fx="gen"] .fx-hero--gen > .absolute.inset-0:not(.fx-hero-bg), [data-fx="gen"] .fx-hero--gen > .nx-orb2,
[data-fx="gen"] .fx-hero--gen > .nx-hero-grid2, [data-fx="gen"] .fx-hero--gen > .nx-hero-veil { display: none; }
[data-fx="gen"] .fx-hero--gen .fx-particles { z-index: 1; }
/* Photo under a tinted scrim so the white headline stays readable. */
[data-fx="gen"] .fx-hero--gen .fx-hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--fx-deep) 50%, transparent), color-mix(in srgb, var(--fx-deep) 88%, transparent) 78%),
    linear-gradient(180deg, color-mix(in srgb, var(--fx-deep) 35%, transparent), color-mix(in srgb, var(--fx-deep) 92%, transparent));
}
[data-fx="gen"] .fx-hero--gen.fx-has-photo img:not(.fx-hero-img) { display: none; }
[data-fx="gen"] .fx-hero--gen h1 { letter-spacing: -.02em; line-height: 1.08; text-shadow: 0 12px 44px color-mix(in srgb, var(--fx-accent) 35%, transparent); }
[data-fx="gen"] .fx-hero--gen p { line-height: 1.55; }
[data-fx="gen"] .fx-hero--gen .text-blue-100, [data-fx="gen"] .fx-hero--gen .text-blue-200 { color: color-mix(in srgb, #fff 82%, var(--fx-accent-2)) !important; }
[data-fx="gen"] .fx-hero--gen .fx-pill { margin-bottom: 1.25rem; }
[data-fx="gen"] .fx-hero--gen a.bg-white, [data-fx="gen"] .fx-hero--gen a.bg-yellow-500 {
  background: linear-gradient(135deg, var(--fx-accent-2), var(--fx-accent)) !important; color: var(--fx-deep) !important; border: 0;
  box-shadow: 0 14px 34px -14px var(--fx-accent); transition: transform .35s var(--fx-spring), box-shadow .35s ease;
}
[data-fx="gen"] .fx-hero--gen a.bg-white:hover, [data-fx="gen"] .fx-hero--gen a.bg-yellow-500:hover { box-shadow: 0 20px 44px -14px var(--fx-accent); }

/* Body: blue utilities repainted in the page palette. */
[data-fx="gen"] .bg-blue-600, [data-fx="gen"] .bg-blue-700 { background-color: var(--fx-primary) !important; }
[data-fx="gen"] a.bg-blue-600, [data-fx="gen"] button.bg-blue-600 { background-image: none !important; }
[data-fx="gen"] .hover\:bg-blue-700:hover, [data-fx="gen"] .hover\:bg-blue-800:hover { background-color: color-mix(in srgb, var(--fx-primary) 82%, #000) !important; }
[data-fx="gen"] .text-blue-600, [data-fx="gen"] .text-blue-700, [data-fx="gen"] .text-blue-800, [data-fx="gen"] .text-blue-900 { color: var(--fx-primary) !important; }
[data-fx="gen"] .border-blue-500, [data-fx="gen"] .border-blue-600 { border-color: var(--fx-primary) !important; }
[data-fx="gen"] .bg-blue-50, [data-fx="gen"] .bg-blue-100 { background-color: var(--fx-soft) !important; }
[data-fx="gen"] .from-blue-50 { --tw-gradient-from: var(--fx-soft) !important; --tw-gradient-to: rgba(255, 255, 255, 0) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }

/* Cards rise in (data-fx-stagger), lift and glow on hover. */
[data-fx="gen"] .fx-gen-grid > [class*="rounded"] {
  position: relative; overflow: hidden; isolation: isolate; border: 1px solid #e2e8f0;
  transition: transform .4s var(--fx-ease), box-shadow .4s ease, border-color .4s ease;
}
[data-fx="gen"] .fx-gen-grid > [class*="rounded"]::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease; background: linear-gradient(160deg, var(--fx-soft), var(--fx-soft-2)); }
[data-fx="gen"] .fx-gen-grid > [class*="rounded"]:hover { border-color: color-mix(in srgb, var(--fx-accent) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="gen"] .fx-gen-grid > [class*="rounded"]:hover::before { opacity: 1; }
[data-fx="gen"] .fx-gen-grid > [class*="rounded"] > [class*="rounded-full"]:first-child, [data-fx="gen"] .fx-gen-grid > [class*="rounded"] > [class*="rounded-lg"][class*="bg-"]:first-child {
  background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; color: #fff !important; box-shadow: 0 10px 22px -10px var(--fx-primary); transition: transform .5s var(--fx-spring);
}
[data-fx="gen"] .fx-gen-grid > [class*="rounded"]:hover > [class*="rounded-full"]:first-child { transform: rotate(-8deg) scale(1.08); }
[data-fx="gen"] .fx-gen-grid > [class*="rounded"] > [class*="rounded-full"]:first-child svg, [data-fx="gen"] .fx-gen-grid > [class*="rounded"] > [class*="rounded-full"]:first-child [class*="text-"] { color: #fff !important; }

/* Coloured call-to-action bands */
[data-fx="gen"] .fx-cta { position: relative; overflow: hidden; isolation: isolate; background: linear-gradient(120deg, var(--fx-deep), var(--fx-primary) 55%, color-mix(in srgb, var(--fx-primary) 70%, var(--fx-accent))) !important; background-size: 220% 220% !important; animation: fx-shift 16s ease-in-out infinite; }
[data-fx="gen"] .fx-cta::before, [data-fx="gen"] .fx-cta::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none; animation: fx-orb 16s ease-in-out infinite alternate; }
[data-fx="gen"] .fx-cta::before { width: 420px; height: 420px; left: -120px; top: -140px; background: color-mix(in srgb, var(--fx-accent) 45%, transparent); }
[data-fx="gen"] .fx-cta::after { width: 380px; height: 380px; right: -100px; bottom: -160px; background: color-mix(in srgb, var(--fx-accent-2) 40%, transparent); animation-delay: -6s; }
[data-fx="gen"] .fx-cta .text-blue-100, [data-fx="gen"] .fx-cta .text-blue-200 { color: color-mix(in srgb, #fff 82%, var(--fx-accent-2)) !important; }
[data-fx="gen"] .fx-cta a.bg-white, [data-fx="gen"] .fx-cta button.bg-white { color: var(--fx-primary) !important; }
[data-fx="gen"] .fx-cta .text-blue-600, [data-fx="gen"] .fx-cta .text-blue-900 { color: var(--fx-primary) !important; }

/* Read-more content */
[data-fx="gen"] .fx-stats { background: linear-gradient(120deg, var(--fx-soft), var(--fx-soft-2), var(--fx-soft)) !important; background-size: 200% 200% !important; animation: fx-shift 14s ease-in-out infinite; }
[data-fx="gen"] .fx-numbered .grid > div > div:first-child { background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; color: #fff !important; box-shadow: 0 12px 24px -12px var(--fx-primary); }
/* Two-column heroes keep their own framed image (now the page photo). */
[data-fx="gen"] .fx-hero--gen .lg\:grid-cols-2 img:not(.fx-hero-img) { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 1rem; }

/* ================================================================= */
/* Template: svc (/seo-services/*, the CSS-module newservices_*      */
/* layout). Hooks added by enhance-subpages.js: .fx-hero--svc,       */
/* .fx-svc-body/-side/-main/-overview/-factors/-duo/-benefits/-faqs. */
/* ================================================================= */
[data-fx="svc"] {
  --fx-ink: #0f172a;
  --fx-soft: color-mix(in srgb, var(--fx-accent) 12%, #fff);
  --fx-soft-2: color-mix(in srgb, var(--fx-primary) 10%, #fff);
}

/* Hero (the old 400px banner) */
[data-fx="svc"] .fx-hero.fx-hero--svc {
  height: auto; min-height: 68vh; padding: 7rem 1.25rem 6.5rem; border-radius: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: #fff;
  background:
    radial-gradient(ellipse at 18% 18%, color-mix(in srgb, var(--fx-accent) 26%, transparent), transparent 52%),
    radial-gradient(ellipse at 88% 85%, color-mix(in srgb, var(--fx-primary) 50%, transparent), transparent 58%),
    linear-gradient(135deg, var(--fx-deep), color-mix(in srgb, var(--fx-deep) 62%, var(--fx-primary))) !important;
}
[data-fx="svc"] .fx-hero--svc > img[data-fx-stock] { display: none !important; }
[data-fx="svc"] .fx-hero--svc:hover img { transform: none; }
[data-fx="svc"] .fx-hero--svc .fx-hero-bg::after {
  content: ""; position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(ellipse 70% 60% at 50% 45%, color-mix(in srgb, var(--fx-deep) 66%, transparent), color-mix(in srgb, var(--fx-deep) 90%, transparent) 78%),
    linear-gradient(180deg, color-mix(in srgb, var(--fx-deep) 45%, transparent), color-mix(in srgb, var(--fx-deep) 92%, transparent));
}
[data-fx="svc"] .fx-hero--svc .fx-particles { z-index: 1; }
[data-fx="svc"] .fx-svc-copy { position: relative; z-index: 2; width: 100%; max-width: 940px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
[data-fx="svc"] .fx-svc-copy .fx-pill { margin-bottom: 1.25rem; }
[data-fx="svc"] .fx-svc-copy h1 {
  color: #fff !important; font-size: clamp(2.3rem, 6vw, 4.4rem) !important; font-weight: 800; line-height: 1.06; letter-spacing: -.02em;
  margin: 0 0 1.1rem; padding: 0; text-shadow: 0 12px 44px color-mix(in srgb, var(--fx-accent) 35%, transparent);
}
[data-fx="svc"] .fx-svc-lead { text-shadow: 0 2px 16px rgba(0, 0, 0, .35); font-size: clamp(1.05rem, 1.6vw, 1.28rem); line-height: 1.6; color: color-mix(in srgb, #fff 84%, var(--fx-accent-2)); max-width: 720px; margin: 0 0 2rem; }
[data-fx="svc"] .fx-svc-cta { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; }
.fx-svc-btn { display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.6rem; border-radius: .75rem; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; transition: transform .35s var(--fx-spring), box-shadow .35s ease, background-color .3s ease; }
.fx-svc-btn--primary { background: linear-gradient(135deg, var(--fx-accent-2), var(--fx-accent)); color: var(--fx-deep) !important; box-shadow: 0 14px 34px -14px var(--fx-accent); }
.fx-svc-btn--primary:hover { box-shadow: 0 20px 44px -14px var(--fx-accent); }
.fx-svc-btn--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff !important; background: rgba(255, 255, 255, .06); }
.fx-svc-btn--ghost:hover { background: rgba(255, 255, 255, .14); }

/* Body: content left, sidebar right (the module CSS never got its grid) */
[data-fx="svc"] .fx-svc-body { display: grid !important; grid-template-columns: minmax(0, 1fr) 340px; gap: 3rem; align-items: start; max-width: 1240px; margin: 0 auto; padding: 4.5rem 1.25rem 3rem; }
[data-fx="svc"] .fx-svc-main { order: 1; min-width: 0; display: flex; flex-direction: column; gap: 2.75rem; }
[data-fx="svc"] .fx-svc-main > * { margin: 0; }
[data-fx="svc"] .fx-svc-side { order: 2; position: static; min-width: 0; gap: 1.25rem; }
@media (max-width: 1023px) {
  [data-fx="svc"] .fx-svc-body { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding-top: 3rem; }
}
[data-fx="svc"] :is(.fx-svc-overview, .fx-svc-factors, .fx-svc-benefits) > :is(h2, h3) { font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-weight: 800; letter-spacing: -.01em; color: var(--fx-ink); margin: 0 0 1rem; }
[data-fx="svc"] :is(.fx-svc-overview, .fx-svc-factors, .fx-svc-benefits) > :is(h2, h3)::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 4px; margin-bottom: .85rem; background: linear-gradient(90deg, var(--fx-primary), var(--fx-accent)); }
[data-fx="svc"] .fx-svc-overview { scroll-margin-top: 110px; background: linear-gradient(160deg, var(--fx-soft), #fff 62%); border: 1px solid color-mix(in srgb, var(--fx-primary) 16%, #e2e8f0); border-radius: 1.25rem; padding: 2rem; }
[data-fx="svc"] .fx-svc-overview { box-shadow: none; }
[data-fx="svc"] .fx-svc-overview p { font-size: 1.07rem; font-weight: 400; line-height: 1.75; color: #334155; margin: 0; }
[data-fx="svc"] .fx-svc-factors, [data-fx="svc"] .fx-svc-benefits { background: none; padding: 0; box-shadow: none; }

/* Key factors: a 2 x 2 card grid */
[data-fx="svc"] .fx-svc-factors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
[data-fx="svc"] .fx-svc-factors > :is(h2, h3) { grid-column: 1 / -1; }
[data-fx="svc"] .fx-svc-factors > div {
  position: relative; overflow: hidden; isolation: isolate; margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 1.1rem; padding: 1.4rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -30px rgba(15, 23, 42, .35);
  transition: box-shadow .4s ease, border-color .4s ease, transform .4s var(--fx-ease);
}
[data-fx="svc"] .fx-svc-factors > div::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s ease; background: linear-gradient(160deg, var(--fx-soft), var(--fx-soft-2)); }
[data-fx="svc"] .fx-svc-factors > div:hover { border-color: color-mix(in srgb, var(--fx-accent) 60%, transparent); box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--fx-primary) 55%, transparent); }
[data-fx="svc"] .fx-svc-factors > div:hover::before { opacity: 1; }
[data-fx="svc"] .fx-svc-factors > div:has(> svg) { display: flex; gap: 1rem; align-items: flex-start; }
[data-fx="svc"] .fx-svc-factors :is([class*="factorIcon"], div > svg:first-child) { width: 42px; height: 42px; padding: 9px; flex: none; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)); box-shadow: 0 10px 22px -10px var(--fx-primary); transition: transform .5s var(--fx-spring); }
[data-fx="svc"] .fx-svc-factors > div:hover :is([class*="factorIcon"], div > svg:first-child) { transform: rotate(-8deg) scale(1.08); }
[data-fx="svc"] .fx-svc-factors :is([class*="factorTitle"], [class*="keyfactorHeading"]) { font-size: 1.1rem; font-weight: 800; color: var(--fx-ink); margin: 0; }
[data-fx="svc"] .fx-svc-factors :is([class*="factorText"], div > div > p) { color: #475569; line-height: 1.65; margin: .5rem 0 0; }
@media (max-width: 640px) { [data-fx="svc"] .fx-svc-factors { grid-template-columns: minmax(0, 1fr); } }

/* The two photos between the sections */
[data-fx="svc"] .fx-svc-duo { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; }
[data-fx="svc"] .fx-svc-duo img { display: block; margin: 0; width: 100% !important; height: auto !important; min-width: 0 !important; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1.1rem !important; box-shadow: 0 24px 50px -30px rgba(15, 23, 42, .55); transition: transform .6s var(--fx-ease); }
[data-fx="svc"] .fx-svc-duo img:hover { transform: translateY(-4px); }
@media (max-width: 640px) { [data-fx="svc"] .fx-svc-duo { grid-template-columns: minmax(0, 1fr); } }

/* Benefits: check-mark cards */
[data-fx="svc"] .fx-svc-benefits ul { list-style: none; display: grid; gap: .75rem; margin: 0; padding: 0; }
[data-fx="svc"] .fx-svc-benefits li { position: relative; margin: 0; line-height: 1.6; border-left-width: 1px !important; padding: .95rem 1.1rem .95rem 3.1rem !important; background: #fff; border: 1px solid #e2e8f0; border-radius: .9rem; color: #334155; transition: border-color .3s ease, transform .4s var(--fx-ease); }
[data-fx="svc"] .fx-svc-benefits li strong { font-size: inherit !important; font-weight: 700; color: var(--fx-ink) !important; }
[data-fx="svc"] .fx-svc-benefits li span { font-size: inherit; line-height: inherit; color: inherit; }
[data-fx="svc"] .fx-svc-benefits li:hover { border-color: color-mix(in srgb, var(--fx-primary) 40%, #e2e8f0); }
[data-fx="svc"] .fx-svc-benefits li::before {
  content: "✓" !important; position: absolute; left: 1rem !important; top: .95rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .85rem !important; color: #fff !important; background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent));
}

/* Sidebar cards */
[data-fx="svc"] .fx-svc-side > div { background: #fff; border: 1px solid #e2e8f0; border-radius: 1.1rem; padding: 1.4rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 18px 40px -28px rgba(15, 23, 42, .35); }
[data-fx="svc"] .fx-svc-side > div:has(> img:only-child) { padding: 0; overflow: hidden; border: 0; }
[data-fx="svc"] .fx-svc-side > div > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; box-shadow: none; }
[data-fx="svc"] .fx-svc-side > div { margin: 0; }
[data-fx="svc"] .fx-svc-side { display: flex; flex-direction: column; }
[data-fx="svc"] .fx-svc-side :is(h3, h4) { font-size: 1.05rem; font-weight: 800; color: var(--fx-ink); margin: 0 0 .85rem; }
[data-fx="svc"] .fx-svc-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
[data-fx="svc"] .fx-svc-side li a { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .6rem .8rem; border-radius: .6rem; color: var(--fx-ink); text-decoration: none; background: var(--fx-soft); transition: background-color .3s ease; }
[data-fx="svc"] .fx-svc-side li a::after { content: "→"; color: var(--fx-primary); transition: transform .3s ease; }
[data-fx="svc"] .fx-svc-side li a:hover { background: color-mix(in srgb, var(--fx-primary) 14%, #fff); }
[data-fx="svc"] .fx-svc-side li a:hover::after { transform: translateX(3px); }
[data-fx="svc"] .fx-svc-side form { display: grid; gap: .6rem; }
[data-fx="svc"] .fx-svc-side form :is(input:not([type="submit"]), textarea) { width: 100%; border: 1px solid #cbd5e1; border-radius: .6rem; padding: .7rem .85rem; font: inherit; background: #f8fafc; color: var(--fx-ink); }
[data-fx="svc"] .fx-svc-side form textarea { height: 120px; min-height: 96px; resize: vertical; }
[data-fx="svc"] .fx-svc-side form :is(input, textarea):focus { outline: none; border-color: var(--fx-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--fx-primary) 22%, transparent); }
[data-fx="svc"] .fx-svc-side form input[type="submit"] { border: 0; border-radius: .6rem; padding: .8rem; cursor: pointer; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--fx-primary), color-mix(in srgb, var(--fx-primary) 60%, var(--fx-accent))); }
[data-fx="svc"] .fx-svc-side > div:last-child > div { background: none !important; box-shadow: none !important; border-radius: 0 !important; margin: 0 !important; display: flex; align-items: baseline; gap: .7rem; padding: .55rem 0; border-top: 1px dashed #e2e8f0; }
[data-fx="svc"] .fx-svc-side > div:last-child > div > span + span { color: #334155 !important; font-size: .95rem; }
[data-fx="svc"] .fx-svc-side > div:last-child > div > span:first-child { min-width: 4.4rem; font-size: 1.55rem; font-weight: 800; background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
[data-fx="svc"] .fx-svc-side svg { color: var(--fx-primary); }
[data-fx="svc"] .fx-svc-side [class*="icon"]:has(> svg) { background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; }
[data-fx="svc"] .fx-svc-side [class*="icon"] > svg { color: #fff; }

/* FAQ: photo beside the accordion */
[data-fx="svc"] .fx-svc-faqs { display: grid !important; grid-template-columns: 380px minmax(0, 1fr); gap: 3rem; align-items: start; max-width: 1240px; margin: 1rem auto 4.5rem; padding: 0 1.25rem; }
[data-fx="svc"] .fx-svc-faqs > div:first-child { position: sticky; top: 100px; }
[data-fx="svc"] .fx-svc-faqs > div:first-child img { width: 100%; max-width: none; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 1.25rem; box-shadow: 0 30px 60px -34px rgba(15, 23, 42, .6); }
[data-fx="svc"] .fx-svc-faqs [class*="accordion_h2"] { font-size: clamp(1.55rem, 2.6vw, 2.05rem); font-weight: 800; color: var(--fx-ink); margin: 0 0 1.25rem; }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_accordion__"] { display: grid; gap: .75rem; }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_title_1__"] { height: auto !important; min-height: 4.25rem; display: flex; align-items: center; padding: 1rem 1.25rem !important; background: #fff !important; border: 1px solid #e2e8f0 !important; border-radius: 1rem !important; transition: border-color .3s ease, box-shadow .3s ease; }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_title_1__"]:hover { border-color: color-mix(in srgb, var(--fx-primary) 45%, #e2e8f0) !important; box-shadow: 0 16px 34px -26px color-mix(in srgb, var(--fx-primary) 60%, transparent); }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_title_1__"] > div { align-items: center; }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_title_1__"] svg { flex: none; margin-top: 0 !important; color: var(--fx-primary); }
[data-fx="svc"] .fx-svc-faqs [class*="accodion_h2"] { font-size: 1.05rem !important; font-weight: 700; line-height: 1.4; margin: 0; color: var(--fx-ink); }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_contain__"] { background: var(--fx-soft); border-radius: 0 0 1rem 1rem; }
[data-fx="svc"] .fx-svc-faqs [class*="newservices_contain__"] p { color: #334155; line-height: 1.7; }
@media (max-width: 1023px) {
  [data-fx="svc"] .fx-svc-faqs { grid-template-columns: minmax(0, 1fr); gap: 1.75rem; }
  [data-fx="svc"] .fx-svc-faqs > div:first-child { position: static; }
  [data-fx="svc"] .fx-svc-faqs > div:first-child img { aspect-ratio: 16 / 9; }
}

/* Read-more content (Tailwind) in the page palette */
[data-fx="svc"] [data-expanded-content] :is(.text-blue-600, .text-blue-700, .text-blue-800) { color: var(--fx-primary) !important; }
[data-fx="svc"] [data-expanded-content] :is(.bg-blue-50, .bg-blue-100) { background-color: var(--fx-soft) !important; }
[data-fx="svc"] .fx-stats { background: linear-gradient(120deg, var(--fx-soft), var(--fx-soft-2), var(--fx-soft)) !important; background-size: 200% 200% !important; animation: fx-shift 14s ease-in-out infinite; }
[data-fx="svc"] .fx-numbered .grid > div > div:first-child { background: linear-gradient(135deg, var(--fx-primary), var(--fx-accent)) !important; color: #fff !important; box-shadow: 0 12px 24px -12px var(--fx-primary); }

/* ---------------------------------------------------------------- */
/* Reduced motion: everything visible, nothing moving                */
/* ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .fx-hero-bg > img, .fx-marquee-track, .fx-hero--biz .fx-orb, [data-fx="biz"] .fx-cta, [data-fx="biz"] .fx-cta::before, [data-fx="biz"] .fx-cta::after,
  [data-fx="hub"] .fx-cta, [data-fx="biz"] #services .grid > div > .text-4xl, [data-fx="biz"] .fx-stats, [data-fx="seo"] .fx-float-chip, .fx-scroll-cue::after, .fx-pill::before, .fx-band::before,
  [data-fx="geo"] .fx-orb, [data-fx="geo"] .fx-cta, [data-fx="geo"] .fx-cta::before, [data-fx="geo"] .fx-cta::after,
  [data-fx="geo"] #services .grid > div > .text-4xl, [data-fx="geo"] .fx-stats, .fx-ai-avatar, .fx-caret, [data-fx="bakery"] .fx-float-chip,
  [data-fx="gen"] .fx-cta, [data-fx="gen"] .fx-cta::before, [data-fx="gen"] .fx-cta::after, [data-fx="gen"] .fx-stats, [data-fx="svc"] .fx-stats { animation: none !important; }
  .fx-svc-btn, [data-fx="svc"] .fx-svc-factors > div, [data-fx="svc"] .fx-svc-duo img, [data-fx="svc"] [class*="factorIcon"] { transition: none !important; }
  .fx-js .fx-in, .fx-words .fx-w > span { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .fx-js [data-fx-stagger] > *, .fx-js .fx-ai-cite { opacity: 1 !important; transform: none !important; transition: none !important; }
  .fx-js .fx-media .fx-media-frame { clip-path: none !important; transition: none !important; }
  .fx-js .fx-media img, .fx-media:hover img { scale: 1 !important; translate: none !important; transition: none !important; }
  .fx-marquee-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .fx-marquee-group + .fx-marquee-group { display: none; }
  .fx-js [data-fx-stagger] li svg, .fx-js .fx-why svg path { animation: none !important; stroke-dashoffset: 0 !important; }
}
