  body {
      background-color: #f8fafd;
      font-family: 'Inter', system-ui, -apple-system, sans-serif;
  }

  /* Toggle Expand Button */
  .prod-btn-link {
      background: transparent;
      border: none;
      padding: 0;
      cursor: pointer;
      font-weight: 600;
      color: #0d6efd;
      transition: color 0.2s ease;
  }

  .prod-btn-link:hover {
      color: #0b5ed7;
  }

  .prod-btn-link .text-expanded {
      display: none;
  }

  .prod-btn-link[aria-expanded="true"] .text-collapsed {
      display: none;
  }

  .prod-btn-link[aria-expanded="true"] .text-expanded {
      display: inline;
  }

  /* ====== PRODUCTOS TABS ====== */
  .prod-wrapper {
      background: white;
      border-radius: 20px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
      overflow: hidden;
      min-height: 580px;
      margin-bottom: 4rem;
  }

  /* Sidebar */
  .prod-sidebar {
      background: #fafbfd;
      border-right: 1px solid #f1f5f9;
      padding: 1.5rem 0;
      height: 100%;
  }

  .prod-sidebar-header {
      font-size: 0.75rem;
      font-weight: 700;
      color: #94a3b8;
      letter-spacing: 1.5px;
      padding: 0 1.5rem;
      margin-bottom: 1rem;
      text-transform: uppercase;
  }

  .prod-tab {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      padding: 1.2rem 1.5rem;
      border: none;
      background: transparent;
      cursor: pointer;
      text-align: left;
      transition: all 0.25s ease;
      border-left: 3px solid transparent;
  }

  .prod-tab:hover {
      background: rgba(13, 110, 253, 0.03);
  }

  .prod-tab.active {
      background: rgba(13, 110, 253, 0.05);
      border-left-color: #0d6efd;
  }

  .prod-tab>i {
      font-size: 1.3rem;
      color: #94a3b8;
      flex-shrink: 0;
      width: 28px;
      text-align: center;
      transition: color 0.25s ease;
  }

  .prod-tab.active>i {
      color: #0d6efd;
  }

  .prod-tab strong {
      display: block;
      font-size: 0.95rem;
      color: #1e293b;
      font-weight: 600;
      margin-bottom: 2px;
      transition: color 0.25s ease;
  }

  .prod-tab.active strong {
      color: #0d6efd;
  }

  .prod-tab span {
      display: block;
      font-size: 0.8rem;
      color: #94a3b8;
  }

  /* Panel contenido */
  .prod-content {
      padding: 3rem;
      height: 100%;
      position: relative;
  }

  .prod-panel {
      display: none;
      animation: prodFadeIn 0.35s ease;
  }

  .prod-panel.active {
      display: block;
  }

  @keyframes prodFadeIn {
      from {
          opacity: 0;
          transform: translateY(8px);
      }

      to {
          opacity: 1;
          transform: translateY(0);
      }
  }

  .prod-panel-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1.5rem;
  }

  .prod-panel-icon {
      width: 54px;
      height: 54px;
      border-radius: 12px;
      background: rgba(13, 110, 253, 0.08);
      color: #0d6efd;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
  }

  .prod-panel-title {
      font-weight: 800;
      color: #0f172a;
      font-size: 1.6rem;
      margin: 0;
  }

  .prod-panel-desc {
      color: #475569;
      font-size: 1rem;
      line-height: 1.7;
      margin-bottom: 2rem;
      max-width: 650px;
  }

  /* Features */
  .prod-features {
      margin-bottom: 2.5rem;
  }

  .prod-feature {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 1.2rem;
  }

  .prod-feature>i {
      color: #10b981;
      font-size: 1.2rem;
      margin-top: 1px;
      flex-shrink: 0;
  }

  .prod-feature strong {
      display: block;
      font-size: 0.95rem;
      color: #1e293b;
      font-weight: 600;
      margin-bottom: 3px;
  }

  .prod-feature span {
      display: block;
      font-size: 0.85rem;
      color: #64748b;
      line-height: 1.6;
  }

  /* Botones */
  .prod-actions {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
  }

  .prod-btn-primary {
      background: #0d6efd;
      color: white;
      font-weight: 600;
      font-size: 0.95rem;
      border: none;
      border-radius: 8px;
      padding: 10px 24px;
      transition: all 0.25s ease;
  }

  .prod-btn-primary:hover {
      background: #0b5ed7;
      color: white;
      transform: translateY(-1px);
      box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
  }

  .prod-btn-link {
      color: #0d6efd;
      font-weight: 600;
      font-size: 0.95rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: gap 0.2s ease;
  }

  .prod-btn-link:hover {
      gap: 10px;
      color: #0b5ed7;
  }



  /* ====== MOBILE MOCKUP ====== */
  .mobile-mockup {
      position: relative;
      width: 50%;
      min-width: 260px;
      max-width: 400px;
      background: #1a1a1a;
      border-radius: 36px;
      padding: 10px;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 0 6px rgba(255, 255, 255, 0.3), inset 0 0 0 2px #333;
      z-index: 10;
  }

  .mobile-screen {
      position: relative;
      background: #000;
      border-radius: 26px;
      overflow: hidden;
      aspect-ratio: 19.5/9;
      box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  }

  /* Mobile Dynamic Island (Landscape Left) */
  .mobile-screen::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 10px;
      transform: translateY(-50%);
      width: 18px;
      height: 30%;
      background: #000;
      border-radius: 12px;
      z-index: 3;
      box-shadow: inset -1px 0 3px rgba(255, 255, 255, 0.2), 2px 0 6px rgba(0, 0, 0, 0.8);
  }

  .mobile-content {
      width: 100%;
      height: 100%;
      position: relative;
      background: #f8f9fa;
  }

  /* ====== DEVICE COMPOSITE SET (Firma Digital) ====== */
  .device-group {
      position: relative;
      width: 100%;
      max-width: 650px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 30px;
  }
  
  .device-group .macbook-mockup {
      width: 100%;
  }

  .device-group .mobile-mockup {
      width: 60%;
      min-width: 280px;
      z-index: 5;
      box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  }

  /* ====== MACBOOK MOCKUP ====== */
  .macbook-mockup {
      position: relative;
      width: 100%;
      perspective: 1000px;
      z-index: 1;
  }

  .macbook-screen {
      position: relative;
      background: #000;
      border-radius: 12px 12px 0 0;
      padding: 3% 3% 4% 3%;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      z-index: 2;
  }

  /* Webcam dot */
  .macbook-screen::before {
      content: '';
      position: absolute;
      top: 2%;
      left: 50%;
      transform: translateX(-50%);
      width: 4px;
      height: 4px;
      background: #333;
      border-radius: 50%;
  }

  .macbook-content {
      position: relative;
      background: #f8f9fa;
      border-radius: 4px;
      overflow: visible; /* Permitir que las flechas salgan */
      aspect-ratio: 16/10;
      box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  }

  .macbook-content .carousel-inner {
      border-radius: 4px;
      overflow: hidden;
      height: 100%;
  }

  /* --- Ocultar flechas por defecto en la página normal --- */
  .macbook-content .carousel-control-prev,
  .macbook-content .carousel-control-next {
      display: none;
  }

  /* --- Estilo para que el Modal de Bootstrap no tenga límites de ancho --- */
  #imageLightboxModal .modal-dialog {
      max-width: 95vw; /* Permite que la ventana crezca casi hasta los bordes del navegador */
  }

  /* --- Mostrar y sacar flechas SOLO cuando se amplía en el Lightbox --- */
  #imageLightboxModal .macbook-content .carousel-control-prev,
  #imageLightboxModal .macbook-content .carousel-control-next {
      display: flex; /* Restaurar su estado original para que se vean */
      opacity: 0.9;
  }
  
  #imageLightboxModal .macbook-content .carousel-control-prev {
      left: -10%; /* Estaban en -12%, ahora un tris más cerca */
      width: 10%;
  }

  #imageLightboxModal .macbook-content .carousel-control-next {
      right: -10%; /* Lo mismo aquí */
      width: 10%;
  }

  #imageLightboxModal .macbook-content .carousel-control-prev-icon,
  #imageLightboxModal .macbook-content .carousel-control-next-icon {
      background-color: #0d6efd;
      border-radius: 50%;
      padding: 1.5rem;
      background-size: 1.2rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  }
  #imageLightboxModal .macbook-content .carousel-control-prev-icon:hover,
  #imageLightboxModal .macbook-content .carousel-control-next-icon:hover {
      background-color: #0b5ed7;
  }

  .macbook-content .carousel-item img,
  .macbook-content .carousel-item video {
      width: 100%;
      height: 100%;
      aspect-ratio: 16/10;
      object-fit: cover;
      object-position: top;
      display: block;
  }

  .mobile-content .carousel-item img,
  .mobile-content .carousel-item video {
      width: 100%;
      height: 100%;
      aspect-ratio: 19.5/9;
      object-fit: cover;
      object-position: top;
      display: block;
  }

  /* Placeholders Backgrounds */
  .bg-mockup-ihce {
      background: linear-gradient(135deg, #0dcaf0 0%, #087990 100%);
  }

  .bg-mockup-rips {
      background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%);
  }

  .bg-mockup-hc {
      background: linear-gradient(135deg, #0d6efd 0%, #003366 100%);
  }

  .bg-mockup-ci {
      background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  }

  .bg-mockup-ag {
      background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  }

  .bg-mockup-fe {
      background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
  }

  .macbook-base {
      position: relative;
      width: 114%;
      height: 12px;
      left: -7%;
      background: #d4d4d4;
      border-radius: 0 0 12px 12px;
      border-top: 1px solid #e5e5e5;
      box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
      z-index: 1;
  }

  .macbook-base::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 15%;
      height: 5px;
      background: #bbb;
      border-radius: 0 0 5px 5px;
  }


  /* Responsive */
  @media (max-width: 991px) {
      .prod-wrapper {
          min-height: auto;
      }

      .prod-sidebar {
          border-right: none;
          border-bottom: 1px solid #e2e8f0;
          display: flex;
          flex-direction: row;
          overflow-x: auto;
          scroll-behavior: smooth;
          -webkit-overflow-scrolling: touch;
          padding: 0;
          margin: 0;
      }

      .prod-sidebar::-webkit-scrollbar {
          height: 4px;
          display: none;
      }

      .prod-sidebar-header {
          display: none;
      }

      .prod-tab {
          flex: 0 0 auto;
          flex-direction: column;
          justify-content: center;
          text-align: center;
          min-width: 140px;
          max-width: 150px;
          padding: 1.2rem 0.5rem;
          border-left: none;
          border-bottom: 3px solid transparent;
          gap: 10px;
      }

      .prod-tab>i {
          font-size: 1.6rem;
          margin: 0 auto;
      }

      .prod-tab strong {
          font-size: 0.88rem;
          white-space: normal;
          line-height: 1.3;
          margin: 0;
      }

      .prod-tab span {
          display: none;
      }

      .prod-tab.active {
          border-left-color: transparent;
          border-bottom-color: #0d6efd;
          background: rgba(13, 110, 253, 0.03);
      }

      .prod-content {
          padding: 2.5rem 1.5rem;
      }

      .prod-panel-header {
          flex-direction: column;
          align-items: flex-start;
          gap: 1rem;
      }

      .prod-panel-icon {
          width: 48px;
          height: 48px;
          font-size: 1.4rem;
      }

      .prod-panel-title {
          font-size: 1.4rem;
      }

      .prod-panel-desc {
          font-size: 0.95rem;
          margin-bottom: 1.5rem;
      }

      .prod-actions {
          flex-direction: column;
          align-items: stretch;
          gap: 1rem;
      }

      .prod-btn-primary,
      .prod-btn-link {
          width: 100%;
          text-align: center;
          justify-content: center;
          padding: 12px 24px;
      }

  }