:root{
    --nomi:#008180;
    --accent:#d87625;
    --ink:#0e2b2b;
    --muted: rgba(14,43,43,.72);
    --line: rgba(14,43,43,.10);
  }
  
  .nl-demo{
    background:#fff;
    padding: clamp(28px, 5vw, 56px) 0;
    margin-bottom: 40px;
  }
  
  .nl-demo__wrap{
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: clamp(18px, 3vw, 28px);
    align-items: start;
  }
  
  /* Side */
  .nl-demo__side{
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    background: #fff;
  }
  
  .nl-demo__badge{
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: rgba(14,43,43,.75);
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .nl-demo__h{
    margin: 0 0 6px;
    color: var(--ink);
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(26px, 3.2vw, 36px);
  }
  
  .nl-demo__p{
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.5;
    font-size: 15.5px;
  }
  
  /* Nav */
  .nl-demo__nav{
    display: grid;
    gap: 12px;
  }
  
  .nl-demo__item{
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-align: left;
    transition: transform .18s ease, box-shadow .22s ease, border-color .22s ease;
  }
  
  .nl-demo__item:hover{
    transform: translateY(-1px);
    box-shadow: 0 14px 40px rgba(0,0,0,.06);
    border-color: rgba(0,129,128,.25);
  }
  
  .nl-demo__item.is-active{
    border-color: rgba(0,129,128,.35);
    box-shadow: 0 16px 46px rgba(0,0,0,.07);
  }
  
  .nl-demo__ic{
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(0,129,128,.08);
    border: 1px solid rgba(0,129,128,.16);
  }
  
  .nl-demo__ic i{
    font-size: 22px;
    color: var(--nomi);
  }
  
  .nl-demo__txt{
    font-weight: 800;
    color: rgba(14,43,43,.88);
    font-size: 16px;
  }
  
  /* Main */
  .nl-demo__main{
    border: 1px solid var(--line);
    border-radius: 22px;
    background: #fff;
    padding: clamp(18px, 3vw, 26px);
    min-height: 520px;
  }
  
  .nl-demo__panel{ display:none; }
  .nl-demo__panel.is-active{ display:block; }
  
  .nl-demo__panelhead{ margin-bottom: 14px; }
  
  .nl-demo__title{
    margin: 0 0 6px;
    font-weight: 800;                 /* ✅ menos pesado */
    letter-spacing: -0.02em;
    color: var(--ink);
    font-size: clamp(26px, 3.4vw, 44px);
  }

  /* Título del video en naranja Nomi */
.nl-demo__title{
    color: var(--accent) !important;
  }
  
  
  .nl-demo__desc{
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: 16px;
    max-width: 70ch;
  }
  
  /* Video */
  .nl-demo__video{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* Relación 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(0,0,0,.10);
    background: #0f1416;
    box-shadow: 0 18px 60px rgba(0,0,0,.10);
    margin-bottom: 16px;
  }
  
  .nl-demo__video iframe{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    display: block !important;
    min-height: 100% !important;
  }
  
  .nl-demo__player{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
  }
  
  /* Actions */
  .nl-demo__actions{
    margin-top: 14px;
    display: grid;
    gap: 10px;
    justify-items: start;
  }
  
  .nl-demo__next,
  .nl-demo__cta{
    width: 100%;
    max-width: 520px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  
    padding: 14px 18px;
    border-radius: 999px;
    font-weight: 700;                 /* ✅ 700 como pediste */
    text-decoration: none;
    cursor: pointer;
  
    transition: transform .18s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease, color .22s ease;
  }
  
  .nl-demo__next{
    border: 1px solid rgba(0,129,128,.25);
    background: rgba(0,129,128,.08);
    color: var(--nomi);
  }
  
  .nl-demo__next:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0,0,0,.08);
    background: rgba(0,129,128,.12);
  }
  
  .nl-demo__cta{
    border: 1px solid rgba(216,118,37,.22);
    background: rgba(216,118,37,.95);
    color: #fff;
  }
  
  .nl-demo__cta:hover{
    transform: translateY(-2px);
    box-shadow: 0 20px 50px rgba(0,0,0,.10);
    background: rgba(216,118,37,1);
    color: #fff;
  }
  
  /* Mobile responsive <=720px: lateral → horizontal + reducimos espacio */
  @media (max-width: 720px){
    .nl-demo__wrap{
      display: block;
    }
  
    .nl-demo__side{
      margin-bottom: 16px;
    }
  
    .nl-demo__nav{
      display: flex;
      overflow-x: auto;
      gap: 10px;
      padding-bottom: 8px;
      -webkit-overflow-scrolling: touch;
    }
  
    .nl-demo__item{
      flex-shrink: 0;
      width: auto;
      min-width: 160px;
      padding: 10px 14px;
      grid-template-columns: 38px 1fr;
      gap: 10px;
      border-radius: 999px;
    }
  
    .nl-demo__ic{
      width: 36px;
      height: 36px;
    }
  
    .nl-demo__ic i{
      font-size: 18px;
    }
  
    .nl-demo__txt{
      font-size: 14px;
    }
  }



  /* Estilos para el Panel de Bienvenida */
.panel-intro {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-card {
  background: rgba(0, 129, 128, 0.03);
  border: 2px dashed rgba(0, 129, 128, 0.2);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 60px);
  text-align: center;
  max-width: 600px;
}

/* Definición de video movida arriba para evitar duplicados */

/* Resaltado del primer botón (Bienvenida) */
.nl-demo__item[data-target="demo-intro"].is-active .nl-demo__ic {
  background: var(--accent);
}
.nl-demo__item[data-target="demo-intro"].is-active i {
  color: #fff;
}


/* Contenedor de la imagen superior */
.nl-demo__header-img {
  margin-bottom: 20px; /* Espacio antes del badge */
  text-align: center;    /* Alineado a la izquierda como tus textos */
}

.nl-demo__header-img img {
  max-width: 140px;    /* Ajusta este ancho según tu imagen */
  height: auto;
  display: block;
}

/* Opcional: Si quieres que en móvil se centre */
@media (max-width: 720px) {
  .nl-demo__header-img {
      text-align: center;
      margin-top: 10px;
  }
  .nl-demo__header-img img {
      margin: 0 auto;
      max-width: 120px;
  }
}

/* Estilos para el Panel de Bienvenida */
.panel-intro {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.intro-card {
  background: rgba(0, 129, 128, 0.03);
  border: 2px dashed rgba(0, 129, 128, 0.2);
  border-radius: 24px;
  padding: clamp(30px, 5vw, 60px);
  text-align: center; /* Esto centra texto y elementos inline */
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra los bloques dentro de la card */
}

/* Contenedor de la imagen superior en la card */
.intro-card__img {
  margin-bottom: 24px;
}

.intro-card__img img {
  max-width: 180px; /* Ajusta el tamaño de la claqueta aquí */
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Ajuste del título para que no pegue tanto a la imagen */
.panel-intro .nl-demo__title {
  margin-bottom: 15px;
}