/* MHS ficha plantilla, derivada del sistema visual de Screw Feeder. */

.mhs-ficha-plantilla {
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

/* Product-page rhythm: explain the machine, show where it fits, then expose specs. */
.mhs-ficha-plantilla #contenido {
  display: flex;
  flex-direction: column;
}

.mhs-ficha-plantilla #contenido > .hero { order: 1; }
.mhs-ficha-plantilla #contenido > #teoria { order: 2; }
.mhs-ficha-plantilla #contenido > #specs { order: 3; }
.mhs-ficha-plantilla #contenido > #sectores { order: 4; }
.mhs-ficha-plantilla #contenido > [aria-labelledby="faq-title"] { order: 5; }
.mhs-ficha-plantilla #contenido > #contacto { order: 6; }

/* Keep the hero decisive without allowing the two-line thesis to become three. */
.mhs-ficha-plantilla .hero h1 {
  font-size: clamp(44px, 4.8vw, 70px) !important;
}

/* Section titles: strong hierarchy, less visual shouting on wide screens. */
.mhs-ficha-plantilla .q-heading {
  font-size: clamp(40px, 4.3vw, 62px) !important;
  line-height: .97 !important;
}

.mhs-ficha-plantilla .q-kicker {
  font-size: 11px !important;
  line-height: 1.3 !important;
}

/* Theory and contact share the same editorial opening rhythm; their jobs remain
   different: explain the machine here, convert in the contact block. */
.mhs-ficha-plantilla #teoria.q-section--blue {
  background: #0b1b31 !important;
  scroll-margin-top: 104px;
}

.mhs-ficha-plantilla #teoria .q-section-intro {
  padding-top: 0 !important;
  border-top: 0 !important;
  align-items: start !important;
}

.mhs-ficha-plantilla #teoria .q-heading {
  font-size: clamp(40px, 4.1vw, 60px) !important;
  line-height: .98 !important;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy::before {
  font: 500 11px/1.3 var(--mono) !important;
  letter-spacing: .14em !important;
}

/* Reusable ficha intro: a short italic thesis, then the application context. */
.mhs-ficha-plantilla #teoria .q-intro-context {
  max-width: 44ch !important;
  padding-top: clamp(52px, 4vw, 60px);
  color: var(--q-steel);
}

.mhs-ficha-plantilla #teoria .q-teoria {
  align-items: start;
  grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
  padding: clamp(24px, 3vw, 42px);
  border: 1px solid rgba(167, 176, 189, .2);
  background: linear-gradient(135deg, #102b49 0%, #0b1c30 66%, #081522 100%);
}

.mhs-ficha-plantilla #teoria .q-teoria-media {
  grid-column: 1;
  grid-row: 1;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy {
  grid-column: 2;
  grid-row: 1;
}

/* Signature interaction: a quiet diagnostic overlay makes the real machine asset
   read like an instrument, not a decorative product cutout. */
.mhs-ficha-plantilla #teoria .q-teoria-media {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 468px;
  background:
    radial-gradient(circle at 50% 47%, rgba(91, 157, 214, .16), transparent 43%),
    linear-gradient(155deg, #071725 0%, #0d2948 62%, #091521 100%);
  border: 1px solid rgba(132, 176, 220, .24);
}

.mhs-ficha-plantilla #teoria .q-teoria-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 0;
  border: 1px solid rgba(243, 240, 232, .09);
  opacity: .62;
}

.mhs-ficha-plantilla #teoria .machine-media-topline,
.mhs-ficha-plantilla #teoria .machine-media-caption {
  position: absolute;
  right: 16px;
  left: 16px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: rgba(243, 240, 232, .65);
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mhs-ficha-plantilla #teoria .machine-media-topline {
  top: 16px;
}

.mhs-ficha-plantilla #teoria .machine-media-caption {
  bottom: 16px;
  color: var(--q-yellow);
}

.mhs-ficha-plantilla #teoria .machine-media-scan {
  display: none;
  position: absolute;
  inset: 22% 12% auto;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(243, 179, 1, .9), transparent);
  opacity: .55;
  transform: translateY(0);
  animation: screw-feeder-scan 4.8s cubic-bezier(.22, 1, .36, 1) infinite;
  animation-play-state: paused;
}

.mhs-ficha-plantilla #teoria .q-teoria.is-in .machine-media-scan {
  animation-play-state: running;
}

.mhs-ficha-plantilla #teoria .machine-media-scan::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 50%;
  width: 7px;
  height: 7px;
  border: 1px solid var(--q-yellow);
  background: #071725;
  transform: rotate(45deg);
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 34px;
  height: 34px;
  opacity: .65;
  transform: translate(-50%, -50%);
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair::before,
.mhs-ficha-plantilla #teoria .machine-media-crosshair::after,
.mhs-ficha-plantilla #teoria .machine-media-crosshair i::before,
.mhs-ficha-plantilla #teoria .machine-media-crosshair i::after {
  content: "";
  position: absolute;
  background: rgba(243, 179, 1, .72);
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair::before,
.mhs-ficha-plantilla #teoria .machine-media-crosshair::after {
  top: 50%;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair::after {
  left: 50%;
  width: 1px;
  height: 100%;
  transform: translate(-50%, -50%);
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair i:first-child,
.mhs-ficha-plantilla #teoria .machine-media-crosshair i:last-child {
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(243, 179, 1, .7);
  border-radius: 50%;
}

.mhs-ficha-plantilla #teoria .machine-media-crosshair i:last-child {
  inset: 15px;
  background: var(--q-yellow);
  border: 0;
}

.mhs-ficha-plantilla #teoria .q-teoria-media img {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 468px;
  object-fit: contain;
  filter: saturate(.82) contrast(1.03) drop-shadow(0 28px 28px rgba(0, 0, 0, .42));
  transition: transform .9s cubic-bezier(.22, 1, .36, 1), filter .45s ease;
}

.mhs-ficha-plantilla #teoria .q-teoria-media:hover img {
  filter: saturate(1) contrast(1.04) drop-shadow(0 32px 34px rgba(0, 0, 0, .48));
  transform: scale(1.035);
}

.mhs-ficha-plantilla #teoria .spec-card-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.mhs-ficha-plantilla #teoria .spec-card-head .spec-card-kicker {
  margin-bottom: 6px;
}

.mhs-ficha-plantilla #teoria .spec-card-head > div > strong {
  display: block;
  color: var(--q-ivory);
  font: 400 clamp(23px, 2.5vw, 34px)/1 var(--display);
  letter-spacing: -.025em;
}

.mhs-ficha-plantilla #teoria .spec-card-state {
  flex: 0 0 auto;
  padding: 7px 9px;
  border: 1px solid rgba(243, 179, 1, .42);
  color: var(--q-yellow);
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .1em;
  text-align: right;
  text-transform: uppercase;
}

@keyframes screw-feeder-scan {
  0%, 12% { opacity: 0; transform: translateY(-18px); }
  22% { opacity: .6; }
  72% { opacity: .6; }
  88%, 100% { opacity: 0; transform: translateY(270px); }
}

.mhs-ficha-plantilla #teoria .spec-in-card {
  grid-column: 1 / -1;
  grid-row: 2;
  margin-top: clamp(28px, 4vw, 52px);
  padding-top: 24px;
  border-top: 1px solid rgba(243, 179, 1, .28);
}

.mhs-ficha-plantilla #teoria .spec-card-kicker {
  display: block;
  margin-bottom: 14px;
  color: var(--q-yellow);
  font: 500 10px/1.3 var(--mono);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(132, 176, 220, .28);
  background: linear-gradient(135deg, #153a61 0%, #0b1c30 58%, #111c2d 100%);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-row {
  display: grid;
  grid-template-columns: minmax(110px, .58fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 84px;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(132, 176, 220, .18);
  transition: background-color .2s ease;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-row:nth-child(even) {
  background: rgba(116, 171, 224, .08);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-row:hover {
  background: rgba(116, 171, 224, .15);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-row > span:first-child {
  color: var(--q-steel);
  font: 500 12px/1.35 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-value {
  display: block;
  color: #dce9f5;
  font: 500 clamp(16px, 1.15vw, 18px)/1.35 var(--sans);
  font-variant-numeric: tabular-nums;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-value strong,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-row:nth-child(3) .spec-value,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-row:nth-child(8) .spec-value {
  color: var(--q-yellow);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-detail {
  display: block;
  margin-top: 4px;
  color: #a8c2dc;
  font: 400 14px/1.45 var(--sans);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-detail::before {
  content: "↳ ";
  color: var(--q-yellow);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-note {
  max-width: 72ch;
  margin: 16px 0 0;
  color: rgba(243, 240, 232, .62);
  font: 400 13px/1.6 var(--sans);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta {
  margin-top: 20px;
}

.motion-ready .mhs-ficha-plantilla #teoria .spec-in-card {
  opacity: 0;
  transform: translateY(12px);
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card {
  opacity: 1;
  transform: none;
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: .28s;
}

@media (max-width: 940px) {
  .mhs-ficha-plantilla #teoria .q-teoria {
    grid-template-columns: 1fr;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-media,
  .mhs-ficha-plantilla #teoria .q-teoria-copy {
    grid-column: 1;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-media {
    grid-row: 1;
    min-height: 420px;
    height: 420px;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-media img {
    min-height: 420px;
    height: 420px;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-copy {
    grid-row: 2;
  }

  .mhs-ficha-plantilla #teoria .spec-in-card {
    grid-row: 3;
  }

  .mhs-ficha-plantilla #teoria .spec-in-card .spec-table {
    grid-template-columns: 1fr;
  }
}

.mhs-ficha-plantilla #teoria .q-intro-context p {
  margin: 0;
}

.mhs-ficha-plantilla #teoria .q-intro-thesis {
  max-width: 31ch;
  margin-bottom: 14px !important;
  color: var(--q-ivory);
  font: 400 clamp(18px, 1.35vw, 20px)/1.35 var(--sans);
  letter-spacing: -.015em;
}

.mhs-ficha-plantilla #teoria .q-intro-thesis em {
  font-style: italic;
}

.mhs-ficha-plantilla #teoria .q-intro-application-wide {
  max-width: 1120px;
  margin: clamp(24px, 3vw, 38px) 0 0;
  color: var(--q-steel);
  font: 400 clamp(15px, 1.1vw, 17px)/1.7 var(--sans);
}

.mhs-ficha-plantilla #teoria .q-intro-application-wide strong {
  color: var(--q-ivory);
  font-weight: 600;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy h3 {
  max-width: 28ch;
  margin: 0 0 18px;
  color: var(--q-ivory);
  font: 400 clamp(28px, 2.5vw, 36px)/1.08 var(--display);
  letter-spacing: -.025em;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy::before {
  content: none;
  display: none;
}

/* Explanatory copy gets a stable reading size instead of inheriting 14px on mobile. */
.mhs-ficha-plantilla .q-copy {
  font-size: clamp(15px, 1.05vw, 16px) !important;
  line-height: 1.65 !important;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy > p {
  max-width: 58ch !important;
  color: var(--q-steel) !important;
  font-size: clamp(15px, 1.05vw, 16px) !important;
  line-height: 1.7 !important;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy p:first-of-type strong,
.mhs-ficha-plantilla #teoria .q-teoria-copy p:nth-of-type(2) strong {
  color: var(--q-ivory);
  font-weight: 700;
}

.mhs-ficha-plantilla #teoria .q-teoria-copy p:nth-of-type(2) {
  margin-top: 20px !important;
}

.mhs-ficha-plantilla #teoria .q-teoria-list li {
  font-size: clamp(14px, .95vw, 15px) !important;
  line-height: 1.5 !important;
}

.mhs-ficha-plantilla #teoria .q-teoria-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, .62fr);
  column-gap: 14px;
  align-items: baseline;
}

.mhs-ficha-plantilla #teoria .q-teoria-list li strong {
  color: var(--q-ivory);
  font-weight: 600;
}

.mhs-ficha-plantilla #teoria .q-teoria-list li span {
  color: var(--q-steel);
  font: 400 .92em/1.45 var(--sans);
}

/* One authored entrance: the machine story assembles from the idea to the proof. */
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria-copy h3,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria-copy > p,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria-copy .q-teoria-list li,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria-media {
  opacity: 0;
  transform: translateY(12px);
  will-change: transform, opacity;
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria-media {
  transform: translateX(18px) scale(.985);
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-copy h3,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-copy > p,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-media,
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-list li {
  opacity: 1;
  transform: none;
  transition: opacity .58s var(--ease), transform .58s var(--ease);
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-media {
  transition-duration: .72s;
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-copy h3 { transition-delay: .05s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-copy > p:first-of-type { transition-delay: .13s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-copy > p:nth-of-type(2) { transition-delay: .21s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-list li:nth-child(1) { transition-delay: .28s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-list li:nth-child(2) { transition-delay: .34s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-list li:nth-child(3) { transition-delay: .40s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-list li:nth-child(4) { transition-delay: .46s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .q-teoria-media { transition-delay: .16s; }

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #teoria .q-teoria-copy h3,
  .mhs-ficha-plantilla #teoria .q-teoria-copy > p,
  .mhs-ficha-plantilla #teoria .q-teoria-copy .q-teoria-list li,
  .mhs-ficha-plantilla #teoria .q-teoria-media {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .mhs-ficha-plantilla #teoria .spec-in-card {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Specs: readable labels, clear value-to-context contrast. */
.mhs-ficha-plantilla #specs .spec-row > span:first-child {
  font-size: 12px !important;
  line-height: 1.35 !important;
}

.mhs-ficha-plantilla #specs .spec-value {
  font-size: clamp(16px, 1.15vw, 18px) !important;
  line-height: 1.35 !important;
}

.mhs-ficha-plantilla #specs .spec-detail {
  font-size: 14.5px !important;
  line-height: 1.45 !important;
}

.mhs-ficha-plantilla #specs .spec-note {
  font-size: 13px !important;
  line-height: 1.6 !important;
}

.mhs-ficha-plantilla #specs .spec-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding: 14px 18px;
  border: 1px solid rgba(243, 179, 1, .7);
  color: var(--q-ivory);
  font: 500 11px/1.25 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .24s var(--ease), background-color .24s var(--ease), transform .24s var(--ease);
}

.mhs-ficha-plantilla #specs .spec-cta span {
  color: var(--q-yellow);
  font-size: 16px;
  line-height: 1;
  transition: transform .24s var(--ease), color .24s var(--ease);
}

.mhs-ficha-plantilla #specs .spec-cta:hover,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible {
  background: var(--q-yellow);
  color: var(--q-ink);
  transform: translateY(-2px);
}

.mhs-ficha-plantilla #specs .spec-cta:hover span,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible span {
  color: var(--q-ink);
  transform: translate(2px, -2px);
}

.mhs-ficha-plantilla #specs .spec-table {
  background: linear-gradient(135deg, #153a61 0%, #0b1c30 58%, #111c2d 100%);
  border-color: rgba(132, 176, 220, .28);
}

.mhs-ficha-plantilla #specs .spec-row:nth-child(even) {
  background: rgba(116, 171, 224, .08);
}

.mhs-ficha-plantilla #specs .spec-row:hover {
  background: rgba(243, 179, 1, .08);
}

.mhs-ficha-plantilla #specs .spec-value {
  color: #dce9f5;
}

.mhs-ficha-plantilla #specs .spec-value strong,
.mhs-ficha-plantilla #specs .spec-row:nth-child(3) .spec-value,
.mhs-ficha-plantilla #specs .spec-row:nth-child(8) .spec-value {
  color: var(--q-yellow);
}

.mhs-ficha-plantilla #specs .spec-detail {
  color: #a8c2dc;
}

.mhs-ficha-plantilla #specs .spec-detail::before {
  color: var(--q-yellow);
}

.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion .spec-row {
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
}

.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .2s ease;
}

.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(1) { transition-delay: .04s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(2) { transition-delay: .09s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(3) { transition-delay: .14s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(4) { transition-delay: .19s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(5) { transition-delay: .24s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(6) { transition-delay: .29s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(7) { transition-delay: .34s; }
.motion-ready .mhs-ficha-plantilla #specs .spec-table.q-motion.is-in .spec-row:nth-child(8) { transition-delay: .39s; }

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #specs .spec-table.q-motion .spec-row {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

/* Sector cards and FAQ: supporting copy stays readable beside the display face. */
.mhs-ficha-plantilla #sectores .q-strip-card h3 {
  font-size: clamp(25px, 2.1vw, 32px) !important;
  line-height: 1.02 !important;
}

.mhs-ficha-plantilla #sectores .q-strip-track {
  gap: 18px;
  padding-top: 12px;
}

.mhs-ficha-plantilla #sectores .q-strip-card {
  position: relative;
  isolation: isolate;
  min-height: 500px;
  border-color: rgba(132, 176, 220, .28);
  transition: border-color .55s var(--ease), transform .55s var(--ease), background-color .35s ease;
}

.mhs-ficha-plantilla #sectores .q-strip-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  height: 214px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(5, 9, 15, .04) 42%, rgba(5, 9, 15, .78) 100%);
}

.mhs-ficha-plantilla #sectores .q-strip-card img {
  position: relative;
  z-index: 0;
  height: 214px;
  filter: saturate(.8) contrast(1.02);
}

.mhs-ficha-plantilla #sectores .q-strip-card > div {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  padding: 24px 24px 22px;
}

.mhs-ficha-plantilla #sectores .q-strip-card > div > span:first-child {
  margin-bottom: 18px;
  color: rgba(243, 240, 232, .7);
}

.mhs-ficha-plantilla #sectores .q-strip-card h3 {
  max-width: 13ch;
  margin-bottom: 16px;
  font-size: clamp(28px, 2.45vw, 38px) !important;
}

.mhs-ficha-plantilla #sectores .sector-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 0 0 18px;
  padding: 10px 0;
  border-block: 1px solid rgba(132, 176, 220, .2);
}

.mhs-ficha-plantilla #sectores .sector-signals span {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: #b4c8dc;
  font: 500 9px/1.3 var(--mono);
  letter-spacing: .08em;
}

.mhs-ficha-plantilla #sectores .sector-signals span::before {
  content: "";
  width: 5px;
  height: 5px;
  background: var(--q-yellow);
  transform: rotate(45deg);
}

.mhs-ficha-plantilla #sectores .q-strip-card p {
  max-width: 52ch;
  font-size: 15px !important;
  line-height: 1.68 !important;
}

@media (min-width: 941px) {
  .mhs-ficha-plantilla #sectores .q-strip-track {
    grid-auto-flow: initial;
    grid-auto-columns: auto;
    grid-template-columns: 1.42fr .86fr .86fr;
    overflow: visible;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child {
    min-height: 560px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:first-child img {
    height: 250px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child > div {
    min-height: 310px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child h3 {
    max-width: 10ch;
    font-size: clamp(34px, 3.2vw, 48px) !important;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(2) {
    margin-top: 22px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(2)::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(2) img {
    height: 192px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) {
    margin-top: 44px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3)::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) img {
    height: 170px;
  }
}

.mhs-ficha-plantilla #sectores .q-strip-card img {
  transition: filter .55s var(--ease), transform .75s var(--ease);
}

.mhs-ficha-plantilla #sectores .q-strip-card:hover img,
.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible img {
  filter: saturate(1.04);
  transform: scale(1.045);
}

.mhs-ficha-plantilla #sectores .q-strip-card .q-link {
  position: relative;
  padding-bottom: 8px;
}

.mhs-ficha-plantilla #sectores .q-strip-card .q-link::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--q-yellow);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .55s var(--ease), background-color .25s ease;
}

.mhs-ficha-plantilla #sectores .q-strip-card:hover .q-link::after,
.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible .q-link::after {
  transform: scaleX(1);
}

.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible .q-link::after {
  background: var(--q-ivory);
}

.mhs-ficha-plantilla .q-faq summary {
  font-size: clamp(21px, 2.2vw, 28px) !important;
  line-height: 1.2 !important;
}

.mhs-ficha-plantilla .q-faq p {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

@media (max-width: 940px) {
  .mhs-ficha-plantilla #teoria .q-intro-context {
    padding-top: 0;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card {
    min-height: 0;
    margin-top: 0;
    grid-template-rows: 170px auto;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card::before,
  .mhs-ficha-plantilla #sectores .q-strip-card img {
    height: 170px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card > div {
    min-height: 330px;
    padding: 22px 20px 20px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child {
    min-height: 0;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:first-child img {
    height: 170px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:first-child > div {
    min-height: 330px;
  }
}

@media (max-width: 700px) {
  .mhs-ficha-plantilla #teoria .q-teoria-media,
  .mhs-ficha-plantilla #teoria .q-teoria-media img {
    min-height: 260px;
    height: 260px;
  }

  .mhs-ficha-plantilla .hero h1 {
    font-size: clamp(34px, 6.3vw, 44px) !important;
  }

  .mhs-ficha-plantilla .q-heading {
    font-size: clamp(34px, 5.4vw, 38px) !important;
  }

  .mhs-ficha-plantilla #teoria .q-heading {
    font-size: clamp(34px, 5.4vw, 38px) !important;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card h3 {
    font-size: clamp(25px, 4.5vw, 32px) !important;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-list li {
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .mhs-ficha-plantilla #teoria .q-teoria-media,
  .mhs-ficha-plantilla #teoria .q-teoria-media img {
    min-height: 320px;
    height: 320px;
  }

  .mhs-ficha-plantilla #teoria .machine-media-topline,
  .mhs-ficha-plantilla #teoria .machine-media-caption {
    right: 12px;
    left: 12px;
    font-size: 8px;
  }

  .mhs-ficha-plantilla #teoria .spec-card-head {
    align-items: start;
    flex-direction: column;
    gap: 12px;
  }

  .mhs-ficha-plantilla #teoria .spec-card-state {
    text-align: left;
  }

}

@media (max-width: 340px) {
  .mhs-ficha-plantilla .hero h1 {
    font-size: 34px !important;
  }

  .mhs-ficha-plantilla .q-heading {
    font-size: 34px !important;
  }
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 14px 18px;
  border: 1px solid rgba(243, 179, 1, .7);
  color: var(--q-ivory);
  font: 500 11px/1.25 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .24s var(--ease), background-color .24s var(--ease), transform .24s var(--ease);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta span {
  color: var(--q-yellow);
  font-size: 16px;
  line-height: 1;
  transition: transform .24s var(--ease), color .24s var(--ease);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible {
  background: var(--q-yellow);
  color: var(--q-ink);
  transform: translateY(-2px);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover span,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible span {
  color: var(--q-ink);
  transform: translate(2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #teoria .spec-in-card .spec-cta,
  .mhs-ficha-plantilla #teoria .spec-in-card .spec-cta span {
    transition: none;
  }

  .mhs-ficha-plantilla #teoria .spec-in-card,
  .mhs-ficha-plantilla #teoria .spec-in-card .spec-row {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }
}

.motion-ready .mhs-ficha-plantilla #teoria .spec-in-card .spec-row {
  opacity: 0;
  transform: translateY(10px);
  will-change: transform, opacity;
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row {
  opacity: 1;
  transform: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease), background-color .2s ease;
}

.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(1) { transition-delay: .32s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(2) { transition-delay: .37s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(3) { transition-delay: .42s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(4) { transition-delay: .47s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(5) { transition-delay: .52s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(6) { transition-delay: .57s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(7) { transition-delay: .62s; }
.motion-ready .mhs-ficha-plantilla #teoria .q-teoria.is-in .spec-in-card .spec-row:nth-child(8) { transition-delay: .67s; }

@media (prefers-reduced-motion: reduce) {
  .motion-ready .mhs-ficha-plantilla #teoria .spec-in-card,
  .motion-ready .mhs-ficha-plantilla #teoria .spec-in-card .spec-row {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .mhs-ficha-plantilla #teoria .machine-media-scan {
    animation: none;
    opacity: .35;
    transform: translateY(78px);
  }

  .mhs-ficha-plantilla #teoria .q-teoria-media img {
    transition: none;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card img,
  .mhs-ficha-plantilla #sectores .q-strip-card .q-link::after {
    transition: none;
  }
}

/* Sector atlas: two readable studies above, one panoramic study below. */
@media (min-width: 701px) {
  .mhs-ficha-plantilla #sectores .q-strip-track {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card,
  .mhs-ficha-plantilla #sectores .q-strip-card:first-child,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(2),
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) {
    min-height: 0;
    margin-top: 0;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2) {
    grid-template-rows: 220px minmax(300px, auto);
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2)::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2) img {
    height: 220px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) {
    grid-column: 1 / -1;
    grid-template-columns: minmax(280px, .84fr) minmax(0, 1.16fr);
    grid-template-rows: clamp(585px, 42.2vw, 608px);
    min-height: clamp(585px, 42.2vw, 608px);
    margin-top: 2px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3)::before {
    inset: 0 auto 0 0;
    width: 42%;
    height: auto;
    background: linear-gradient(90deg, rgba(5, 9, 15, .02), rgba(5, 9, 15, .78));
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) img {
    height: 100%;
    min-height: clamp(585px, 42.2vw, 608px);
    object-fit: cover;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) > div {
    min-height: clamp(585px, 42.2vw, 608px);
    justify-content: center;
    padding: 32px clamp(24px, 4vw, 58px);
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) h3 {
    max-width: 14ch;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card h3,
  .mhs-ficha-plantilla #sectores .q-strip-card:first-child h3,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) h3 {
    max-width: 14ch;
    font-size: clamp(30px, 2.7vw, 38px) !important;
    line-height: 1.02 !important;
    text-wrap: balance;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card .q-link {
    margin-top: auto;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:hover img,
  .mhs-ficha-plantilla #sectores .q-strip-card:focus-visible img {
    filter: saturate(1.02) brightness(1.08);
    transform: none;
  }
}

@media (max-width: 700px) {
  .mhs-ficha-plantilla #sectores .q-strip-card .q-link {
    margin-top: 0;
  }
}

/* The image responds with light, not magnification. */
.mhs-ficha-plantilla #sectores .q-strip-card:hover img,
.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible img {
  filter: saturate(1.02) brightness(1.08);
  transform: none;
}

/* Final polish: signals fade into the blue field instead of becoming full-width rules. */
.mhs-ficha-plantilla #sectores .sector-signals {
  position: relative;
  border-block: 0;
}

.mhs-ficha-plantilla #sectores .sector-signals::before,
.mhs-ficha-plantilla #sectores .sector-signals::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(132, 176, 220, .34) 18%, rgba(132, 176, 220, .34) 82%, transparent);
}

.mhs-ficha-plantilla #sectores .sector-signals::before { top: 0; }
.mhs-ficha-plantilla #sectores .sector-signals::after { bottom: 0; }

.mhs-ficha-plantilla #sectores .q-strip-card .q-link {
  min-height: 44px;
  margin-top: 23px;
  padding: 12px 16px 13px;
  border: 1px solid rgba(243, 240, 232, .24);
  background: rgba(7, 16, 27, .18);
  color: var(--q-ivory);
  transition: color .35s var(--ease), border-color .35s var(--ease), background-color .35s var(--ease), transform .35s var(--ease);
}

.mhs-ficha-plantilla #sectores .q-strip-card .q-link::after {
  right: 16px;
  bottom: 4px;
  left: 16px;
  background: var(--q-ivory);
  transform: scaleX(.16);
}

.mhs-ficha-plantilla #sectores .q-strip-card:hover .q-link,
.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible .q-link,
.mhs-ficha-plantilla #sectores .q-strip-card .q-link:focus-visible {
  border-color: rgba(243, 179, 1, .72);
  background: rgba(243, 179, 1, .08);
  color: var(--q-yellow);
  transform: translateY(-2px);
}

.mhs-ficha-plantilla #sectores .q-strip-card:hover .q-link::after,
.mhs-ficha-plantilla #sectores .q-strip-card:focus-visible .q-link::after,
.mhs-ficha-plantilla #sectores .q-strip-card .q-link:focus-visible::after {
  background: var(--q-yellow);
  transform: scaleX(1);
}

.mhs-ficha-plantilla #teoria .spec-card-head {
  margin-bottom: 28px;
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-section-intro .q-heading {
  max-width: 680px;
  font-size: clamp(34px, 3.6vw, 52px) !important;
  line-height: .98 !important;
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-section-intro .q-copy {
  font-size: 14px !important;
  line-height: 1.6 !important;
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq {
  max-width: 980px;
  margin-top: 42px;
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq summary {
  align-items: center;
  min-height: 72px;
  padding: 18px 0;
  font-size: clamp(19px, 1.8vw, 25px) !important;
  line-height: 1.18 !important;
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq summary::after {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border: 1px solid rgba(243, 179, 1, .46);
  background: rgba(243, 179, 1, .035);
  color: var(--q-yellow);
  font-size: 20px;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq summary:hover::after,
.mhs-ficha-plantilla section[aria-labelledby="faq-title"] details[open] summary::after {
  border-color: var(--q-yellow);
  background: rgba(243, 179, 1, .1);
}

.mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq p {
  max-width: 68ch;
  margin: -2px 54px 24px 0;
  font-size: 14px !important;
  line-height: 1.7 !important;
}

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #sectores .q-strip-card .q-link,
  .mhs-ficha-plantilla #sectores .q-strip-card .q-link::after,
  .mhs-ficha-plantilla section[aria-labelledby="faq-title"] .q-faq summary::after {
    transition: none;
  }
}

/* Match the proven MHS sector-card proportions used by the snack diagnosis: two
   stacked image/body studies, then one wide image/body study. */
@media (min-width: 701px) {
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2) {
    grid-template-rows: minmax(280px, auto) minmax(300px, auto);
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2)::before,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(-n + 2) img {
    height: 280px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) {
    grid-template-columns: minmax(230px, .82fr) minmax(0, 1.18fr);
    grid-template-rows: none;
    min-height: 260px;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3)::before {
    inset: 0 auto 0 0;
    width: 42%;
    height: auto;
    background: linear-gradient(90deg, rgba(5, 9, 15, .02), rgba(5, 9, 15, .78));
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) img {
    height: 100%;
    min-height: 260px;
    object-fit: cover;
  }

  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) > div {
    min-height: 260px;
    justify-content: center;
    padding: clamp(26px, 4vw, 48px);
  }

  .mhs-ficha-plantilla #sectores .q-strip-card .q-link,
  .mhs-ficha-plantilla #sectores .q-strip-card:nth-child(3) .q-link {
    margin-top: 23px;
  }
}

@media (max-width: 600px) {
  .mhs-ficha-plantilla #sectores .q-strip-card .q-link {
    padding-inline: 12px;
    font-size: 9px;
    letter-spacing: .08em;
    white-space: nowrap;
  }
}

.mhs-ficha-plantilla #sectores .q-strip-card:first-child h3 {
  position: relative;
}

.mhs-ficha-plantilla #sectores .q-strip-card:first-child h3::after {
  content: "";
  position: absolute;
  bottom: -9px;
  left: 0;
  width: 68px;
  height: 2px;
  background: var(--q-yellow);
  box-shadow: 0 0 12px rgba(243, 179, 1, .34);
  transform-origin: left center;
  animation: ficha-heading-line 3.6s var(--ease) infinite;
}

@keyframes ficha-heading-line {
  0%, 100% { opacity: .48; transform: translateX(0) scaleX(.55); }
  48% { opacity: 1; transform: translateX(28px) scaleX(1); }
  72% { opacity: .82; transform: translateX(52px) scaleX(.72); }
}

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #sectores .q-strip-card:first-child h3::after {
    animation: none;
    opacity: .9;
    transform: none;
  }
}

body.cheese-v4.mhs-ficha-plantilla #contacto .q-contact-form select {
  background-image: none !important;
}

/* Igualacion con la referencia: intro y media de teoria. */
.mhs-ficha-plantilla #teoria .q-section-intro{grid-template-columns:minmax(0,1.1fr) minmax(260px,.62fr);gap:clamp(32px,7vw,104px);padding-top:24px;border-top:1px solid rgba(243,240,232,.16);}
.mhs-ficha-plantilla #teoria .q-section-intro .q-heading{max-width:720px;}
.mhs-ficha-plantilla #teoria .q-section-intro>.q-copy{max-width:34ch;color:rgba(243,240,232,.78);font-size:16px;line-height:1.65;}
.mhs-ficha-plantilla #teoria .q-teoria-media img{padding:clamp(24px,4vw,54px);}
.mhs-ficha-plantilla #reto{order:4;scroll-margin-top:104px;}
.mhs-ficha-plantilla .hero-scroll-cue--link{pointer-events:auto;cursor:pointer;text-decoration:none;}
@media(max-width:940px){.mhs-ficha-plantilla #teoria .q-section-intro{grid-template-columns:1fr;gap:18px;}.mhs-ficha-plantilla #teoria .q-section-intro>.q-copy{max-width:52ch;}}
/* Igualacion con la referencia: lista de 4 claves con rombo y divisores. */
.mhs-ficha-plantilla #teoria .q-teoria-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin-top:30px;border-top:1px solid rgba(243,240,232,.14);}
.mhs-ficha-plantilla #teoria .q-teoria-list li{position:relative;padding:15px 0 15px 18px;border-bottom:1px solid rgba(243,240,232,.14);color:#dbe1e6;font:400 clamp(13px,.9vw,14px)/1.5 var(--sans);}
.mhs-ficha-plantilla #teoria .q-teoria-list li::before{content:'';position:absolute;top:21px;left:0;width:6px;height:6px;background:var(--q-yellow);transform:rotate(45deg);}
@media(max-width:700px){.mhs-ficha-plantilla #teoria .q-teoria-list{grid-template-columns:1fr;}}
/* CTA de validacion con el subrayado amarillo del index (enlace, no boton).
   Referencia: .applications .application-link en assets/css/mhs-premium-pass.css */
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 11px;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  background-image: linear-gradient(90deg, rgba(243, 179, 1, .95), rgba(243, 179, 1, .35) 55%, rgba(243, 179, 1, .12));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 34% 1px;
  color: var(--q-yellow);
  font: 600 10px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: none;
  transition: color .34s var(--ease), background-size .5s var(--ease);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible {
  color: var(--q-ivory);
  background-color: transparent;
  background-size: 100% 1px;
  transform: none;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta span {
  color: inherit;
  font-size: 15px;
  transform: none;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover span,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible span {
  color: inherit;
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #teoria .spec-in-card .spec-cta,
  .mhs-ficha-plantilla #teoria .spec-in-card .spec-cta span {
    transition: none;
  }
}


/* CTA de validacion con el subrayado amarillo del index (enlace, no boton).
   Referencia: .applications .application-link en assets/css/mhs-premium-pass.css */
.mhs-ficha-plantilla #specs .spec-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 0 11px;
  border: 0;
  box-shadow: none;
  background-color: transparent;
  background-image: linear-gradient(90deg, rgba(243, 179, 1, .95), rgba(243, 179, 1, .35) 55%, rgba(243, 179, 1, .12));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 34% 1px;
  color: var(--q-yellow);
  font: 600 10px/1.2 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  transform: none;
  transition: color .34s var(--ease), background-size .5s var(--ease);
}

.mhs-ficha-plantilla #specs .spec-cta:hover,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible {
  color: var(--q-ivory);
  background-color: transparent;
  background-size: 100% 1px;
  transform: none;
}

.mhs-ficha-plantilla #specs .spec-cta span {
  color: inherit;
  font-size: 15px;
  transform: none;
}

.mhs-ficha-plantilla #specs .spec-cta:hover span,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible span {
  color: inherit;
  transform: translate(3px, -3px);
}

@media (prefers-reduced-motion: reduce) {
  .mhs-ficha-plantilla #specs .spec-cta,
  .mhs-ficha-plantilla #specs .spec-cta span {
    transition: none;
  }
}

/* CTA final: misma raya sencilla que "Comparar pesadoras" en el index. */
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta,
.mhs-ficha-plantilla #specs .spec-cta {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(243, 179, 1, .5);
  background-color: transparent;
  background-image: none;
  background-size: auto;
  color: var(--q-yellow);
  font: 500 10px var(--mono);
  letter-spacing: .2em;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible,
.mhs-ficha-plantilla #specs .spec-cta:hover,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible {
  background-color: transparent;
  background-size: auto;
  border-bottom-color: rgba(243, 179, 1, 1);
  color: var(--q-ivory);
  transform: none;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta span,
.mhs-ficha-plantilla #specs .spec-cta span {
  color: inherit;
  font-size: 15px;
  transform: none;
}

.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:hover span,
.mhs-ficha-plantilla #teoria .spec-in-card .spec-cta:focus-visible span,
.mhs-ficha-plantilla #specs .spec-cta:hover span,
.mhs-ficha-plantilla #specs .spec-cta:focus-visible span {
  color: inherit;
  transform: translate(3px, -3px);
}
