@layer bricks {.brxe-shortcode{width:100%}}/* === touryteller home hero video — v2 === */
/* Right column: video frame replaces collage. Scoped to home only. */

/* Asymmetric grid: give a bit more room to the video column (~55%) */
@media (min-width:992px){
  .brxe-section.tt-hero .tt-grid-2{
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr) !important;
    gap: 36px !important;
    align-items: center !important;
  }
}

/* HARD RESET: overrides global .tt-hero-collage grid layout that would
   put the video frame in one of 4 grid cells. */
.tt-hero-collage.tt-hero-video{
  position:relative !important;
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  max-width:none !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  grid-template-columns:none !important;
  grid-template-rows:none !important;
  grid-template-areas:none !important;
  gap:0 !important;
  padding:0 !important;
  margin:0 !important;
  isolation:isolate;
}

/* Glow halos behind the frame — purple + pink, slow drift for life */
.tt-hero-video__halo{
  position:absolute;
  pointer-events:none;
  border-radius:50%;
  filter:blur(60px);
  opacity:.55;
  z-index:0;
  will-change:transform,opacity;
}
.tt-hero-video__halo--a{
  width:340px;height:340px;
  top:-40px;left:-50px;
  background:radial-gradient(circle, rgba(119,3,232,.85) 0%, rgba(119,3,232,0) 70%);
  animation:ttHeroVidHaloA 14s ease-in-out infinite;
}
.tt-hero-video__halo--b{
  width:300px;height:300px;
  bottom:-50px;right:-40px;
  background:radial-gradient(circle, rgba(255,79,216,.75) 0%, rgba(255,79,216,0) 70%);
  animation:ttHeroVidHaloB 16s ease-in-out infinite;
}
@keyframes ttHeroVidHaloA{
  0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.55;}
  50%{transform:translate3d(20px,-12px,0) scale(1.06);opacity:.7;}
}
@keyframes ttHeroVidHaloB{
  0%,100%{transform:translate3d(0,0,0) scale(1);opacity:.5;}
  50%{transform:translate3d(-22px,14px,0) scale(1.08);opacity:.65;}
}

/* Subtle SVG grain on top of halos for premium texture */
.tt-hero-video__grain{
  position:absolute;inset:-10%;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity:.35;
  mix-blend-mode:overlay;
  pointer-events:none;
  z-index:1;
  border-radius:28px;
}

/* The actual video frame */
.tt-hero-video__frame{
  position:relative;
  width:100%;
  max-width:720px;
  border-radius:24px;
  overflow:hidden;
  background:linear-gradient(135deg,#1a0b2e 0%,#0a0414 100%);
  box-shadow:
    0 30px 80px -20px rgba(119,3,232,.45),
    0 10px 30px -10px rgba(255,79,216,.30),
    0 0 0 1px rgba(255,255,255,.06) inset;
  z-index:2;
  transform:translateZ(0);
}

/* Aspect ratio wrapper — 16:9 matches the source MP4 (1024x576) */
.tt-hero-video__ratio{
  position:relative;
  width:100%;
  aspect-ratio:16/9;
  background:#0a0414;
}

.tt-hero-video__player{
  position:absolute;inset:0;
  width:100%;height:100%;
  object-fit:cover;
  display:block;
  background:#0a0414;
}

/* Diagonal shine sweep that crosses every 6s */
.tt-hero-video__shine{
  position:absolute;inset:0;
  pointer-events:none;
  background:linear-gradient(110deg,transparent 35%,rgba(255,255,255,.18) 50%,transparent 65%);
  transform:translateX(-100%);
  animation:ttHeroVidShine 6s ease-in-out 1.2s infinite;
  mix-blend-mode:overlay;
  z-index:3;
}
@keyframes ttHeroVidShine{
  0%,30%{transform:translateX(-100%);}
  55%{transform:translateX(100%);}
  100%{transform:translateX(100%);}
}

/* Sound toggle — bottom-right, glass pill */
.tt-hero-video__sound{
  position:absolute;
  bottom:14px;right:14px;
  z-index:4;
  width:42px;height:42px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;
  color:#fff;
  background:rgba(10,4,20,.55);
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.tt-hero-video__sound:hover{
  transform:scale(1.08);
  background:rgba(119,3,232,.7);
  border-color:rgba(255,255,255,.4);
}
.tt-hero-video__sound:focus-visible{
  outline:2px solid #ff4fd8;
  outline-offset:3px;
}
.tt-hero-video__sound .tt-hero-video__sound-on{display:none;}
.tt-hero-video__sound.is-on .tt-hero-video__sound-on{display:block;}
.tt-hero-video__sound.is-on .tt-hero-video__sound-mute{display:none;}

/* === Responsive === */
@media (min-width:1200px){
  .tt-hero-video__frame{max-width:760px;}
}
@media (max-width:991px){
  .tt-hero-collage.tt-hero-video{margin-top:24px;}
  .tt-hero-video__frame{max-width:620px;margin:0 auto;}
  .tt-hero-video__halo--a{width:280px;height:280px;}
  .tt-hero-video__halo--b{width:260px;height:260px;}
}
@media (max-width:767px){
  .tt-hero-video__frame{max-width:100%;border-radius:20px;}
  .tt-hero-video__halo{filter:blur(50px);opacity:.45;}
  .tt-hero-video__sound{width:38px;height:38px;bottom:10px;right:10px;}
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion:reduce){
  .tt-hero-video__halo,
  .tt-hero-video__shine{animation:none !important;}
  .tt-hero-video__halo{opacity:.45;}
}

/* === Fullscreen / lightbox === */
/* Pista de clicabilidad sobre el vídeo inline */
.tt-hero-video__player{cursor:zoom-in;}

/* Botón expandir — top-right, glass (espejo del de sonido bottom-right) */
.tt-hero-video__expand{
  position:absolute;
  top:14px;right:14px;
  z-index:4;
  width:42px;height:42px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;
  color:#fff;
  background:rgba(10,4,20,.55);
  border:1px solid rgba(255,255,255,.22);
  border-radius:50%;
  cursor:pointer;
  backdrop-filter:blur(8px);
  -webkit-backdrop-filter:blur(8px);
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.tt-hero-video__expand:hover{transform:scale(1.08);background:rgba(119,3,232,.7);border-color:rgba(255,255,255,.4);}
.tt-hero-video__expand:focus-visible{outline:2px solid #ff4fd8;outline-offset:3px;}
@media (max-width:767px){.tt-hero-video__expand{width:38px;height:38px;top:10px;right:10px;}}

/* Lock de scroll del documento mientras el lightbox está abierto */
html.tt-fs-lock{overflow:hidden !important;}

/* Overlay full-viewport */
.tt-hero-video__lightbox{
  position:fixed;inset:0;
  z-index:99999;
  display:flex;align-items:center;justify-content:center;
  padding:clamp(12px,4vw,48px);
  opacity:0;
  transition:opacity .26s ease;
}
.tt-hero-video__lightbox.is-open{opacity:1;}
.tt-hero-video__lightbox[hidden]{display:none;}
.tt-hero-video__lightbox-backdrop{
  position:absolute;inset:0;
  background:rgba(6,3,14,.93);
  backdrop-filter:blur(10px);
  -webkit-backdrop-filter:blur(10px);
  cursor:zoom-out;
}
.tt-hero-video__lightbox-stage{
  position:relative;z-index:1;
  width:100%;
  max-width:min(1400px,100%);
  display:flex;align-items:center;justify-content:center;
}
/* El vídeo, al moverse al overlay, pasa a contain centrado y grande */
.tt-hero-video__player.is-fs{
  position:static !important;
  inset:auto !important;
  width:auto !important;
  max-width:100% !important;
  height:auto !important;
  max-height:88vh !important;
  object-fit:contain !important;
  border-radius:16px;
  box-shadow:0 40px 120px -20px rgba(119,3,232,.5),0 0 0 1px rgba(255,255,255,.08) inset;
  cursor:zoom-out;
  background:#0a0414;
  transform:scale(.96);
  transition:transform .28s cubic-bezier(.16,1,.3,1);
}
.tt-hero-video__lightbox.is-open .tt-hero-video__player.is-fs{transform:scale(1);}

/* Botones del overlay (cerrar + sonido) */
.tt-hero-video__lightbox-close,
.tt-hero-video__lightbox-sound{
  position:absolute;z-index:2;
  width:48px;height:48px;
  display:inline-flex;align-items:center;justify-content:center;
  padding:0;margin:0;color:#fff;
  background:rgba(10,4,20,.6);
  border:1px solid rgba(255,255,255,.25);
  border-radius:50%;cursor:pointer;
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  transition:transform .25s ease,background .25s ease,border-color .25s ease;
  -webkit-tap-highlight-color:transparent;
}
.tt-hero-video__lightbox-close{top:clamp(14px,3vw,28px);right:clamp(14px,3vw,28px);}
.tt-hero-video__lightbox-sound{top:clamp(14px,3vw,28px);left:clamp(14px,3vw,28px);}
.tt-hero-video__lightbox-close:hover,
.tt-hero-video__lightbox-sound:hover{transform:scale(1.08);background:rgba(119,3,232,.75);border-color:rgba(255,255,255,.45);}
.tt-hero-video__lightbox-close:focus-visible,
.tt-hero-video__lightbox-sound:focus-visible{outline:2px solid #ff4fd8;outline-offset:3px;}
.tt-hero-video__lightbox-sound .tt-hero-video__sound-on{display:none;}
.tt-hero-video__lightbox-sound.is-on .tt-hero-video__sound-on{display:block;}
.tt-hero-video__lightbox-sound.is-on .tt-hero-video__sound-mute{display:none;}
@media (max-width:767px){
  .tt-hero-video__lightbox-close,.tt-hero-video__lightbox-sound{width:42px;height:42px;}
  .tt-hero-video__player.is-fs{max-height:80vh !important;border-radius:12px;}
}
@media (prefers-reduced-motion:reduce){
  .tt-hero-video__lightbox,
  .tt-hero-video__player.is-fs{transition:none !important;}
  .tt-hero-video__player.is-fs{transform:none !important;}
}
/* tt-h1-cycle */
.tt-h1-cycle{color:#ff4fd8;display:inline;font:inherit;letter-spacing:inherit;}
/* tt-h1-cursor */
.tt-h1-cursor{color:#ff4fd8;display:inline;font:inherit;letter-spacing:inherit;animation:tt-blink 0.7s steps(2,start) infinite;}
@keyframes tt-blink{50%{opacity:0;}}

/* tt-mob-play-v1 — mobile tap-to-play overlay */
.tt-hero-video__mob-play{
  position:absolute;inset:0;width:100%;height:100%;
  background:rgba(8,6,13,.28);border:none;cursor:pointer;
  z-index:5;align-items:center;justify-content:center;
  flex-direction:column;gap:12px;padding:0;
}
.tt-hero-video__mob-play__ring{
  width:80px;height:80px;
  background:rgba(119,3,232,.92);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 0 0 12px rgba(119,3,232,.22),0 8px 32px rgba(119,3,232,.5);
  transition:transform .15s,box-shadow .15s;
}
.tt-hero-video__mob-play:active .tt-hero-video__mob-play__ring{
  transform:scale(.94);
}
.tt-hero-video__mob-play__label{
  color:#fff;font-size:13px;font-weight:600;letter-spacing:.06em;
  text-transform:uppercase;opacity:.85;
}
@media(prefers-reduced-motion:reduce){
  .tt-hero-video__mob-play__ring{transition:none;}
}
/* tt-testimonios-hidden */
#testimonios{display:none!important;}