@font-face { font-family: "Bariol"; src: url("/web/content/3430?unique=8f21fe47") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
/* TERA · home 2026
   Layout: fondo de vidrio en el hero, tarjetas apiladas, línea de proceso fija, cooperativa con paleta de 8 colores.
   Todo vive bajo .tr para no chocar con Bootstrap/Odoo. */
.tr {
  --bg: #23272E;
  --bg-2: #2A2F37;
  --surface: #30353D;          /* gris de marca */
  --surface-2: #383D46;
  --line: rgba(236, 232, 227, .10);
  --line-2: rgba(236, 232, 227, .18);
  --ink: #ECE8E3;
  --ink-2: #B9BCC2;
  --mute: #8C9199;
  --paper: #E8E4DE;
  --paper-ink: #30353D;
  --orange: #F14A1F;           /* naranja de marca */
  --orange-2: #FF6A3D;
  --c1: #ED1443; --c2: #F14A1F; --c3: #F9A90C; --c4: #F4C635;
  --c5: #83CB27; --c6: #7DD3CE; --c7: #3A71C1; --c8: #9484C8;
  --f-display: "Bariol", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --nav-bg: rgba(35, 39, 46, .82);
  --hero-shade: 35, 39, 46;
  --pane-a: rgba(35,39,46,.62); --pane-b: rgba(35,39,46,.38);
  --coop-bg: #1E2228;
  --value-bg: rgba(48, 53, 61, .7);
  --tile-meta: #5D626A;
  --ghost-bg: rgba(35, 39, 46, .35);
  --net-filter: none; --net-op: .28;
  --navh: 68px;
  --gut: max(20px, env(safe-area-inset-left, 0px));
  --max: 1240px;
  --r: 14px;
  color-scheme: dark;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
.tr *, .tr *::before, .tr *::after { box-sizing: border-box; }
.tr img, .tr video, .tr canvas { max-width: 100%; display: block; }
.tr a { color: inherit; text-decoration: none; }
.tr :focus-visible { outline: 2px solid var(--orange-2); outline-offset: 3px; border-radius: 4px; }
.tr h1, .tr h2, .tr h3, .tr h4, .tr p, .tr ul, .tr ol, .tr dl, .tr dd, .tr figure { margin: 0; padding: 0; }
.tr ul, .tr ol { list-style: none; }
.tr h1, .tr h2, .tr h3 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; letter-spacing: -.01em; font-weight: 400; font-synthesis: none; }
.tr .tr-wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-left: var(--gut); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.tr .tr-eyebrow { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); display: flex; align-items: center; gap: 10px; }
.tr .tr-eyebrow::before { content: ""; width: 7px; height: 7px; background: currentColor; flex: none; }
.tr .tr-h2 { font-size: clamp(32px, 4.4vw, 56px); line-height: 1.04; }
.tr .tr-lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 58ch; }
.tr .tr-sec { padding-block: clamp(80px, 11vw, 140px); position: relative; scroll-margin-top: var(--navh); }
.tr .tr-sec__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.tr .tr-sec__head--split { grid-template-columns: 1fr auto; align-items: end; }
.tr .tr-note { font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* Botones */
.tr .tr-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .01em; transition: background .2s, color .2s, border-color .2s, transform .2s; border: 1px solid transparent; cursor: pointer; }
.tr .tr-btn--solid { background: var(--orange); color: #fff; }
.tr .tr-btn--solid:hover { color: #fff; }
.tr .tr-btn--solid:hover { background: var(--orange-2); }
.tr .tr-btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--ghost-bg); }
.tr .tr-btn--ghost:hover { border-color: var(--ink-2); }
.tr .tr-arrow { width: 16px; height: 16px; flex: none; transition: transform .2s; }
.tr a:hover > .tr-arrow { transform: translateX(3px); }

/* ---------- Navegación ---------- */
.tr .tr-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: calc(var(--navh) + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.tr .tr-nav.is-solid { background: var(--nav-bg); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); border-bottom-color: var(--line); }
.tr .tr-nav__in { height: var(--navh); display: flex; align-items: center; gap: 28px; }
.tr .tr-logo { display: inline-flex; color: var(--ink); }
.tr .tr-logo__svg { height: 34px; width: auto; }
.tr .tr-nav__links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; color: var(--ink-2); }
.tr .tr-nav__links a { padding-block: 8px; transition: color .2s; }
.tr .tr-nav__links a:hover { color: var(--ink); }
.tr .tr-nav__sep { width: 1px; height: 18px; background: var(--line-2); align-self: center; }
.tr .tr-nav__links .tr-nav__aux { color: var(--mute); }
.tr .tr-nav__cta { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.tr .tr-theme { flex: none; width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); display: inline-grid; place-items: center; cursor: pointer; transition: background-color .2s, border-color .2s; }
.tr .tr-theme:hover { background: var(--ghost-bg); border-color: var(--ink-2); }
.tr .tr-theme:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.tr .tr-theme svg { width: 18px; height: 18px; grid-area: 1 / 1; transition: opacity .3s, transform .5s cubic-bezier(.2,.8,.2,1); }
.tr .tr-theme__moon { opacity: 0; transform: rotate(-90deg) scale(.6); }
.tr[data-theme="light"] .tr-theme__sun { opacity: 0; transform: rotate(90deg) scale(.6); }
.tr[data-theme="light"] .tr-theme__moon { opacity: 1; transform: none; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; }
.tr .tr-nav__burger { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.tr .tr-nav__burger span, .tr .tr-nav__burger span::before, .tr .tr-nav__burger span::after { display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background .25s; }
.tr .tr-nav__burger span::before, .tr .tr-nav__burger span::after { content: ""; position: absolute; left: 0; }
.tr .tr-nav__burger span::before { top: -6px; } .tr .tr-nav__burger span::after { top: 6px; }
.tr .tr-nav.is-open .tr-nav__burger span { background: transparent; }
.tr .tr-nav.is-open .tr-nav__burger span::before { transform: translateY(6px) rotate(45deg); }
.tr .tr-nav.is-open .tr-nav__burger span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.tr .tr-hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; overflow: hidden; background: var(--surface); }
.tr .tr-hero__media { position: absolute; inset: 0; z-index: -2; background: var(--surface) var(--poster) center / cover no-repeat; }
.tr .tr-hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s ease; }
.tr .tr-hero__media video.is-on { opacity: 1; }
.tr .tr-hero__media { transition: background-image .4s; }
/* Vidrio esmerilado detrás del texto: translúcido, sin canales ni borde; el canto se desvanece */
.tr .tr-hero__pane { position: absolute; z-index: -1; inset: 0 46% 0 0; background: linear-gradient(90deg, var(--pane-a), var(--pane-b)); backdrop-filter: blur(14px) saturate(1.15); -webkit-backdrop-filter: blur(14px) saturate(1.15); -webkit-mask: linear-gradient(90deg, #000 70%, transparent); mask: linear-gradient(90deg, #000 70%, transparent); pointer-events: none; }
.tr .tr-hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(var(--hero-shade),.55) 0%, transparent 22%, transparent 62%, rgba(var(--hero-shade),.9) 100%); pointer-events: none; }
.tr .tr-hero__in { padding-top: calc(var(--navh) + clamp(80px, 14vh, 160px)); padding-bottom: clamp(36px, 6vh, 64px); display: grid; gap: 26px; }
.tr .tr-hero__text { max-width: 600px; display: grid; gap: 24px; }
.tr .tr-h1 { font-size: clamp(50px, 8vw, 112px); line-height: .94; letter-spacing: -.02em; font-weight: 400; }
.tr .tr-h1 em { font-style: normal; color: var(--orange-2); }
.tr .tr-hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 46ch; }
.tr .tr-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.tr .tr-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); margin-top: clamp(40px, 8vh, 96px); }
.tr .tr-stat { padding: 22px 20px 4px 0; display: grid; gap: 4px; }
.tr .tr-stat + .tr-stat { padding-left: 20px; border-left: 1px solid var(--line); }
.tr .tr-stat dt { font-family: var(--f-display); font-size: clamp(28px, 3.2vw, 42px); font-weight: 400; letter-spacing: -.01em; color: var(--ink); font-variant-numeric: tabular-nums; }
.tr .tr-stat dd { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }

/* ---------- Servicios: tarjetas apiladas ---------- */
.tr .tr-services { background: var(--bg); }
.tr .tr-stack { display: grid; gap: 34vh; }
.tr .tr-card { --p: 0; position: sticky; top: calc(var(--navh) + 20px + var(--i) * 18px); display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: start; gap: clamp(24px, 4vw, 56px); padding: clamp(24px, 3.4vw, 44px); min-height: min(520px, calc(100svh - var(--navh) - 80px)); background: var(--surface); border: 1px solid var(--line); border-radius: 20px; transform-origin: 50% 0; transform: scale(calc(1 - var(--p) * .05)); filter: brightness(calc(1 - var(--p) * .38)); box-shadow: 0 -18px 40px -24px rgba(0,0,0,.6); will-change: transform; }
.tr .tr-card__info { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tr .tr-card__num { font-family: var(--f-mono); font-size: 14px; color: var(--orange-2); letter-spacing: .08em; }
.tr .tr-card__title { font-size: clamp(28px, 3.2vw, 42px); line-height: 1.05; }
.tr .tr-card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tr .tr-card__tags li { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.tr .tr-card__body { display: grid; gap: 12px; color: var(--ink-2); max-width: 52ch; }
.tr .tr-card__body strong { color: var(--ink); font-weight: 600; }
.tr .tr-card__link { margin-top: 8px; display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--orange); padding-bottom: 4px; width: fit-content; }
.tr .tr-card__link:hover { color: var(--orange-2); }
.tr .tr-card__img { border-radius: 12px; overflow: hidden; background: #111; aspect-ratio: 4 / 3; }
.tr .tr-card__img img { width: 100%; height: 100%; object-fit: cover; }
.tr .tr-stack__end { height: 8vh; }
.tr .tr-marquee { margin-top: clamp(48px, 6vw, 80px); border-block: 1px solid var(--line); overflow: hidden; font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.tr .tr-marquee__track { display: flex; width: max-content; animation: tr-marquee 38s linear infinite; }
.tr .tr-marquee__track span { padding: 18px 22px; white-space: nowrap; }
.tr .tr-marquee__track span::after { content: "//"; margin-left: 44px; color: var(--line-2); }
@keyframes tr-marquee { to { transform: translateX(-50%); } }

/* ---------- Clientes ---------- */
.tr .tr-clients { background: var(--bg-2); }
.tr .tr-featured { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.tr .tr-logos { --cols: 6; --g: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.tr .tr-logos > * { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--g)) / var(--cols)); min-width: 0; }
.tr .tr-tile { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; background: var(--paper); border-radius: 12px; padding: 18px 22px; transition: transform .25s, box-shadow .25s; }
.tr .tr-tile img { max-height: 52px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.05); opacity: .78; transition: filter .3s, opacity .3s; }
.tr .tr-tile--lg { aspect-ratio: auto; min-height: 168px; flex-direction: column; gap: 18px; padding: 26px; align-items: flex-start; justify-content: space-between; }
.tr .tr-tile--lg img { max-height: 58px; max-width: 70%; }
.tr .tr-tile:hover, .tr .tr-tile:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px -18px rgba(0,0,0,.7); }
.tr .tr-tile:hover img, .tr .tr-tile:focus-visible img { filter: none; opacity: 1; }
@media (hover: none) { .tr .tr-tile img { filter: none; opacity: 1; } }
.tr .tr-tile .tr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Proceso ---------- */
/* modo animado: lo activa el JS */

/* ---------- Productos ---------- */
.tr .tr-products { background: var(--bg-2); }
.tr .tr-prods { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tr .tr-prod { display: flex; flex-direction: column; gap: 12px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); min-width: 0; }
.tr .tr-prod h3 { font-size: 24px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tr .tr-prod p { color: var(--ink-2); font-size: 15.5px; flex: 1; }
.tr .tr-prod__badge { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #fff; background: var(--orange); border-radius: 999px; padding: 3px 9px; }
.tr .tr-prod a { font-weight: 600; font-size: 15px; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.tr .tr-prod a:hover { color: var(--orange-2); }

/* ---------- Cooperativa ---------- */
.tr .tr-coop { background: var(--coop-bg); overflow: clip; }
.tr .tr-coop__bg { position: absolute; inset: 0; background-attachment: scroll; background-size: cover; background-position: center; opacity: var(--net-op); filter: var(--net-filter); pointer-events: none; -webkit-mask: radial-gradient(80% 70% at 70% 40%, #000, transparent); mask: radial-gradient(80% 70% at 70% 40%, #000, transparent); }
.tr .tr-coop__pin { position: relative; display: grid; gap: clamp(28px, 3.6vh, 48px); }
.tr .tr-coop__quote { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.02; letter-spacing: -.015em; max-width: 17ch; }
.tr .tr-coop__quote .w { transition: opacity .35s, color .35s; }
.tr .tr-coop__quote .w--hl { color: var(--orange-2); }
.tr .tr-coop__intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: end; }
.tr .tr-coop__text { color: var(--ink-2); display: grid; gap: 14px; max-width: 56ch; font-size: 17px; }
.tr .tr-palette { display: grid; gap: 14px; }
.tr .tr-palette__dots { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; max-width: 420px; }
.tr .tr-palette__dots i { aspect-ratio: 1; border-radius: 50%; background: var(--c); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .6s; }
.tr .tr-palette__dots i:last-child { box-shadow: 0 0 0 2px var(--coop-bg), 0 0 0 3px var(--ink-2); }
.tr .tr-palette p { font-size: 14px; color: var(--mute); max-width: 44ch; }
.tr.tr-anim .tr-coop { height: 190vh; padding-block: 0; }
.tr.tr-anim .tr-coop__pin { position: sticky; top: var(--navh); min-height: calc(100svh - var(--navh)); align-content: center; padding-block: 40px; }
.tr.tr-anim .tr-coop__quote .w { opacity: .16; }
.tr.tr-anim .tr-coop__quote .w.is-on { opacity: 1; }
.tr.tr-anim .tr-palette__dots i { transform: translate(var(--dx), var(--dy)) scale(.6); opacity: .0; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i { transform: none; opacity: 1; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(2) { transition-delay: .05s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(3) { transition-delay: .1s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(4) { transition-delay: .15s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(5) { transition-delay: .2s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(6) { transition-delay: .25s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(7) { transition-delay: .3s; }
.tr.tr-anim .tr-palette.is-on .tr-palette__dots i:nth-child(8) { transition-delay: .45s; }

/* ---------- Contacto ---------- */
.tr .tr-contact { background: var(--surface); text-align: center; overflow: clip; }
.tr .tr-contact__bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: calc(var(--net-op) * .8); filter: var(--net-filter); pointer-events: none; }
.tr .tr-contact__in { position: relative; display: grid; justify-items: center; gap: 22px; }
.tr .tr-contact__in .tr-eyebrow { justify-content: center; }
.tr .tr-contact h2 { font-size: clamp(58px, 9.5vw, 136px); line-height: .95; letter-spacing: -.02em; }
.tr .tr-contact__lead { color: var(--ink-2); font-size: 18px; max-width: 44ch; }
.tr .tr-contact__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.tr .tr-contact__direct { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-family: var(--f-mono); font-size: 13.5px; color: var(--ink-2); margin-top: 6px; }
.tr .tr-contact__direct a:hover { color: var(--ink); }

/* ---------- Footer ---------- */
.tr .tr-foot { background: var(--bg); border-top: 1px solid var(--line); padding-block: 40px calc(32px + env(safe-area-inset-bottom, 0px)); }
.tr .tr-foot__in { display: grid; grid-template-columns: auto 1fr auto; gap: 24px 40px; align-items: center; }
.tr .tr-foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); justify-content: center; }
.tr .tr-foot nav a:hover { color: var(--ink); }
.tr .tr-social { display: flex; gap: 8px; }
.tr .tr-social a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink-2); transition: color .2s, border-color .2s; }
.tr .tr-social a:hover { color: var(--ink); border-color: var(--ink-2); }
.tr .tr-social svg { width: 17px; height: 17px; }
.tr .tr-foot__legal { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--mute); padding-top: 22px; border-top: 1px solid var(--line); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .tr .tr-logos { --cols: 4; }
  .tr .tr-prods { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .tr { --navh: 62px; }
  .tr .tr-nav__burger { display: inline-flex; margin-left: 0; }
  .tr .tr-theme { margin-left: auto; }
  .tr .tr-nav__links, .tr .tr-nav__cta { display: none; }
  .tr .tr-nav.is-open { background: var(--bg); }
  .tr .tr-nav.is-open .tr-nav__links { display: grid; position: fixed; top: calc(var(--navh) + env(safe-area-inset-top, 0px)); left: 0; right: 0; bottom: 0; background: var(--bg); padding: 24px var(--gut); gap: 4px; font-size: 22px; font-family: var(--f-display); color: var(--ink); align-content: start; }
  .tr .tr-nav.is-open .tr-nav__links a { padding-block: 14px; border-bottom: 1px solid var(--line); }
  .tr .tr-nav__sep { display: none; }
  .tr .tr-card { grid-template-columns: 1fr; min-height: 0; top: calc(var(--navh) + 12px + var(--i) * 12px); }
  .tr .tr-stack { gap: 22vh; }
  .tr .tr-card__img { order: -1; aspect-ratio: 16 / 9; }
  .tr .tr-card__body { margin-top: 0; }
  .tr .tr-sec__head--split { grid-template-columns: 1fr; }
  .tr .tr-featured { grid-template-columns: 1fr; }
  .tr .tr-tile--lg { min-height: 0; flex-direction: row; align-items: center; }
  .tr .tr-tile--lg img { max-width: 55%; max-height: 44px; }
  .tr .tr-coop__intro { grid-template-columns: 1fr; }
  .tr .tr-foot__in { grid-template-columns: 1fr; justify-items: start; }
  .tr .tr-foot nav { justify-content: flex-start; }
  .tr .tr-hero__pane { inset: 0 0 34% 0; background: linear-gradient(180deg, var(--pane-a), var(--pane-b)); -webkit-mask: linear-gradient(180deg, #000 70%, transparent); mask: linear-gradient(180deg, #000 70%, transparent); }
  .tr.tr-anim .tr-coop { height: auto; }
  .tr.tr-anim .tr-coop__pin { position: static; min-height: 0; padding-block: clamp(80px, 11vw, 140px); }
}
@media (max-width: 560px) {
  .tr .tr-logos { --cols: 2; --g: 10px; }
  .tr .tr-prods { grid-template-columns: 1fr; }
  .tr .tr-stats { grid-template-columns: 1fr 1fr; }
  .tr .tr-stat:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .tr .tr-hero__ctas .tr-btn { flex: 1 1 auto; justify-content: center; }
  .tr .tr-tile { padding: 14px 16px; }
  .tr .tr-tile img { max-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .tr .tr-marquee__track { animation: none; }
  .tr .tr-card { transform: none; filter: none; }
  .tr *, .tr *::before, .tr *::after { transition-duration: .01ms !important; }
}

/* Odoo: en esta página ocultamos el header/footer del tema, la home trae los suyos */
body:has(.tr) #wrapwrap > header, body:has(.tr) #wrapwrap > footer { display: none !important; }
body:has(.tr) #wrapwrap, body:has(.tr) main { background: #23272E; }
body:has(.tr[data-theme="light"]) #wrapwrap, body:has(.tr[data-theme="light"]) main { background: #CEC8C1; }
body:has(.tr) .o_footer_copyright { display: none !important; }

/* Tero 3D */
.tr .tr-tero { position: relative; background: radial-gradient(70% 60% at 50% 70%, #2a160c, #0b0908 70%); touch-action: pan-y; cursor: grab; }
.tr .tr-tero:active { cursor: grabbing; }
.tr .tr-tero img { transition: opacity .6s; }
.tr .tr-tero__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.tr .tr-tero.is-live img { opacity: 0; }

/* ---------- Marco de foto (punteado con cruces en las esquinas) ---------- */
.tr .tr-frame { --x: var(--ink-2); position: relative; margin: 0; padding: 10px; border: 1px dashed var(--line-2); border-radius: 2px; background: none; overflow: visible; aspect-ratio: auto; display: grid; }
.tr .tr-frame::before { content: ""; position: absolute; inset: -7px; pointer-events: none;
  background:
    linear-gradient(var(--x), var(--x)) 0 6px / 13px 1px, linear-gradient(var(--x), var(--x)) 6px 0 / 1px 13px,
    linear-gradient(var(--x), var(--x)) 100% 6px / 13px 1px, linear-gradient(var(--x), var(--x)) calc(100% - 6px) 0 / 1px 13px,
    linear-gradient(var(--x), var(--x)) 0 calc(100% - 6px) / 13px 1px, linear-gradient(var(--x), var(--x)) 6px 100% / 1px 13px,
    linear-gradient(var(--x), var(--x)) 100% calc(100% - 6px) / 13px 1px, linear-gradient(var(--x), var(--x)) calc(100% - 6px) 100% / 1px 13px;
  background-repeat: no-repeat; opacity: .7; }
.tr .tr-frame__in { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: #15171B; border-radius: 2px; }
.tr .tr-frame__in > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s cubic-bezier(.2,.8,.2,1); }
.tr .tr-frame.is-in .tr-frame__in > img, .tr:not(.tr-anim) .tr-frame__in > img { transform: none; }
.tr .tr-card .tr-frame__in.tr-tero { background: radial-gradient(70% 60% at 50% 70%, #2a160c, #0b0908 70%); }

/* ---------- Clientes: logos ---------- */
.tr .tr-featured { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tr .tr-tile--lg { min-height: 150px; align-items: center; justify-content: center; }
.tr .tr-tile__go { position: absolute; top: 14px; right: 14px; width: 14px; height: 14px; color: var(--tile-meta); opacity: 0; transform: translate(-4px, 4px); transition: opacity .25s, transform .25s; }
.tr .tr-tile__go svg { width: 100%; height: 100%; display: block; }
.tr .tr-tile:hover .tr-tile__go, .tr .tr-tile:focus-visible .tr-tile__go { opacity: 1; transform: none; }

/* ---------- Proceso: línea temporal, el diagnóstico primero y destacado ---------- */
.tr .tr-process { background: var(--bg); }
.tr .tr-process__pin { display: grid; gap: clamp(28px, 4.2vh, 44px); }
.tr .tr-steps { --pp: 1; position: relative; list-style: none; margin: 0; padding: 40px 0 0; display: grid; grid-template-columns: minmax(0, 2.1fr) repeat(3, minmax(0, 1fr)); gap: clamp(20px, 2.6vw, 36px); }
.tr .tr-steps__rail { position: absolute; left: 0; right: 0; top: 6px; height: 1px; border-top: 1px dashed var(--line-2); }
.tr .tr-steps__fill { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--orange); transform-origin: 0 50%; transform: scaleX(var(--pp)); }
.tr .tr-step { position: relative; display: grid; gap: 12px; align-content: start; }
.tr .tr-step::before { content: ""; position: absolute; top: -40px; left: 0; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .35s, border-color .35s, transform .5s cubic-bezier(.2,.9,.25,1.5); }
.tr .tr-step.is-on::before { background: var(--orange); border-color: var(--orange); }
.tr .tr-step__n { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tr .tr-step h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.tr .tr-step p { color: var(--ink-2); font-size: 15.5px; max-width: 36ch; }
.tr .tr-step--key { padding: clamp(22px, 2.4vw, 32px); margin-top: -12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.tr .tr-step--key::before { top: -28px; left: clamp(22px, 2.4vw, 32px); width: 15px; height: 15px; margin-top: -2px; }
.tr .tr-step--key .tr-step__n { color: var(--orange-2); }
.tr .tr-step--key h3 { font-size: clamp(30px, 3vw, 42px); }
.tr .tr-step--key p { max-width: 58ch; font-size: 16px; }
.tr .tr-step__out { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tr .tr-step__out li { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 999px; }
.tr .tr-process__close { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-top: 28px; border-top: 1px dashed var(--line-2); }
.tr .tr-process__close p { font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 30px); }
.tr.tr-anim .tr-process { height: 260vh; padding-block: 0; }
.tr.tr-anim .tr-process__pin { position: sticky; top: var(--navh); min-height: calc(100svh - var(--navh)); align-content: center; padding-block: 32px; }
.tr.tr-anim .tr-step { opacity: .28; transform: translateY(18px); transition: opacity .5s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.tr.tr-anim .tr-step.is-on { opacity: 1; transform: none; }
.tr.tr-anim .tr-step::before { transform: scale(.7); }
.tr.tr-anim .tr-step.is-on::before { transform: scale(1); }
.tr.tr-anim .tr-process__close { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .7s cubic-bezier(.2,.8,.2,1); }
.tr.tr-anim .tr-process__close.is-on { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .tr .tr-steps { grid-template-columns: 1fr; gap: 34px; padding: 0 0 0 34px; }
  .tr .tr-steps__rail { top: 0; bottom: 0; left: 6px; right: auto; width: 1px; height: auto; border-top: 0; border-left: 1px dashed var(--line-2); }
  .tr .tr-steps__fill { top: 0; bottom: 0; left: -1px; right: auto; width: 1px; height: auto; transform-origin: 50% 0; transform: scaleY(var(--pp)); }
  .tr .tr-step::before { top: 4px; left: -34px; }
  .tr .tr-step--key { margin-top: 0; }
  .tr .tr-step--key::before { top: 26px; left: -35px; }
  .tr.tr-anim .tr-process { height: auto; padding-block: clamp(80px, 11vw, 140px); }
  .tr.tr-anim .tr-process__pin { position: static; min-height: 0; padding-block: 0; }
}

/* ---------- FACT[TIC] ---------- */
.tr .tr-coop__fed { display: inline-block; width: min(260px, 70%); margin-top: 6px; color: var(--ink); opacity: .9; transition: opacity .2s; }
.tr .tr-coop__fed:hover { opacity: 1; }
.tr .tr-facttic { display: block; width: 100%; height: auto; }
.tr .tr-facttic g { opacity: .92; }

/* ---------- Valores: cada palabra se escribe y su punto recorre la línea con el scroll ---------- */
.tr .tr-vals { background: var(--bg); }
.tr .tr-vals__pin { display: grid; gap: clamp(20px, 3vh, 36px); }
.tr .tr-vals__list { display: grid; gap: clamp(18px, 4vh, 44px); }
.tr .tr-val { --q: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 32ch); column-gap: 40px; align-items: end; }
.tr .tr-val__rule { grid-column: 1 / -1; position: relative; height: 13px; margin-bottom: 14px; }
.tr .tr-val__rule::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; border-top: 1px dashed var(--line-2); }
.tr .tr-val__rule::after { content: ""; position: absolute; left: 0; top: 6px; height: 1px; width: 100%; background: var(--c); transform-origin: 0 50%; transform: scaleX(var(--q)); }
.tr .tr-val__rule i { position: absolute; top: 0; left: calc(var(--q) * (100% - 13px)); width: 13px; height: 13px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 5px var(--bg); }
.tr .tr-val__w { font-family: var(--f-display); font-weight: 400; font-size: clamp(44px, 8.4vw, 132px); line-height: .95; letter-spacing: -.025em; }
.tr .tr-val__w .l { transition: color .25s; }
.tr.tr-anim .tr-val__w .l { color: var(--line-2); }
.tr.tr-anim .tr-val__w .l.is-on { color: var(--ink); }
.tr .tr-val p { color: var(--ink-2); font-size: 16.5px; padding-bottom: .6em; transition: opacity .5s, transform .5s; }
.tr.tr-anim .tr-val:not(.is-done) p { opacity: 0; transform: translateY(10px); }
.tr.tr-anim .tr-vals { height: 320vh; padding-block: 0; }
.tr.tr-anim .tr-vals__pin { position: sticky; top: var(--navh); min-height: calc(100svh - var(--navh)); align-content: center; padding-block: 32px; }
@media (max-width: 900px) {
  .tr .tr-featured { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tr .tr-card .tr-frame__in { aspect-ratio: 16 / 9; }
  .tr .tr-val { grid-template-columns: 1fr; row-gap: 10px; }
  .tr.tr-anim .tr-vals { height: auto; padding-block: clamp(80px, 11vw, 140px); }
  .tr.tr-anim .tr-vals__pin { position: static; min-height: 0; padding-block: 0; }
}

/* ---------- Versión clara (data-theme="light"; lo pone el script inline según la elección guardada o el sistema) ----------
   Gris claro y violeta del tema "Blanco" del shader Vidrio Ámbar: #CEC8C1 (espejo del gris de marca) y #928BC3. */
.tr[data-theme="light"] {
  --bg: #CEC8C1; --bg-2: #C6C0B8; --surface: #E3DFDA; --surface-2: #B9B3AB;
  --line: rgba(35, 39, 46, .12); --line-2: rgba(35, 39, 46, .22);
  --ink: #23272E; --ink-2: #41464E; --mute: #5C6169;
  --paper: #F3F1EE;
  --orange: #7A70BE; --orange-2: #5B51A3;
  --nav-bg: rgba(206, 200, 193, .86);
  --hero-shade: 206, 200, 193;
  --pane-a: rgba(206,200,193,.62); --pane-b: rgba(206,200,193,.38);
  --coop-bg: #C3BDB5; --value-bg: rgba(227, 223, 218, .82);
  --tile-meta: #5C6169; --ghost-bg: rgba(243, 241, 238, .45);
  --net-filter: invert(1) hue-rotate(180deg) saturate(.4); --net-op: .26;
  color-scheme: light;
}
.tr[data-theme="light"] .tr-hero:not([data-dark]) .tr-hero__media { background-image: var(--poster-light, var(--poster)); }
.tr[data-theme="light"] .tr-hero[data-dark] { --ink: #ECE8E3; --ink-2: #B9BCC2; --mute: #8C9199; --line: rgba(236,232,227,.10); --line-2: rgba(236,232,227,.18); --hero-shade: 35, 39, 46; --pane-a: rgba(35,39,46,.62); --pane-b: rgba(35,39,46,.38); --ghost-bg: rgba(35,39,46,.35); --orange-2: #FF6A3D; color: var(--ink); }
.tr[data-theme="light"] .tr-hero[data-dark] .tr-h1, .tr[data-theme="light"] .tr-hero[data-dark] .tr-stat dt { color: var(--ink); }
.tr[data-theme="light"]:has(.tr-hero[data-dark]) .tr-nav:not(.is-solid):not(.is-open) { --ink: #ECE8E3; --ink-2: #B9BCC2; --mute: #8C9199; --line-2: rgba(236,232,227,.18); }
.tr[data-theme="light"] .tr-card { box-shadow: 0 -18px 40px -26px rgba(35,39,46,.35); filter: brightness(calc(1 - var(--p) * .12)); }
.tr[data-theme="light"] .tr-tile { box-shadow: inset 0 0 0 1px var(--line); }

