/* Producto split LAB. The existing global canvas stays the only background. */
.tyturn-lab [data-gp-content] .hero.hero-editorial {
  min-height: var(--gp-height, 100svh);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 24px) 0 72px;
}
.hero-read-stage { position: relative; }
.hero-read-space { height: 100svh; }
.tyturn-lab[data-gp-motion="on"] .hero-read-stage .hero.hero-editorial { position: sticky; top: 0; z-index: 1; }
.hero-read-stage .hero-shell { transform: translateY(var(--hero-exit-offset,0px)); }
/* Local editorial handoff: a short vertical continuation of the existing node. */
.hero-bridge { position: absolute; top: calc(100% + 2px); left: 50%; width: 1px; height: clamp(40px,8svh,64px); pointer-events: none; background: #275a66; transform-origin: top; transform: translateX(-50%) scaleY(var(--hero-bridge-progress,0)); opacity: var(--hero-bridge-progress,0); }
.hero-bridge::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#5bcbd2,rgba(91,203,210,0)); box-shadow: 0 0 12px rgba(73,199,209,.32); }
.hero-editorial .hero-copy { max-width: 1120px; position: relative; }
.hero-editorial h1 { margin: 0; font-size: clamp(76px,8.5vw,123px); line-height: 1; letter-spacing: -.064em; }
.hero-editorial h1 em { display: block; }
.hero-editorial .hero-lead { max-width: 680px; margin-top: 28px; font-size: clamp(18px,1.55vw,21px); line-height: 1.58; }
.hero-editorial .hero-lead span { display: block; margin-top: 5px; color: #9fbdc6; }

/* Ruixen source: 550ms fade, move at 1200ms, blur reveal at 1800ms,
   left-origin highlight box at 2500ms. No recurring title roll. */
.hero-title-brand { display: block; white-space: nowrap; }
.hero-editorial .hero-title-highlight { position: relative; isolation: isolate; width: max-content; max-width: 100%; margin-inline: auto; white-space: nowrap; }
.hero-title-highlight > span { position: relative; z-index: 1; }
.hero-title-highlight::before {
  content: ""; position: absolute; inset: -.04em -.1em; border-radius: .14em;
  background: rgba(91,203,210,.09); border: 1px solid rgba(91,203,210,.18);
  transform-origin: left center; transform: scaleX(1); pointer-events: none;
}
.hero-title-animation.is-pending .hero-title-brand,
.hero-title-animation.is-pending .hero-title-highlight { opacity: 0; }
.hero-title-animation.is-revealing .hero-title-brand {
  animation: tyturn-hero-brand-fade 550ms ease-out both,
    tyturn-hero-brand-move 750ms 1200ms cubic-bezier(.22,1,.36,1) both;
}
.hero-title-animation.is-revealing .hero-title-highlight {
  animation: tyturn-hero-highlight-reveal 500ms 1800ms cubic-bezier(.25,.46,.45,.94) both;
}
.hero-title-animation.is-revealing .hero-title-highlight::before {
  animation: tyturn-hero-highlight-box 600ms 2500ms cubic-bezier(.22,1,.36,1) both;
}
.hero.is-motion-paused .hero-title-animation.is-revealing .hero-title-brand,
.hero.is-motion-paused .hero-title-animation.is-revealing .hero-title-highlight,
.hero.is-motion-paused .hero-title-animation.is-revealing .hero-title-highlight::before,
.hero.is-motion-paused .hero-thread-fill,
.hero.is-motion-paused .hero-thread-node { animation-play-state: paused; }

/* Exact values from Reservas V5.3's vertical line/node, scoped to the Hero.
   Reservas currently uses literal values rather than shared custom properties. */
.hero-thread {
  --hero-thread-track: #275a66; --hero-thread-fill: #5bcbd2;
  --hero-thread-glow: 0 0 12px rgba(73,199,209,.32);
  position: relative; width: 22px; height: 78px; margin: 30px auto -8px;
  opacity: var(--hero-thread-opacity,1);
}
.hero-thread-track { position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; transform: translateX(-50%); background: var(--hero-thread-track); }
.hero-thread-fill { position: absolute; inset: 0; display: block; background: var(--hero-thread-fill); box-shadow: var(--hero-thread-glow); transform: scaleY(1); transform-origin: top; }
.hero-thread-node { position: absolute; top: calc(100% - 2px); left: 50%; width: 13px; height: 13px; border-radius: 50%; border: 2px solid #4baeb9; transform: translate(-50%,-50%); background: #53cbd1; box-shadow: 0 0 0 5px #092d3b,0 0 20px #38bdc3; }
.hero-title-animation.is-pending ~ .hero-thread .hero-thread-fill { transform: scaleY(.08); }
.hero-title-animation.is-pending ~ .hero-thread .hero-thread-node { top: 2px; }
.hero-title-animation.is-revealing ~ .hero-thread .hero-thread-fill { animation: tyturn-hero-thread-fill 1.25s 520ms cubic-bezier(.2,.72,.2,1) both; }
.hero-title-animation.is-revealing ~ .hero-thread .hero-thread-node { animation: tyturn-hero-thread-node 1.25s 520ms cubic-bezier(.2,.72,.2,1) both; }

@keyframes tyturn-hero-brand-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes tyturn-hero-brand-move { from { transform: translateY(var(--hero-brand-offset-y,0px)); } to { transform: translateY(0); } }
@keyframes tyturn-hero-highlight-reveal { from { opacity: 0; filter: blur(8px); transform: translateY(14px); } to { opacity: 1; filter: blur(0); transform: translateY(0); } }
@keyframes tyturn-hero-highlight-box { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes tyturn-hero-thread-fill { from { transform: scaleY(.08); } to { transform: scaleY(1); } }
@keyframes tyturn-hero-thread-node { from { top: 2px; } to { top: calc(100% - 2px); } }

#contenido > .product-split { padding: 78px 0 44px; overflow: clip; background: transparent; }
.product-split-shell { width: min(1360px,calc(100% - 96px)); margin-inline: auto; }
.product-scene { display: grid; grid-template-columns: minmax(0,.83fr) minmax(0,1.5fr); align-items: center; gap: clamp(40px,4.5vw,72px); min-height: clamp(550px,90svh,700px); }
.product-editorial { position: relative; z-index: 1; }
.product-mode { display: block; margin: 0 0 21px; color: #78c8d0; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-editorial h2,.product-editorial h3 { margin: 0; color: #f2f8fa; font-size: clamp(42px,4.25vw,65px); line-height: 1.04; font-weight: 600; letter-spacing: -.055em; }
.product-editorial h2 span,.product-editorial h3 span { display: block; color: #68dadd; }
.product-editorial p { max-width: 390px; margin: 24px 0 0; color: #b5cad1; font-size: 16px; line-height: 1.7; }
.product-evidence { min-width: 0; margin: 0; }
.product-shot { display: block; position: relative; padding: 0; border: 1px solid rgba(120,196,207,.28); border-radius: 16px; background: #0b1b27; box-shadow: 0 30px 75px rgba(0,5,12,.36),0 1px 0 rgba(160,229,233,.1) inset; cursor: zoom-in; transition: border-color 180ms ease; }
.product-shot:hover { border-color: rgba(120,220,222,.65); }
.product-shot:focus-visible { outline: 2px solid #68dadd; outline-offset: 7px; }
.product-shot img { width: 100%; height: auto; display: block; }
.product-web-evidence { width: 100%; margin-inline-start: auto; perspective: none; translate: 0 4px; }
.product-web-shot { transform: none; transform-origin: center center; }
.product-web-window { display: block; overflow: hidden; border-radius: 15px; aspect-ratio: 1426 / 610; }
.product-inspect { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding: 12px 2px 0; color: #91b2bd; font-size: 11px; font-weight: 500; letter-spacing: .025em; }
.product-inspect span { color: #68dadd; font-size: 15px; }
.product-scene-pwa { grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: clamp(550px,90svh,700px); margin-top: 62px; padding-top: 40px; gap: clamp(55px,8vw,128px); }
.product-scene-pwa .product-editorial { grid-column: 2; grid-row: 1; max-width: 500px; }
.product-scene-pwa .product-editorial h3 { font-size: clamp(46px,4.6vw,66px); }
.product-scene-pwa .product-editorial p { max-width: 395px; }
.product-pwa-evidence { grid-column: 1; grid-row: 1; width: 210px; justify-self: center; }
.product-pwa-shot { border-radius: 25px; transform: rotate(-1deg); }
.product-pwa-crop { position: relative; display: block; width: 100%; aspect-ratio: 716 / 1386; overflow: hidden; border-radius: inherit; }
.product-pwa-crop img { position: absolute; top: -4.473304%; left: 0; width: 100%; height: auto; }
.product-capability-rail { display: flex; align-items: center; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin: 64px 0 0; padding: 22px 0; border-top: 1px solid rgba(120,196,207,.21); border-bottom: 1px solid rgba(120,196,207,.14); color: #bed1d7; font-size: 13px; font-weight: 500; }
.product-capability-rail span { display: inline-flex; align-items: center; min-height: 40px; box-sizing: border-box; padding: 9px 13px; border: 1px solid rgba(120,196,207,.18); border-radius: 11px; background: rgba(8,35,48,.58); }

/* Native dialogs use the approved real image and clean PWA crop. */
.product-zoom { width: min(1220px,calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 1px solid rgba(120,196,207,.3); border-radius: 16px; background: #061c2a; color: #f2f8fa; box-shadow: 0 32px 100px rgba(0,7,14,.55); }
.product-zoom::backdrop { background: rgba(2,10,19,.74); backdrop-filter: blur(5px); }
.product-zoom[open]:not(.is-closing) { animation: product-zoom-enter 240ms cubic-bezier(.22,1,.36,1) both; }
.product-zoom[open]:not(.is-closing)::backdrop { animation: product-backdrop-enter 240ms ease-out both; }
.product-zoom.is-closing::backdrop { animation: product-backdrop-exit 190ms ease-in both; }
@keyframes product-zoom-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes product-backdrop-enter { from { background: rgba(2,10,19,0); backdrop-filter: blur(0); } to { background: rgba(2,10,19,.74); backdrop-filter: blur(5px); } }
@keyframes product-backdrop-exit { from { background: rgba(2,10,19,.74); backdrop-filter: blur(5px); } to { background: rgba(2,10,19,0); backdrop-filter: blur(0); } }
.product-zoom-header { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 6px 0 18px; color: #b5cad1; font-size: 12px; }
.product-zoom-close { width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: #e4f4f6; font-family: inherit; font-size: 28px; line-height: 1; cursor: pointer; }
.product-zoom-close:focus-visible { outline: 2px solid #68dadd; outline-offset: -5px; }
.product-zoom-scroll { max-height: calc(100dvh - 82px); overflow: auto; overscroll-behavior: contain; scrollbar-width: none; touch-action: pan-x pan-y; }
.product-zoom-scroll::-webkit-scrollbar { display: none; }
.product-zoom-scroll > img { width: 100%; height: auto; display: block; }
.product-zoom-pwa { width: min(360px,calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); max-height: calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
.product-zoom-pwa .product-zoom-scroll { max-height: calc(100dvh - 74px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); touch-action: pan-y; }
.product-zoom-pwa .product-pwa-crop { border-radius: 0; }

@media (min-width:1600px) { .product-pwa-evidence { width: 230px; } }
@media (max-width:1000px) and (min-width:761px) {
  .product-split-shell { width: calc(100% - 64px); }
  .product-scene { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: 28px; }
  .product-editorial h2 { font-size: 42px; }
  .product-web-evidence { width: 100%; translate: 0 8px; }
  .product-capability-rail { gap: 10px; font-size: 11px; }
}
@media (max-width:760px) {
  .product-split { --product-web-pan: -2.5%; }
  .hero-read-space { height: clamp(110px,24svh,200px); }
  .tyturn-lab [data-gp-content] .hero.hero-editorial { padding: calc(var(--header-height) + 20px) 0 88px; }
  .hero-editorial .hero-shell { width: calc(100% - 40px); }
  .hero-editorial h1 { font-size: clamp(56px,16.55vw,79px); line-height: 1.04; }
  .hero-editorial .hero-lead { max-width: 330px; margin-top: 24px; font-size: 16.5px; line-height: 1.58; }
  .hero-editorial .hero-lead span { margin-top: 7px; }
  .hero-thread { height: 72px; margin-top: 28px; }
  .hero-thread-node { width: 11px; height: 11px; }
  #contenido > .product-split { padding: 62px 0 32px; }
  .product-split-shell { width: calc(100% - 44px); }
  .product-scene { display: flex; flex-direction: column; align-items: stretch; gap: 30px; min-height: 0; }
  .product-mode { margin-bottom: 16px; font-size: 10px; }
  .product-editorial h2,.product-scene-pwa .product-editorial h3 { font-size: clamp(40px,11.8vw,55px); line-height: 1.06; }
  .product-editorial p { margin-top: 20px; font-size: 15px; line-height: 1.65; }
  .product-web-evidence { width: 100%; perspective: none; translate: none; }
  .product-web-shot { transform: none; border-radius: 12px; }
  .product-web-window { position: relative; aspect-ratio: 16 / 10; border-radius: 11px; }
  /* Source is 1426px wide; the upcoming-turns panel begins beyond x=1074. */
  .product-web-window img { position: absolute; width: 138%; max-width: none; height: auto; top: 50%; left: 0; transform: translate(var(--product-web-pan),-50%); }
  .product-inspect { padding-top: 11px; font-size: 10px; }
  .product-scene-pwa { margin-top: 76px; padding-top: 0; gap: 30px; }
  .product-pwa-evidence { width: min(260px,86%); align-self: center; }
  .product-pwa-shot { transform: none; }
  .product-capability-rail { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: stretch; gap: 10px; margin-top: 48px; padding: 24px 0; font-size: 11px; line-height: 1.4; }
  .product-capability-rail span { min-width: 0; min-height: 48px; }
  .product-zoom { border-radius: 14px; }
  .product-zoom-pwa { width: min(426px,calc(100% - 24px - env(safe-area-inset-left) - env(safe-area-inset-right))); }
  .product-zoom-web .product-zoom-scroll > img { width: 850px; max-width: none; transform: translateX(var(--product-web-pan)); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-read-space { height: 0; }
  .hero-read-stage .hero-shell { transform: none; }
  .tyturn-lab .hero-read-stage .hero.hero-editorial { position: relative; top: auto; }
  .hero-bridge { display: none; }
  .hero-title-animation .hero-title-brand,
  .hero-title-animation .hero-title-highlight,
  .hero-title-animation .hero-title-highlight::before,
  .hero-title-animation ~ .hero-thread .hero-thread-fill,
  .hero-title-animation ~ .hero-thread .hero-thread-node { animation: none !important; opacity: 1 !important; filter: none !important; }
  .hero-title-animation .hero-title-brand,.hero-title-animation .hero-title-highlight { transform: none !important; }
  .hero-title-animation .hero-title-highlight::before { transform: scaleX(1) !important; }
  .hero-title-animation ~ .hero-thread .hero-thread-fill { transform: scaleY(1) !important; }
  .hero-title-animation ~ .hero-thread .hero-thread-node { top: calc(100% - 2px) !important; }
  .product-shot { transition: none; }
  .product-zoom[open],.product-zoom[open]::backdrop { animation: none !important; }
  .product-web-shot,.product-pwa-shot { transform: none; }
  .product-split .reveal { opacity: 1; transform: none; transition: none; }
}
