/* ═══════════════════════════════════════════════════════════
   brand-reporter-trqm.css — Tu Retrato que Marca
   Se carga después de brand-reporter-thqv.css.
   ═══════════════════════════════════════════════════════════ */

   body {
    background-color: #201d19;
   }
/* ── HERO CAROUSEL KEN BURNS ── */
.hero-trqm {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.trqm-carousel {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.trqm-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  animation: kenBurns 8s ease-in-out infinite;
}

.trqm-slide.active {
  opacity: 1;
}

@keyframes kenBurns {
  0%   { transform: scale(1);    }
  100% { transform: scale(1.06); }
}

.trqm-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(12,11,9,0.5) 0%, transparent 25%, transparent 55%, rgba(12,11,9,0.92) 100%),
    linear-gradient(to right, rgba(12,11,9,0.45) 0%, transparent 55%);
}

/* ── PAIN POINTS — imagen en lugar de vídeo, ratio 3:2 ── */
.pain-card img {
  width: 100%;
  display: block;
  margin: 16px 0;
  aspect-ratio: 3/2;
  object-fit: cover;
}

/* ── GALERÍA SECTION ── */
.trqm-galeria-section {
  padding: 100px 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.trqm-galeria-header {
  margin-bottom: 40px;
}

.trqm-galeria-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: var(--white);
}


.trqm-item img {
    border: 1px solid 	#404040;
}

/* ── CONJUNTOS DE EMPRESA ── */
.trqm-conjunto {
  margin-bottom: 72px;
}

.trqm-conjunto-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trqm-conjunto-logo {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.6;
}

.trqm-conjunto-label {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0;
}

.trqm-conjuntos .trqm-gallery {
  margin: 0;
  max-width: 100%;
}

.trqm-conjuntos .trqm-row {
  justify-content: flex-start;
  height: 200px;
}

.trqm-conjuntos .trqm-item[style*="3/2"] { width: calc(200px * 3 / 2); }
.trqm-conjuntos .trqm-item[style*="2/3"] { width: calc(200px * 2 / 3); }
.trqm-conjuntos .trqm-item[style*="5/4"] { width: calc(200px * 5 / 4); }
.trqm-conjuntos .trqm-item[style*="4/5"] { width: calc(200px * 4 / 5); }

@media (max-width: 960px) {
  .trqm-conjuntos-grid { grid-template-columns: 1fr; }
}

.trqm-conjunto-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.trqm-conjuntos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ── VERSIONES CON SLIDER ── */
.versiones-section {
  /* max-width: 950px; */
  margin: 0 auto;
  background: var(--coal);
  padding: 100px 48px;
  border-top: 1px solid rgba(196,150,42,0.1);
}

.versiones-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}
.versiones-header {
  text-align: center;
  margin-bottom: 72px;
}

.versiones-header h2 {
  text-align: left;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--white);
}

.versiones-header h2 strong {
  font-weight: 700;
}

.versiones-grid {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1300px;
  margin: 0 auto;
}

.slider-b_a {
  background-color: var(--black);
  padding: 100px 48px;
}

.version-card {
  background: var(--carbon);
  border-top: 2px solid rgba(196,150,42,0.3);
  padding: 40px;
}

.slider-b_a .version-card {
  background-color: transparent;
  border: none;
} 

.version-label {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.version-num {
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(196,150,42,0.4);
  line-height: 1;
}

.version-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.version-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 2px;
}

.version-desc p {
  /* font-style: italic; */
  font-size: 0.95rem;
  color: rgba(250,247,242,0.55);
  line-height: 1.65;
  margin-bottom: 24px;
  min-height: 50px;
}

.version-precio {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-top: 24px;
}

.version-precio span {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--mid);
}

.etapa-lista li {
  min-height: 50px;
}
/* ── BEFORE/AFTER SLIDER ── */
.before-after-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  border: 1px solid rgba(196,150,42,0.15);
}

.before-after-slider > img {
  display: block;
  width: 100%;
  height: auto;
}

.ba-after-img {
  position: absolute;
  inset: 0;
  width: 100%;
  overflow: hidden;
  clip-path: inset(0 50% 0 0);
}

.ba-after-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-divider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--gold);
  z-index: 10;
  transform: translateX(-50%);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  z-index: 11;
  cursor: ew-resize;
}

.ba-handle::before,
.ba-handle::after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  border-style: solid;
}

.ba-handle::before {
  border-width: 6px 8px 6px 0;
  border-color: transparent var(--black) transparent transparent;
  right: 22px;
}

.ba-handle::after {
  border-width: 6px 0 6px 8px;
  border-color: transparent transparent transparent var(--black);
  left: 22px;
}

.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(12,11,9,0.6);
  padding: 4px 8px;
  z-index: 5;
}

.ba-label-before { right: 12px; }
.ba-label-after  { left: 12px; }

.cta-inner {
    max-width: none;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE · TRQM
   ═══════════════════════════════════════════════════════════ */

   @media (min-width: 1200px) {
  .version-card {
    padding: 40px 90px;
  }
}


/* ── TABLET / GENERAL ── */

@media (max-width: 960px) {
  .versiones-grid {
    grid-template-columns: 1fr;
  }
}


/* ── IPAD / TABLET PORTRAIT ── */

@media (orientation: portrait)
and (hover: none)
and (pointer: coarse)
and (min-width: 768px)
and (max-width: 1400px) {

  .hero-trqm {
    min-height: 50vh !important;
    height: 50vh !important;
  }

  .trqm-conjuntos-grid {
    grid-template-columns: 1fr !important;
  }
  

}


/* iPad portrait → Before/After lado a lado */

@media (orientation: portrait)
and (hover: none)
and (pointer: coarse)
and (min-width: 768px)
and (max-width: 1200px) {

  .versiones-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 24px;
  }

  .version-card {
    padding: 24px;
  }

}


/* iPad portrait → galería general más legible */

@media (orientation: portrait)
and (hover: none)
and (pointer: coarse)
and (min-width: 768px)
and (max-width: 1200px) {

  .trqm-galeria-section > .trqm-gallery {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
  }

  .trqm-galeria-section > .trqm-gallery > .trqm-row {
    display: contents !important;
    height: auto !important;
  }

  .trqm-galeria-section > .trqm-gallery .trqm-item {
    width: 100% !important;
    height: auto !important;
  }

  .trqm-galeria-section > .trqm-gallery .trqm-item img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
  }

}


/* ── IPAD / TABLET LANDSCAPE ── */

@media (orientation: landscape)
and (hover: none)
and (pointer: coarse)
and (max-width: 1200px) {

  .trqm-conjuntos-grid {
    grid-template-columns: 1fr !important;
  }

}


/* ── MÓVIL PORTRAIT ── */

@media (max-width: 767px)
and (orientation: portrait) {

  .hero-trqm {
    min-height: 93vh !important;
    height: 93vh !important;
  }
}


/* ── MÓVIL GENERAL ── */

@media (max-width: 600px) {

  .trqm-galeria-section {
    padding: 60px 15px;
    overflow: hidden;
  }

  .versiones-section {
    padding: 60px 24px;
  }

  .version-card {
    padding: 28px 20px;
  }

  .versiones-grid {
    grid-template-columns: 1fr;
  }

  .trqm-conjuntos-grid {
    grid-template-columns: 1fr !important;
  }

}


/* móvil → Equipos completos en 2 columnas */

@media (max-width: 600px) {

  .trqm-conjuntos .trqm-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .trqm-conjuntos .trqm-row {
    display: contents !important;
    height: auto !important;
  }

  .trqm-conjuntos .trqm-item {
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .trqm-conjuntos .trqm-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
  }

}


/* móvil → Galería general en 2 columnas */

@media (max-width: 600px) {

  .trqm-galeria-section > .trqm-gallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .trqm-galeria-section > .trqm-gallery > .trqm-row {
    display: contents !important;
    height: auto !important;
  }

  .trqm-galeria-section > .trqm-gallery .trqm-item {
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
  }

  .trqm-galeria-section > .trqm-gallery .trqm-item img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    display: block;
  }

}

@media (orientation: portrait) {
    .versiones-inner {
  margin: 0;
  padding: 0;
  }
  
}