/* ===========================================================================
   Drive Forge — Propuestas visuales (dic 2026), una por interruptor.
   Cada mejora cuelga de una clase en <html> (fx-<id>) que pone el panel de
   _propuesta/. TODA regla de este archivo va prefijada con html.fx-<id>: con
   todas apagadas, este archivo no cambia nada. Ganan por especificidad; no se
   tocan main.css ni home.css. Solo se anima transform y opacity.
   =========================================================================== */

/* Flecha reutilizable (máscara con el mismo trazo que los iconos del sitio) */
html:is(.fx-botones-jerarquia, .fx-problemas-puertas, .fx-cta-final) { --fx-flecha: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E"); }

/* ---------------------------------------------------------------------------
   fx-cabeceras — cabecera centrada, rótulo amarillo, entradilla de una línea
   --------------------------------------------------------------------------- */
html.fx-cabeceras .section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
html.fx-cabeceras .section-head > h2 { margin: var(--sp-4) auto 0; max-width: 22ch; }
html.fx-cabeceras .section-head > p { margin: var(--sp-4) auto 0; max-width: 62ch; }
html.fx-cabeceras .section-head > .section-head__more { margin-top: var(--sp-6); align-self: center; }
html.fx-cabeceras #piezas .section-head       { --fx-rotulo: "01 · Piezas"; }
html.fx-cabeceras #que-hacemos .section-head  { --fx-rotulo: "02 · Servicios"; }
html.fx-cabeceras #forge-journey .section-head { --fx-rotulo: "03 · Proceso"; }
html.fx-cabeceras #proceso-video .section-head { --fx-rotulo: "04 · Vídeo"; }
html.fx-cabeceras #problemas .section-head    { --fx-rotulo: "05 · Tu caso"; }
html.fx-cabeceras #faq .section-head          { --fx-rotulo: "06 · Preguntas"; }
html.fx-cabeceras .section-head::before {
  content: var(--fx-rotulo, none);
  padding-inline: 38px;
  font-family: var(--font-mono); font-size: var(--fs-2xs); font-weight: 600; line-height: 1.4;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent);
  background:
    linear-gradient(var(--accent), var(--accent)) left center / 26px 2px no-repeat,
    linear-gradient(var(--accent), var(--accent)) right center / 26px 2px no-repeat;
}
/* Entradilla: fx.js parte el texto en el primer ":" y deja visible solo la primera
   parte; el resto sigue en el DOM para lectores de pantalla. */
html.fx-cabeceras .fx-cab-ini::after { content: "."; }
html.fx-cabeceras .fx-cab-resto {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
/* FAQ: de dos columnas a una, cabecera centrada encima del acordeón */
html.fx-cabeceras .faq-split { display: block; max-width: calc(880px + 2 * var(--gutter)); }
html.fx-cabeceras .faq-split > .section-head { display: flex; margin-bottom: clamp(2rem, 1.2rem + 2.4vw, 3rem); }

/* ---------------------------------------------------------------------------
   fx-titulos-grandes — h2 de sección a escala display + palabra en amarillo
   (la palabra va marcada con span.fx-hl en index.html; sin la clase, inerte)
   --------------------------------------------------------------------------- */
html.fx-titulos-grandes .section-head h2 {
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.5rem);
  font-weight: 600; line-height: 1.05; letter-spacing: -0.025em;
}
html.fx-titulos-grandes .section-head h2 .fx-hl { color: var(--accent); }

/* ---------------------------------------------------------------------------
   fx-botones-jerarquia — un CTA relleno por vista (hero y cierre de problemas)
   --------------------------------------------------------------------------- */
html.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary {
  --_bg: var(--accent); --_bd: var(--accent); --_fg: var(--on-accent);
}
html.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary:hover {
  --_bg: var(--accent-600); --_bd: var(--accent-600);
}
html.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary::after {
  content: ""; flex: none; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: var(--fx-flecha) center / contain no-repeat; mask: var(--fx-flecha) center / contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
html.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary:is(:hover, :focus-visible)::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   fx-micro — relleno direccional, pulsación y subrayado que se dibuja
   --------------------------------------------------------------------------- */
html.fx-micro .btn {
  transition: background-color 0.22s var(--ease), border-color 0.22s var(--ease),
              color 0.22s var(--ease), box-shadow 0.22s var(--ease), transform 0.12s var(--ease-press);
}
html.fx-micro .btn:not(.is-sending)::before {
  content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; pointer-events: none;
  background: var(--fx-sweep, var(--accent));
  /* El relleno avanza recortado con la forma del botón (borde redondeado), no como rectángulo escalado */
  clip-path: inset(0 100% 0 0 round 999px);
  transition: clip-path 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
html.fx-micro .btn:focus-visible::before { clip-path: inset(0 0 0 0 round 999px); }
html.fx-micro .btn:focus-visible { --_bg: transparent; }
html.fx-micro .btn--dark { --fx-sweep: #000; }
html.fx-micro .btn--dark:is(:hover, :focus-visible) { --_bg: #111111; }
html.fx-micro.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary { --fx-sweep: var(--accent-600); }
html.fx-micro.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary:is(:hover, :focus-visible) { --_bg: var(--accent); }
@media (hover: hover) {
  html.fx-micro .btn:hover { --_bg: transparent; }
  html.fx-micro .btn--dark:hover { --_bg: #111111; }
  html.fx-micro.fx-botones-jerarquia :is(.hero__cta, .prob-close) > .btn--primary:hover { --_bg: var(--accent); }
  html.fx-micro .btn:hover::before { clip-path: inset(0 0 0 0 round 999px); }
}
html.fx-micro .btn:active { transform: scale(0.97); }
html.fx-micro .btn svg { transition: transform var(--t-fast) var(--ease); }
html.fx-micro .btn:is(:hover, :focus-visible) svg { transform: translateX(4px); }
/* Subrayado que se dibuja de izquierda a derecha */
html.fx-micro :is(.prob-close__more a, .card__link) { position: relative; }
html.fx-micro :is(.prob-close__more a, .card__link)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
  background: var(--accent); transform: scaleX(0); transform-origin: left center;
  transition: transform 0.26s var(--ease);
}
html.fx-micro .prob-close__more a:is(:hover, :focus-visible)::after,
html.fx-micro .card:is(:hover, :focus-visible) .card__link::after { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  html.fx-micro .btn::before, html.fx-micro :is(.prob-close__more a, .card__link)::after { transition: none; }
  html.fx-micro .btn:active { transform: none; }
}

/* ---------------------------------------------------------------------------
   fx-hero-sangrado — imagen recortada, más grande y hasta el borde derecho
   (solo escritorio; en móvil la portada no cambia). fx.js cambia la imagen por
   la versión sin fondo img/porsche-cayman-baca-01-recorte*.webp.
   --------------------------------------------------------------------------- */
@media (min-width: 941px) {
  html.fx-hero-sangrado .hero--baca { --fx-bleed: calc(max(0px, (100vw - var(--container)) / 2) + var(--gutter)); }
  html.fx-hero-sangrado .hero--baca .hero__inner { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); }
  html.fx-hero-sangrado .hero--baca .hero__media {
    margin-right: calc(-1 * var(--fx-bleed)); margin-left: -1.5rem;
    background: none; border: 0; border-radius: 0; box-shadow: none;
  }
  html.fx-hero-sangrado .hero--baca .hero__media img.fx-recorte {
    aspect-ratio: var(--fx-ar, 1678 / 937);
    filter: drop-shadow(0 26px 26px rgba(0, 0, 0, 0.55));
  }
  /* Suelo: sombra elíptica bajo el coche para que no flote */
  html.fx-hero-sangrado .hero--baca .hero__media:has(img.fx-recorte) {
    background: radial-gradient(48% 9% at 46% 90%, rgba(0, 0, 0, 0.55), transparent 70%);
  }
  html.fx-hero-sangrado .hero--baca .hero__label {
    position: absolute; left: calc(1.5rem + 40px); bottom: 0; z-index: 3;
    border: 0; border-radius: var(--r-sm); padding: var(--sp-2) var(--sp-3);
    background: rgba(17, 17, 17, 0.78); color: var(--ink-2);
  }
  html.fx-hero-sangrado .hero--baca .scroll-cue { display: none; }
}

/* ---------------------------------------------------------------------------
   fx-hero-escaneo — esquinas de visor que se cierran + un barrido, una vez.
   fx.js añade .fx-esc-run tras el load (+300 ms) y mide el recorrido en px.
   --------------------------------------------------------------------------- */
html.fx-hero-escaneo .hero__media::before,
html.fx-hero-escaneo .hero__media::after {
  content: ""; position: absolute; pointer-events: none; z-index: 2;
}
html.fx-hero-escaneo .hero__media::before {
  top: 12px; left: 12px; bottom: 12px; right: calc(12px + var(--fx-bleed, 0px));
  --c: var(--accent);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 2px 22px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 22px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 2px 22px no-repeat;
  opacity: 0.85;
}
html.fx-hero-escaneo .hero__media::after {
  left: 0; right: var(--fx-bleed, 0px); top: 0; height: 72px; opacity: 0;
  transform: translateY(-72px);
  background: linear-gradient(to bottom, rgba(255, 229, 0, 0), rgba(255, 229, 0, 0.2) calc(100% - 2px), var(--accent) calc(100% - 2px));
}
@media (prefers-reduced-motion: no-preference) {
  html.fx-hero-escaneo .hero__media:not(.fx-esc-run)::before { opacity: 0; }
  html.fx-hero-escaneo .hero__media.fx-esc-run::before { animation: fxEsqIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
  html.fx-hero-escaneo .hero__media.fx-esc-run::after { animation: fxScan 1s var(--ease-scan) 0.35s both; }
}
@keyframes fxEsqIn { from { opacity: 0; transform: scale(1.07); } to { opacity: 0.85; transform: none; } }
@keyframes fxScan {
  0%   { opacity: 0; transform: translateY(-72px); }
  12%  { opacity: 1; }
  86%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(calc(var(--fx-scan-y, 320px) - 72px)); }
}

/* ---------------------------------------------------------------------------
   fx-servicios-foto — tarjeta toda foto, degradado y título encima
   --------------------------------------------------------------------------- */
html.fx-servicios-foto #que-hacemos .svc-card {
  padding: 0; aspect-ratio: 4 / 5; justify-content: flex-end; background: #0d0d0d;
}
html.fx-servicios-foto #que-hacemos .svc-card__media {
  position: absolute; inset: 0; z-index: 0; margin: 0; aspect-ratio: auto;
}
html.fx-servicios-foto #que-hacemos .svc-card__media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(to top, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.82) 26%, rgba(17, 17, 17, 0) 60%);
}
html.fx-servicios-foto #que-hacemos .svc-card__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(to top, rgba(255, 229, 0, 0.2), rgba(255, 229, 0, 0) 55%);
  transition: opacity var(--t-machine) var(--ease-machine);
}
html.fx-servicios-foto #que-hacemos .svc-card h3 { margin: auto var(--card-pad) var(--sp-1); font-size: var(--fs-h3); }
html.fx-servicios-foto #que-hacemos .svc-card .card__link { margin: 0 var(--card-pad) var(--card-pad); padding-top: 0; }
/* Esquinas de visor al pasar (reusa el ::before de .card) */
html.fx-servicios-foto #que-hacemos .svc-card::before {
  inset: 12px; z-index: 2; border-radius: 2px; --c: var(--accent);
  background:
    linear-gradient(var(--c), var(--c)) 0 0 / 16px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 0 / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 0 / 16px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 0 / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 0 100% / 16px 2px no-repeat, linear-gradient(var(--c), var(--c)) 0 100% / 2px 16px no-repeat,
    linear-gradient(var(--c), var(--c)) 100% 100% / 16px 2px no-repeat, linear-gradient(var(--c), var(--c)) 100% 100% / 2px 16px no-repeat;
  opacity: 0; transform: scale(1.04);
  transition: opacity var(--t-machine) var(--ease-machine), transform var(--t-machine) var(--ease-machine);
}
html.fx-servicios-foto #que-hacemos .svc-card:is(:hover, :focus-visible)::before { opacity: 1; transform: none; }
html.fx-servicios-foto #que-hacemos .svc-card:is(:hover, :focus-visible) .svc-card__media::before { opacity: 1; }
@media (hover: hover) { html.fx-servicios-foto #que-hacemos .svc-card:hover .svc-card__media img { transform: scale(1.05); } }
@media (max-width: 600px) { html.fx-servicios-foto #que-hacemos .svc-card { aspect-ratio: 16 / 10; } }
@media (prefers-reduced-motion: reduce) {
  html.fx-servicios-foto #que-hacemos .svc-card:hover .svc-card__media img { transform: none; }
}

/* ---------------------------------------------------------------------------
   fx-banda-taller — franja de foto a todo el ancho (la monta fx.js)
   --------------------------------------------------------------------------- */
html.fx-banda-taller .fx-banda {
  position: relative; overflow: hidden; isolation: isolate;
  height: clamp(320px, 58vh, 620px); display: grid; place-items: center;
  border-block: 1px solid var(--line);
}
html.fx-banda-taller .fx-banda__media { position: absolute; inset: -10% 0; z-index: -1; transform: translate3d(0, var(--fx-par, 0px), 0); }
html.fx-banda-taller .fx-banda__media img { width: 100%; height: 100%; object-fit: cover; }
html.fx-banda-taller .fx-banda::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to bottom, #111 0%, rgba(17, 17, 17, 0) 22%, rgba(17, 17, 17, 0) 78%, #111 100%),
    rgba(17, 17, 17, 0.58);
}
html.fx-banda-taller .fx-banda__t {
  margin: 0; text-align: center; color: #fff;
  font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02;
  font-size: clamp(2.1rem, 1rem + 4.6vw, 4.75rem); text-wrap: balance;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}
html.fx-banda-taller .fx-banda__t span { display: block; color: var(--accent); }

/* ---------------------------------------------------------------------------
   fx-problemas-puertas — tres tarjetas con foto (las monta fx.js con los textos
   de la lista, que se oculta solo cuando las tarjetas existen)
   --------------------------------------------------------------------------- */
html.fx-problemas-puertas .fx-puertas { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); list-style: none; margin: 0; padding: 0; }
@media (min-width: 901px) { html.fx-problemas-puertas .fx-puertas { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
html.fx-problemas-puertas .fx-puerta {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-6);
  aspect-ratio: 4 / 5; padding: var(--sp-5);
  border: 1px solid var(--line); border-radius: var(--r-lg); background: #0d0d0d;
  color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card);
  transition: transform var(--t-machine) var(--ease-machine), border-color var(--t-machine) var(--ease-machine);
}
@media (max-width: 900px) { html.fx-problemas-puertas .fx-puerta { aspect-ratio: auto; min-height: 400px; } }
html.fx-problemas-puertas .fx-puerta__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
html.fx-problemas-puertas .fx-puerta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.25) 45%, rgba(17, 17, 17, 0.35) 62%, rgba(17, 17, 17, 0.95));
}
html.fx-problemas-puertas .fx-puerta__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--sp-2); }
html.fx-problemas-puertas .fx-puerta__chips li {
  display: flex; gap: var(--sp-2); align-items: baseline;
  padding: 6px 12px; border-radius: var(--r); font-size: var(--fs-xs); line-height: 1.35; color: var(--ink);
  background: rgba(17, 17, 17, 0.82); border: 1px solid rgba(255, 255, 255, 0.12);
}
html.fx-problemas-puertas .fx-puerta__chips li::before { content: ""; flex: none; width: 8px; height: 2px; background: var(--accent); transform: translateY(-0.3em); }
html.fx-problemas-puertas .fx-puerta__t {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  margin: 0; font-family: var(--font-display); font-size: var(--fs-h3); font-weight: 600; letter-spacing: -0.01em; color: #fff;
}
html.fx-problemas-puertas .fx-puerta__t::after {
  content: ""; flex: none; width: 1em; height: 1em; background: var(--accent);
  -webkit-mask: var(--fx-flecha) center / contain no-repeat; mask: var(--fx-flecha) center / contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
html.fx-problemas-puertas .fx-puerta:is(:hover, :focus-visible) { border-color: var(--accent); }
html.fx-problemas-puertas .fx-puerta:is(:hover, :focus-visible) .fx-puerta__t::after { transform: translateX(4px); }
@media (hover: hover) { html.fx-problemas-puertas .fx-puerta:hover .fx-puerta__img { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { html.fx-problemas-puertas .fx-puerta:hover .fx-puerta__img { transform: none; } }

/* ---------------------------------------------------------------------------
   fx-video-cine — vídeo a todo el ancho, entra escalando, con botón de pausa
   --------------------------------------------------------------------------- */
html.fx-video-cine #proceso-video { padding-bottom: 0; overflow: hidden; }
html.fx-video-cine #proceso-video .proc-video {
  max-width: none; width: 100vw; margin: var(--sp-7) calc(50% - 50vw) 0;
  border: 0; border-radius: 0; box-shadow: none;
  transform: scale(var(--fx-cine-s, 1)); transform-origin: 50% 100%;
}
html.fx-video-cine #proceso-video .proc-video::after { border-radius: 0; box-shadow: none; }
html.fx-video-cine #proceso-video .proc-video__el { max-height: 86vh; }
html.fx-video-cine .fx-cine-btn {
  position: absolute; right: var(--gutter); bottom: var(--sp-5); z-index: 3;
  display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; padding: 0 var(--sp-4);
  border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(17, 17, 17, 0.7); color: #fff; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase;
}
html.fx-video-cine .fx-cine-btn:hover { border-color: var(--accent); color: var(--accent); }
/* El título NO va superpuesto: el propio vídeo lleva rótulos a la izquierda y chocaban. */
html.fx-video-cine #proceso-video .proc-video::before {
  content: ""; position: absolute; inset: 70% 0 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to bottom, rgba(17, 17, 17, 0), rgba(17, 17, 17, 0.55));
}

/* ---------------------------------------------------------------------------
   fx-marquee — sectores a tamaño display, relleno y contorno alternos
   --------------------------------------------------------------------------- */
html.fx-marquee .marquee__inner { animation-duration: 70s; }
html.fx-marquee .marquee__track {
  gap: clamp(1.5rem, 1rem + 2vw, 3rem);
  padding: clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem) clamp(1.5rem, 1rem + 2vw, 3rem) clamp(1.25rem, 0.8rem + 1.6vw, 2.25rem) 0;
}
html.fx-marquee .marquee__track :is(a, span) {
  font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem); font-weight: 700; line-height: 1; letter-spacing: -0.01em;
  color: var(--ink);
}
html.fx-marquee .marquee__track li:nth-child(4n+3) :is(a, span) {
  color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.72);
}
html.fx-marquee .marquee__track a:is(:hover, :focus-visible) { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
html.fx-marquee .marquee__sep { font-size: clamp(1rem, 0.6rem + 1.4vw, 1.75rem); opacity: 0.9; }

/* ---------------------------------------------------------------------------
   fx-cta-final — cierre centrado, franja diagonal y plano técnico (SVG de fx.js)
   --------------------------------------------------------------------------- */
html.fx-cta-final .cta-banner { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(4.5rem, 3rem + 5vw, 7.5rem); }
html.fx-cta-final .cta-banner::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; z-index: 1;
  background: repeating-linear-gradient(-45deg, #111 0 12px, transparent 12px 24px);
}
html.fx-cta-final .cta-banner > .container { position: relative; z-index: 1; }
html.fx-cta-final .cta-banner__inner { flex-direction: column; justify-content: center; text-align: center; }
html.fx-cta-final .cta-banner__copy { flex: none; display: flex; flex-direction: column; align-items: center; }
html.fx-cta-final .cta-banner__copy h2 { font-size: clamp(2.25rem, 1.2rem + 3.8vw, 4.25rem); font-weight: 700; letter-spacing: -0.03em; max-width: 16ch; }
html.fx-cta-final .cta-banner__copy p { margin-inline: auto; }
html.fx-cta-final .cta-banner .btn--dark { min-height: 64px; padding: 0 2.5rem; font-size: var(--fs-base); }
html.fx-cta-final .cta-banner .btn--dark::after {
  content: ""; flex: none; width: 1.1em; height: 1.1em; background: currentColor;
  -webkit-mask: var(--fx-flecha) center / contain no-repeat; mask: var(--fx-flecha) center / contain no-repeat;
  transition: transform var(--t-fast) var(--ease);
}
html.fx-cta-final .cta-banner .btn--dark:is(:hover, :focus-visible)::after { transform: translateX(4px); }
html.fx-cta-final .fx-plano {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  color: #111; opacity: 0.1;
}
html.fx-cta-final .fx-plano :is(path, circle, line, rect) { fill: none; stroke: currentColor; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
html.fx-cta-final .fx-plano .fx-plano__eje { stroke-dasharray: 10 4 2 4; }
html.fx-cta-final .fx-plano.is-ready .fx-plano__t { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-scan); }
html.fx-cta-final .fx-plano.is-ready.is-drawn .fx-plano__t { stroke-dashoffset: 0; }
@media (max-width: 640px) { html.fx-cta-final .cta-banner__btns { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { html.fx-cta-final .fx-plano .fx-plano__t { stroke-dashoffset: 0 !important; transition: none; } }
/* Movimiento reducido: banda quieta; con texto grande, que parta en líneas centradas */
@media (prefers-reduced-motion: reduce) {
  html.fx-marquee .marquee__track { flex: 1 1 100%; row-gap: var(--sp-2); }
  html.fx-marquee .marquee__track :is(a, span) { font-size: clamp(2rem, 1rem + 3.4vw, 3.5rem); }
}

/* ---------------------------------------------------------------------------
   Solapes entre mejoras (cuando están las dos encendidas)
   --------------------------------------------------------------------------- */
/* fx-cta-final + fx-puntos: la nube compite con el titular y el texto pequeño; se atenúa y el plano también */
html.fx-cta-final.fx-puntos .cta-banner .fx-pts-cv { opacity: 0.4; }
html.fx-cta-final.fx-puntos .cta-banner .fx-pts-cv.is-on { opacity: 0.4; }
html.fx-cta-final.fx-puntos .cta-banner .fx-plano { opacity: 0.06; }
/* fx-titulares (con la palabra .fx-hl de index.html): amarillo también sin fx-titulos-grandes */
html.fx-titulares .section-head h2 .fx-hl { color: var(--accent); }
/* fx-hero-escaneo en móvil: el rótulo del render pasa a dos líneas y las esquinas de abajo lo pisaban;
   el visor se limita a la altura de la imagen (--fx-scan-y la mide fx.js) y deja el rótulo fuera */
@media (max-width: 600px) {
  html.fx-hero-escaneo .hero__media::before { bottom: auto; height: calc(var(--fx-scan-y, 100%) - 24px); }
}
