:root{
    --nomi:#008180;
    --nomi-2:#0aa3a0;
    --nomi-soft: rgba(0,129,128,.16);
    --ink:#0e2b2b;
  }
  
  /* HERO */
  .nl-ebooks-hero{
    position: relative;
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    min-height: clamp(520px, 62vh, 720px);
    display: grid;
    place-items: center;
    overflow: hidden;
  
    /* degradado verde izquierda -> claro derecha */
    background: linear-gradient(90deg,
      rgba(0,129,128,.95) 0%,
      rgba(0,129,128,.45) 32%,
      rgba(231,248,247,.85) 60%,
      rgba(255,255,255,1) 100%
    );
  }
  
  /* brillo suave */
  .nl-ebooks-hero::after{
    content:"";
    position:absolute;
    inset:-40%;
    background: radial-gradient(circle at 30% 35%, rgba(255,255,255,.22), transparent 55%);
    filter: blur(10px);
    pointer-events:none;
    z-index: 0;
  }
  
  .nl-ebooks-hero__wrap{
    width: min(1200px, calc(100% - 28px));
    margin: 0 auto;
    position: relative;
    z-index: 1;
  }
  
  .nl-ebooks-hero__grid{
    display:grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(8px, 1.5vw, 20px);
    align-items: center;
  }
  
  /* MEDIA */
  .nl-ebooks-hero__media{
    display:flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
  }
  
  .nl-ebooks-hero__img{
    width: min(520px, 92%);
    height: auto;
    display:block;
    filter: drop-shadow(0 26px 60px rgba(0,0,0,.22));
    transform-origin: center;
  }
  
  /* CONTENT */
  .nl-ebooks-hero__content{
    max-width: 620px;
    margin: 0;
    padding: 0;
  }
  
  .nl-ebooks-hero__title{
    margin: 0 0 8px;
    line-height: .95;
    letter-spacing: -0.03em;
  }
  
  .nl-ebooks-hero__titleTop{
    display:block;
    font-weight: 900;
    font-size: clamp(42px, 5.2vw, 82px);
    color: #0b0b0b;
  }
  
  .nl-ebooks-hero__titleBrand{
    display:block;
    font-weight: 900;
    font-size: clamp(46px, 5.8vw, 92px);
    color: #d87625; /* si quieres igual en verde, cambia a var(--nomi) */
  }
  
  .nl-ebooks-hero__sub{
    margin: 0;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.6;
    color: rgba(0,0,0,.72);
    max-width: 520px;
  }
  
  

 
  
  /* ===== Animación coqueta (arriba) ===== */
  .nl-reveal-up{
    opacity: 0;
    transform: translate3d(0, 46px, 0);
    filter: blur(12px);
    transition:
      opacity .8s ease,
      transform .85s cubic-bezier(.16,.95,.22,1),
      filter .8s ease;
    will-change: opacity, transform, filter;
  }
  
  .nl-reveal-up.is-in{
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
  
  /* Responsive */
  @media (max-width: 980px){
    .nl-ebooks-hero{
      min-height: auto;
      padding: 70px 0 56px;
      background: linear-gradient(180deg,
        rgba(0,129,128,.95) 0%,
        rgba(0,129,128,.30) 35%,
        rgba(255,255,255,1) 75%
      );
    }
  
    .nl-ebooks-hero__grid{
      grid-template-columns: 1fr;
      gap: 0 !important;
      text-align: center;
    }
  
    .nl-ebooks-hero__content{
      margin: -30px auto 0 !important;
    }

    .nl-ebooks-hero__media{
      margin: 0 !important;
      padding: 0 !important;
    }
  
    .nl-ebooks-hero__sub{
      margin-left: auto;
      margin-right: auto;
    }
  
    .nl-ebooks-hero__actions{
      justify-content: center;
    }
  
    .nl-ebooks-hero__img{
      width: min(520px, 88%);
    }
  }
  
  @media (max-width: 425px){
    .nl-ebooks-hero{
      padding: 64px 0 46px;
    }
  
    .nl-ebooks-hero__img{
      width: min(460px, 92%);
    }
  }
  
  @media (max-width: 320px){
    .nl-btn{
      width: 100%;
    }
  }
  





  :root{
    --nomi:#008180;
    --nomi-orange:#d87625;
    --ink:#0e2b2b;
  }
  
  /* Sección */
  .nlx-lib{
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    padding: clamp(48px, 5vw, 78px) 0;
    background:#fff;
  }
  
  .nlx-lib__wrap{
    width: min(1120px, calc(100% - 28px));
    margin: 0 auto;
  }
  
  /* Título */
  .nlx-lib__head{
    text-align:center;
    margin-bottom: clamp(26px, 3vw, 44px);
  }
  
  .nlx-lib__title{
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.02;
    font-size: clamp(28px, 4vw, 54px);
    color: var(--nomi);
  }
  
  .nlx-lib__title span{
    color: var(--nomi-orange);
  }
  
  /* Grid cards */
  .nlx-lib__grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(14px, 2.6vw, 26px);
    align-items: stretch;
  }
  
  /* Card base */
  .nlx-lib__card{
    position: relative;
    border-radius: 28px;
    padding: 42px 26px 26px;
    background: rgba(216,118,37,.26); /* peach suave */
    display:flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
  
    box-shadow: 0 18px 46px rgba(0,0,0,.10);
    transition: transform .22s ease, box-shadow .26s ease, filter .26s ease;
    will-change: transform;
  }
  
  /* Variante menta (card central) */
  .nlx-lib__card--mint{
    background: rgba(0,129,128,.26);
  }
  
  /* Círculo icono */
  .nlx-lib__icon{
    width: 70px;
    height: 70px;
    border-radius: 999px;
    background: #fff;
    display:grid;
    place-items:center;
    margin-bottom: 18px;
    box-shadow: 0 14px 28px rgba(0,0,0,.12);
    transform: translateY(-6px);
    transition: transform .22s ease, box-shadow .26s ease;
  }
  
  .nlx-lib__icon i{
    font-size: 30px;
    color: rgba(0,0,0,.76);
  }
  
  /* Texto */
  .nlx-lib__text{
    margin: 0;
    text-align:center;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: rgba(0,0,0,.84);
    font-size: clamp(16px, 1.2vw, 20px);
    line-height: 1.25;
  }
  
  /* Hover coqueto */
  .nlx-lib__card:hover{
    transform: translateY(-6px);
    box-shadow: 0 26px 66px rgba(0,0,0,.14);
    filter: saturate(1.03);
  }
  
  .nlx-lib__card:hover .nlx-lib__icon{
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 22px 44px rgba(0,0,0,.16);
  }
  
  /* ===== Reveal on scroll ===== */
  .nlx-reveal{
    opacity: 0;
    transform: translate3d(0, 44px, 0);
    filter: blur(12px);
    transition:
      opacity .75s ease,
      transform .85s cubic-bezier(.16,.95,.22,1),
      filter .75s ease;
    will-change: opacity, transform, filter;
  }
  
  .nlx-reveal.is-inview{
    opacity: 1;
    transform: translate3d(0, 0, 0);
    filter: blur(0);
  }
  
  /* ===== Responsive ===== */
  @media (max-width: 768px){
    .nlx-lib__grid{
      grid-template-columns: 1fr;
      max-width: 520px;
      margin: 0 auto;
    }
    .nlx-lib__card{
      min-height: 220px;
    }
  }
  
  @media (max-width: 425px){
    .nlx-lib__wrap{
      width: min(1120px, calc(100% - 16px));
    }
    .nlx-lib__card{
      border-radius: 22px;
      padding: 38px 18px 22px;
    }
    .nlx-lib__icon{
      width: 64px;
      height: 64px;
    }
    .nlx-lib__icon i{
      font-size: 28px;
    }
  }
  
  @media (max-width: 320px){
    .nlx-lib__title{
      font-size: 26px;
    }
    .nlx-lib__text{
      font-size: 15.5px;
    }
  }
  




















  :root{
    --nomi:#008180;
    --panel: rgba(0,129,128,.14);
    --muted: rgba(0,0,0,.62);
  
    --orange:#d67625;
  }
  
  /* Sección */
  .nlx-ebooksF{
    font-family: "Poppins", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background:#fff;
  }
  
  /* container-fluid real */
  .nlx-ebooksF__fluid{
    width:100%;
    margin:0;
    padding:0;
  }
  
  /* Panel full width */
  .nlx-ebooksF__panel{
    width:100%;
    background: var(--panel);
    border-radius: 46px;
    padding: clamp(28px, 3.6vw, 64px) clamp(18px, 3.2vw, 56px);
    min-height: 100svh;
    position: relative;
    overflow:hidden;
  }
  
  .nlx-ebooksF__panel::before{
    content:"";
    position:absolute;
    inset:-40%;
    background:
      radial-gradient(circle at 20% 18%, rgba(255,255,255,.28), transparent 56%),
      radial-gradient(circle at 78% 28%, rgba(0,129,128,.10), transparent 58%),
      radial-gradient(circle at 22% 95%, rgba(0,129,128,.10), transparent 60%);
    filter: blur(14px);
    pointer-events:none;
  }
  .nlx-ebooksF__panel > *{ position:relative; z-index:1; }
  
  /* Header + separación extra para que NO choque con cards */
  .nlx-ebooksF__head{
    text-align:center;
    margin-bottom: clamp(44px, 4.2vw, 72px); /* ✅ más aire antes de las cards */
  }
  
  .nlx-ebooksF__title{
    margin: 30px 0 10px;
    font-weight: 700;
    letter-spacing: -0.035em;
    color: var(--nomi);
    font-size: clamp(30px, 4.8vw, 66px);
    line-height: 1.02;
  }
  
  .nlx-ebooksF__sub{
    margin: 0 auto;
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.55;
    margin-bottom: 200px;
  }
  
  /* Grid con más aire */
  .nlx-ebooksF__grid{
    width: min(1180px, 100%);
    margin: 0 auto;
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    column-gap: clamp(26px, 3.6vw, 46px);
    row-gap: clamp(80px, 7vw, 120px); /* ✅ más separación vertical */
    align-items: stretch;
  }
  
  .nlx-cardE:nth-child(4),
  .nlx-cardE:nth-child(5),
  .nlx-cardE:nth-child(6){
    margin-top: 110px;
  }


  /* Card */
  .nlx-cardE{
    position: relative;
    background: rgba(255,255,255,.96);
    border-radius: 34px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 22px 54px rgba(0,0,0,.12);
    text-align: center;
  
    /* ✅ menos “chunky”: bajamos padding total */
    padding: 40px 26px 30px;
    overflow: visible;
    transition: transform .24s cubic-bezier(.2,.9,.2,1), box-shadow .28s ease;
  }
  
  /* iPad flotando: MÁS ARRIBA para que no tape el título */
  .nlx-cardE__media{
    position:absolute;
    left:50%;
    top:0;
    transform: translateX(-50%) translateY(-13px); 
    width: min(380px, 85%);
    display:flex;
    justify-content:center;
    pointer-events:none;
    z-index: 2;
    perspective: 900px;

  }
  
  .nlx-cardE__media img{
    width:100%;
    height:auto;
    display:block;
    filter: drop-shadow(0 26px 36px rgba(0,0,0,.22));
    transform: translate3d(0,0,0) scale(1);
    transition: transform .32s cubic-bezier(.2,.9,.2,1), filter .28s ease;
    will-change: transform;
  }
  
  /* título más pequeño */
  .nlx-cardE__title{
    margin: 0 0 6px;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--nomi);
    font-size: clamp(18px, 1.35vw, 22px); /* ✅ más pequeño */
    line-height: 1.12;
  }
  
  /* botón más compacto */
  .nlx-cardE__btn{
    position: relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding: 11px 22px;      /* ✅ más pequeño */
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;         /* ✅ más pequeño */
    text-decoration:none;
    color:#fff;
    background: var(--orange);
    box-shadow: 0 16px 28px rgba(214,118,37,.24);
    transition: transform .18s ease, box-shadow .22s ease, filter .22s ease;
    overflow:hidden;
  }
  
  .nlx-cardE__btn::after{
    content:"";
    position:absolute;
    inset:-40% auto -40% -60%;
    width: 55%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.40), transparent);
    transform: rotate(18deg);
    opacity: 0;
    transition: transform .62s ease, opacity .24s ease;
  }
  
  /* Hover coqueto (sin retroiluminación) */
  .nlx-cardE:hover{
    transform: translateY(-10px);
    box-shadow: 0 34px 86px rgba(0,0,0,.16);
  }
  
  .nlx-cardE:hover .nlx-cardE__media img{
    transform: translate3d(0, -18px, 0) rotateZ(-3.5deg) rotateY(-6deg) scale(1.02);
    filter: drop-shadow(0 34px 48px rgba(0,0,0,.26));
  }
  

  
  /* botón con resplandor */
  .nlx-cardE:hover .nlx-cardE__btn{
    transform: translateY(-2px);
    filter: saturate(1.03);
    box-shadow: 0 20px 40px rgba(214,118,37,.34), 0 0 22px rgba(214,118,37,.28);
  }
  .nlx-cardE:hover .nlx-cardE__btn::after{
    opacity: 1;
    transform: translateX(250%) rotate(18deg);
  }
  
  /* 7ma centrada */
  .nlx-cardE--center{ 
    grid-column: 2 / 3;
    margin-top: 100px; 
  }
  
  /* Reveal */
  .nlx-revealF{
    opacity: 0;
    transform: translate3d(0, 56px, 0);
    filter: blur(12px);
    transition:
      opacity .85s ease,
      transform .95s cubic-bezier(.16,.95,.22,1),
      filter .85s ease;
    will-change: opacity, transform, filter;
  }
  .nlx-revealF.is-inview{
    opacity: 1;
    transform: translate3d(0,0,0);
    filter: blur(0);
  }
  
  /* ===== Responsive (REEMPLAZA TODO tu bloque actual) ===== */

@media (max-width: 1024px){
  .nlx-ebooksF__grid{
    width: min(980px, 100%);
    column-gap: 22px;
    row-gap: 96px;
  }

  .nlx-cardE{
    padding: 200px 22px 28px;
    border-radius: 30px;
  }

  .nlx-cardE__media{
    width: min(340px, 88%);
    transform: translateX(-50%) translateY(-115px);
  }
}

/* ✅ 768: cambia a “imagen dentro de card” para que NO se rompa */
@media (max-width: 768px){
  .nlx-ebooksF__panel{
    border-radius: 34px;
    padding: 28px 18px 48px;
    min-height: auto;
  }

  /* ✅ quita el mega espacio que te estaba matando el layout */
  .nlx-ebooksF__sub{
    margin-bottom: 0;
  }

  .nlx-ebooksF__head{
    margin-bottom: 40px;
  }

  .nlx-ebooksF__grid{
    grid-template-columns: repeat(2, minmax(0,1fr));
    column-gap: 18px;
    row-gap: 58px;
  }

  /* ✅ mata offsets manuales */
  .nlx-cardE:nth-child(4),
  .nlx-cardE:nth-child(5),
  .nlx-cardE:nth-child(6){
    margin-top: 0;
  }

  .nlx-cardE--center{
    grid-column: 1 / -1;
    margin-top: 0;
    justify-self: center;
    width: min(560px, 100%);
  }

  /* ✅ Card más compacta y estable */
  .nlx-cardE{
    padding: 18px 16px 20px;
    border-radius: 26px;
    overflow: hidden; /* ahora sí, porque ya no flota fuera */
  }

  /* ✅ iPad ahora vive dentro */
  .nlx-cardE__media{
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 100%;
    max-width: 260px;
    margin: 0 auto 6px;
    pointer-events: none;
    z-index: 1;
    perspective: none;
  }

  .nlx-cardE__media img{
    filter: drop-shadow(0 18px 26px rgba(0,0,0,.18));
  }

  .nlx-cardE__title{
    font-size: 18px;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .nlx-cardE__btn{
    padding: 10px 18px;
    font-size: 13.5px;
    border-radius: 12px;
  }
}

/* ✅ 425: 1 columna, imagen ajustada */
@media (max-width: 425px){
  .nlx-ebooksF__panel{
    border-radius: 26px;
    padding: 22px 14px 40px;
  }

  .nlx-ebooksF__grid{
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .nlx-cardE{
    padding: 16px 14px 18px;
    border-radius: 24px;
  }

  .nlx-cardE__media{
    max-width: 280px;
    margin-bottom: 6px;
  }

  .nlx-cardE__title{
    font-size: 20px;
  }

  .nlx-cardE__btn{
    width: min(240px, 100%);
  }

  .nlx-cardE--center{
    width: 100%;
  }
}

/* ✅ 320: ultra compacto */
@media (max-width: 320px){
  .nlx-ebooksF__panel{
    padding: 20px 12px 36px;
  }

  .nlx-cardE{
    padding: 14px 12px 16px;
  }

  .nlx-cardE__media{
    max-width: 250px;
  }

  .nlx-cardE__btn{
    width: 100%;
  }
}
