/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-title); font-weight: 600; line-height: 1.15; margin: 0 0 var(--space-2); letter-spacing: -.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p  { margin: 0 0 var(--space-2); }
a  { color: var(--accent); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--nm-blue-light); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* Layout ---------------------------------------------------------------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--space-6); }
.section--alt { background: var(--bg-alt); }
.section--tight { padding-block: var(--space-5); }
.eyebrow {
  font-family: var(--font-title); font-size: var(--fs-small);
  letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 var(--space-1);
}
.lead { font-size: 1.125rem; color: var(--text-muted); max-width: 64ch; }
.grid { display: grid; gap: var(--space-3); }
@media (min-width: 780px) { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.section__head { max-width: 68ch; }
.note { font-size: var(--fs-small); color: var(--text-muted); }

/* Header ---------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nm-line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: var(--space-2); }
.site-logo img { height: 36px; width: auto; }
.site-nav ul { display: flex; align-items: center; gap: var(--space-3); list-style: none; margin: 0; padding: 0; }
.site-nav a {
  font-family: var(--font-title); font-size: var(--fs-small);
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="true"] { color: var(--accent); }
.site-nav .btn { color: #fff; }

.nav-toggle {
  display: none; border: 1px solid var(--nm-line); background: #fff;
  border-radius: 8px; padding: .5rem .7rem; cursor: pointer;
  font-family: var(--font-title); font-size: var(--fs-small); color: var(--text);
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; inset: 74px 0 auto; background: #fff;
    border-bottom: 1px solid var(--nm-line); box-shadow: var(--shadow);
    display: none; padding: var(--space-2) 1.25rem var(--space-3);
  }
  .site-nav[data-open="true"] { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--nm-line); }
  .site-nav li:last-child { border: 0; padding-top: var(--space-2); }
  .site-nav a { display: block; padding: .85rem 0; font-size: 1.05rem; }
  .site-nav .btn { display: inline-block; padding: .7rem 1.4rem; }
}

/* Botones --------------------------------------------------------------- */
.btn {
  display: inline-block; padding: .85rem 1.7rem; border-radius: 999px;
  background: var(--accent); color: #fff; text-decoration: none; border: 1px solid var(--accent);
  font-family: var(--font-title); font-weight: 500; cursor: pointer;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { background: var(--nm-blue-dark); border-color: var(--nm-blue-dark); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--accent); }
.btn--ghost:hover { background: var(--nm-blue-soft); color: var(--nm-blue-dark); }
.btn--light { background: #fff; border-color: #fff; color: var(--nm-ink); }
.btn--light:hover { background: var(--nm-blue-soft); border-color: var(--nm-blue-soft); color: var(--nm-ink); }
.btn--outline-light { background: transparent; border-color: var(--nm-night-line); color: #fff; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-4); }

/* Hero ------------------------------------------------------------------ */
.hero {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background:
    radial-gradient(90rem 45rem at 78% -10%, rgba(16,108,216,.55), transparent 62%),
    linear-gradient(165deg, var(--nm-night) 0%, var(--nm-night-2) 58%, #0A1626 100%);
  padding-block: var(--space-6) var(--space-5);
}
/* Fondo en movimiento del hero — el velo mantiene legible el texto */
.hero__video {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover; opacity: .55;
}
.hero__velo {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(11,20,32,.95) 0%, rgba(11,20,32,.88) 36%, rgba(11,20,32,.42) 72%, rgba(11,20,32,.62) 100%),
    linear-gradient(to top, rgba(11,20,32,.92), rgba(11,20,32,0) 45%);
}
@media (max-width: 780px) { .hero__video { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--nm-blue-light); }
.hero .lead { color: var(--nm-night-text); font-size: 1.1875rem; max-width: 54ch; }
.hero__grid { display: grid; gap: var(--space-5); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.05fr .95fr; gap: var(--space-4); } }
.hero__shot {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--nm-night-line);
  background: rgba(255,255,255,.03);
}
.hero__shot img { width: 100%; }
.hero__caption { font-size: .8125rem; color: rgba(255,255,255,.55); margin: var(--space-2) 0 0; }

.hero__foot { margin-top: var(--space-5); border-top: 1px solid var(--nm-night-line); padding-top: var(--space-3); }
.hero__foot .sector-pick__label { color: rgba(255,255,255,.6); }
.hero .sectors a { background: rgba(255,255,255,.06); border-color: var(--nm-night-line); color: rgba(255,255,255,.88); }
.hero .sectors a:hover { background: rgba(255,255,255,.14); border-color: #fff; color: #fff; }

/* Pilares ---------------------------------------------------------------- */
.pillars { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 900px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
.pillar { border-top: 2px solid var(--accent); padding-top: var(--space-2); }
.pillar h3 { font-size: 1.125rem; margin-bottom: .35rem; }
.pillar p { color: var(--text-muted); margin: 0; }

/* Catálogo: grupos y tarjetas -------------------------------------------- */
.service-group { margin-top: var(--space-5); }
.service-group__head { border-top: 2px solid var(--nm-ink); padding-top: var(--space-2); }
.service-group__head h3 { font-size: 1.4rem; margin-bottom: .25rem; }
.service-group__head p { color: var(--text-muted); max-width: 64ch; }

.services { display: grid; gap: var(--space-2); margin-top: var(--space-3); }
@media (min-width: 700px)  { .services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .services--3 { grid-template-columns: repeat(3, 1fr); } }
.service {
  background: var(--nm-white); border: 1px solid var(--nm-line);
  border-radius: var(--radius); padding: var(--space-3);
  display: flex; flex-direction: column; gap: .35rem;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.service:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.service__num {
  font-family: var(--font-title); font-size: var(--fs-small);
  color: var(--accent); letter-spacing: .12em; margin: 0;
}
.service h3 { margin: 0; font-size: 1.125rem; }
.service__claim { color: var(--text-muted); margin: 0; font-size: var(--fs-small); }
.service ul { margin: .25rem 0 0; padding-left: 1.1rem; }
.service li { margin-bottom: .35rem; }
.service__go {
  margin: auto 0 0; padding-top: var(--space-2);
  font-family: var(--font-title); font-size: var(--fs-small);
}
a.service { text-decoration: none; color: var(--text); }

/* Verticales con página propia ------------------------------------------- */
.verticals { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 780px) { .verticals { grid-template-columns: repeat(2, 1fr); } }
.vertical {
  display: block; text-decoration: none; color: var(--text);
  border: 1px solid var(--nm-line); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: var(--nm-blue-soft);
  padding: var(--space-3);
  transition: box-shadow .16s ease, transform .16s ease;
}
.vertical:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.vertical h3 { font-size: 1.125rem; margin-bottom: .25rem; }
.vertical p { color: var(--text-muted); font-size: var(--fs-small); margin: 0; }
.vertical__go { color: var(--accent); font-family: var(--font-title); font-size: var(--fs-small); margin-top: .5rem !important; }

/* Capturas --------------------------------------------------------------- */
.shots { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 900px) { .shots { grid-template-columns: repeat(2, 1fr); } }
.shot {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--nm-line);
  background: var(--nm-white); box-shadow: var(--shadow);
}
.shot img { width: 100%; }
.shot figcaption { font-size: .8125rem; color: var(--text-muted); padding: .75rem var(--space-2) 1rem; }

/* Enrutado por dolor ------------------------------------------------------ */
.pains { list-style: none; margin: var(--space-4) 0 0; padding: 0; display: grid; gap: 0; }
.pain {
  display: grid; gap: var(--space-1); align-items: baseline;
  padding: var(--space-3) 0; border-top: 1px solid var(--nm-line);
}
.pain:last-child { border-bottom: 1px solid var(--nm-line); }
.pain p { margin: 0; }
@media (min-width: 780px) { .pain { grid-template-columns: 1.5fr 1fr; gap: var(--space-3); } }
.pain__route {
  font-family: var(--font-title); font-weight: 500; color: var(--accent);
  text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-small);
  text-decoration: none;
}
.pain__route:hover { text-decoration: underline; }

/* FAQ --------------------------------------------------------------------- */
.faq { margin-top: var(--space-4); max-width: 90ch; }
.faq details { border-bottom: 1px solid var(--nm-line); padding: var(--space-2) 0; }
.faq summary {
  font-family: var(--font-title); font-weight: 500; font-size: 1.0625rem;
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: var(--space-2);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin: var(--space-2) 0 0; color: var(--text-muted); max-width: 76ch; }

/* Listas de beneficios ---------------------------------------------------- */
.checks { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 780px) { .checks { grid-template-columns: repeat(2, 1fr); } }
.checks li { padding-left: 1.75rem; position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; border-radius: 2px; background: var(--accent);
}

/* Método 01·02·03 --------------------------------------------------------- */
.steps { margin-top: var(--space-4); }
.step__num { font-family: var(--font-title); font-size: 2.5rem; color: var(--nm-line); line-height: 1; margin-bottom: .25rem; }
.steps h3 { margin-bottom: .35rem; }
.steps p:not(.step__num) { color: var(--text-muted); max-width: 48ch; }

/* Cita -------------------------------------------------------------------- */
.pull {
  font-family: var(--font-title); font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  line-height: 1.35; border-left: 3px solid var(--accent);
  padding-left: var(--space-3); margin: var(--space-4) 0 0; color: var(--text);
  max-width: 60ch;
}

/* Selector de sector ------------------------------------------------------ */
.sector-pick { margin-top: var(--space-4); }
.sector-pick__label {
  font-family: var(--font-title); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted);
  margin-bottom: var(--space-2);
}
.sectors { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.sectors a {
  display: block; padding: .55rem 1.05rem; border: 1px solid var(--nm-line);
  border-radius: 999px; background: var(--nm-white); color: var(--text);
  text-decoration: none; font-family: var(--font-title); font-size: var(--fs-small);
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}
.sectors a:hover { border-color: var(--accent); color: var(--accent); background: var(--nm-blue-soft); }

/* Rejilla de sectores ----------------------------------------------------- */
.sector-cards { display: grid; gap: var(--space-2); margin-top: var(--space-4); }
@media (min-width: 640px)  { .sector-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .sector-cards { grid-template-columns: repeat(3, 1fr); } }
.sector-card {
  display: block; padding: var(--space-3); border: 1px solid var(--nm-line);
  border-radius: var(--radius); background: var(--nm-white);
  text-decoration: none; color: var(--text);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sector-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateY(-2px); }
.sector-card h3 { font-size: 1.0625rem; margin-bottom: .35rem; }
.sector-card p { color: var(--text-muted); font-size: var(--fs-small); margin: 0; }
.sector-card__go { color: var(--accent); font-family: var(--font-title); font-size: var(--fs-small); margin-top: .5rem !important; }

/* Página de sector y de módulo -------------------------------------------- */
.crumb { font-size: var(--fs-small); color: var(--text-muted); margin-bottom: var(--space-2); }
.crumb a { color: var(--text-muted); }
.modules { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
@media (min-width: 780px) { .modules { grid-template-columns: repeat(2, 1fr); } }
.modules li { padding-left: 1.75rem; position: relative; }
.modules li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; border-radius: 2px; background: var(--accent);
}
.chips { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.chips li {
  padding: .45rem 1rem; border: 1px solid var(--nm-line); border-radius: 999px;
  font-family: var(--font-title); font-size: var(--fs-small); background: var(--nm-white);
}
.detalles { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
@media (min-width: 900px) { .detalles { grid-template-columns: repeat(3, 1fr); } }
.detalle { border-top: 2px solid var(--accent); padding-top: var(--space-2); }
.detalle h3 { font-size: 1.125rem; margin-bottom: .5rem; }
.detalle p { color: var(--text-muted); margin: 0; }

/* Contacto ---------------------------------------------------------------- */
.section--dark {
  background:
    radial-gradient(70rem 40rem at 15% 0%, rgba(16,108,216,.42), transparent 60%),
    linear-gradient(150deg, var(--nm-night) 0%, var(--nm-night-2) 100%);
  color: #fff;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: var(--nm-night-text); }
.section--dark .eyebrow { color: var(--nm-blue-light); }
.section--dark a { color: #fff; }
.section--dark .checks li::before { background: var(--nm-blue-light); }

.contact { display: grid; gap: var(--space-5); margin-top: var(--space-4); }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1.1fr; gap: var(--space-5); align-items: start; } }
.contact__aside ul { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-2); }
.contact__aside li { padding-left: 1.75rem; position: relative; color: var(--nm-night-text); }
.contact__aside li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: .6rem; height: .6rem; border-radius: 2px; background: var(--nm-blue-light);
}
.contact__direct { margin-top: var(--space-3); font-size: var(--fs-small); }

.form { display: grid; gap: var(--space-2); }
.form__row { display: grid; gap: var(--space-2); }
@media (min-width: 640px) { .form__row { grid-template-columns: repeat(2, 1fr); } }
.field { display: grid; gap: .35rem; }
.field label { font-family: var(--font-title); font-size: var(--fs-small); color: #fff; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border-radius: 10px;
  border: 1px solid var(--nm-night-line); background: rgba(255,255,255,.06);
  color: #fff; font-family: var(--font-body); font-size: var(--fs-body);
}
.field textarea { min-height: 130px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.4); }
.field select option { color: var(--nm-ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--nm-blue-light); background: rgba(255,255,255,.1); }
.form__legal { font-size: .8125rem; color: rgba(255,255,255,.55); margin: 0; }
.form__status { font-size: var(--fs-small); color: var(--nm-blue-light); min-height: 1.4em; margin: 0; }

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--nm-night); color: rgba(255,255,255,.7); padding-block: var(--space-4); }
.site-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer img { height: 34px; width: auto; }
.footer-grid { display: grid; gap: var(--space-4); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-grid h3 {
  font-size: var(--fs-small); text-transform: uppercase; letter-spacing: .12em;
  color: #fff; margin-bottom: var(--space-2);
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; font-size: var(--fs-small); }
.footer-grid p { font-size: var(--fs-small); max-width: 42ch; }
.site-footer__legal {
  margin-top: var(--space-4); padding-top: var(--space-2);
  border-top: 1px solid var(--nm-night-line); font-size: .8125rem;
  display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: space-between;
}
.site-footer__legal p { margin: 0; }

/* Encabezado de sector con foto ------------------------------------------- */
.sector-head { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 1000px) { .sector-head { grid-template-columns: 1.02fr .98fr; gap: var(--space-5); } }
.sector-hero {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--nm-line); box-shadow: var(--shadow);
}
.sector-hero img { width: 100%; }

/* Iconos de módulo -------------------------------------------------------- */
.icono {
  width: 26px; height: 26px; display: block;
  color: var(--accent); margin-bottom: .7rem;
}
.icono--grande { width: 44px; height: 44px; margin-bottom: var(--space-2); }

/* Tablero maquetado del hero ---------------------------------------------- */
.panel {
  margin: 0; overflow: hidden; border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.15); box-shadow: var(--shadow-lg);
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  backdrop-filter: blur(6px);
}
.panel__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.panel__bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.24); }
.panel__bar p, .panel__k, .tile__k {
  margin: 0; font-family: var(--font-title); font-size: .7rem;
  letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.panel__bar p { margin-left: .55rem; }
.panel__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.1); }
@media (min-width: 520px) { .panel__tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { background: rgba(11,20,32,.6); padding: .85rem .85rem 1rem; }
.tile__v { margin: .3rem 0 .7rem; font-family: var(--font-title); font-size: 1.45rem; color: #fff; line-height: 1; }
.tile__v small { font-size: .78rem; color: rgba(255,255,255,.6); margin-left: .1rem; }
.tile__v--alerta { color: #FFB020; }
.tile__bar { display: block; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); position: relative; }
.tile__bar::after {
  content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v);
  border-radius: 2px; background: var(--nm-blue-light);
  transform-origin: left; animation: crecer .9s .25s cubic-bezier(.2,.7,.3,1) both;
}
.tile__bar--alerta::after { background: #FFB020; }
.panel__grafica { padding: .9rem; background: rgba(11,20,32,.35); }
.barras { display: flex; align-items: flex-end; gap: 5px; height: 92px; margin-top: .6rem; }
.barras i {
  flex: 1; height: var(--h); border-radius: 3px 3px 0 0; transform-origin: bottom;
  background: linear-gradient(180deg, var(--nm-blue-light), rgba(16,108,216,.3));
  animation: subir .85s cubic-bezier(.2,.7,.3,1) both;
}
.barras i:nth-child(1){animation-delay:.30s} .barras i:nth-child(2){animation-delay:.36s}
.barras i:nth-child(3){animation-delay:.42s} .barras i:nth-child(4){animation-delay:.48s}
.barras i:nth-child(5){animation-delay:.54s} .barras i:nth-child(6){animation-delay:.60s}
.barras i:nth-child(7){animation-delay:.66s} .barras i:nth-child(8){animation-delay:.72s}
.barras i:nth-child(9){animation-delay:.78s} .barras i:nth-child(10){animation-delay:.84s}
.barras i:nth-child(11){animation-delay:.90s} .barras i:nth-child(12){animation-delay:.96s}
.panel__aviso {
  display: flex; align-items: center; gap: .55rem; margin: 0; padding: .75rem .9rem;
  border-top: 1px solid rgba(255,255,255,.12); font-size: .8rem; color: rgba(255,255,255,.72);
}
.panel__aviso span { width: 8px; height: 8px; border-radius: 50%; background: #FFB020; flex: none; animation: latido 2.6s infinite; }

@keyframes subir  { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes crecer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes latido {
  0%   { box-shadow: 0 0 0 0 rgba(255,176,32,.45); }
  70%  { box-shadow: 0 0 0 9px rgba(255,176,32,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,176,32,0); }
}

/* Iconos en tarjetas ------------------------------------------------------ */
.service__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); margin-bottom: .2rem; }
.service__head .icono { margin: 0; width: 28px; height: 28px; }
.service .service__num { color: var(--text-muted); margin: 0; }
.icono { transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.service:hover .icono, .sector-card:hover .icono { transform: scale(1.1); }

/* Micro-interacciones ----------------------------------------------------- */
.btn { position: relative; overflow: hidden; }
.btn > * { position: relative; z-index: 1; }
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.3) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .65s ease;
}
.btn:hover::after { transform: translateX(130%); }
.btn:active { transform: translateY(1px); }

.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 2px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .22s cubic-bezier(.2,.7,.3,1);
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="true"]:not(.btn)::after { transform: scaleX(1); }

.sector-card__go, .service__go, .vertical__go, .pain__route { display: inline-block; transition: transform .2s cubic-bezier(.2,.7,.3,1); }
.sector-card:hover .sector-card__go,
a.service:hover .service__go,
.vertical:hover .vertical__go,
.pain:hover .pain__route { transform: translateX(4px); }

/* Entradas ---------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .revelar {
    opacity: 0; transform: translateY(22px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1);
    transition-delay: var(--retraso, 0s);
  }
  .revelar.visible { opacity: 1; transform: none; }

  .hero .eyebrow, .hero h1, .hero .lead, .hero .btn-row, .hero__panel, .hero__foot {
    animation: entrar .85s cubic-bezier(.2,.7,.3,1) both;
  }
  .hero h1 { animation-delay: .06s; }
  .hero__panel { animation-delay: .12s; }
  .hero .lead { animation-delay: .14s; }
  .hero .btn-row { animation-delay: .2s; }
  .hero__foot { animation-delay: .28s; }
}
@keyframes entrar { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Al imprimir, nada puede quedarse a medio revelar */
@media print { .revelar { opacity: 1 !important; transform: none !important; } }

/* Trampa antispam: invisible para las personas, tentadora para los robots */
.campo-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Bloques con imagen ------------------------------------------------------ */
.medios { display: grid; gap: var(--space-4); align-items: center; }
@media (min-width: 900px) {
  .medios { grid-template-columns: 1.02fr .98fr; gap: var(--space-5); }
  .medios--invertido > .figura { order: -1; }
}
.figura {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--nm-line); box-shadow: var(--shadow);
}
.figura img { width: 100%; }
.section--dark .figura { border-color: var(--nm-night-line); }
.contact__aside .figura { margin-bottom: var(--space-3); }

/* Texto legal ------------------------------------------------------------- */
.legal { max-width: 74ch; }
.legal h2 { font-size: 1.3rem; margin: var(--space-4) 0 var(--space-2); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { margin: 0 0 var(--space-2); padding-left: 1.2rem; }
.legal li { margin-bottom: .4rem; }
.legal strong { color: var(--text); }

/* Consentimiento del formulario ------------------------------------------- */
.field--consentimiento label { display: flex; align-items: flex-start; gap: .6rem; cursor: pointer; font-family: var(--font-body); font-size: var(--fs-small); color: var(--nm-night-text); }
.field--consentimiento input { width: 1.05rem; height: 1.05rem; margin-top: .15rem; flex: none; accent-color: var(--nm-blue-light); }
.form__legal a { text-decoration: underline; }
.site-footer__links a { white-space: nowrap; }
