/* Neurona V14 — only the requested background, simulator, mobile, hardware and logo changes. */
:root { --v14-blue: #0d79f2; --v14-ink: #07101d; }

/* Supplied Fondo 15, exactly as delivered for each theme. */
.neurona-v14 .problem__photo {
  background: url("assets/reference-v14/background-15-dark.webp") center / cover no-repeat !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
}
.neurona-v14 .problem::after { display: none !important; }
html[data-theme="light"] .neurona-v14 .problem__photo {
  background-image: url("assets/reference-v14/background-15-light.webp") !important;
}

/* Logos always use their authored white/blue pixels, never colour filters. */
.neurona-v14 .site-header .brand__logo,
.neurona-v14 .site-footer .brand__logo,
.neurona-v14 .about-v14__logo {
  filter: none !important;
  mix-blend-mode: normal !important;
  opacity: 1 !important;
  transform: none !important;
}
html[data-theme="dark"] .neurona-v14 .brand__logo--dark,
html[data-theme="dark"] .neurona-v14 .about-v14__logo--dark { display: block !important; }
html[data-theme="dark"] .neurona-v14 .brand__logo--light,
html[data-theme="dark"] .neurona-v14 .about-v14__logo--light { display: none !important; }
html[data-theme="light"] .neurona-v14 .brand__logo--dark,
html[data-theme="light"] .neurona-v14 .about-v14__logo--dark { display: none !important; }
html[data-theme="light"] .neurona-v14 .brand__logo--light,
html[data-theme="light"] .neurona-v14 .about-v14__logo--light { display: block !important; }

/* A single small central signature and glow in both modes. */
.neurona-v14 .about-v6__signature::before,
.neurona-v14 .about-v6__signature::after { display: none !important; content: none !important; }
.neurona-v14 .about-v6__signature .about-composition__object {
  position: relative;
  display: grid;
  height: 22rem;
  place-items: center;
  background: none !important;
  background-image: none !important;
  filter: none !important;
}
.about-v14__glow {
  position: absolute;
  width: min(58%, 18rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(13, 121, 242, .78);
  filter: blur(54px);
  opacity: .64;
}
.about-v14__logo { position: relative; z-index: 1; width: min(72%, 24rem); height: auto; }

/* Desktop simulator title keeps its four authored lines. */
.neurona-v14 .simulator-showcase-v13__desktop-title > span {
  display: block;
  white-space: nowrap;
}
.neurona-v14 .simulator-showcase-v13__desktop-title > span:nth-child(4) { font-size: .82em; }
html[data-theme="light"] .neurona-v14 .simulator-showcase-v11--home .simulator-showcase-v11__cta {
  border-color: var(--v14-blue) !important;
  background: var(--v14-blue) !important;
  color: #fff !important;
}

/* Hardware: same outer container width, one neon edge, no item cards. */
@property --hardware-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.neurona-v14 .hardware-strip {
  padding-block: clamp(4rem, 7vw, 7rem);
  border: 0;
  background: #050b14;
}
.neurona-v14 .hardware-strip::before { display: none; }
.hardware-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5.5rem);
  border: 1px solid rgba(38, 117, 255, .5);
  border-radius: 2px;
  background:
    linear-gradient(rgba(38, 117, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 117, 255, .025) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(38, 117, 255, .08), transparent 42%),
    #07111f;
  background-size: 72px 72px, 72px 72px, auto, auto;
}
.hardware-section::before {
  position: absolute;
  inset: -1px;
  padding: 1px;
  background: conic-gradient(from var(--hardware-angle), transparent 0 73%, #78b7ff 78%, #2675ff 81%, transparent 87%);
  content: "";
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: hardware-edge 8s linear infinite;
}
@keyframes hardware-edge { to { --hardware-angle: 360deg; } }
.hardware-header { max-width: 600px; margin-bottom: clamp(3rem, 6vw, 5rem); }
.hardware-title {
  margin: 0;
  font: 400 clamp(3rem, 5vw, 5.125rem) / .92 var(--display-font);
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.hardware-title > span { display: inline; white-space: nowrap; }
.hardware-title__white { color: #f5f7fa; }
.hardware-title__blue { color: var(--v14-blue); }
.hardware-copy {
  max-width: 520px;
  margin-top: 1.25rem;
  color: rgba(245, 247, 250, .72);
  font-family: Poppins, sans-serif;
  font-size: clamp(.95rem, 1vw, 1.1rem);
  line-height: 1.65;
}
.hardware-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: end; gap: clamp(1.5rem, 4vw, 4rem); }
.hardware-item { position: relative; min-width: 0; padding: 0; border: 0 !important; background: none !important; box-shadow: none !important; text-align: left !important; }
.hardware-item::before { display: none !important; }
.hardware-visual { position: relative; display: grid; min-height: 15rem; place-items: center; }
.hardware-glow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(38, 117, 255, .24);
  filter: blur(44px);
  opacity: .65;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease, transform 300ms ease;
}
.neurona-v14 .hardware-image {
  position: relative;
  z-index: 2;
  width: min(100%, 270px);
  height: auto;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .38));
  transition: transform 300ms cubic-bezier(.22, 1, .36, 1);
}
.hardware-accent { width: 28px; height: 2px; margin: 1rem 0; background: #2675ff; transition: width 300ms cubic-bezier(.22, 1, .36, 1); }
.hardware-name { margin: 0; color: #f5f7fa; font: 600 .95rem / 1.3 Poppins, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.hardware-description { margin-top: .65rem; color: rgba(245, 247, 250, .62); font-family: Poppins, sans-serif; font-size: .85rem; line-height: 1.55; }
@media (hover: hover) {
  .hardware-item:hover .hardware-image { transform: translateY(-4px) !important; }
  .hardware-item:hover .hardware-glow { opacity: .9; transform: translate(-50%, -50%) scale(1.08); }
  .hardware-item:hover .hardware-accent { width: 48px; }
}
html[data-theme="light"] .neurona-v14 .hardware-strip { background: #e8edf3; }
html[data-theme="light"] .hardware-section {
  background:
    linear-gradient(rgba(13, 121, 242, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 121, 242, .035) 1px, transparent 1px),
    radial-gradient(circle at 50% 0%, rgba(38, 117, 255, .1), transparent 42%),
    #f4f7fb;
  background-size: 72px 72px, 72px 72px, auto, auto;
}
html[data-theme="light"] .hardware-title__white,
html[data-theme="light"] .hardware-name { color: #101827; }
html[data-theme="light"] .hardware-copy { color: #34435a; }
html[data-theme="light"] .hardware-description { color: #526077; }

@media (max-width: 900px) {
  .hardware-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 42rem) {
  /* Compact, thumb-scroll-friendly spacing around the experience passage. */
  .neurona-v14 .product-v11 { padding-bottom: 2rem !important; }
  .neurona-v14 .experience-v12__prelude { min-height: auto !important; padding-block: 3.5rem 2.25rem !important; }
  .neurona-v14 .experience__intro { margin-bottom: .75rem !important; }
  .neurona-v14 .experience-v12__prelude .text-tunnel__stage { height: 15rem !important; min-height: 15rem !important; }
  .neurona-v14 [data-tunnel-word] {
    width: auto !important;
    max-width: calc(100vw - 2.5rem) !important;
    font-size: clamp(2.55rem, 13vw, 4rem) !important;
    white-space: nowrap;
  }
  .neurona-v14 .experience .video-frame { margin-top: 0 !important; }

  /* Home simulator button is centered; desktop placement stays untouched. */
  .neurona-v14 .simulator-showcase-v11--home .simulator-showcase-v11__cta {
    left: 50% !important;
    right: auto !important;
    width: 86% !important;
    transform: translateX(-50%) !important;
  }

  /* Catalogue button sits in the reserved space beneath the forklift. */
  .neurona-v14 .simulator-showcase-v11--catalogue .simulator-showcase-v11__cta {
    left: 50% !important;
    right: auto !important;
    top: 42% !important;
    width: 82% !important;
    min-width: 0 !important;
    transform: translateX(-50%) !important;
  }

  .neurona-v14 .page-cta h2 { font-size: clamp(1.45rem, 6.6vw, 1.95rem) !important; line-height: .95; }
  .neurona-v14 .page-cta h2 > span { white-space: nowrap !important; }

  /* Contact title follows the same fluid container width as the other headings. */
  .neurona-v14 .contact__copy .display-heading { width: 100% !important; font-size: clamp(1.42rem, 6.4vw, 1.9rem) !important; }
  .neurona-v14 .contact__copy .display-heading > span { white-space: nowrap !important; }

  /* Less empty space in the opening view of Simuladores and Nosotros. */
  .neurona-v14 .subpage-hero { min-height: auto !important; padding: 6.25rem 0 3.25rem !important; }

  .hardware-section { padding: 2.5rem 1.35rem; }
  .hardware-header { margin-bottom: 2.5rem; }
  .hardware-title { font-size: clamp(2.25rem, 10vw, 3.25rem); }
  .hardware-title > span { display: block; }
  .hardware-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hardware-visual { min-height: 12.5rem; }
  .neurona-v14 .hardware-image { max-height: 12rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hardware-section::before { animation: none; }
  .hardware-image,
  .hardware-glow,
  .hardware-accent { transition: none !important; }
}
