/*
 * File: assets/css/service-pages.css
 * Ruolo: art direction dedicata alle money pages servizio.
 *
 * STEP 77.1 - SERVICE PAGES ART DIRECTION
 * Questo file viene caricato solo sulle pagine servizio. Evita di appesantire
 * main.css e consente varianti visive specifiche per ogni money page.
 */

.ff-service-page {
  --ff-service-accent: var(--ff-color-primary);
  --ff-service-accent-2: var(--ff-color-cyan);
  --ff-service-accent-3: var(--ff-color-violet);
  --ff-service-soft: rgba(37, 99, 255, 0.10);
  --ff-service-soft-2: rgba(25, 211, 255, 0.12);
}

body.ff-service-art--wordpress,
.ff-service-page--wordpress {
  --ff-service-accent: #2563ff;
  --ff-service-accent-2: #19e7ff;
  --ff-service-accent-3: #8b5cf6;
  --ff-service-soft: rgba(37, 99, 255, 0.12);
  --ff-service-soft-2: rgba(25, 211, 255, 0.14);
}

body.ff-service-art--woocommerce,
.ff-service-page--woocommerce {
  --ff-service-accent: #00c271;
  --ff-service-accent-2: #19d3ff;
  --ff-service-accent-3: #d4ff37;
  --ff-service-soft: rgba(15, 159, 110, 0.12);
  --ff-service-soft-2: rgba(25, 211, 255, 0.14);
}

body.ff-service-art--plugin,
.ff-service-page--plugin {
  --ff-service-accent: #9b5cff;
  --ff-service-accent-2: #2fb3ff;
  --ff-service-accent-3: #53f4ff;
  --ff-service-soft: rgba(124, 58, 237, 0.12);
  --ff-service-soft-2: rgba(37, 99, 255, 0.12);
}

body.ff-service-art--seo,
.ff-service-page--seo {
  --ff-service-accent: #5b57ff;
  --ff-service-accent-2: #20d498;
  --ff-service-accent-3: #19d3ff;
  --ff-service-soft: rgba(79, 70, 229, 0.12);
  --ff-service-soft-2: rgba(15, 159, 110, 0.12);
}

body.ff-service-art--performance,
.ff-service-page--performance {
  --ff-service-accent: #00b8d9;
  --ff-service-accent-2: #5cff9a;
  --ff-service-accent-3: #7ca8ff;
  --ff-service-soft: rgba(8, 145, 178, 0.12);
  --ff-service-soft-2: rgba(34, 197, 94, 0.12);
}

body.ff-service-art--ux,
.ff-service-page--ux {
  --ff-service-accent: #ff3fd2;
  --ff-service-accent-2: #8d5cff;
  --ff-service-accent-3: #19d3ff;
  --ff-service-soft: rgba(192, 38, 211, 0.11);
  --ff-service-soft-2: rgba(124, 58, 237, 0.12);
}

body.ff-service-page-art .ff-page-hero--service {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 8%, var(--ff-service-soft), transparent 30%),
    radial-gradient(circle at 86% 14%, var(--ff-service-soft-2), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,0.72), rgba(246,248,255,0.82));
}

body.ff-service-page-art .ff-page-hero--service::after {
  content: "";
  position: absolute;
  right: clamp(20px, 7vw, 120px);
  bottom: clamp(24px, 7vw, 110px);
  width: clamp(180px, 24vw, 420px);
  height: clamp(180px, 24vw, 420px);
  border: 1px solid color-mix(in srgb, var(--ff-service-accent) 18%, transparent);
  border-radius: 44% 56% 48% 52%;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--ff-service-accent) 9%, transparent), transparent),
    radial-gradient(circle at 40% 34%, color-mix(in srgb, var(--ff-service-accent-2) 14%, transparent), transparent 42%);
  opacity: 0.82;
  pointer-events: none;
}

body.ff-service-page-art .ff-page-hero--service .ff-page-hero__title {
  max-width: 980px;
  text-wrap: balance;
}

body.ff-service-page-art .ff-page-hero--service .ff-eyebrow,
.ff-service-page .ff-eyebrow,
.ff-service-page .ff-service-method-card span,
.ff-service-page .ff-service-system-card span,
.ff-service-page .ff-service-special-card span,
.ff-service-page .ff-service-related-link span {
  color: var(--ff-service-accent);
}

.ff-service-page .ff-service-diagnostic__line,
.ff-service-page .ff-service-links-panel::before,
.ff-service-page .ff-service-summary-line {
  background: linear-gradient(90deg, var(--ff-service-accent), var(--ff-service-accent-2), var(--ff-service-accent-3));
}

.ff-service-signature {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 0%, var(--ff-service-soft), transparent 32%),
    radial-gradient(circle at 92% 8%, var(--ff-service-soft-2), transparent 34%);
}

.ff-service-signature__grid,
.ff-service-special__grid {
  display: grid;
  gap: clamp(22px, 4vw, 46px);
  align-items: center;
}

.ff-service-signature-board {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--ff-radius-xl);
  padding: clamp(22px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(238, 243, 255, 0.62)),
    radial-gradient(circle at 100% 0%, var(--ff-service-soft), transparent 42%);
  box-shadow: var(--ff-shadow-soft);
}

.ff-service-signature-board::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--ff-service-accent), var(--ff-service-accent-2), var(--ff-service-accent-3));
}

.ff-service-signature-board__screen {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 4vw, 36px);
}

.ff-service-signature-board__screen span {
  display: block;
  height: clamp(34px, 5vw, 58px);
  border: 1px solid color-mix(in srgb, var(--ff-service-accent) 14%, rgba(11,18,32,0.06));
  border-radius: 18px;
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--ff-service-accent) 12%, transparent), transparent 52%),
    rgba(246, 248, 255, 0.76);
}

.ff-service-signature-board__screen span:nth-child(2) {
  width: 76%;
}

.ff-service-signature-board__screen span:nth-child(3) {
  width: 58%;
}

.ff-service-signature-board__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ff-service-signature-board__chips span {
  border: 1px solid color-mix(in srgb, var(--ff-service-accent) 18%, rgba(11,18,32,0.06));
  border-radius: var(--ff-radius-pill);
  padding: 8px 11px;
  background: color-mix(in srgb, var(--ff-service-accent) 7%, rgba(255,255,255,0.70));
  color: var(--ff-color-text);
  font-family: var(--ff-font-mono);
  font-size: 0.68rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ff-service-special {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0), rgba(246,248,255,0.66)),
    radial-gradient(circle at 0% 12%, var(--ff-service-soft), transparent 34%);
}

.ff-service-special-list {
  display: grid;
  gap: 14px;
}

.ff-service-special-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--ff-radius-lg);
  padding: clamp(18px, 2.6vw, 24px);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.76), rgba(238,243,255,0.58)),
    radial-gradient(circle at 100% 0%, var(--ff-service-soft), transparent 40%);
  box-shadow: 0 18px 48px rgba(7, 17, 31, 0.06);
}

.ff-service-special-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg, var(--ff-service-accent), transparent);
  opacity: 0.72;
}

.ff-service-special-card span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--ff-service-accent) 18%, transparent);
  border-radius: 14px;
  background: color-mix(in srgb, var(--ff-service-accent) 9%, rgba(255,255,255,0.68));
  font-family: var(--ff-font-mono);
  font-size: 0.7rem;
  font-weight: 860;
}

.ff-service-special-card p {
  margin: 0;
  color: var(--ff-color-muted);
  line-height: 1.65;
}

.ff-service-page .ff-service-method-card,
.ff-service-page .ff-service-system-card,
.ff-service-page .ff-service-usecases__panel,
.ff-service-page .ff-service-links-panel,
.ff-service-page .ff-service-diagnostic {
  border-color: color-mix(in srgb, var(--ff-service-accent) 13%, rgba(255,255,255,0.76));
}

.ff-service-page .ff-service-related-link:hover,
.ff-service-page .ff-service-method-card:hover,
.ff-service-page .ff-service-system-card:hover,
.ff-service-page .ff-service-special-card:hover {
  border-color: color-mix(in srgb, var(--ff-service-accent) 34%, rgba(255,255,255,0.76));
}

.ff-service-page--woocommerce .ff-service-signature-board__screen span:nth-child(1)::after,
.ff-service-page--performance .ff-service-signature-board__screen span:nth-child(1)::after,
.ff-service-page--seo .ff-service-signature-board__screen span:nth-child(1)::after {
  content: "";
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--ff-service-accent), var(--ff-service-accent-2));
  opacity: 0.18;
}

@media (min-width: 768px) {
  .ff-service-special-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .ff-service-signature__grid,
  .ff-service-special__grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  }

  .ff-service-page--ux .ff-service-signature__grid,
  .ff-service-page--woocommerce .ff-service-signature__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  }
}

@media (min-width: 1280px) {
  .ff-service-special-card,
  .ff-service-signature-board {
    transition: transform 420ms var(--ff-ease-out), border-color 420ms var(--ff-ease-out), box-shadow 420ms var(--ff-ease-out);
  }

  .ff-service-special-card:hover,
  .ff-service-signature-board:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 70px rgba(7, 17, 31, 0.09);
  }
}

@media (min-width: 1440px) {
  .ff-service-signature-board,
  .ff-service-special-card {
    border-radius: 42px;
  }

  .ff-service-special-card span {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  body.ff-service-page-art .ff-page-hero--service::after {
    opacity: 0.34;
    transform: translateX(24%);
  }

  .ff-service-special-card {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-service-special-card,
  .ff-service-special-card:hover,
  .ff-service-signature-board,
  .ff-service-signature-board:hover {
    transform: none;
    transition: none;
  }
}


/* -----------------------------------------------------------------------------
   STEP 77.2 - NEON WORDS / COLOR QA
   Palette più distinte e parole fluo pagina-specifiche per dare a ogni servizio
   un'identità più riconoscibile senza duplicare i template.
   ----------------------------------------------------------------------------- */

.ff-service-page .ff-section-heading h2,
.ff-service-page .ff-service-diagnostic h3 {
  text-wrap: balance;
}

.ff-service-neon-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.ff-service-neon-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.74);
  background: rgba(255,255,255,0.72);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ff-service-accent) 12%, transparent),
    0 10px 24px rgba(7, 17, 31, 0.08),
    0 0 22px color-mix(in srgb, var(--ff-service-accent) 18%, transparent);
  font-family: var(--ff-font-mono);
  font-size: 0.7rem;
  font-weight: 840;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.ff-service-neon-tag--1 {
  color: var(--ff-service-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ff-service-accent) 14%, transparent),
    0 10px 24px rgba(7, 17, 31, 0.08),
    0 0 28px color-mix(in srgb, var(--ff-service-accent) 22%, transparent);
}

.ff-service-neon-tag--2 {
  color: var(--ff-service-accent-2);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ff-service-accent-2) 18%, transparent),
    0 10px 24px rgba(7, 17, 31, 0.08),
    0 0 28px color-mix(in srgb, var(--ff-service-accent-2) 24%, transparent);
}

.ff-service-neon-tag--3 {
  color: var(--ff-service-accent-3);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ff-service-accent-3) 18%, transparent),
    0 10px 24px rgba(7, 17, 31, 0.08),
    0 0 28px color-mix(in srgb, var(--ff-service-accent-3) 24%, transparent);
}

.ff-service-neon-tag--4 {
  color: color-mix(in srgb, var(--ff-service-accent) 58%, var(--ff-service-accent-2));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ff-service-accent) 14%, transparent),
    0 10px 24px rgba(7, 17, 31, 0.08),
    0 0 28px color-mix(in srgb, var(--ff-service-accent-2) 24%, transparent);
}

.ff-service-page .ff-service-signature-board__chips span,
.ff-service-page .ff-service-related-link span,
.ff-service-page .ff-service-method-card span,
.ff-service-page .ff-service-system-card span,
.ff-service-page .ff-service-special-card span {
  text-shadow: 0 0 12px color-mix(in srgb, currentColor 22%, transparent);
}

.ff-service-page .ff-service-signature-board__chips span:nth-child(3n+1) {
  color: var(--ff-service-accent);
  border-color: color-mix(in srgb, var(--ff-service-accent) 20%, rgba(11,18,32,0.06));
  background: color-mix(in srgb, var(--ff-service-accent) 8%, rgba(255,255,255,0.74));
}

.ff-service-page .ff-service-signature-board__chips span:nth-child(3n+2) {
  color: var(--ff-service-accent-2);
  border-color: color-mix(in srgb, var(--ff-service-accent-2) 22%, rgba(11,18,32,0.06));
  background: color-mix(in srgb, var(--ff-service-accent-2) 8%, rgba(255,255,255,0.74));
}

.ff-service-page .ff-service-signature-board__chips span:nth-child(3n) {
  color: var(--ff-service-accent-3);
  border-color: color-mix(in srgb, var(--ff-service-accent-3) 20%, rgba(11,18,32,0.06));
  background: color-mix(in srgb, var(--ff-service-accent-3) 8%, rgba(255,255,255,0.74));
}

.ff-service-page--wordpress .ff-service-signature-board,
.ff-service-page--plugin .ff-service-signature-board,
.ff-service-page--ux .ff-service-signature-board {
  background:
    linear-gradient(160deg, rgba(255,255,255,0.84), rgba(243,247,255,0.74)),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ff-service-accent-2) 18%, transparent), transparent 42%),
    radial-gradient(circle at 0% 100%, color-mix(in srgb, var(--ff-service-accent-3) 14%, transparent), transparent 44%);
}

.ff-service-page--woocommerce .ff-service-special-card::after,
.ff-service-page--performance .ff-service-special-card::after,
.ff-service-page--seo .ff-service-special-card::after,
.ff-service-page--plugin .ff-service-special-card::after,
.ff-service-page--ux .ff-service-special-card::after,
.ff-service-page--wordpress .ff-service-special-card::after {
  height: 3px;
  opacity: 0.86;
}

.ff-service-page .ff-service-diagnostic,
.ff-service-page .ff-service-links-panel,
.ff-service-page .ff-service-usecases__panel {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.82), rgba(241,246,255,0.68)),
    radial-gradient(circle at 100% 0%, color-mix(in srgb, var(--ff-service-accent) 10%, transparent), transparent 38%);
}

@media (max-width: 767px) {
  .ff-service-neon-tags {
    gap: 8px;
    margin-top: 18px;
  }

  .ff-service-neon-tag {
    min-height: 36px;
    padding: 9px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-service-neon-tag,
  .ff-service-signature-board__chips span {
    text-shadow: none;
    box-shadow: none;
  }
}


/* -----------------------------------------------------------------------------
   STEP 80.1 - SERVICE PAGES TABLET HEADING HOTFIX
   Evita eyebrow e titoli spezzati verticalmente nelle money pages servizio.
   ----------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1180px) {
  .ff-service-page .ff-section-heading,
  .ff-service-page .ff-section-heading--split,
  .ff-service-page .ff-section-heading > div,
  .ff-service-page .ff-section-heading > p,
  .ff-service-signature__grid,
  .ff-service-special__grid,
  .ff-service-method__grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: min(100%, 940px) !important;
    min-width: 0 !important;
    justify-items: start !important;
  }

  .ff-service-page .ff-section-heading h2,
  .ff-service-page .ff-service-diagnostic h3,
  body.ff-service-page-art .ff-page-hero--service .ff-page-hero__title {
    width: 100% !important;
    max-width: min(100%, 880px) !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
    white-space: normal !important;
  }

  .ff-service-page .ff-eyebrow,
  body.ff-service-page-art .ff-page-hero--service .ff-eyebrow {
    display: inline-flex !important;
    width: auto !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
    white-space: normal !important;
  }

  .ff-service-method .ff-section-heading {
    position: static !important;
    top: auto !important;
  }
}


/* -----------------------------------------------------------------------------
   STEP 80.2 - SERVICE PAGES TABLET ALIGNMENT HOTFIX
   Riallinea container, testi e card delle pagine servizio in tablet senza
   modificare il desktop approvato.
   ----------------------------------------------------------------------------- */

@media (min-width: 768px) and (max-width: 1180px) {
  .ff-service-page > .ff-section > .ff-container,
  .ff-service-page .ff-service-intro__grid,
  .ff-service-page .ff-service-signature__grid,
  .ff-service-page .ff-service-method__grid,
  .ff-service-page .ff-service-special__grid,
  .ff-service-page .ff-service-system > .ff-container,
  .ff-service-page .ff-service-outcomes__grid,
  .ff-service-page .ff-service-usecases > .ff-container,
  .ff-service-page .ff-service-links-section > .ff-container,
  .ff-service-page .ff-service-projects > .ff-container {
    width: min(100% - 64px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  .ff-service-page .ff-section-heading,
  .ff-service-page .ff-section-heading--split,
  .ff-service-page .ff-section-heading > div,
  .ff-service-page .ff-section-heading > p,
  .ff-service-page .ff-service-diagnostic,
  .ff-service-page .ff-service-signature-board,
  .ff-service-page .ff-service-method-cards,
  .ff-service-page .ff-service-special-list,
  .ff-service-page .ff-service-system__grid,
  .ff-service-page .ff-service-outcome-list,
  .ff-service-page .ff-service-usecases__panel,
  .ff-service-page .ff-service-links-panel,
  .ff-service-page .ff-project-grid--service {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
    min-width: 0 !important;
  }

  .ff-service-page .ff-section-heading h2,
  .ff-service-page .ff-service-diagnostic h3,
  .ff-service-page .ff-service-special-card p,
  .ff-service-page .ff-service-method-card p,
  .ff-service-page .ff-service-system-card p {
    max-width: 920px !important;
    margin-inline: 0 !important;
  }
}

@media (max-width: 767px) {
  .ff-service-page > .ff-section > .ff-container,
  .ff-service-page .ff-service-intro__grid,
  .ff-service-page .ff-service-signature__grid,
  .ff-service-page .ff-service-method__grid,
  .ff-service-page .ff-service-special__grid,
  .ff-service-page .ff-service-system > .ff-container,
  .ff-service-page .ff-service-outcomes__grid,
  .ff-service-page .ff-service-usecases > .ff-container,
  .ff-service-page .ff-service-links-section > .ff-container,
  .ff-service-page .ff-service-projects > .ff-container {
    width: min(100% - 36px, 1180px) !important;
    margin-inline: auto !important;
  }
}


/* =============================================================================
   STEP 81 - SERVICE PAGE MOTION
   Micro-pulse controllato sulle parole fluo e hover dei pannelli servizio.
   ============================================================================= */

@media (hover: hover) and (pointer: fine) {
  .ff-service-page .ff-service-neon-tag,
  .ff-service-page .ff-service-signature-board__chips span {
    transition:
      transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1),
      border-color 360ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ff-service-page .ff-service-neon-tag:hover,
  .ff-service-page .ff-service-signature-board__chips span:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 34px color-mix(in srgb, currentColor 22%, transparent);
  }
}

.ff-service-page .ff-service-neon-tag:nth-child(1) { animation-delay: 0ms; }
.ff-service-page .ff-service-neon-tag:nth-child(2) { animation-delay: 160ms; }
.ff-service-page .ff-service-neon-tag:nth-child(3) { animation-delay: 320ms; }
.ff-service-page .ff-service-neon-tag:nth-child(4) { animation-delay: 480ms; }

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .ff-service-page .ff-service-neon-tag {
    animation: ff-service-neon-breathe 3600ms cubic-bezier(0.22, 1, 0.36, 1) infinite;
  }
}

@keyframes ff-service-neon-breathe {
  0%, 100% {
    transform: translateY(0);
    filter: saturate(1);
  }
  50% {
    transform: translateY(-1px);
    filter: saturate(1.08);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ff-service-page .ff-service-neon-tag {
    animation: none !important;
  }
}


/* =============================================================================
   STEP 81.1 - SERVICE MOTION VISIBILITY POLISH
   Rende più percepibili parole fluo e pannelli servizio, mantenendo motion ridotto su mobile.
   ============================================================================= */

@media (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  .ff-service-page .ff-service-neon-tag {
    animation: ff-service-neon-breathe-strong 3000ms cubic-bezier(0.16, 1, 0.3, 1) infinite;
  }

  .ff-service-page .ff-service-neon-tag:nth-child(2) { animation-delay: 190ms; }
  .ff-service-page .ff-service-neon-tag:nth-child(3) { animation-delay: 380ms; }
  .ff-service-page .ff-service-neon-tag:nth-child(4) { animation-delay: 570ms; }
}

@media (hover: hover) and (pointer: fine) {
  .ff-service-page .ff-service-neon-tag:hover,
  .ff-service-page .ff-service-signature-board__chips span:hover {
    transform: translateY(-4px) scale(1.018);
    border-color: color-mix(in srgb, currentColor 30%, rgba(255,255,255,0.30));
    box-shadow:
      0 12px 32px rgba(7,17,31,0.10),
      0 0 42px color-mix(in srgb, currentColor 26%, transparent);
  }

  .ff-service-page .ff-service-signature-board:hover {
    box-shadow:
      0 30px 92px rgba(7,17,31,0.14),
      0 0 50px color-mix(in srgb, var(--ff-service-accent) 13%, transparent);
  }
}

@keyframes ff-service-neon-breathe-strong {
  0%, 100% {
    transform: translateY(0);
    filter: saturate(1);
    box-shadow: 0 0 20px color-mix(in srgb, currentColor 12%, transparent);
  }
  50% {
    transform: translateY(-2px);
    filter: saturate(1.16);
    box-shadow: 0 0 34px color-mix(in srgb, currentColor 22%, transparent);
  }
}

@media (max-width: 767px), (prefers-reduced-motion: reduce) {
  .ff-service-page .ff-service-neon-tag {
    animation: none !important;
  }
}


/* =============================================================================
   STEP 81.3 - SERVICE AMBIENT IDENTITY
   Watermark specifici per ogni money page servizio, collegati alla palette già esistente.
   ============================================================================= */

body.ff-service-art--wordpress {
  --ff-ambient-watermark: "WordPress Custom";
  --ff-ambient-signal: "Theme / Gutenberg / Performance";
}

body.ff-service-art--woocommerce {
  --ff-ambient-watermark: "WooCommerce Flow";
  --ff-ambient-signal: "Product UX / Checkout / Filters";
}

body.ff-service-art--plugin {
  --ff-ambient-watermark: "Plugin Logic";
  --ff-ambient-signal: "Input / Logic / Output";
}

body.ff-service-art--seo {
  --ff-ambient-watermark: "Technical SEO";
  --ff-ambient-signal: "Crawl / Schema / Intent";
}

body.ff-service-art--performance {
  --ff-ambient-watermark: "Core Web Vitals";
  --ff-ambient-signal: "LCP / CLS / Assets";
}

body.ff-service-art--ux {
  --ff-ambient-watermark: "UX UI System";
  --ff-ambient-signal: "Hierarchy / CTA / Trust";
}

.ff-service-page .ff-service-signature-board::after {
  content: var(--ff-ambient-signal, "system ready");
  position: absolute;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 24px);
  color: color-mix(in srgb, var(--ff-service-accent) 18%, transparent);
  font-family: var(--ff-font-mono);
  font-size: clamp(0.72rem, 1.6vw, 1.1rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 767px) {
  .ff-service-page .ff-service-signature-board::after {
    display: none;
  }
}


/* STEP 81.3.2 - rollback segnali ambient multipli: resta solo il floating object globale. */
.ff-service-page .ff-service-signature-board::after {
  content: none !important;
  display: none !important;
}

/* =============================================================================
   STEP 86.13.2 - SERVICE PROJECTS COMPACT SLIDER
   Rende i case study nelle money page servizio un rail/carousel compatto,
   coerente con le card progetti già approvate nelle altre pagine.
   ============================================================================= */

.ff-service-page .ff-service-projects__heading {
  align-items: end;
}

.ff-service-page .ff-service-projects__heading-actions {
  display: grid;
  gap: 18px;
  justify-items: end;
}

.ff-service-page .ff-service-projects__heading-actions > p {
  max-width: 620px;
  margin: 0;
  color: var(--ff-color-muted);
}

.ff-service-page .ff-service-projects__controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.ff-service-page .ff-service-project-slider {
  position: relative;
  overflow: hidden;
  margin-top: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: var(--ff-radius-xl);
  padding: clamp(16px, 2.6vw, 28px);
  background:
    radial-gradient(circle at 94% 0%, rgba(25, 211, 255, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.90), rgba(238, 243, 255, 0.78));
  box-shadow:
    0 28px 82px rgba(7, 17, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(24px) saturate(1.18);
  -webkit-backdrop-filter: blur(24px) saturate(1.18);
}

.ff-service-page .ff-service-project-slider::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(37, 99, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 255, 0.045) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at 70% 32%, #000 0%, transparent 72%);
  pointer-events: none;
}

.ff-service-page .ff-service-project-slider > * {
  position: relative;
  z-index: 1;
}

.ff-service-page .ff-service-project-slider__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(14px, 2vw, 20px);
  border: 1px solid rgba(37, 99, 255, 0.10);
  border-radius: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.64);
  backdrop-filter: blur(18px) saturate(1.16);
  -webkit-backdrop-filter: blur(18px) saturate(1.16);
}

.ff-service-page .ff-service-project-slider__top span {
  color: var(--ff-color-primary);
  font-family: var(--ff-font-mono);
  font-size: 0.68rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ff-service-page .ff-service-project-slider__top strong {
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}

.ff-service-page .ff-service-project-rail-wrap {
  width: 100%;
  margin: 0;
  overflow: visible;
}

.ff-service-page .ff-service-project-rail {
  display: grid !important;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 33%);
  grid-template-columns: none !important;
  gap: clamp(14px, 2vw, 20px);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 2px;
  margin-top: 0 !important;
  padding: 4px 4px 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ff-service-page .ff-service-project-rail::-webkit-scrollbar {
  display: none;
}

.ff-service-page .ff-service-project-rail > .ff-project-card {
  min-width: 0;
  min-height: 100%;
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 100% 0%, rgba(124, 92, 255, 0.085), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(246, 248, 255, 0.80)) !important;
  box-shadow:
    0 22px 62px rgba(7, 17, 31, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(20px) saturate(1.16);
  -webkit-backdrop-filter: blur(20px) saturate(1.16);
}

.ff-service-page .ff-service-project-rail .ff-project-card__media {
  aspect-ratio: 1.58;
  background:
    radial-gradient(circle at 80% 10%, rgba(25, 211, 255, 0.20), transparent 34%),
    linear-gradient(145deg, rgba(37, 99, 255, 0.12), rgba(124, 92, 255, 0.10));
}

.ff-service-page .ff-service-project-rail .ff-project-card__body {
  padding: clamp(18px, 2.2vw, 24px);
}

.ff-service-page .ff-service-project-rail .ff-card__title {
  font-size: clamp(1.22rem, 1.6vw, 1.58rem);
  line-height: 1.05;
}

.ff-service-page .ff-service-project-rail .ff-project-card__subtitle,
.ff-service-page .ff-service-project-rail .ff-card__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
}

.ff-service-page .ff-service-project-rail .ff-project-card__subtitle {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ff-service-page .ff-service-project-rail .ff-card__text {
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.ff-service-page .ff-service-project-rail .ff-chip-list {
  display: none;
}

.ff-service-page .ff-service-project-slider__progress {
  height: 4px;
  overflow: hidden;
  margin-top: 2px;
  border-radius: 999px;
  background: rgba(37, 99, 255, 0.10);
}

.ff-service-page .ff-service-project-slider__progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0.16);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(124, 92, 255, 0.96), rgba(37, 99, 255, 0.82));
  transition: transform 160ms linear;
}

@media (min-width: 1280px) {
  .ff-service-page .ff-service-project-rail {
    grid-auto-columns: minmax(340px, 31.6%);
  }
}

@media (max-width: 1024px) {
  .ff-service-page .ff-service-projects__heading,
  .ff-service-page .ff-service-projects__heading-actions {
    align-items: start;
    justify-items: start;
  }

  .ff-service-page .ff-service-projects__heading-actions > p {
    max-width: 760px;
  }

  .ff-service-page .ff-service-project-rail {
    grid-auto-columns: minmax(300px, 48%);
  }
}

@media (max-width: 640px) {
  .ff-service-page .ff-service-project-slider {
    border-radius: var(--ff-radius-lg);
    padding: 14px;
  }

  .ff-service-page .ff-service-project-slider__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .ff-service-page .ff-service-projects__controls {
    display: none;
  }

  .ff-service-page .ff-service-project-rail {
    grid-auto-columns: minmax(272px, 88%);
    padding-bottom: 16px;
  }
}


/* =============================================================================
   STEP 86.13.3 - SERVICE TABLET SPACING HOTFIX
   Ripristina aria interna sul pannello "Percorso consigliato" solo tablet,
   senza alterare desktop e mobile approvati.
   ============================================================================= */

@media (min-width: 768px) and (max-width: 1180px) {
  .ff-service-page .ff-service-links-panel {
    box-sizing: border-box !important;
    padding: clamp(28px, 4.8vw, 56px) !important;
  }
}

/* =============================================================================
   STEP 86.13.4 - SERVICE TABLET GUTTER/PADDING FIX
   Fix reale QA tablet: alcuni iPad/Safari possono scendere sotto 768px CSS.
   Estende il trattamento tablet ai viewport >=700px e riallinea:
   - pannello "Questo servizio funziona meglio...";
   - CTA finale "Valutazione sito / Capisco cosa blocca...".
   Non tocca mobile stretto né desktop.
   ============================================================================= */

@media (min-width: 700px) and (max-width: 1024px) {
  body.ff-service-page-art .ff-service-page .ff-service-links-section > .ff-container,
  body.ff-service-page-art .ff-service-page .ff-global-cta-section > .ff-container {
    width: min(100% - 64px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
  }

  body.ff-service-page-art .ff-service-page .ff-service-links-panel,
  body.ff-service-page-art .ff-service-page .ff-global-cta-section .ff-conversion-card--global {
    box-sizing: border-box !important;
    padding: clamp(36px, 5.8vw, 56px) !important;
  }

  body.ff-service-page-art .ff-service-page .ff-service-links-panel .ff-section-heading,
  body.ff-service-page-art .ff-service-page .ff-global-cta-section .ff-conversion-card__content {
    width: 100% !important;
    max-width: 880px !important;
    margin-inline: 0 !important;
  }
}

/* =============================================================================
   STEP 87.1.2 - SERVICE VISUAL ASSETS / WORDPRESS CUSTOM
   Inserimento conservativo immagini definitive nella pagina Sviluppo WordPress Custom.
   Scope limitato ai visual approvati: hero, architettura, processo e proof device.
   ============================================================================= */

.ff-page-hero__content {
  min-width: 0;
}

body.ff-service-art--wordpress .ff-page-hero--has-media {
  color: #f8fbff;
  background:
    linear-gradient(90deg, rgba(3, 8, 19, 0.96) 0%, rgba(6, 12, 28, 0.88) 46%, rgba(8, 13, 29, 0.72) 100%),
    radial-gradient(circle at 18% 18%, rgba(124, 92, 255, 0.30), transparent 34%),
    radial-gradient(circle at 86% 22%, rgba(25, 211, 255, 0.18), transparent 36%),
    #06101f;
}

body.ff-service-art--wordpress .ff-page-hero--has-media::before {
  opacity: 0.36;
}

body.ff-service-art--wordpress .ff-page-hero--has-media::after {
  opacity: 0.32;
  mix-blend-mode: screen;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner {
  max-width: none;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-breadcrumbs a,
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__text {
  color: rgba(235, 242, 255, 0.74);
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__title {
  max-width: 760px;
  color: #ffffff;
  text-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-eyebrow {
  color: #8fb7ff;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-btn--ghost {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.10);
  color: #f8fbff;
}

.ff-page-hero__media,
.ff-service-visual {
  position: relative;
  margin: 0;
}

.ff-page-hero__media picture,
.ff-service-visual picture {
  display: block;
}

.ff-page-hero__media img,
.ff-service-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

body.ff-service-art--wordpress .ff-page-hero__media {
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.34),
    0 0 90px rgba(37, 99, 255, 0.16);
}

body.ff-service-art--wordpress .ff-page-hero__media img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

body.ff-service-art--wordpress .ff-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 8, 19, 0.38), transparent 44%),
    radial-gradient(circle at 22% 16%, rgba(124, 92, 255, 0.18), transparent 32%);
  pointer-events: none;
}

.ff-page-hero__media figcaption,
.ff-service-visual figcaption {
  margin-top: 10px;
  color: rgba(86, 102, 132, 0.88);
  font-size: 0.82rem;
  line-height: 1.55;
}

body.ff-service-art--wordpress .ff-page-hero__media figcaption {
  position: absolute;
  left: clamp(16px, 2vw, 24px);
  right: clamp(16px, 2vw, 24px);
  bottom: clamp(14px, 2vw, 22px);
  z-index: 2;
  margin: 0;
  color: rgba(248, 251, 255, 0.76);
  font-size: clamp(0.72rem, 1vw, 0.88rem);
}

.ff-service-visual--signature {
  overflow: hidden;
  margin-bottom: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: clamp(20px, 2.4vw, 30px);
  background: rgba(5, 12, 25, 0.88);
  box-shadow: 0 24px 64px rgba(7, 17, 31, 0.14);
}

.ff-service-visual--signature img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.ff-service-visual--signature figcaption {
  margin: 0;
  padding: 14px 16px 16px;
  color: rgba(235, 242, 255, 0.76);
  background: linear-gradient(180deg, rgba(5, 12, 25, 0.88), rgba(5, 12, 25, 0.96));
}

.ff-service-visual-strip {
  margin-top: clamp(26px, 5vw, 58px);
}

.ff-service-visual--process {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: clamp(24px, 3vw, 42px);
  padding: clamp(8px, 1vw, 12px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(239, 244, 255, 0.68)),
    radial-gradient(circle at 90% 0%, rgba(124, 92, 255, 0.12), transparent 34%);
  box-shadow: 0 28px 80px rgba(7, 17, 31, 0.10);
}

.ff-service-visual--process img {
  border-radius: clamp(18px, 2.4vw, 32px);
}

.ff-service-visual--process figcaption {
  padding: 10px clamp(12px, 2vw, 22px) 6px;
}

.ff-service-visual--proof {
  overflow: visible;
  margin: clamp(24px, 4vw, 44px) 0 clamp(18px, 3vw, 34px);
  padding: clamp(12px, 2vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: clamp(24px, 3vw, 42px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(239, 244, 255, 0.54)),
    radial-gradient(circle at 78% 18%, rgba(37, 99, 255, 0.10), transparent 40%);
  box-shadow: 0 26px 74px rgba(7, 17, 31, 0.10);
}

.ff-service-visual--proof img {
  object-fit: contain;
}

.ff-service-visual--proof figcaption {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

@media (min-width: 1024px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1.14fr);
    gap: clamp(34px, 5vw, 84px);
    align-items: center;
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__text {
    max-width: 640px;
  }
}

@media (min-width: 1280px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media {
    padding-block: clamp(110px, 10vw, 168px) clamp(84px, 8vw, 132px);
  }
}

@media (max-width: 1023px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    display: grid;
    gap: clamp(28px, 6vw, 46px);
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media {
    max-width: 820px;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media {
    padding-block: clamp(78px, 18vw, 112px) clamp(48px, 12vw, 72px);
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media {
    border-radius: 24px;
  }

  body.ff-service-art--wordpress .ff-page-hero__media figcaption,
  .ff-service-visual figcaption {
    font-size: 0.76rem;
  }

  .ff-service-visual--proof,
  .ff-service-visual--process {
    border-radius: 24px;
  }
}


/* =============================================================================
   STEP 87.1.2.1 - WORDPRESS HERO FULL-WIDTH / LIGHT TEXT HOTFIX
   Richiesta utente: hero della pagina Sviluppo WordPress Custom con immagine
   completamente full width e copy sempre leggibile chiaro.
   Scope isolato alla sola money page WordPress custom.
   ============================================================================= */

body.ff-service-art--wordpress .ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: #050b18 !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: flex !important;
  align-items: flex-end;
  width: 100%;
  max-width: none !important;
  min-height: clamp(540px, 72vw, 760px);
  padding: clamp(104px, 10vw, 148px) clamp(20px, 5vw, 72px) clamp(64px, 7vw, 96px);
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media img {
  width: 100%;
  height: 100%;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  object-fit: cover;
  object-position: center right;
  aspect-ratio: auto !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 9, 20, 0.96) 0%, rgba(4, 9, 20, 0.88) 28%, rgba(4, 9, 20, 0.56) 52%, rgba(4, 9, 20, 0.22) 72%, rgba(4, 9, 20, 0.14) 100%),
    linear-gradient(180deg, rgba(4, 9, 20, 0.34) 0%, rgba(4, 9, 20, 0.10) 38%, rgba(4, 9, 20, 0.30) 100%),
    radial-gradient(circle at 28% 34%, rgba(124, 92, 255, 0.18), transparent 28%);
  pointer-events: none;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  max-width: 560px;
  padding: 0;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-breadcrumbs a,
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__text {
  color: rgba(238, 244, 255, 0.84) !important;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.30);
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__title {
  color: #ffffff !important;
  max-width: 9ch;
  text-shadow: 0 16px 56px rgba(0, 0, 0, 0.42);
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-eyebrow {
  color: #9bbdff !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-btn--ghost {
  border-color: rgba(255, 255, 255, 0.22) !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #f8fbff !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media figcaption {
  display: none;
}

@media (max-width: 1023px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(520px, 90vw, 700px);
    align-items: flex-end;
    padding: clamp(94px, 13vw, 124px) clamp(18px, 5vw, 32px) clamp(52px, 8vw, 72px);
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__content {
    max-width: min(100%, 520px);
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 68% center;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(520px, 136vw, 660px);
    padding: clamp(92px, 20vw, 124px) 18px 46px;
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 74% center;
  }

  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8ch;
  }
}


/* =============================================================================
   STEP 87.1.4 - SERVICE HERO HEADER CLEARANCE GUARDRAIL
   La hero full-width deve partire sotto la header sticky, non essere percepita
   come sfondo agganciato al menu. Scope: Sviluppo WordPress Custom.
   ============================================================================= */

body.ff-service-art--wordpress .ff-page-hero--has-media {
  margin-top: 0 !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
  min-height: clamp(520px, calc(100svh - var(--ff-header-h, 78px)), 700px) !important;
  padding-top: clamp(56px, 7vw, 88px) !important;
  padding-bottom: clamp(46px, 6vw, 82px) !important;
  align-items: center !important;
}

@media (max-width: 767px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(500px, calc(100svh - var(--ff-header-h, 78px)), 640px) !important;
    padding-top: clamp(44px, 12vw, 68px) !important;
    padding-bottom: 42px !important;
  }
}


/* =============================================================================
   STEP 87.1.5 - HERO FULL-WIDTH INTERNAL SPACING FIX
   Console QA: hero top == header bottom, quindi non esiste spacer esterno.
   Il problema era interno: padding-top/min-height troppo aggressivi.
   Scope: Sviluppo WordPress Custom hero full-bleed.
   ============================================================================= */
body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
  min-height: clamp(430px, 48vw, 600px) !important;
  padding-top: clamp(32px, 4.4vw, 56px) !important;
  padding-bottom: clamp(42px, 5vw, 68px) !important;
  align-items: center !important;
}

body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__content {
  align-self: center !important;
}

@media (max-width: 1023px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(430px, 72vw, 580px) !important;
    padding-top: clamp(28px, 5vw, 44px) !important;
    padding-bottom: clamp(38px, 6vw, 58px) !important;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--wordpress .ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(430px, 112vw, 560px) !important;
    padding-top: 28px !important;
    padding-bottom: 40px !important;
  }
}


/* =============================================================================
   STEP 87.3 - WOOCOMMERCE CUSTOM IMMAGINI + HERO CHIARA
   Pagina differenziata da WordPress Custom: visual chiari, robot 3D e interfacce
   ecommerce premium senza mood dark.
   ============================================================================= */
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: linear-gradient(180deg, #fcfcfe 0%, #f5f7fb 100%) !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: flex !important;
  align-items: center;
  width: 100%;
  max-width: none !important;
  min-height: clamp(520px, 70vw, 720px);
  padding: clamp(26px, 4vw, 42px) clamp(20px, 4.6vw, 76px) clamp(38px, 5vw, 54px);
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 560px);
  max-width: 560px;
  padding: 0;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 10ch;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  width: 100%;
  height: 100%;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  object-fit: cover;
  object-position: 82% center;
  aspect-ratio: auto !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(252,252,254,0.98) 0%, rgba(252,252,254,0.95) 24%, rgba(252,252,254,0.82) 42%, rgba(252,252,254,0.36) 60%, rgba(252,252,254,0.08) 100%),
    radial-gradient(circle at 24% 50%, rgba(139, 92, 246, 0.08), transparent 28%);
  pointer-events: none;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
  display: none;
}

body.ff-service-art--woocommerce .ff-service-visual {
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.12);
  border-radius: min(28px, var(--ff-radius-xl));
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,247,252,0.82));
  box-shadow: var(--ff-shadow-soft);
}

body.ff-service-art--woocommerce .ff-service-visual picture,
body.ff-service-art--woocommerce .ff-service-visual img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--woocommerce .ff-service-visual figcaption {
  color: rgba(7,17,31,0.68);
}

body.ff-service-art--woocommerce .ff-service-visual--signature,
body.ff-service-art--woocommerce .ff-service-visual--process,
body.ff-service-art--woocommerce .ff-service-visual--proof {
  margin: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(520px, 92vw, 720px);
    padding: clamp(24px, 4vw, 34px) 20px 40px;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 84% center;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    align-items: flex-start;
    min-height: auto;
    padding: 18px 18px 28px;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    height: auto;
    margin-bottom: 16px !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    background: linear-gradient(180deg, rgba(252,252,254,0.06), rgba(252,252,254,0.02));
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: 100%;
    max-width: none;
  }
}

/* =============================================================================
   STEP 87.3.1 - WOOCOMMERCE CUSTOM LAYOUT CORRECTION
   Correzione richiesta: immagini italiane, hero a due colonne, art direction
   senza contenitore pesante, conversione e collegamenti in layout media-text.
   ============================================================================= */
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
  padding-block: clamp(34px, 4vw, 56px) !important;
  background:
    radial-gradient(circle at 84% 18%, rgba(124, 92, 255, 0.10), transparent 34%),
    radial-gradient(circle at 12% 86%, rgba(0, 194, 113, 0.10), transparent 30%),
    linear-gradient(180deg, #fcfcfe 0%, #f6f8fb 100%) !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  display: grid !important;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 1.14fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
  max-width: min(1560px, calc(100vw - 48px)) !important;
  min-height: 0 !important;
  padding: 0 !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  width: min(100%, 590px);
  max-width: 590px;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: relative !important;
  inset: auto !important;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
  display: none !important;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: contain !important;
  object-position: center !important;
  max-height: min(650px, 66vh);
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 10.5ch;
}

body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
  text-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-service-signature__inline-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(20px, 3vw, 28px);
}

body.ff-service-art--woocommerce .ff-service-signature__inline-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border: 1px solid rgba(0, 194, 113, 0.20);
  border-radius: var(--ff-radius-pill);
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ff-service-accent);
  font-family: var(--ff-font-mono);
  font-size: 0.72rem;
  font-weight: 860;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

body.ff-service-art--woocommerce .ff-service-signature-board {
  overflow: visible;
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-service-signature-board::before {
  display: none !important;
}

body.ff-service-art--woocommerce .ff-service-visual--signature,
body.ff-service-art--woocommerce .ff-service-visual--special,
body.ff-service-art--woocommerce .ff-service-visual--links {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-service-visual--signature img,
body.ff-service-art--woocommerce .ff-service-visual--special img,
body.ff-service-art--woocommerce .ff-service-visual--links img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

body.ff-service-art--woocommerce .ff-service-visual--signature figcaption {
  display: none;
}

body.ff-service-art--woocommerce .ff-service-special__grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  align-items: center;
}

body.ff-service-art--woocommerce .ff-service-special-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(10px, 2vw, 22px);
}

body.ff-service-art--woocommerce .ff-service-special-card {
  min-height: 100%;
}

body.ff-service-art--woocommerce .ff-service-links-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(22px, 4vw, 52px);
  align-items: center;
}

body.ff-service-art--woocommerce .ff-service-links-grid {
  grid-column: 1 / -1;
  margin-top: 0;
}

body.ff-service-art--woocommerce .ff-service-visual--links {
  align-self: center;
}

@media (max-width: 1023px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media,
  body.ff-service-art--woocommerce .ff-service-special__grid,
  body.ff-service-art--woocommerce .ff-service-links-panel {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    max-height: none;
  }

  body.ff-service-art--woocommerce .ff-service-special-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 18px 30px !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    gap: 18px;
    max-width: calc(100vw - 32px) !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    order: -1;
    margin-bottom: 0 !important;
  }

  body.ff-service-art--woocommerce .ff-service-special-list {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   STEP 87.3.2 - WOOCOMMERCE SECTION REALIGNMENT
   Sposta il checkout visual in Cosa include, mantiene le chips nella colonna copy
   e lascia il visual sistema nel Percorso consigliato.
   ============================================================================= */
body.ff-service-art--woocommerce .ff-service-signature__inline-chips {
  justify-content: flex-start !important;
  max-width: 620px;
}

body.ff-service-art--woocommerce .ff-service-signature-board__chips {
  display: none !important;
}

body.ff-service-art--woocommerce .ff-service-special__grid {
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
}

body.ff-service-art--woocommerce .ff-service-special-list {
  grid-column: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 0;
}

body.ff-service-art--woocommerce .ff-service-system__media-layout,
body.ff-service-art--woocommerce .ff-service-links-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--woocommerce .ff-service-system__media-layout {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.ff-service-art--woocommerce .ff-service-visual--system,
body.ff-service-art--woocommerce .ff-service-visual--links {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--woocommerce .ff-service-visual--system img,
body.ff-service-art--woocommerce .ff-service-visual--links img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

body.ff-service-art--woocommerce .ff-service-links-grid {
  grid-column: 1 / -1;
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--woocommerce .ff-service-special__grid,
  body.ff-service-art--woocommerce .ff-service-system__media-layout,
  body.ff-service-art--woocommerce .ff-service-links-panel {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--woocommerce .ff-service-special-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  body.ff-service-art--woocommerce .ff-service-special-list {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   STEP 87.3.3 - WOOCOMMERCE HERO TABLET/MOBILE STANDARD
   Desktop resta approvato a 2 colonne. Tablet e mobile adottano la stessa
   impostazione hero delle pagine servizio: visual full-bleed, copy leggibile,
   CTA ordinate nel primo viewport.
   ============================================================================= */
@media (max-width: 1023px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
    padding-block: 0 !important;
    background: linear-gradient(180deg, #fcfcfe 0%, #f5f7fb 100%) !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    position: relative;
    display: flex !important;
    align-items: flex-end;
    width: 100%;
    max-width: none !important;
    min-height: clamp(520px, 90vw, 700px) !important;
    padding: clamp(88px, 12vw, 118px) clamp(18px, 5vw, 34px) clamp(48px, 7vw, 68px) !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px);
    max-width: 520px;
    padding: 0;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100% !important;
    height: 100% !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    display: block;
    object-fit: cover !important;
    object-position: 76% center !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 252, 254, 0.98) 0%, rgba(252, 252, 254, 0.94) 30%, rgba(252, 252, 254, 0.72) 52%, rgba(252, 252, 254, 0.24) 78%, rgba(252, 252, 254, 0.06) 100%),
      linear-gradient(180deg, rgba(252, 252, 254, 0.12) 0%, rgba(252, 252, 254, 0.30) 100%);
    pointer-events: none;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    color: #07111f !important;
    max-width: 9.6ch;
    text-shadow: none !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
    color: rgba(7, 17, 31, 0.76) !important;
    text-shadow: none !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
    color: var(--ff-service-accent) !important;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 0 !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(540px, 138vw, 670px) !important;
    padding: clamp(90px, 20vw, 118px) 18px 42px !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 78% center !important;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: min(100%, 96vw);
    max-width: 420px;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8.7ch;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }

  body.ff-service-art--woocommerce .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    justify-content: center;
  }
}


/* =============================================================================
   STEP 87.4 - SEO TECNICA WORDPRESS IMMAGINI
   Hero chiara 2 colonne + immagini dedicate per metodo, cosa include e output.
   ============================================================================= */
body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%) !important;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  max-width: none !important;
  min-height: clamp(520px, 64vw, 700px);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4.6vw, 76px) clamp(40px, 5vw, 54px);
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 9ch;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: contain;
  object-position: center;
}

body.ff-service-art--seo .ff-service-system__media-layout,
body.ff-service-art--seo .ff-service-outcomes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--seo .ff-service-system__media-layout {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.ff-service-art--seo .ff-service-visual--system,
body.ff-service-art--seo .ff-service-visual--outcomes {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

body.ff-service-art--seo .ff-service-visual--system img,
body.ff-service-art--seo .ff-service-visual--outcomes img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

body.ff-service-art--seo .ff-service-outcomes__content {
  display: grid;
  gap: 18px;
}

body.ff-service-art--seo .ff-service-outcomes__content .ff-service-outcome-list {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media,
  body.ff-service-art--seo .ff-service-system__media-layout,
  body.ff-service-art--seo .ff-service-outcomes__grid {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    padding: clamp(24px, 4vw, 34px) 20px 40px;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 18px 18px 28px;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    order: -1;
    width: 100%;
    margin-bottom: 16px !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    max-width: none;
  }
}


/* =============================================================================
   STEP 87.4.1 - SEO METHOD MEDIA LAYOUT + GLOBAL SERVICE HERO RESPONSIVE
   - SEO Tecnica: Metodo operativo in 2 colonne con visual laterale.
   - Tutte le pagine servizio con hero media: tablet/mobile allineati allo
     standard approvato di WooCommerce Custom.
   ============================================================================= */
body.ff-service-art--seo .ff-service-method__grid--media {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--seo .ff-service-method__content {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

body.ff-service-art--seo .ff-service-visual--method-side {
  margin: 0;
}

body.ff-service-art--seo .ff-service-method__grid--media .ff-service-method-cards {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--seo .ff-service-method__grid--media {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--seo .ff-service-visual--method-side {
    width: 100%;
  }
}



/* =============================================================================
   STEP 87.4.2 - SEO METHOD CARD BELOW MEDIA ROW
   Metodo operativo SEO: prima riga media-text, card subito sotto.
   ============================================================================= */
body.ff-service-art--seo .ff-service-method__media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--seo .ff-service-method__media-row .ff-section-heading {
  max-width: 760px;
}

body.ff-service-art--seo .ff-service-method-cards--below {
  margin-top: clamp(26px, 4vw, 46px);
}

body.ff-service-art--seo .ff-service-method-cards--below .ff-service-method-card p {
  max-width: 32ch;
}

@media (max-width: 1023px) {
  body.ff-service-art--seo .ff-service-method__media-row {
    grid-template-columns: 1fr;
  }
}


/* =============================================================================
   STEP 87.4.3 - SEO METHOD RESPONSIVE ALIGNMENT
   Tablet e mobile del Metodo operativo SEO allineati allo stesso comportamento
   delle pagine servizio approvate: copy, visual e card leggibili, senza testi
   compressi o colonne troppo strette.
   ============================================================================= */
@media (min-width: 768px) and (max-width: 1180px) {
  body.ff-service-art--seo .ff-service-method__media-row,
  body.ff-service-art--seo .ff-service-method-cards--below {
    width: min(100% - 64px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  body.ff-service-art--seo .ff-service-method__media-row {
    grid-template-columns: 1fr !important;
    gap: clamp(22px, 4vw, 36px) !important;
    align-items: stretch !important;
  }

  body.ff-service-art--seo .ff-service-method__media-row .ff-section-heading {
    max-width: 920px !important;
  }

  body.ff-service-art--seo .ff-service-visual--method-side {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.ff-service-art--seo .ff-service-method-cards--below {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    margin-top: clamp(22px, 4vw, 34px) !important;
  }

  body.ff-service-art--seo .ff-service-method-cards--below .ff-service-method-card p {
    max-width: 920px !important;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--seo .ff-service-method__media-row,
  body.ff-service-art--seo .ff-service-method-cards--below {
    width: min(100% - 36px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  body.ff-service-art--seo .ff-service-method__media-row {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  body.ff-service-art--seo .ff-service-method__media-row .ff-section-heading {
    max-width: none !important;
  }

  body.ff-service-art--seo .ff-service-visual--method-side {
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 0 !important;
  }

  body.ff-service-art--seo .ff-service-visual--method-side img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
  }

  body.ff-service-art--seo .ff-service-method-cards--below {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 18px !important;
  }

  body.ff-service-art--seo .ff-service-method-cards--below .ff-service-method-card p {
    max-width: none !important;
  }
}


/* =============================================================================
   STEP 87.4.4 - ROLLBACK GLOBAL HERO + SEO ONLY RESPONSIVE
   Ripristina WordPress Custom e WooCommerce Custom rimuovendo la regola globale.
   Lo standard tablet/mobile viene applicato solo alla pagina SEO Tecnica.
   ============================================================================= */
@media (max-width: 1023px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(16px, 3vw, 24px);
    min-height: auto !important;
    padding: clamp(24px, 4vw, 34px) 20px 40px !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    order: -1;
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 0 16px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after,
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
    display: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    display: block;
    width: 100%;
    height: auto;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-fit: contain !important;
    object-position: center !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    max-width: none !important;
    width: 100% !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    padding: 18px 18px 28px !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    width: 100%;
    justify-content: center;
  }
}


/* =============================================================================
   STEP 87.4.5 - SEO HERO TABLET/MOBILE = WOOCOMMERCE STANDARD
   Correzione scoped solo a SEO Tecnica.
   Desktop invariato. Tablet/mobile replicano il comportamento approvato della
   hero WooCommerce Custom: visual full hero sullo sfondo + copy leggibile.
   ============================================================================= */
@media (max-width: 1023px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
    padding-block: 0 !important;
    background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%) !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    position: relative;
    display: flex !important;
    align-items: flex-end;
    width: 100%;
    max-width: none !important;
    min-height: clamp(520px, 90vw, 700px) !important;
    padding: clamp(88px, 12vw, 118px) clamp(18px, 5vw, 34px) clamp(48px, 7vw, 68px) !important;
    gap: 0 !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: 0 !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-fit: cover !important;
    object-position: 76% center !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 253, 255, 0.98) 0%, rgba(252, 253, 255, 0.94) 30%, rgba(252, 253, 255, 0.72) 52%, rgba(252, 253, 255, 0.24) 78%, rgba(252, 253, 255, 0.06) 100%),
      linear-gradient(180deg, rgba(252, 253, 255, 0.12) 0%, rgba(252, 253, 255, 0.30) 100%);
    pointer-events: none;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
    display: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    color: #07111f !important;
    max-width: 9.6ch !important;
    text-shadow: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
    color: rgba(7, 17, 31, 0.76) !important;
    text-shadow: none !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
    color: var(--ff-service-accent) !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 0 !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(540px, 138vw, 670px) !important;
    padding: clamp(90px, 20vw, 118px) 18px 42px !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 78% center !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: min(100%, 96vw) !important;
    max-width: 420px !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8.7ch !important;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.ff-service-art--seo .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    justify-content: center;
  }
}

/* =============================================================================
   STEP 87.5.1 - PERFORMANCE WORDPRESS VISUAL IMPLEMENTATION
   Hero, metodo, cosa include e output attesi allineati al metodo approvato per
   le altre pagine servizio, mantenendo il look chiaro e conversion-first.
   ============================================================================= */
body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%) !important;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(380px, 1.1fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  max-width: none !important;
  min-height: clamp(520px, 64vw, 700px);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4.6vw, 76px) clamp(40px, 5vw, 54px);
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 8.4ch;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: contain;
  object-position: center;
}

body.ff-service-art--performance .ff-service-method__grid--performance,
body.ff-service-art--performance .ff-service-system__media-layout,
body.ff-service-art--performance .ff-service-outcomes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--performance .ff-service-method__content--performance {
  display: grid;
  gap: clamp(18px, 2.4vw, 30px);
}

body.ff-service-art--performance .ff-service-method-cards--performance {
  margin-top: 0;
}

body.ff-service-art--performance .ff-service-method-cards--performance .ff-service-method-card p {
  max-width: 24ch;
}

body.ff-service-art--performance .ff-service-system__media-layout {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.ff-service-art--performance .ff-service-visual--method-performance,
body.ff-service-art--performance .ff-service-visual--system,
body.ff-service-art--performance .ff-service-visual--outcomes {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

body.ff-service-art--performance .ff-service-visual--method-performance img,
body.ff-service-art--performance .ff-service-visual--system img,
body.ff-service-art--performance .ff-service-visual--outcomes img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

body.ff-service-art--performance .ff-service-outcomes__content {
  display: grid;
  gap: 18px;
}

body.ff-service-art--performance .ff-service-outcomes__content .ff-service-outcome-list {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--performance .ff-service-method__grid--performance,
  body.ff-service-art--performance .ff-service-system__media-layout,
  body.ff-service-art--performance .ff-service-outcomes__grid {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
    padding-block: 0 !important;
    background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%) !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    position: relative;
    display: flex !important;
    align-items: flex-end;
    width: 100%;
    max-width: none !important;
    min-height: clamp(520px, 90vw, 700px) !important;
    padding: clamp(88px, 12vw, 118px) clamp(18px, 5vw, 34px) clamp(48px, 7vw, 68px) !important;
    gap: 0 !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: 0 !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-fit: cover !important;
    object-position: 76% center !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 253, 255, 0.98) 0%, rgba(252, 253, 255, 0.94) 30%, rgba(252, 253, 255, 0.72) 52%, rgba(252, 253, 255, 0.24) 78%, rgba(252, 253, 255, 0.06) 100%),
      linear-gradient(180deg, rgba(252, 253, 255, 0.12) 0%, rgba(252, 253, 255, 0.30) 100%);
    pointer-events: none;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
    display: none !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    color: #07111f !important;
    max-width: 8.8ch !important;
    text-shadow: none !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
    color: rgba(7, 17, 31, 0.76) !important;
    text-shadow: none !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
    color: var(--ff-service-accent) !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 0 !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(540px, 138vw, 670px) !important;
    padding: clamp(90px, 20vw, 118px) 18px 42px !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 78% center !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: min(100%, 96vw) !important;
    max-width: 420px !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8.2ch !important;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.ff-service-art--performance .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    justify-content: center;
  }
}


/* =============================================================================
   STEP 87.6 - UX/UI DESIGN VISUAL IMPLEMENTATION
   Hero e immagini di sezione per la money page UX/UI Design, con layout coerente
   alle pagine servizio congelate e approccio chiaro/inclusivo.
   ============================================================================= */
body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%) !important;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  max-width: none !important;
  min-height: clamp(520px, 64vw, 700px);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4.6vw, 76px) clamp(40px, 5vw, 54px);
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 8.8ch;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: contain;
  object-position: center;
}

body.ff-service-art--ux .ff-service-method__media-row,
body.ff-service-art--ux .ff-service-system__media-layout,
body.ff-service-art--ux .ff-service-outcomes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--ux .ff-service-method__media-row {
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

body.ff-service-art--ux .ff-service-system__media-layout {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.ff-service-art--ux .ff-service-method-cards--below {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 26px);
}

body.ff-service-art--ux .ff-service-visual--method-side,
body.ff-service-art--ux .ff-service-visual--system,
body.ff-service-art--ux .ff-service-visual--outcomes {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

body.ff-service-art--ux .ff-service-visual--method-side img,
body.ff-service-art--ux .ff-service-visual--system img,
body.ff-service-art--ux .ff-service-visual--outcomes img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

body.ff-service-art--ux .ff-service-outcomes__content {
  display: grid;
  gap: 18px;
}

body.ff-service-art--ux .ff-service-outcomes__content .ff-service-outcome-list {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--ux .ff-service-method__media-row,
  body.ff-service-art--ux .ff-service-system__media-layout,
  body.ff-service-art--ux .ff-service-outcomes__grid,
  body.ff-service-art--ux .ff-service-method-cards--below {
    grid-template-columns: 1fr;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
    padding-block: 0 !important;
    background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%) !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    position: relative;
    display: flex !important;
    align-items: flex-end;
    width: 100%;
    max-width: none !important;
    min-height: clamp(520px, 90vw, 700px) !important;
    padding: clamp(88px, 12vw, 118px) clamp(18px, 5vw, 34px) clamp(48px, 7vw, 68px) !important;
    gap: 0 !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: 0 !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-fit: cover !important;
    object-position: 74% center !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 253, 255, 0.98) 0%, rgba(252, 253, 255, 0.94) 30%, rgba(252, 253, 255, 0.72) 52%, rgba(252, 253, 255, 0.24) 78%, rgba(252, 253, 255, 0.06) 100%),
      linear-gradient(180deg, rgba(252, 253, 255, 0.12) 0%, rgba(252, 253, 255, 0.30) 100%);
    pointer-events: none;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
    display: none !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    color: #07111f !important;
    max-width: 8.8ch !important;
    text-shadow: none !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
    color: rgba(7, 17, 31, 0.76) !important;
    text-shadow: none !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
    color: var(--ff-service-accent-2) !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 0 !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(540px, 138vw, 670px) !important;
    padding: clamp(90px, 20vw, 118px) 18px 42px !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 72% center !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: min(100%, 96vw) !important;
    max-width: 420px !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8.4ch !important;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.ff-service-art--ux .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    justify-content: center;
  }
}

/* =============================================================================
   STEP 87.6.1 - FREEZE UX/UI + PERFORMANCE METHOD CARDS BELOW
   Performance WordPress usa lo stesso Metodo operativo di UX/UI e SEO Tecnica:
   media-text sopra, card sotto a tutta larghezza.
   ============================================================================= */
body.ff-service-art--performance .ff-service-method__media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
  margin-bottom: clamp(26px, 3.4vw, 40px);
}

body.ff-service-art--performance .ff-service-method-cards--below {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 26px);
}

body.ff-service-art--performance .ff-service-method-cards--below .ff-service-method-card p {
  max-width: 30ch;
}

body.ff-service-art--performance .ff-service-visual--method-side {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

body.ff-service-art--performance .ff-service-visual--method-side img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

@media (max-width: 1023px) {
  body.ff-service-art--performance .ff-service-method__media-row,
  body.ff-service-art--performance .ff-service-method-cards--below {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--performance .ff-service-method__media-row,
  body.ff-service-art--performance .ff-service-method-cards--below {
    gap: 16px;
  }
}

/* =============================================================================
   STEP 87.7.1 - PLUGIN WORDPRESS CUSTOM IMAGE IMPLEMENTATION
   Hero, Metodo operativo, Cosa include e Output attesi allineati al pattern
   congelato delle pagine servizio approvate, senza toccare le altre money pages.
   ============================================================================= */
body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media {
  position: relative;
  overflow: hidden;
  padding-block: 0 !important;
  background: linear-gradient(180deg, #fcfdff 0%, #f4f7fb 100%) !important;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media::after {
  display: none !important;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
  position: relative;
  display: grid !important;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(24px, 4vw, 60px);
  width: 100%;
  max-width: none !important;
  min-height: clamp(520px, 64vw, 700px);
  padding: clamp(28px, 4vw, 44px) clamp(20px, 4.6vw, 76px) clamp(40px, 5vw, 54px);
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 560px;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
  color: #07111f !important;
  max-width: 10ch;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow,
body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
  color: rgba(7, 17, 31, 0.74) !important;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
  position: relative;
  inset: auto;
  width: 100%;
  height: auto;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  display: block;
  width: 100%;
  height: auto;
}

body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
  object-fit: contain;
  object-position: center;
}

body.ff-service-art--plugin .ff-service-method__media-row,
body.ff-service-art--plugin .ff-service-system__media-layout,
body.ff-service-art--plugin .ff-service-outcomes__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--plugin .ff-service-method__media-row .ff-section-heading,
body.ff-service-art--plugin .ff-service-system__media-layout .ff-section-heading,
body.ff-service-art--plugin .ff-service-outcomes__content {
  max-width: 760px;
}

body.ff-service-art--plugin .ff-service-method-cards--below {
  margin-top: clamp(26px, 4vw, 46px);
}

body.ff-service-art--plugin .ff-service-method-cards--below .ff-service-method-card p {
  max-width: 32ch;
}

body.ff-service-art--plugin .ff-service-system__media-layout {
  margin-bottom: clamp(28px, 4vw, 48px);
}

body.ff-service-art--plugin .ff-service-visual--method-side,
body.ff-service-art--plugin .ff-service-visual--system,
body.ff-service-art--plugin .ff-service-visual--outcomes {
  overflow: hidden;
  border: 0 !important;
  border-radius: 32px;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0;
}

body.ff-service-art--plugin .ff-service-visual--method-side img,
body.ff-service-art--plugin .ff-service-visual--system img,
body.ff-service-art--plugin .ff-service-visual--outcomes img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 32px;
}

@media (min-width: 768px) and (max-width: 1180px) {
  body.ff-service-art--plugin .ff-service-method__media-row,
  body.ff-service-art--plugin .ff-service-method-cards--below {
    width: min(100% - 64px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  body.ff-service-art--plugin .ff-service-method__media-row,
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media,
  body.ff-service-art--plugin .ff-service-system__media-layout,
  body.ff-service-art--plugin .ff-service-outcomes__grid {
    grid-template-columns: 1fr !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: auto;
    padding: 28px 32px 42px !important;
    gap: clamp(22px, 4vw, 36px) !important;
    align-items: stretch !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    max-width: 920px !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media,
  body.ff-service-art--plugin .ff-service-visual--method-side {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.ff-service-art--plugin .ff-service-method-cards--below {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: clamp(14px, 2vw, 22px) !important;
    margin-top: clamp(22px, 4vw, 34px) !important;
  }

  body.ff-service-art--plugin .ff-service-method-cards--below .ff-service-method-card p {
    max-width: 920px !important;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--plugin .ff-service-method__media-row,
  body.ff-service-art--plugin .ff-service-method-cards--below {
    width: min(100% - 36px, 1180px) !important;
    max-width: 1180px !important;
    margin-inline: auto !important;
    padding-inline: 0 !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media {
    padding-top: 0 !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding: 18px 18px 28px !important;
    gap: 16px !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    order: -1;
    width: 100%;
    margin-bottom: 10px !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content,
  body.ff-service-art--plugin .ff-service-method__media-row,
  body.ff-service-art--plugin .ff-service-system__media-layout,
  body.ff-service-art--plugin .ff-service-outcomes__grid {
    max-width: none;
    grid-template-columns: 1fr !important;
  }

  body.ff-service-art--plugin .ff-service-method-cards--below {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 20px !important;
  }

  body.ff-service-art--plugin .ff-service-method-cards--below .ff-service-method-card p {
    max-width: none !important;
  }
}

/* =============================================================================
   STEP 87.7.3 - PLUGIN HERO TABLET/MOBILE LIKE UX/UI
   Hero responsive del servizio Plugin WordPress Custom allineata esattamente
   al comportamento di UX/UI Design su tablet e mobile.
   ============================================================================= */
@media (max-width: 1023px) {
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media {
    position: relative;
    overflow: hidden;
    padding-block: 0 !important;
    background: linear-gradient(180deg, #fcfdff 0%, #f5f8ff 100%) !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    position: relative;
    display: flex !important;
    align-items: flex-end;
    width: 100%;
    max-width: none !important;
    min-height: clamp(520px, 90vw, 700px) !important;
    padding: clamp(88px, 12vw, 118px) clamp(18px, 5vw, 34px) clamp(48px, 7vw, 68px) !important;
    gap: 0 !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, 520px) !important;
    max-width: 520px !important;
    padding: 0 !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media {
    position: absolute !important;
    inset: 0 !important;
    z-index: 0;
    order: initial !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media picture,
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    width: 100% !important;
    height: 100% !important;
    display: block;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-fit: cover !important;
    object-position: 74% center !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media::after {
    content: "";
    display: block !important;
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, rgba(252, 253, 255, 0.98) 0%, rgba(252, 253, 255, 0.94) 30%, rgba(252, 253, 255, 0.72) 52%, rgba(252, 253, 255, 0.24) 78%, rgba(252, 253, 255, 0.06) 100%),
      linear-gradient(180deg, rgba(252, 253, 255, 0.12) 0%, rgba(252, 253, 255, 0.30) 100%);
    pointer-events: none;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media figcaption {
    display: none !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    color: #07111f !important;
    max-width: 8.8ch !important;
    text-shadow: none !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__text,
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs,
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-breadcrumbs a {
    color: rgba(7, 17, 31, 0.76) !important;
    text-shadow: none !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-eyebrow {
    color: var(--ff-service-accent-2) !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    width: 100%;
  }
}

@media (max-width: 767px) {
  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media {
    padding-block: 0 !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__inner--media {
    min-height: clamp(540px, 138vw, 670px) !important;
    padding: clamp(90px, 20vw, 118px) 18px 42px !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__media img {
    object-position: 72% center !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__content {
    width: min(100%, 96vw) !important;
    max-width: 420px !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__title {
    max-width: 8.4ch !important;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions {
    display: flex !important;
    flex-wrap: wrap;
    gap: 12px;
  }

  body.ff-service-art--plugin .ff-page-hero--service.ff-page-hero--has-media .ff-page-hero__actions .ff-btn {
    justify-content: center;
  }
}

/* =============================================================================
   STEP 125B - WORDPRESS CUSTOM METHOD VISUAL ALIGNMENT
   Desktop QA: la pagina Sviluppo WordPress Custom usa ora la stessa struttura
   media/copy approvata sulle altre money pages. Il visual del processo non
   resta piu' isolato sotto le card, ma rientra in una riga 50/50 ordinata.
   ============================================================================= */
body.ff-service-art--wordpress .ff-service-method__media-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
}

body.ff-service-art--wordpress .ff-service-method__media-row .ff-section-heading {
  max-width: 760px;
}

body.ff-service-art--wordpress .ff-service-method-cards--below {
  margin-top: clamp(26px, 4vw, 46px);
}

body.ff-service-art--wordpress .ff-service-method-cards--below .ff-service-method-card p {
  max-width: 32ch;
}

body.ff-service-art--wordpress .ff-service-visual--method-side {
  overflow: hidden;
  margin: 0;
  border: 0 !important;
  border-radius: clamp(24px, 3vw, 36px);
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--wordpress .ff-service-visual--method-side img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(24px, 3vw, 36px);
}

body.ff-service-art--wordpress .ff-service-visual--method-side figcaption {
  max-width: 92%;
  margin: 10px auto 0;
  text-align: center;
}

@media (max-width: 1023px) {
  body.ff-service-art--wordpress .ff-service-method__media-row {
    grid-template-columns: 1fr;
  }
}



/* =============================================================================
   STEP 125C - WORDPRESS CUSTOM COSA INCLUDE VISUAL ALIGNMENT
   Completa la money page Sviluppo WordPress Custom con visual dedicato nella
   sezione Cosa include: stessa struttura 50/50 approvata sulle altre pagine,
   card sotto ordinate e immagine processo/sistema in colonna destra.
   ============================================================================= */
body.ff-service-art--wordpress .ff-service-system__media-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(24px, 4.4vw, 64px);
  align-items: center;
  margin-bottom: clamp(26px, 4vw, 46px);
}

body.ff-service-art--wordpress .ff-service-system__media-layout .ff-section-heading {
  max-width: 760px;
}

body.ff-service-art--wordpress .ff-service-visual--system {
  overflow: hidden;
  margin: 0;
  border: 0 !important;
  border-radius: clamp(24px, 3vw, 36px);
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
}

body.ff-service-art--wordpress .ff-service-visual--system img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(24px, 3vw, 36px);
}

body.ff-service-art--wordpress .ff-service-system__grid {
  margin-top: 0;
}

@media (max-width: 1023px) {
  body.ff-service-art--wordpress .ff-service-system__media-layout {
    grid-template-columns: 1fr;
  }
}

/* STEP 2026-08-03 - Contextual internal link verso la landing locale Viterbo. */
.ff-service-intro__local-context {
  max-width: 720px;
  margin-top: 18px;
  border-left: 2px solid color-mix(in srgb, var(--ff-service-accent) 36%, transparent);
  padding: 10px 0 10px 14px;
  color: var(--ff-color-muted);
  font-size: 0.96rem;
  line-height: 1.68;
}

.ff-service-intro__local-context a {
  color: var(--ff-service-accent);
  font-weight: 780;
  text-decoration-color: color-mix(in srgb, var(--ff-service-accent) 42%, transparent);
  text-decoration-thickness: 0.09em;
  text-underline-offset: 0.2em;
}

.ff-service-intro__local-context a:hover,
.ff-service-intro__local-context a:focus-visible {
  color: color-mix(in srgb, var(--ff-service-accent) 78%, #07111f);
  text-decoration-color: currentColor;
}
