/* ==================================================
   TECNOCOM ROBOTICA - BASE CLARA
   Fondo blanco + tarjetas grafito + mobile fix
   ================================================== */

:root {
  --tc-bg: #ffffff;
  --tc-text: #111318;
  --tc-muted: #4f5661;

  --tc-dark: #111318;
  --tc-graphite: rgba(31, 35, 42, 0.72);
  --tc-graphite-solid: #2b3038;
  --tc-border: rgba(17, 19, 24, 0.12);

  --tc-white: #ffffff;
  --tc-white-soft: rgba(255, 255, 255, 0.82);

  --tc-red: #e20613;
  --tc-red-hover: #ff3030;
  --tc-red-dark: #b80009;

  --tc-radius-sm: 8px;
  --tc-radius-md: 14px;
  --tc-radius-lg: 20px;

  --tc-container: 1200px;
  --tc-section-y: 80px;
  --tc-gap: 24px;
  --tc-shadow: 0 18px 48px rgba(17, 19, 24, 0.16);
}

/* ========== BASE ========== */

html {
  scroll-behavior: smooth;
}

body,
#customPageContent {
  background: var(--tc-bg) !important;
  color: var(--tc-text);
}

#customPageContent {
  overflow-x: hidden;
  overflow-y: visible;
}

#customPageContent *,
#customPageContent *::before,
#customPageContent *::after {
  box-sizing: border-box;
}

#customPageContent img {
  max-width: 100%;
  height: auto;
  display: block;
}

#customPageContent section {
  padding: var(--tc-section-y) 20px;
}

#customPageContent .container {
  width: 100%;
  max-width: var(--tc-container);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

/* ========== TEXTOS ========== */

#customPageContent h1,
#customPageContent h2,
#customPageContent h3,
#customPageContent h4,
#customPageContent h5 {
  color: var(--tc-text);
  line-height: 1.12;
  letter-spacing: 0;
  margin-top: 0;
}

#customPageContent h1 {
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 700;
}

#customPageContent h2 {
  font-size: clamp(30px, 3.2vw, 48px);
  font-weight: 700;
}

#customPageContent h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 650;
}

#customPageContent p,
#customPageContent li,
#customPageContent span {
  color: var(--tc-muted);
  line-height: 1.7;
}

/* Textos sobre banners, imagenes y tarjetas */
#customPageContent .product-hero h1,
#customPageContent .product-hero h2,
#customPageContent .product-hero h3,
#customPageContent .product-hero p,
#customPageContent .product-hero span,
#customPageContent .product-block h1,
#customPageContent .product-block h2,
#customPageContent .product-block h3,
#customPageContent .product-block p,
#customPageContent .product-block span,
#customPageContent .tc-card-dark h1,
#customPageContent .tc-card-dark h2,
#customPageContent .tc-card-dark h3,
#customPageContent .tc-card-dark p,
#customPageContent .tc-card-dark span {
  color: var(--tc-white) !important;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28);
}

/* ========== HEADER / MENU MOBILE ========== */

#ss-header {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(17, 19, 24, 0.08);
  z-index: 1050 !important;
}

#ss-header .ss-mobile {
  background: #ffffff !important;
  color: var(--tc-text) !important;
  display: flex !important;
}

#ss-header .navbar-toggler,
#ss-header button.navbar-toggler {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(17, 19, 24, 0.16) !important;
  border-radius: 8px !important;
  color: var(--tc-red) !important;
  background: #ffffff !important;
}

#ss-header .navbar-toggler i,
#ss-header .navbar-toggler .fa-bars,
#ss-header .text-light {
  color: var(--tc-red) !important;
}

#ss-header .collapse,
#ss-header .navbar-collapse {
  background: #ffffff !important;
}

#ss-header .ss-menu-item,
#ss-header .dropdown-item {
  color: var(--tc-text) !important;
}

#ss-header .ss-menu-item:hover,
#ss-header .dropdown-item:hover {
  color: var(--tc-red) !important;
}

/* ========== BOTONES ========== */

#customPageContent .btn,
#customPageContent a.btn,
#customPageContent .btn-primary,
#customPageContent .btn-outline-primary {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  padding: 13px 24px !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none !important;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#customPageContent .btn-primary,
#customPageContent a.btn-primary {
  background: var(--tc-red) !important;
  border: 1px solid var(--tc-red) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(226, 6, 19, 0.24);
}

#customPageContent .btn-primary:hover,
#customPageContent a.btn-primary:hover {
  background: var(--tc-red-hover) !important;
  border-color: var(--tc-red-hover) !important;
  transform: translateY(-2px);
}

#customPageContent .btn p,
#customPageContent .btn span {
  margin: 0 !important;
  color: #ffffff !important;
  line-height: 1.1;
}

/* ========== HERO / BANNERS ========== */

#customPageContent .product-hero {
  padding-top: 30px;
  padding-bottom: 50px;
}

#customPageContent .product-hero > div {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--tc-radius-lg) !important;
  padding: 96px 28px !important;
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: var(--tc-shadow);
  position: relative;
  overflow: hidden;
}

#customPageContent .product-hero > div::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.46),
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.38)
  );
  z-index: 0;
}

#customPageContent .product-hero h1,
#customPageContent .product-hero p,
#customPageContent .product-hero .hero-buttons {
  position: relative;
  z-index: 1;
}

#customPageContent .hero-sub {
  max-width: 680px;
  margin: 18px auto 0 !important;
  font-size: 18px;
  line-height: 1.75;
  color: var(--tc-white-soft) !important;
}

/* ========== ICONOS SIN CIRCULOS ========== */

#customPageContent .bb-icon {
  width: auto;
  height: auto;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--tc-red);
}

#customPageContent .bb-icon i {
  color: var(--tc-red) !important;
  font-size: 32px;
  line-height: 1;
}

/* Iconos sobre tarjeta/imagen en blanco */
#customPageContent .product-block .bb-icon i,
#customPageContent .tc-card-dark .bb-icon i {
  color: #ffffff !important;
}

/* ========== GRIDS ========== */

#customPageContent .ssc-row {
  display: grid !important;
  gap: var(--tc-gap);
}

#customPageContent .ssc-row > div {
  min-width: 0;
}

/* ========== TARJETAS GRAFITO ========== */

#customPageContent .tc-card-dark,
#customPageContent .bb-spec,
#customPageContent .ssc-row > div:has(img) {
  background: var(--tc-graphite) !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--tc-radius-md);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(17, 19, 24, 0.12);
}

#customPageContent .tc-card-dark h1,
#customPageContent .tc-card-dark h2,
#customPageContent .tc-card-dark h3,
#customPageContent .tc-card-dark p,
#customPageContent .tc-card-dark span,
#customPageContent .bb-spec h3,
#customPageContent .bb-spec p,
#customPageContent .bb-spec span,
#customPageContent .bb-spec strong,
#customPageContent .ssc-row > div:has(img) h3,
#customPageContent .ssc-row > div:has(img) p,
#customPageContent .ssc-row > div:has(img) span {
  color: #ffffff !important;
}

/* Imagenes de tarjetas: sin oscurecer y sin recorte agresivo */
#customPageContent .ssc-row > div:has(img) img {
  width: 100%;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  background: transparent !important;
}

/* ========== ROBOT EN ESPECIFICACIONES COMPLETO ========== */

#customPageContent .bb-specs .ssc-row > div:has(img) {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

#customPageContent .bb-specs .ssc-row > div:has(img) img {
  width: 100% !important;
  max-height: 520px !important;
  object-fit: contain !important;
  object-position: center center !important;
}

/* ========== BLOQUES CON IMAGEN DE FONDO ========== */

#customPageContent .product-block {
  max-width: var(--tc-container);
  min-height: 520px;
  margin: 0 auto 60px;
  padding: 48px !important;
  border-radius: var(--tc-radius-lg);
  background-size: cover !important;
  background-position: center center !important;
  box-shadow: var(--tc-shadow);
  overflow: hidden;
  position: relative;
}

#customPageContent .product-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.20);
  pointer-events: none;
}

#customPageContent .product-block > * {
  position: relative;
  z-index: 1;
}

/* ========== SPECS ========== */

#customPageContent .bb-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

#customPageContent .bb-spec {
  min-height: 104px;
  padding: 18px;
}

#customPageContent .bb-spec span {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72) !important;
}

#customPageContent .bb-spec strong {
  display: block;
  color: #ffffff !important;
  font-size: 20px;
  line-height: 1.25;
}

#customPageContent .bb-spec strong p {
  margin: 0 !important;
  color: #ffffff !important;
}

/* ========== VIDEO ========== */

#customPageContent .ss-video-component {
  max-width: var(--tc-container);
  margin: 0 auto;
  border-radius: var(--tc-radius-lg);
  overflow: hidden;
  box-shadow: var(--tc-shadow);
  background: #000000;
}

#customPageContent .ss-video-component iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  display: block;
}

/* ========== CTA SIN DEGRADE ROJO ========== */

#customPageContent #contacto,
#customPageContent .cta-section {
  text-align: center;
  padding: 96px 20px;
  background: #f4f5f7 !important;
  border-top: 1px solid var(--tc-border);
  border-bottom: 1px solid var(--tc-border);
}

#customPageContent #contacto h2,
#customPageContent #contacto p,
#customPageContent .cta-section h2,
#customPageContent .cta-section p {
  color: var(--tc-text) !important;
  text-shadow: none !important;
}

/* ========== ANIMACIONES SUAVES ========== */

@keyframes tcFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#customPageContent .product-hero .hero-sub {
  animation-delay: 120ms;
}

#customPageContent .product-hero .hero-buttons {
  animation-delay: 240ms;
}

#customPageContent .bb-spec,
#customPageContent .ssc-row > div:has(img) {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#customPageContent .bb-spec:hover,
#customPageContent .ssc-row > div:has(img):hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 42px rgba(17, 19, 24, 0.18);
}

/* ========== MOBILE ========== */

@media (max-width: 991px) {
  :root {
    --tc-section-y: 58px;
    --tc-gap: 18px;
  }

  #customPageContent {
    padding-top: 88px;
  }

  #customPageContent .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  #customPageContent .ssc-row {
    grid-template-columns: 1fr 1fr !important;
  }

  #customPageContent .bb-specs .ssc-row,
  #customPageContent .bb-specs-grid {
    grid-template-columns: 1fr !important;
  }

  #customPageContent .product-block {
    min-height: 420px;
    padding: 34px 22px !important;
    aspect-ratio: auto !important;
    background-position: center center !important;
  }
}

@media (max-width: 767px) {
  #customPageContent {
    padding-top: 82px;
  }

  #customPageContent section {
    padding: 52px 16px;
  }

  #customPageContent .product-hero {
    padding-top: 18px;
    padding-bottom: 34px;
  }

  #customPageContent .product-hero > div {
    min-height: 520px;
    padding: 68px 18px !important;
    border-radius: 16px !important;
    background-position: center center !important;
  }

  #customPageContent .product-hero > div::before {
    background: rgba(0, 0, 0, 0.24);
  }

  #customPageContent .product-hero h1 {
    font-size: 36px;
  }

  #customPageContent .hero-sub {
    font-size: 16px;
    line-height: 1.65;
  }

  #customPageContent .ssc-row {
    grid-template-columns: 1fr !important;
  }

  #customPageContent .btn,
  #customPageContent a.btn,
  #customPageContent .btn-primary {
    width: 100%;
    max-width: 340px;
  }

  #customPageContent .bb-specs .ssc-row > div:has(img) img {
    max-height: 380px !important;
  }

  #customPageContent #contacto,
  #customPageContent .cta-section {
    padding: 72px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #customPageContent *,
  #customPageContent *::before,
  #customPageContent *::after {
    animation: none !important;
    transition: none !important;
  }
}/* ==================================================
   AJUSTES FINOS DESKTOP / MOBILE - TECNOCOM
   ================================================== */

/* Desktop: proporción más equilibrada entre robot y texto */
@media (min-width: 992px) {
  #customPageContent .bb-specs .ssc-row {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
    align-items: center !important;
    gap: 56px !important;
  }

  #customPageContent .bb-specs .ssc-row > div:has(img) {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #customPageContent .bb-specs .ssc-row > div:has(img) img {
    width: auto !important;
    max-width: 92% !important;
    max-height: 500px !important;
    object-fit: contain !important;
  }

  #customPageContent .bb-specs .ssc-row > div:not(:has(img)) {
    max-width: 560px;
  }
}

/* Desktop: asegurar lectura de textos sobre portadas/banners */
@media (min-width: 992px) {
  #customPageContent .product-hero > div::before {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.58) 0%,
        rgba(0, 0, 0, 0.34) 44%,
        rgba(0, 0, 0, 0.48) 100%
      ) !important;
  }

  #customPageContent .product-hero h1,
  #customPageContent .product-hero .hero-sub,
  #customPageContent .product-hero .hero-buttons {
    color: #ffffff !important;
    text-shadow: 0 3px 24px rgba(0, 0, 0, 0.58);
  }

  #customPageContent .product-hero .hero-sub,
  #customPageContent .product-hero .hero-sub span,
  #customPageContent .product-hero .hero-sub p {
    color: rgba(255, 255, 255, 0.92) !important;
  }
}

/* Desktop: evitar que imagenes de tarjetas dominen demasiado */
@media (min-width: 992px) {
  #customPageContent .ssc-row > div:has(img) img {
    max-height: 280px;
    object-fit: cover !important;
  }

  #customPageContent .bb-specs .ssc-row > div:has(img) img {
    object-fit: contain !important;
  }
}

/* Mobile: banners menos altos y mejor encuadrados */
@media (max-width: 767px) {
  #customPageContent .product-hero > div {
    min-height: 430px !important;
    padding-top: 48px !important;
    padding-bottom: 48px !important;
    background-size: cover !important;
    background-position: center top !important;
  }

  #customPageContent .product-hero h1 {
    margin-top: 0 !important;
  }
}

/* Mobile chico: reducir aun mas el espacio blanco del banner */
@media (max-width: 420px) {
  #customPageContent .product-hero > div {
    min-height: 390px !important;
    padding-top: 42px !important;
    padding-bottom: 42px !important;
  }
}/* ==================================================
   FIX DESKTOP - TEXTO DE BANNERS SIN SUPERPONER ROBOT
   ================================================== */

@media (min-width: 992px) {
  #customPageContent .product-hero > div {
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    padding-left: clamp(48px, 6vw, 96px) !important;
    padding-right: 52% !important;
    min-height: 560px !important;
    background-position: center center !important;
  }

  #customPageContent .product-hero > div::before {
    background:
      linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.58) 34%,
        rgba(0, 0, 0, 0.18) 58%,
        rgba(0, 0, 0, 0.04) 100%
      ) !important;
  }

  #customPageContent .product-hero h1,
  #customPageContent .product-hero .hero-sub,
  #customPageContent .product-hero .hero-buttons {
    max-width: 520px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  #customPageContent .product-hero .hero-sub {
    color: rgba(255, 255, 255, 0.92) !important;
  }
}/* ===== SECCION HOME - SOLUCIONES ROBOTICAS ===== */

.tc-solutions-home {
  background: #ffffff;
  padding: 90px 20px;
}

.tc-solutions-home,
.tc-solutions-home * {
  box-sizing: border-box;
}

.tc-solutions-container {
  max-width: 1200px;
  margin: 0 auto;
}

.tc-solutions-header {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.tc-solutions-header h2 {
  margin: 0 0 14px;
  color: #111318 !important;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.12;
  font-weight: 700;
}

.tc-solutions-header p {
  margin: 0;
  color: #4f5661 !important;
  font-size: 17px;
  line-height: 1.65;
}

.tc-solutions-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 34px;
  border: 0 !important;
  flex-wrap: wrap;
}

.tc-solutions-tabs .nav-link {
  min-width: 132px;
  padding: 13px 22px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17, 19, 24, 0.16) !important;
  background: #ffffff !important;
  color: #111318 !important;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 8px 22px rgba(17, 19, 24, 0.06);
}

.tc-solutions-tabs .nav-link.active {
  background: #e20613 !important;
  border-color: #e20613 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 30px rgba(226, 6, 19, 0.22);
}

.tc-panel-title {
  margin: 0 0 24px;
  text-align: center;
}

.tc-panel-title h3 {
  margin: 0 0 8px;
  color: #111318 !important;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  font-weight: 700;
}

.tc-panel-title p {
  margin: 0;
  color: #4f5661 !important;
  font-size: 16px;
  line-height: 1.6;
}

.tc-robot-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 22px;
  width: 100%;
}

.tc-robot-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border-radius: 16px;
  background: rgba(31, 35, 42, 0.50);
  border: 1px solid rgba(17, 19, 24, 0.10);
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
  overflow: hidden;
}

.tc-robot-image {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tc-robot-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  display: block;
}

.tc-robot-card h4 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 700;
}

.tc-robot-card p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.84) !important;
  font-size: 15px;
  line-height: 1.55;
  flex: 1;
}

.tc-robot-card .btn {
  width: fit-content;
  min-height: 44px;
  padding: 12px 20px !important;
  border-radius: 999px !important;
  background: #e20613 !important;
  border: 1px solid #e20613 !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
}

@media (max-width: 991px) {
  .tc-solutions-home {
    padding: 68px 16px;
  }

  .tc-robot-grid {
    grid-template-columns: 1fr !important;
  }

  .tc-robot-image {
    height: 230px;
  }
}

@media (max-width: 520px) {
  .tc-solutions-tabs {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tc-solutions-tabs .nav-link,
  .tc-robot-card .btn {
    width: 100%;
  }
}/* ==================================================
   FIX FINAL DESKTOP - TEXTOS VISIBLES EN HERO ROBOTS
   ================================================== */

@media (min-width: 992px) {
  #customPageContent .product-hero {
    padding-top: 34px !important;
    padding-bottom: 56px !important;
  }

  #customPageContent .product-hero > div {
    min-height: 560px !important;
    height: auto !important;
    padding: 64px clamp(36px, 5vw, 72px) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
    text-align: left !important;
    background-size: cover !important;
    background-position: center center !important;
    position: relative !important;
    overflow: hidden !important;
  }

  #customPageContent .product-hero > div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.42) 0%,
      rgba(0, 0, 0, 0.26) 42%,
      rgba(0, 0, 0, 0.08) 72%,
      rgba(0, 0, 0, 0.02) 100%
    ) !important;
    z-index: 0 !important;
    pointer-events: none !important;
  }

  #customPageContent .product-hero h1,
  #customPageContent .product-hero .hero-sub,
  #customPageContent .product-hero .hero-buttons {
    position: relative !important;
    z-index: 2 !important;
    max-width: 520px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
  }

  #customPageContent .product-hero h1 {
    width: fit-content;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 14px 18px;
    border-radius: 14px;
    background: rgba(31, 35, 42, 0.58);
    color: #ffffff !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
  }

  #customPageContent .product-hero h1 strong {
    color: #ffffff !important;
  }

  #customPageContent .product-hero .hero-sub {
    padding: 16px 18px;
    border-radius: 14px;
    background: rgba(31, 35, 42, 0.50);
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48);
    backdrop-filter: blur(6px);
  }

  #customPageContent .product-hero .hero-buttons {
    margin-top: 22px !important;
    display: flex !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
  }

  #customPageContent .product-hero .ss-separator {
    display: none !important;
  }
}/* ==================================================
   FIX HERO ROBOTS - FORZAR TEXTOS VISIBLES
   ================================================== */

#customPageContent .product-hero h1,
#customPageContent .product-hero h1 strong,
#customPageContent .product-hero .hero-sub,
#customPageContent .product-hero .hero-sub span,
#customPageContent .product-hero .hero-sub p,
#customPageContent .product-hero .hero-buttons {
  opacity: 1 !important;
  visibility: visible !important;
  color: #ffffff !important;
  position: relative !important;
  z-index: 5 !important;
  animation: none !important;
}

#customPageContent .product-hero > div::before {
  z-index: 1 !important;
  pointer-events: none !important;
}

#customPageContent .product-hero > div > * {
  position: relative !important;
  z-index: 5 !important;
}

@media (min-width: 992px) {
  #customPageContent .product-hero h1 {
    display: block !important;
    width: fit-content;
    max-width: 560px !important;
    margin-top: 0 !important;
    margin-bottom: 14px !important;
    padding: 14px 18px !important;
    border-radius: 14px !important;
    background: rgba(31, 35, 42, 0.62) !important;
    color: #ffffff !important;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.55) !important;
  }

  #customPageContent .product-hero .hero-sub {
    display: block !important;
    max-width: 560px !important;
    margin: 0 !important;
    padding: 16px 18px !important;
    border-radius: 14px !important;
    background: rgba(31, 35, 42, 0.54) !important;
    color: rgba(255, 255, 255, 0.94) !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.48) !important;
  }

  #customPageContent .product-hero .hero-buttons {
    display: flex !important;
    margin-top: 22px !important;
  }
}/* FIX EDITOR SITIO SIMPLE - PERMITIR SCROLL EN EDICION */

html,
body {
  overflow-y: auto !important;
}

#customPageContent,
#customPageContent .sitePage {
  overflow-x: hidden !important;
  overflow-y: visible !important;
}
/* ===== FLASHBOT SCROLL STORY ===== */

.tc-scroll-story {
  background: #ffffff;
  padding: 100px 20px;
}

.tc-scroll-story-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.tc-scroll-sticky {
  position: sticky;
  top: 120px;
}

.tc-scroll-sticky h2 {
  margin: 0 0 16px;
  color: #111318 !important;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.08;
}

.tc-scroll-sticky p {
  margin: 0 0 24px;
  color: #4f5661 !important;
  font-size: 17px;
  line-height: 1.7;
}

.tc-scroll-visual {
  min-height: 320px;
  border-radius: 20px;
  background: rgba(31, 35, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
}

.tc-scroll-visual img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  display: block;
}

.tc-scroll-steps {
  display: grid;
  gap: 28px;
}

.tc-scroll-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-radius: 18px;
  background: rgba(31, 35, 42, 0.78);
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
  opacity: 0.55;
  transform: translateY(16px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.tc-scroll-card:hover {
  opacity: 1;
  transform: translateY(0);
}

.tc-scroll-icon {
  margin-bottom: 18px;
  color: #e20613;
  font-size: 34px;
  line-height: 1;
}

.tc-scroll-card strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff !important;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0;
}

.tc-scroll-card h3 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 28px;
  line-height: 1.15;
}

.tc-scroll-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84) !important;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .tc-scroll-story {
    padding: 68px 16px;
  }

  .tc-scroll-story-wrap {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .tc-scroll-sticky {
    position: static;
  }

  .tc-scroll-card {
    min-height: auto;
    opacity: 1;
    transform: none;
  }
}/* ===== MOBILE - ANIMACION SUAVE FLASHBOT ===== */

@media (max-width: 991px) {
  .tc-scroll-card {
    opacity: 1 !important;
    transform: none !important;
    animation: tcMobileFadeUp 600ms ease both;
  }

  .tc-scroll-card:nth-child(1) {
    animation-delay: 0ms;
  }

  .tc-scroll-card:nth-child(2) {
    animation-delay: 120ms;
  }

  .tc-scroll-card:nth-child(3) {
    animation-delay: 240ms;
  }

  .tc-scroll-card:nth-child(4) {
    animation-delay: 360ms;
  }
}

@keyframes tcMobileFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== SH1 PAGE - TECNOCOM ===== */

.tc-sh-section {
  padding: 90px 20px;
  background: #ffffff;
}

.tc-sh-wrap {
  max-width: 1200px;
  margin: 0 auto;
}

.tc-sh-head {
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.tc-sh-head h2 {
  margin: 0 0 14px;
  color: #111318 !important;
  font-size: clamp(30px, 3.2vw, 48px);
  line-height: 1.12;
}

.tc-sh-head p {
  margin: 0;
  color: #4f5661 !important;
  font-size: 17px;
  line-height: 1.65;
}

.tc-sh-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tc-sh-card {
  padding: 26px;
  border-radius: 16px;
  background: rgba(31, 35, 42, 0.78);
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
}

.tc-sh-card h3 {
  margin: 0 0 10px;
  color: #ffffff !important;
  font-size: 24px;
}

.tc-sh-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84) !important;
  line-height: 1.6;
}

.tc-sh-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.tc-sh-imagebox {
  min-height: 420px;
  border-radius: 20px;
  background: rgba(31, 35, 42, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
}

.tc-sh-imagebox img {
  width: 100%;
  max-height: 420px;
  object-fit: contain;
}

.tc-sh-copy h2 {
  margin: 0 0 16px;
  color: #111318 !important;
}

.tc-sh-copy p {
  color: #4f5661 !important;
  line-height: 1.7;
}

.tc-sh-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.tc-sh-list-item {
  padding: 18px;
  border-radius: 14px;
  background: #f4f5f7;
  border: 1px solid rgba(17, 19, 24, 0.08);
}

.tc-sh-list-item strong {
  display: block;
  margin-bottom: 6px;
  color: #111318;
}

.tc-sh-list-item span {
  color: #4f5661 !important;
}

.tc-sh-scroll {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.tc-sh-sticky {
  position: sticky;
  top: 120px;
}

.tc-sh-sticky h2 {
  margin: 0 0 16px;
  color: #111318 !important;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.08;
}

.tc-sh-sticky p {
  color: #4f5661 !important;
  line-height: 1.7;
}

.tc-sh-steps {
  display: grid;
  gap: 28px;
}

.tc-sh-step {
  min-height: 260px;
  padding: 30px;
  border-radius: 18px;
  background: rgba(31, 35, 42, 0.78);
  box-shadow: 0 18px 44px rgba(17, 19, 24, 0.14);
}

.tc-sh-step i {
  margin-bottom: 18px;
  color: #e20613;
  font-size: 34px;
}

.tc-sh-step strong {
  display: block;
  margin-bottom: 10px;
  color: #ffffff !important;
  font-size: 14px;
  text-transform: uppercase;
}

.tc-sh-step h3 {
  margin: 0 0 12px;
  color: #ffffff !important;
  font-size: 28px;
}

.tc-sh-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84) !important;
  line-height: 1.65;
}

.tc-sh-specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.tc-sh-spec {
  padding: 18px;
  border-radius: 12px;
  background: rgba(31, 35, 42, 0.78);
}

.tc-sh-spec span {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.68) !important;
  font-size: 14px;
}

.tc-sh-spec strong {
  display: block;
  color: #ffffff !important;
  font-size: 19px;
  line-height: 1.25;
}

@media (max-width: 991px) {
  .tc-sh-section {
    padding: 68px 16px;
  }

  .tc-sh-grid,
  .tc-sh-split,
  .tc-sh-scroll,
  .tc-sh-specs {
    grid-template-columns: 1fr;
  }

  .tc-sh-sticky {
    position: static;
  }

  .tc-sh-imagebox {
    min-height: auto;
  }

  .tc-sh-step {
    min-height: auto;
  }
}
/* ===== SH1 - PANTALLA TACTIL TABS VISUAL ===== */

.tc-sh-screen-section {
  padding: 90px 20px;
  background: #ffffff;
}

.tc-sh-screen-stage {
  max-width: 1200px;
  min-height: 720px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  background: rgba(31, 35, 42, 0.86);
  box-shadow: 0 22px 60px rgba(17, 19, 24, 0.18);
}

.tc-sh-screen-stage .tab-content,
.tc-sh-screen-stage .tab-pane {
  width: 100%;
  height: 100%;
}

.tc-sh-screen-panel {
  min-height: 720px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 46px 210px;
}

.tc-sh-screen-panel img {
  width: 100%;
  max-height: 500px;
  object-fit: contain !important;
  display: block;
}

.tc-sh-screen-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 34px 30px;
  background: linear-gradient(
    180deg,
    rgba(31, 35, 42, 0),
    rgba(31, 35, 42, 0.92) 24%,
    rgba(31, 35, 42, 0.98)
  );
  z-index: 4;
}

.tc-sh-screen-heading {
  max-width: 760px;
  margin: 0 auto 22px;
  text-align: center;
}

.tc-sh-screen-heading h2 {
  margin: 0 0 8px;
  color: #ffffff !important;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.tc-sh-screen-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78) !important;
  line-height: 1.55;
}

.tc-sh-screen-nav {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  border: 0 !important;
}

.tc-sh-screen-nav .nav-link {
  width: 100%;
  padding: 0 0 14px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: rgba(255, 255, 255, 0.62) !important;
  text-align: left;
  position: relative;
}

.tc-sh-screen-nav .nav-link strong {
  display: block;
  margin-bottom: 6px;
  color: inherit !important;
  font-size: 16px;
  line-height: 1.25;
}

.tc-sh-screen-nav .nav-link span {
  display: block;
  color: inherit !important;
  font-size: 13px;
  line-height: 1.4;
}

.tc-sh-screen-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.tc-sh-screen-nav .nav-link.active {
  color: #ffffff !important;
}

.tc-sh-screen-nav .nav-link.active::after {
  background: #e20613;
}

@media (max-width: 991px) {
  .tc-sh-screen-section {
    padding: 68px 16px;
  }

  .tc-sh-screen-stage {
    min-height: auto;
  }

  .tc-sh-screen-panel {
    min-height: 620px;
    padding: 28px 18px 300px;
  }

  .tc-sh-screen-panel img {
    max-height: 340px;
  }

  .tc-sh-screen-info {
    padding: 28px 18px 24px;
  }

  .tc-sh-screen-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}