/* TRU Galerías - Frontend */
.trug-gallery,
.trug-gallery * {
  box-sizing: border-box;
}

.trug-gallery {
  --trug-green: #00ff6a;
  --trug-dark: #020403;
  position: relative !important;
  left: 50% !important;
  width: 100vw !important;
  max-width: 100vw !important;
  min-width: 100vw !important;
  margin-left: -50vw !important;
  margin-right: 0 !important;
  overflow: hidden;
  isolation: isolate;
  color: #ffffff;
  background:
    radial-gradient(circle at 13% 0%, rgba(0,255,106,.20), transparent 34%),
    radial-gradient(circle at 88% 24%, rgba(0,255,106,.12), transparent 35%),
    linear-gradient(180deg, #020403 0%, #07110c 52%, #020403 100%);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  padding: clamp(74px, 8vw, 118px) 0;
}

.trug-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.trug-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.024) 1px, transparent 1px);
  background-size: 62px 62px;
  opacity: .30;
  mask-image: radial-gradient(circle at center, black 0%, transparent 78%);
  animation: trugGridMove 14s linear infinite;
}

.trug-orb {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(40px);
  animation: trugOrb 7s ease-in-out infinite alternate;
}

.trug-orb.o1 {
  width: 310px;
  height: 310px;
  left: -120px;
  top: -110px;
  background: rgba(0,255,106,.22);
}

.trug-orb.o2 {
  width: 380px;
  height: 380px;
  right: -150px;
  bottom: -160px;
  background: rgba(0,255,106,.15);
  animation-delay: 1.4s;
}

.trug-wrap {
  position: relative;
  z-index: 3;
  width: min(1180px, calc(100% - 34px));
  margin: 0 auto;
}

 .trug-head {
  position: relative;
  max-width: 820px;
  margin-bottom: clamp(32px, 4.8vw, 56px);
  padding-top: 6px;
}

.trug-head::before {
  content: "TRU GLOBAL EXPERIENCE";
  position: absolute;
  left: 2px;
  top: -28px;
  color: rgba(0,255,106,.18);
  font-size: clamp(34px, 6vw, 86px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.055em;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
  filter: blur(.2px);
  animation: trugTitleGhost 5.8s ease-in-out infinite;
}

.trug-head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -18px;
  width: min(520px, 78vw);
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00ff6a, rgba(0,255,106,.34), transparent);
  box-shadow: 0 0 24px rgba(0,255,106,.42);
  transform-origin: left center;
  animation: trugTitleLine 3.6s ease-in-out infinite;
}

.trug-head h2 {
  position: relative;
  z-index: 2;
  margin: 0;
  display: grid;
  gap: 8px;
  color: #fff;
  font-size: clamp(42px, 5.7vw, 72px);
  line-height: .96;
  font-weight: 950;
  letter-spacing: -.055em;
  text-transform: uppercase;
  text-shadow:
    0 20px 50px rgba(0,0,0,.74),
    0 0 28px rgba(0,255,106,.08);
  text-wrap: balance;
}

.trug-title-main,
.trug-title-accent {
  display: block;
  transform-origin: left center;
}

.trug-title-main {
  color: rgba(255,255,255,.96);
  animation: trugTitleFloat 4.8s ease-in-out infinite;
}

.trug-title-accent {
  width: auto;
  max-width: 100%;
  color: #00ff6a;
  font-style: italic;
  background: linear-gradient(90deg, #00ff6a 0%, #ffffff 42%, #00ff6a 72%, #00c957 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 24px rgba(0,255,106,.28));
  animation: trugTitleGlow 3.9s ease-in-out infinite;
}

.trug-head p {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 22px 0 0;
  color: rgba(255,255,255,.76);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.65;
  font-weight: 750;
  text-shadow: 0 12px 34px rgba(0,0,0,.76);
}

.trug-empty {
  min-height: 360px;
  display: grid;
  place-items: center;
  text-align: center;
  gap: 8px;
  padding: 44px 24px;
  border-radius: 34px;
  background:
    radial-gradient(circle at center, rgba(0,255,106,.16), transparent 45%),
    rgba(255,255,255,.045);
  border: 1px solid rgba(0,255,106,.16);
  box-shadow:
    0 30px 90px rgba(0,0,0,.44),
    0 0 54px rgba(0,255,106,.10),
    inset 0 0 24px rgba(255,255,255,.025);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.trug-empty span {
  color: #00ff6a;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.trug-empty strong {
  display: block;
  color: #fff;
  font-size: clamp(32px, 5vw, 58px);
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.trug-empty p {
  max-width: 500px;
  margin: 0;
  color: rgba(255,255,255,.64);
  font-weight: 700;
}

.trug-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 24px;
}

.trug-tab {
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 50% 0%, rgba(0,255,106,.08), transparent 42%),
    rgba(255,255,255,.045);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .28s ease, color .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}

.trug-tab:hover,
.trug-tab.is-active {
  transform: translateY(-3px);
  color: #fff;
  border-color: rgba(0,255,106,.30);
  background:
    radial-gradient(circle at 50% 0%, rgba(0,255,106,.26), transparent 50%),
    rgba(0,255,106,.08);
  box-shadow:
    0 16px 34px rgba(0,0,0,.28),
    0 0 26px rgba(0,255,106,.12);
}

.trug-panels {
  position: relative;
}

.trug-panel {
  display: none;
  grid-template-columns: .34fr .66fr;
  gap: 24px;
  align-items: stretch;
  padding: clamp(18px, 2.5vw, 28px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 12% 0%, rgba(0,255,106,.14), transparent 36%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.032));
  border: 1px solid rgba(0,255,106,.16);
  box-shadow:
    0 34px 90px rgba(0,0,0,.48),
    0 0 60px rgba(0,255,106,.10),
    inset 0 0 26px rgba(255,255,255,.026);
  backdrop-filter: blur(20px) saturate(1.18);
  -webkit-backdrop-filter: blur(20px) saturate(1.18);
}

.trug-panel.is-active {
  display: grid;
  animation: trugPanelIn .58s cubic-bezier(.16, 1, .3, 1) both;
}

.trug-panel-info {
  position: relative;
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 25% 0%, rgba(0,255,106,.18), transparent 40%),
    linear-gradient(180deg, rgba(0,0,0,.20), rgba(0,0,0,.54)),
    rgba(2,4,3,.62);
  border: 1px solid rgba(255,255,255,.08);
}

.trug-panel-info::before {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  top: 20%;
  height: 130px;
  background: linear-gradient(90deg, transparent, rgba(0,255,106,.18), transparent);
  filter: blur(24px);
  transform: rotate(-10deg);
  animation: trugLightSweep 6s ease-in-out infinite;
}

.trug-panel-info > * {
  position: relative;
  z-index: 2;
}

.trug-panel-info span {
  width: max-content;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #00ff6a;
  color: #020403;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trug-panel-info h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 4vw, 54px);
  line-height: .98;
  font-weight: 950;
  letter-spacing: -.045em;
  text-transform: uppercase;
}

.trug-panel-info p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.70);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 650;
}

.trug-stage {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  background: #020403;
  border: 1px solid rgba(255,255,255,.09);
  box-shadow:
    0 26px 70px rgba(0,0,0,.44),
    inset 0 0 0 1px rgba(255,255,255,.035);
}

.trug-slider,
.trug-slide {
  position: absolute;
  inset: 0;
}

.trug-slide {
  opacity: 0;
  transform: scale(1.06) translateX(28px);
  filter: blur(5px) brightness(.78) saturate(1.08);
  transition:
    opacity .85s cubic-bezier(.16, 1, .3, 1),
    transform 1.05s cubic-bezier(.16, 1, .3, 1),
    filter .85s ease;
}

.trug-slide.is-active {
  opacity: 1;
  transform: scale(1) translateX(0);
  filter: blur(0) brightness(.94) saturate(1.13);
  z-index: 2;
}

.trug-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
  animation: trugPhotoMove 9s ease-in-out infinite alternate;
}

.trug-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(0,255,106,.14), transparent 34%),
    linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.36));
  pointer-events: none;
}

.trug-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(0,255,106,.22);
  border-radius: 17px;
  background: rgba(2,4,3,.58);
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 38px rgba(0,0,0,.36), 0 0 22px rgba(0,255,106,.10);
  transition: transform .26s ease, background .26s ease, border-color .26s ease;
}

.trug-arrow:hover {
  transform: translateY(-50%) scale(1.06);
  border-color: rgba(0,255,106,.45);
  background: rgba(0,255,106,.12);
}

.trug-prev { left: 18px; }
.trug-next { right: 18px; }

.trug-counter {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 5;
  min-width: 72px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(2,4,3,.62);
  border: 1px solid rgba(0,255,106,.18);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.trug-counter [data-trug-current] {
  color: #00ff6a;
}

.trug-thumbs {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.trug-thumb {
  position: relative;
  height: 76px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.04);
  cursor: pointer;
  opacity: .62;
  transform: translateY(0);
  transition: opacity .26s ease, transform .26s ease, border-color .26s ease, box-shadow .26s ease;
}

.trug-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.trug-thumb.is-active,
.trug-thumb:hover {
  opacity: 1;
  transform: translateY(-4px);
  border-color: rgba(0,255,106,.40);
  box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 0 18px rgba(0,255,106,.15);
}

@keyframes trugPanelIn {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes trugPhotoMove {
  from { transform: scale(1.04) translate3d(0,0,0); }
  to { transform: scale(1.11) translate3d(-10px, -6px, 0); }
}

@keyframes trugGridMove {
  from { background-position: 0 0; }
  to { background-position: 62px 62px; }
}

@keyframes trugOrb {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 3%, 0) scale(1.08); }
}

@keyframes trugLightSweep {
  0%, 100% { opacity: .38; transform: translateX(-5%) rotate(-10deg); }
  50% { opacity: .82; transform: translateX(5%) rotate(-10deg); }
}


@keyframes trugTitleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

@keyframes trugTitleGlow {
  0%, 100% {
    background-position: 0% 50%;
    transform: translateY(0) skewX(-2deg);
    filter: drop-shadow(0 0 18px rgba(0,255,106,.22));
  }
  50% {
    background-position: 100% 50%;
    transform: translateY(-3px) skewX(-2deg);
    filter: drop-shadow(0 0 34px rgba(0,255,106,.38));
  }
}

@keyframes trugTitleLine {
  0%, 100% { transform: scaleX(.58); opacity: .55; }
  50% { transform: scaleX(1); opacity: 1; }
}

@keyframes trugTitleGhost {
  0%, 100% { opacity: .13; transform: translateY(0); }
  50% { opacity: .24; transform: translateY(-5px); }
}

@media (max-width: 980px) {
  .trug-panel {
    grid-template-columns: 1fr;
  }

  .trug-panel-info {
    min-height: 230px;
  }

  .trug-stage {
    min-height: 460px;
  }
}

@media (max-width: 767px) {
  .trug-gallery {
    padding: 70px 0;
  }

  .trug-wrap {
    width: calc(100% - 28px);
  }

  .trug-head {
    padding-top: 0;
  }

  .trug-head::before {
    top: -20px;
    font-size: clamp(38px, 12vw, 60px);
    max-width: 100%;
    overflow: hidden;
  }

  .trug-head h2 {
    font-size: clamp(36px, 9vw, 48px);
    line-height: .98;
  }

  .trug-title-accent {
    width: auto;
    display: inline-block;
  }

  .trug-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .trug-tab {
    width: 100%;
    padding: 0 12px;
    font-size: 12px;
  }

  .trug-panel {
    border-radius: 28px;
    padding: 16px;
  }

  .trug-panel-info {
    border-radius: 22px;
    padding: 20px;
  }

  .trug-stage {
    min-height: 360px;
    border-radius: 24px;
  }

  .trug-arrow {
    width: 44px;
    height: 44px;
    border-radius: 15px;
    font-size: 32px;
  }

  .trug-prev { left: 12px; }
  .trug-next { right: 12px; }

  .trug-thumbs {
    grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  }

  .trug-thumb {
    height: 62px;
    border-radius: 13px;
  }
}

@media (max-width: 420px) {
  .trug-wrap {
    width: calc(100% - 24px);
  }

  .trug-tabs {
    grid-template-columns: 1fr;
  }

  .trug-stage {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trug-grid,
  .trug-orb,
  .trug-head::before,
  .trug-head::after,
  .trug-title-main,
  .trug-title-accent,
  .trug-panel.is-active,
  .trug-panel-info::before,
  .trug-slide img {
    animation: none !important;
  }

  .trug-slide {
    transition: none !important;
  }
}

/* Pantalla completa para fotos */
.trug-slide,
.trug-slide img {
  cursor: zoom-in;
}

.trug-slide::before {
  content: "Ver pantalla completa";
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 6;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(2,4,3,.64);
  border: 1px solid rgba(0,255,106,.20);
  color: rgba(255,255,255,.86);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .07em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 0 22px rgba(0,255,106,.10);
  transition: opacity .26s ease, transform .26s ease;
}

.trug-stage:hover .trug-slide.is-active::before,
.trug-slide.is-active:focus-within::before {
  opacity: 1;
  transform: translateY(0);
}

.trug-slide img:focus-visible {
  outline: 3px solid rgba(0,255,106,.82);
  outline-offset: -6px;
}

body.trug-lightbox-open {
  overflow: hidden !important;
  touch-action: none;
}

.trug-lightbox,
.trug-lightbox * {
  box-sizing: border-box;
}

.trug-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  opacity: 0;
  pointer-events: none;
  color: #ffffff;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: opacity .28s ease;
}

.trug-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.trug-lightbox-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(0,255,106,.16), transparent 32%),
    radial-gradient(circle at 80% 78%, rgba(0,255,106,.12), transparent 32%),
    rgba(1, 3, 2, .92);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
}

.trug-lightbox-shell {
  position: relative;
  z-index: 2;
  width: min(1480px, calc(100vw - 38px));
  height: min(900px, calc(100dvh - 38px));
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 15% 0%, rgba(0,255,106,.14), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid rgba(0,255,106,.22);
  box-shadow:
    0 38px 120px rgba(0,0,0,.68),
    0 0 70px rgba(0,255,106,.13),
    inset 0 0 24px rgba(255,255,255,.028);
  transform: translateY(18px) scale(.985);
  transition: transform .32s cubic-bezier(.16, 1, .3, 1);
  overflow: hidden;
}

.trug-lightbox.is-active .trug-lightbox-shell {
  transform: translateY(0) scale(1);
}

.trug-lightbox-shell::before {
  content: "";
  position: absolute;
  left: -18%;
  right: -18%;
  top: 14%;
  height: 120px;
  background: linear-gradient(90deg, transparent, rgba(0,255,106,.15), transparent);
  filter: blur(24px);
  transform: rotate(-8deg);
  pointer-events: none;
  animation: trugLightboxSweep 5.8s ease-in-out infinite;
}

.trug-lightbox-top,
.trug-lightbox-bottom {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.trug-lightbox-title {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.trug-lightbox-title span {
  color: #00ff6a;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.trug-lightbox-title strong {
  display: block;
  max-width: min(760px, 70vw);
  overflow: hidden;
  color: #ffffff;
  font-size: clamp(16px, 2.2vw, 28px);
  line-height: 1.05;
  font-weight: 950;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.trug-lightbox-close {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 18px;
  background: rgba(2,4,3,.58);
  color: #ffffff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 34px rgba(0,0,0,.32), 0 0 22px rgba(0,255,106,.09);
  transition: transform .26s ease, background .26s ease, color .26s ease, border-color .26s ease;
}

.trug-lightbox-close:hover,
.trug-lightbox-close:focus-visible {
  transform: rotate(90deg) scale(1.04);
  background: #00ff6a;
  color: #020403;
  border-color: #00ff6a;
  outline: none;
}

.trug-lightbox-figure {
  position: relative;
  z-index: 3;
  min-height: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(0,255,106,.10), transparent 46%),
    #020403;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
}

.trug-lightbox-img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 26px 90px rgba(0,0,0,.58);
  opacity: 0;
  transform: scale(.985);
  transition: opacity .26s ease, transform .32s cubic-bezier(.16, 1, .3, 1);
}

.trug-lightbox-img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.trug-lightbox-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid rgba(0,255,106,.24);
  border-radius: 20px;
  background: rgba(2,4,3,.66);
  color: #ffffff;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 40px rgba(0,0,0,.36), 0 0 24px rgba(0,255,106,.12);
  transition: transform .24s ease, background .24s ease, border-color .24s ease, color .24s ease;
}

.trug-lightbox-arrow:hover,
.trug-lightbox-arrow:focus-visible {
  transform: translateY(-50%) scale(1.06);
  background: rgba(0,255,106,.16);
  border-color: rgba(0,255,106,.48);
  color: #ffffff;
  outline: none;
}

.trug-lightbox-prev { left: 34px; }
.trug-lightbox-next { right: 34px; }

.trug-lightbox-hint {
  color: rgba(255,255,255,.56);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.trug-lightbox-counter {
  min-width: 76px;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(2,4,3,.66);
  border: 1px solid rgba(0,255,106,.20);
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  text-align: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 30px rgba(0,0,0,.28), 0 0 18px rgba(0,255,106,.10);
}

.trug-lightbox-counter span:first-child {
  color: #00ff6a;
}

@keyframes trugLightboxSweep {
  0%, 100% { opacity: .30; transform: translateX(-3%) rotate(-8deg); }
  50% { opacity: .76; transform: translateX(3%) rotate(-8deg); }
}

@media (max-width: 767px) {
  .trug-slide.is-active::before {
    display: none;
  }

  .trug-lightbox {
    padding: 10px;
  }

  .trug-lightbox-shell {
    width: calc(100vw - 18px);
    height: calc(100dvh - 18px);
    padding: 12px;
    border-radius: 24px;
    gap: 10px;
  }

  .trug-lightbox-title strong {
    max-width: calc(100vw - 108px);
    font-size: 16px;
  }

  .trug-lightbox-title span {
    font-size: 9.5px;
  }

  .trug-lightbox-close {
    width: 44px;
    height: 44px;
    border-radius: 16px;
    font-size: 30px;
  }

  .trug-lightbox-figure {
    border-radius: 20px;
  }

  .trug-lightbox-img {
    border-radius: 14px;
  }

  .trug-lightbox-arrow {
    width: 46px;
    height: 46px;
    border-radius: 16px;
    font-size: 38px;
  }

  .trug-lightbox-prev { left: 18px; }
  .trug-lightbox-next { right: 18px; }

  .trug-lightbox-hint {
    display: none;
  }

  .trug-lightbox-bottom {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .trug-lightbox-prev { left: 14px; }
  .trug-lightbox-next { right: 14px; }

  .trug-lightbox-arrow {
    width: 42px;
    height: 42px;
    font-size: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trug-lightbox-shell,
  .trug-lightbox-shell::before,
  .trug-lightbox-img {
    animation: none !important;
    transition: none !important;
  }
}
