/* Novedades · estilos propios del blog (índice y notas). Base: ../site.css (tokens, Geist, cabecera, pie). */
body {
  margin: 0;
}
main {
  overflow-x: clip;
}
.nv-narrow {
  max-width: 880px;
}

/* ── Cabecera de nota ── */
.sec.nv-phead {
  padding-block: calc(var(--head) + clamp(36px, 7vh, 72px)) clamp(28px, 4vh, 40px);
  overflow: visible;
}
.nv-phead .wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nv-phead h1 {
  font-size: clamp(34px, min(4.6vw, 7.2vh), 62px);
  line-height: 1.02;
}
.nv-deck {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 40em;
}
.nv-byline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.nv-byline b {
  display: block;
  font-weight: 600;
  line-height: 1.3;
}
.nv-byline small {
  display: block;
  color: var(--ink-3);
  font-size: 13px;
}
.nv-av {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--green);
  color: var(--on-green);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 16px;
  flex: none;
}

/* ── Meta (etiqueta · fecha · minutos) ── */
.nv-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  font-size: 13px;
  color: var(--ink-3);
}
.nv-meta-lg {
  font-size: 14px;
}
.nv-dot {
  color: var(--line-2);
}
.nv-tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green-ink);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
}
a.nv-tag:hover {
  background: var(--green);
  color: var(--on-green);
}

/* ── Portada ── */
.nv-cover {
  margin: 0 auto;
  max-width: 1120px;
}
.nv-cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: clamp(14px, 2vw, 24px);
  background: var(--line);
  box-shadow: 0 40px 90px -50px rgba(19, 19, 19, 0.45);
}

/* ── Cuerpo: lectura larga ── */
.nv-body {
  max-width: 68ch;
  margin: clamp(36px, 6vh, 64px) auto 0;
  font-size: clamp(17.5px, 1.2vw, 19.5px);
  line-height: 1.75;
  color: var(--ink);
}
.nv-body p {
  margin: 0 0 1.3em;
}
.nv-body > p:first-child {
  font-size: 1.12em;
  line-height: 1.65;
  color: var(--ink);
}
.nv-body a {
  color: var(--green-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.nv-body a:hover {
  text-decoration-thickness: 2px;
}
.nv-body strong {
  font-weight: 600;
}
.nv-body em {
  font-style: normal;
  color: var(--green-ink);
}
.nv-prices {
  list-style: none;
  margin: 0 0 1.5em;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nv-prices li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
  line-height: 1.6;
  color: var(--ink-2);
}
.nv-prices li strong {
  color: var(--ink);
  font-size: 1.05em;
}
.nv-prices li strong span[data-eur] {
  color: var(--green-ink);
}

/* ── Historia: subtítulos por etapa, cita destacada, ficha y oferta ── */
.nv-body h2 {
  font-size: clamp(24px, 2.1vw, 31px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 2.1em 0 0.7em;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-wrap: balance;
}
.nv-body h2:first-child {
  margin-top: 0;
}
.nv-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.nv-body > h2:first-child + p {
  font-size: 1.12em;
  line-height: 1.65;
  color: var(--ink);
}
.nv-pull {
  margin: 1.8em 0;
  padding: 4px 0 4px clamp(18px, 2.4vw, 28px);
  border-left: 3px solid var(--green);
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.38;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}
.nv-facts {
  margin: 1.6em 0;
  padding: clamp(18px, 2.4vw, 26px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.nv-body .nv-facts-h {
  margin: 0 0 0.7em;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.4;
}
.nv-facts ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55em;
}
.nv-facts li {
  position: relative;
  padding-left: 22px;
  font-size: 0.94em;
  line-height: 1.55;
  color: var(--ink-2);
}
.nv-facts li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.nv-offer {
  margin: 1.4em 0 1.6em;
  padding: clamp(22px, 3vw, 34px);
  background: var(--green-soft);
  border: 1px solid var(--line);
  border-radius: 22px;
}
.nv-body .nv-offer p {
  margin: 0 0 0.8em;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--ink-2);
}
.nv-body .nv-offer .nv-offer-k {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
  margin-bottom: 0.5em;
}
.nv-body .nv-offer .nv-offer-h {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 14px;
  font-size: clamp(21px, 1.8vw, 26px);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.nv-offer-h strong {
  font-weight: 600;
}
.nv-body [data-eur] {
  white-space: nowrap;
}
.nv-offer-p {
  font-size: 0.7em;
  font-weight: 500;
  color: var(--green-ink);
  letter-spacing: 0;
}
.nv-body .nv-offer .nv-offer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 1.2em 0 0;
}
.nv-body .nv-offer a.btn {
  text-decoration: none;
}
.nv-body .nv-offer a.btn-go {
  color: var(--on-green);
}
.nv-body .nv-offer a.btn-line {
  background: var(--card);
  color: var(--ink);
}
.nv-body .nv-offer a.btn-line:hover {
  border-color: var(--ink);
}

.nv-end {
  max-width: 68ch;
  margin: clamp(24px, 4vh, 40px) auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}
.nv-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.nv-share-l {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.nv-share a,
.nv-share button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition:
    border-color 0.16s,
    color 0.16s;
}
.nv-share a:hover,
.nv-share button:hover {
  border-color: var(--green-ink);
  color: var(--green-ink);
}
.nv-back {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
}
.nv-back:hover {
  color: var(--green-ink);
}

/* ── Índice ── */
.sec.nv-ihead {
  padding-block: calc(var(--head) + clamp(48px, 9vh, 96px)) clamp(32px, 5vh, 56px);
  overflow: visible;
}
.nv-ihead .wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.nv-ihead h1 {
  font-size: clamp(37px, min(5.2vw, 8vh), 78px);
  line-height: 0.98;
  max-width: 15em;
}
.nv-ihead .lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--ink-2);
  max-width: 36em;
}
.nv-ihead .lead strong {
  color: var(--ink);
  font-weight: 600;
}

.nv-feat a {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  text-decoration: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: clamp(18px, 2vw, 26px);
  padding: clamp(12px, 1.4vw, 18px);
  transition:
    box-shadow 0.2s var(--ease),
    transform 0.2s var(--ease);
}
.nv-feat a:hover {
  box-shadow: 0 30px 70px -40px rgba(19, 19, 19, 0.4);
  transform: translateY(-2px);
}
.nv-feat-txt {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 8px clamp(4px, 1.5vw, 16px) 8px 0;
}
.nv-feat h2 {
  font-size: clamp(26px, 2.7vw, 40px);
  line-height: 1.06;
}
.nv-feat p {
  color: var(--ink-2);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.55;
}
.nv-latest {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-ink);
}
.nv-more {
  font-weight: 600;
  font-size: 15px;
  color: var(--green-ink);
}
.nv-img {
  display: block;
  overflow: hidden;
  border-radius: clamp(12px, 1.4vw, 18px);
  background: var(--line);
  aspect-ratio: 16/9;
}
.nv-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.nv-feat a:hover .nv-img img,
.nv-card a:hover .nv-img img {
  transform: scale(1.03);
}

.nv-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: clamp(40px, 7vh, 72px) 0 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.nv-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nv-chips button {
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--card);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  transition:
    background 0.16s,
    color 0.16s,
    border-color 0.16s;
}
.nv-chips button small {
  font-size: 12px;
  color: var(--ink-3);
}
.nv-chips button:hover {
  border-color: var(--ink);
}
.nv-chips button[aria-pressed='true'] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.nv-chips button[aria-pressed='true'] small {
  color: var(--on-night-2);
}

.nv-grid {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
}
.nv-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.nv-card a {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  text-decoration: none;
  color: inherit;
}
.nv-card h2,
.nv-card h3 {
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  transition: color 0.16s;
}
.nv-card a:hover h2,
.nv-card a:hover h3 {
  color: var(--green-ink);
}
.nv-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}
.nv-card .nv-meta {
  margin-top: 4px;
}
[hidden] {
  display: none !important;
}

/* ── Relacionados ── */
.nv-rel {
  padding-block: clamp(56px, 10vh, 104px) 0;
}
.nv-sechead {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: clamp(24px, 4vh, 36px);
}
.nv-sechead h2 {
  font-size: clamp(28px, 3.2vw, 44px);
}

/* ── Llamada a la acción ── */
.nv-cta-wrap {
  padding-block: clamp(56px, 10vh, 104px);
}
.nv-cta {
  background: var(--night);
  color: var(--on-night);
  border-radius: clamp(20px, 2.4vw, 32px);
  padding: clamp(28px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: end;
  --green: #7fd1a8;
  --green-ink: #9addb9;
  --on-green: #0b1f17;
  --green-soft: rgba(127, 209, 168, 0.14);
}
.nv-cta-txt {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.nv-cta h2 {
  font-size: clamp(28px, 3.4vw, 48px);
}
.nv-cta p {
  color: var(--on-night-2);
  font-size: clamp(15.5px, 1.2vw, 17.5px);
  line-height: 1.6;
  max-width: 36em;
}
.nv-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nv-cta-btns .btn {
  width: 100%;
}
.nv-btn-ghost {
  background: transparent;
  color: var(--on-night);
  border-color: rgba(250, 248, 244, 0.3);
  font-weight: 500;
}
.nv-btn-ghost:hover {
  border-color: var(--on-night);
}

@media (max-width: 960px) {
  .nv-grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .nv-feat a {
    grid-template-columns: 1fr;
  }
  .nv-feat-txt {
    padding: 4px 6px 10px;
  }
  .nv-cta {
    grid-template-columns: 1fr;
    align-items: start;
  }
}
@media (max-width: 640px) {
  .nv-body .nv-offer .nv-offer-btns {
    flex-direction: column;
  }
  .nv-body .nv-offer a.btn {
    width: 100%;
  }
  .nv-grid-3 {
    grid-template-columns: 1fr;
  }
  .nv-end {
    flex-direction: column;
    align-items: flex-start;
  }
  .nv-share-l {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .nv-img img,
  .nv-feat a {
    transition: none;
  }
}

/* Bloque «Para equipos de marketing» */
.nv-facts.nv-data {
  background: transparent;
  border-style: dashed;
}
.nv-data li b {
  font-weight: 600;
  color: var(--ink);
}
.nv-body .nv-data-f {
  margin: 0.9em 0 0;
  font-size: 0.88em;
  line-height: 1.5;
  color: var(--ink-2);
}

/* Etiquetas del servicio de Innectia relacionado */
.nv-prods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 6px 0 2px;
}
.nv-prod {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
}
.nv-prod-webs {
  background: #e3f1e9;
  color: #0a4a33;
  border-color: #b9dcc9;
}
.nv-prod-chatbots {
  background: #fbf1da;
  color: #6b4a07;
  border-color: #ebd39b;
}
.nv-prod-crm {
  background: #e5ecfa;
  color: #1e3a7a;
  border-color: #bfcdf0;
}
.nv-prod-consultoria {
  background: #efe7f7;
  color: #4b2a6e;
  border-color: #d5c4ea;
}
a.nv-prod:hover {
  filter: brightness(0.96);
  text-decoration: underline;
}
.nv-chips-prod {
  align-items: center;
}
.nv-chips-l {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-3);
  margin-right: 2px;
}

/* Compartir: iconos de cada red, arriba y abajo de la nota */
.nv-share svg {
  width: 16px;
  height: 16px;
  flex: none;
}
.nv-share a,
.nv-share button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.nv-share-arriba {
  margin: 14px 0 4px;
}
.nv-share-arriba a span,
.nv-share-arriba button span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nv-share-arriba a,
.nv-share-arriba button {
  width: 40px;
  padding: 0;
  justify-content: center;
}
.nv-share [data-sh='wa']:hover {
  color: #1f8f55;
  border-color: #1f8f55;
}
.nv-share [data-sh='li']:hover {
  color: #0a66c2;
  border-color: #0a66c2;
}
.nv-share [data-sh='fb']:hover {
  color: #1877f2;
  border-color: #1877f2;
}
.nv-share [data-sh='nativo']:hover {
  color: #c13584;
  border-color: #c13584;
}
