/*
  EDICIÓN MANUAL — AJUSTES ESPECÍFICOS
  Incluye navegación/submenú, posición de CTA Home desktop/móvil, componente Simuladores,
  fondo Hero Grúa Horquilla, galería, bloques informativos y CTA. Mantenga los cortes 820/821px.
*/
/* V28 — scoped final checkpoint adjustments only. */

/* Navigation: the section name is a real link; the adjacent control opens its submenu. */
body.neurona-v28 .simulator-nav {
  display: flex;
  align-items: center;
  gap: .55rem;
}
body.neurona-v28 .simulator-nav__index {
  color: inherit;
  font: 500 .72rem/1.6 Poppins, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
body.neurona-v28 .simulator-nav__toggle {
  width: 1.75rem;
  height: 1.75rem;
  justify-content: center;
}
body.neurona-v28 .simulator-nav__toggle::after { margin-top: -.18rem; }

/* Home simulator copy/CTA: preserve desktop copy and shorten only the mobile composition. */
@media (min-width: 821px) {
  body.neurona-v28 .simulator-showcase-v11--home .simulator-showcase-v11__cta {
    translate: 0 -45px;
  }
}
@media (max-width: 820px) {
  body.neurona-v28 .simulator-showcase-v11--home .product-copy-v23 { display: none; }
  body.neurona-v28 .simulator-showcase-v11--home .simulator-showcase-v11__cta {
    translate: 0 -37px;
  }
}

/* General simulator catalogue: one available product and two clearly inactive entries. */
.simulator-cards-v28 {
  padding: clamp(1rem, 2.4vw, 2.5rem) 0 clamp(4rem, 7vw, 7rem);
  background: var(--surface-1);
}
.simulator-cards-v28__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: color-mix(in srgb, var(--blue) 48%, transparent);
}
.simulator-card-v28 {
  position: relative;
  display: grid;
  min-height: clamp(15rem, 24vw, 24rem);
  align-content: space-between;
  gap: 3rem;
  padding: clamp(1.35rem, 2.5vw, 2.5rem);
  overflow: hidden;
  background: #07101d;
  color: #f5f7fb;
  isolation: isolate;
}
.simulator-card-v28::before,
.simulator-card-v28::after {
  position: absolute;
  z-index: -1;
  content: "";
}
.simulator-card-v28::before {
  inset: 0;
  background: linear-gradient(135deg, rgba(13,121,242,.2), transparent 48%);
}
.simulator-card-v28::after {
  right: 1.25rem;
  bottom: 1.25rem;
  width: .48rem;
  height: .48rem;
  background: var(--blue);
  box-shadow: 0 0 18px var(--blue);
}
a.simulator-card-v28 {
  transition: background-color 300ms ease, box-shadow 300ms ease;
}
a.simulator-card-v28:is(:hover, :focus-visible) {
  background: #0a1b31;
  box-shadow: inset 0 0 32px rgba(13,121,242,.2);
}
.simulator-card-v28--disabled {
  color: #8795a8;
  cursor: not-allowed;
}
.simulator-card-v28--disabled::before { opacity: .28; }
.simulator-card-v28__number,
.simulator-card-v28__status {
  font: 600 .68rem/1.4 Poppins, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.simulator-card-v28__number { color: #76b5ff; }
.simulator-card-v28__status { color: var(--blue-bright); }
.simulator-card-v28--disabled .simulator-card-v28__status { color: #768397; }
.simulator-card-v28 h2 {
  margin-top: .7rem;
  font: 400 clamp(2rem, 3.3vw, 3.8rem)/.95 var(--display-font) !important;
  letter-spacing: -.025em;
  text-transform: uppercase;
}
html[data-theme="light"] .simulator-card-v28 {
  background: #f7f9fb;
  color: #101827;
}
html[data-theme="light"] a.simulator-card-v28:is(:hover, :focus-visible) {
  background: #eaf3ff;
}
html[data-theme="light"] .simulator-card-v28--disabled { color: #758095; }

/* Forklift: compact Neurona header using an existing project background. */
.forklift-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #07101d;
  color: #f5f7fb;
}
.forklift-hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/reference-v7/background-13.webp") center/cover no-repeat;
  content: "";
  opacity: .38;
}
.forklift-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(3,9,18,.94), rgba(3,9,18,.7));
  content: "";
}
.forklift-hero p { color: #c7d4e7; }
html[data-theme="light"] .forklift-hero {
  background: #edf2f7;
  color: #101827;
}
html[data-theme="light"] .forklift-hero::before {
  background-image: url("assets/reference-v7/background-13-light.webp");
  opacity: .58;
}
html[data-theme="light"] .forklift-hero::after {
  background: linear-gradient(90deg, rgba(246,248,250,.94), rgba(246,248,250,.72));
}
html[data-theme="light"] .forklift-hero p { color: #34435a; }

/* Continuous editorial mosaic with real cell expansion toward the viewport centre. */
.forklift-mosaic { padding: 0; gap: 0; overflow: visible; }
.forklift-mosaic__row { gap: 0; overflow: visible; }
.forklift-mosaic figure {
  overflow: visible;
  z-index: 1;
  transition: transform 300ms cubic-bezier(.22,1,.36,1), z-index 0s 300ms;
}
.forklift-mosaic img { display: block; transform: none; transition: none; }
@media (hover: hover) and (min-width: 821px) {
  .forklift-mosaic figure:hover {
    z-index: 10;
    transform: scale(1.08);
    transition: transform 300ms cubic-bezier(.22,1,.36,1), z-index 0s;
  }
  .forklift-mosaic figure:first-child { transform-origin: right center; }
  .forklift-mosaic figure:last-child { transform-origin: left center; }
  .forklift-mosaic figure:hover img { transform: none; }
}

/* Product-specific copy, expressed with the existing technical-panel language. */
.forklift-information { position: relative; background: #050c17; }
.forklift-information article {
  position: relative;
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(13,121,242,.55);
  background: rgba(4,12,24,.9);
}
.forklift-information article::before {
  position: absolute;
  top: -3px;
  left: -3px;
  width: .45rem;
  height: .45rem;
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
  content: "";
}
.forklift-information h2 { display: flex; flex-direction: column; gap: .35rem; }
.forklift-information h2 span { display: block; }
.forklift-information h2 .tone-blue { color: var(--blue-bright); }
.forklift-information p { color: #b8c8dc; font-family: Poppins, sans-serif; }
html[data-theme="light"] .forklift-information { background: #eef2f6; }
html[data-theme="light"] .forklift-information article {
  background: rgba(255,255,255,.94);
}
html[data-theme="light"] .forklift-information p { color: #34435a; }

@media (max-width: 1024px) {
  body.neurona-v28 .simulator-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: .5rem;
  }
  body.neurona-v28 .simulator-nav__index {
    font: 600 clamp(1.5rem, 6vw, 3rem)/1 "Barlow Condensed", sans-serif;
    letter-spacing: 0;
  }
  body.neurona-v28 .simulator-nav__toggle {
    width: 3rem;
    height: 3rem;
  }
  body.neurona-v28 .simulator-nav__submenu { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .simulator-cards-v28__grid { grid-template-columns: 1fr; }
  .simulator-card-v28 { min-height: 12rem; }
  .forklift-mosaic figure { transform: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  a.simulator-card-v28,
  .forklift-mosaic figure { transition: none; }
}
