/* ============================================
   PLATAFORMA POR FUNCIONALIDADES (oct-2026)
   Sustituye al "Ecosistema Visual". Megamenu de iconos, areas, esquema
   "registra una vez", paginas de funcionalidad y Asesoria.
   Referencia de patron: holded.com/es (menu Funcionalidades).
   ============================================ */

/* ----- Anotaciones de revision (solo copia de trabajo; ?ann=0 las oculta) ----- */
.ann {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 680px;
  margin: 10px 0;
  padding: 8px 14px;
  border-radius: 12px;
  background: #FFF4E8;
  border: 1px dashed var(--orange);
  color: #8A3F05;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.ann::before {
  content: "Pendiente";
  flex: none;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ann--dark { background: rgba(253,128,29,.12); color: #FFD3AE; }
.ann-list { display: flex; flex-direction: column; gap: 4px; }
html.ann-off .ann, html.ann-off .ann-list { display: none !important; }

/* ----- Icono de funcionalidad ----- */
.fn-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  display: inline-grid;
  place-items: center;
  background: var(--orange-soft);
  color: var(--orange-deep);
}
.fn-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fn-icon--sm { width: 32px; height: 32px; border-radius: 9px; }
.fn-icon--sm svg { width: 17px; height: 17px; }
.fn-icon--lg { width: 64px; height: 64px; border-radius: 18px; }
.fn-icon--lg svg { width: 30px; height: 30px; }

/* ----- Megamenu Funcionalidades ----- */
.nav__dropdown-menu--fn {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 16px;
  min-width: 820px;
  padding: 18px;
}
.fn-dd__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 8px;
  align-content: start;
}
.fn-dd__list .dd-cap { grid-column: 1 / -1; padding: 6px 10px 8px; }
.nav__dropdown-menu .fn-dd__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  font-size: 14px;
  line-height: 1.25;
}
.nav__dropdown-menu .fn-dd__item:hover .fn-icon { background: var(--orange); color: #fff; }
.nav__dropdown-menu .fn-dd__aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border-radius: 14px;
  background: var(--grad-ink);
  color: var(--cream) !important;
}
.nav__dropdown-menu .fn-dd__aside:hover { background: var(--grad-ink); color: var(--cream) !important; }
.fn-dd__eyebrow { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; opacity: .6; }
.fn-dd__title { font-size: 19px; font-weight: 500; line-height: 1.2; }
.fn-dd__text { font-size: 13px; line-height: 1.5; opacity: .75; }
.fn-dd__btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 12.5px;
  font-weight: 600;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.fn-dd__aside:hover .fn-dd__btn { background: var(--orange); color: #fff; }

/* ----- Rejilla de areas ----- */
.fn-areas { background: var(--paper); padding: 120px 0; }
.fn-areas--linen { background: var(--linen); }
.fn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.fn-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 26px 24px 22px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.fn-areas--linen .fn-card { background: #fff; }
.fn-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line-strong), var(--shadow-md); }
.fn-card:hover .fn-icon { background: var(--orange); color: #fff; }
.fn-card h3 { font-size: 20px; font-weight: 500; line-height: 1.15; letter-spacing: -.01em; }
.fn-card p { font-size: 14.5px; line-height: 1.5; color: var(--mute); }
.fn-card__more { margin-top: auto; padding-top: 6px; font-size: 13.5px; font-weight: 500; color: var(--orange); }
.fn-grid__cta { margin-top: 48px; display: flex; justify-content: center; }

/* ----- Como funciona: registra una vez, usa para todo ----- */
.fn-como { padding: 120px 0; background: #fff; }
.fn-flow { position: relative; display: grid; grid-template-columns: 1fr minmax(0, 1fr) 1fr; gap: 88px; align-items: center; margin-top: 56px; }
.fn-flow__wires { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.fn-flow__wires path { fill: none; stroke: #E3DED3; stroke-width: 1.2; transition: stroke .25s; }
.fn-flow__wires path.hot { stroke: var(--orange); stroke-width: 2; stroke-dasharray: 6 7; animation: fn-flujo 1s linear infinite; }
@keyframes fn-flujo { to { stroke-dashoffset: -13; } }
.fn-flow__col { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.fn-flow__cap { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.fn-flow__chip { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; border: 1px solid #E3DED3; border-radius: 16px; background: #fff; color: var(--ink); opacity: .62; font: inherit; font-size: 15px; line-height: 1.3; text-align: left; transition: opacity .25s, border-color .25s, background .25s, transform .25s, box-shadow .25s; }
.fn-flow__chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #CFC9BC; flex: none; transition: background .25s; }
.fn-flow__chip.on { opacity: 1; border-color: var(--orange); background: #FFF6EE; }
.fn-flow__chip.on::before { background: var(--orange); }
.fn-flow__chip.sel { background: var(--orange); border-color: var(--orange); color: #16140F; box-shadow: 0 12px 28px rgba(253,128,29,.26); transform: translateY(-1px); }
.fn-flow__chip.sel::before { background: #16140F; }
.fn-flow__chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.fn-flow__core { position: relative; z-index: 1; padding: 40px 30px; border-radius: 28px; text-align: center; background: var(--cream); box-shadow: 0 18px 44px rgba(22,20,15,.08); }
.fn-flow__core .fn-icon { background: var(--orange); color: #fff; margin: 0 auto 18px; }
.fn-flow__core h3 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.fn-flow__core p { margin-top: 12px; min-height: 4.5em; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }

/* ----- Banda del mapa (plus propio) ----- */
.fn-mapa { padding: 120px 0; background: var(--linen); }
.fn-mapa__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.fn-mapa__img { aspect-ratio: 720/490; border-radius: 28px; background-size: cover; background-position: center; box-shadow: var(--shadow-lg); }
.fn-mapa h2 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 500; line-height: 1.05; letter-spacing: -.03em; margin: 16px 0 18px; }
.fn-mapa p { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.fn-list { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; list-style: none; padding: 0; }
.fn-list li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.45; }
.fn-list li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); transform: rotate(45deg); }

/* ----- Bloques breves: datos e integraciones / seguridad ----- */
.fn-duo { padding: 120px 0; background: var(--paper); }
.fn-duo__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.fn-box { padding: 40px 36px; border-radius: 26px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }
.fn-box--soft { background: var(--linen); box-shadow: none; }
.fn-box h3 { font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; margin: 14px 0 12px; }
.fn-box > p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.fn-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.fn-tags span { padding: 8px 13px; border-radius: 999px; background: var(--linen); font-size: 13.5px; }
.fn-box--soft .fn-tags span { background: #fff; }

/* ----- Pagina de funcionalidad ----- */
.fn-hero__icon { margin-bottom: 18px; }
.fn-hero__icon .fn-icon { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(6px); }
.fn-sit { padding: 110px 0 40px; background: var(--paper); }
.fn-sit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.fn-sit__cap { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; display: block; }
.fn-sit p { font-size: clamp(19px, 1.6vw, 24px); line-height: 1.45; letter-spacing: -.01em; }
.fn-sit__grid > div:last-child p { color: var(--ink); }
.fn-sit__grid > div:first-child p { color: var(--mute); }

.fn-vs { padding: 60px 0 110px; background: var(--paper); }
.fn-vs__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fn-vs__col { padding: 36px 34px; border-radius: 26px; }
.fn-vs__col--sin { background: var(--linen); }
.fn-vs__col--con { background: var(--ink); color: var(--cream); }
.fn-vs__col h3 { font-size: 22px; font-weight: 500; margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.fn-vs__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.fn-vs__col li { display: flex; gap: 12px; font-size: 16px; line-height: 1.45; }
.fn-vs__col li::before { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; margin-top: 1px; }
.fn-vs__col--sin li::before { content: "✕"; background: rgba(22,20,15,.08); color: var(--mute); }
.fn-vs__col--con li::before { content: "✓"; background: var(--orange); color: #fff; }

.fn-feats { padding: 110px 0; background: var(--linen); }
.fn-feats__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fn-feat { padding: 28px 26px; border-radius: 22px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.fn-feat__n { font-size: 12px; color: var(--orange); font-weight: 600; letter-spacing: .06em; }
.fn-feat h3 { margin: 10px 0 8px; font-size: 19px; font-weight: 500; line-height: 1.2; }
.fn-feat p { font-size: 14.5px; line-height: 1.55; color: var(--mute); }
.fn-nota { margin-top: 22px; font-size: 13px; color: var(--mute); }

.fn-ejemplo { padding: 110px 0; background: var(--paper); }
.fn-ejemplo__box {
  position: relative;
  padding: 56px 56px 52px;
  border-radius: 30px;
  background: var(--grad-warm);
  overflow: hidden;
}
.fn-ejemplo__tag {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(22,20,15,.85);
  color: #fff;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.fn-ejemplo__box p { margin-top: 22px; max-width: 900px; font-size: clamp(20px, 2vw, 30px); line-height: 1.35; letter-spacing: -.015em; font-weight: 400; }

.fn-rel { padding: 0 0 120px; background: var(--paper); }
.fn-rel .fn-grid { grid-template-columns: repeat(3, 1fr); }

/* ----- Asesoria ----- */
.as-pasos { padding: 110px 0; background: var(--paper); }
.as-pasos__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: paso; }
.as-paso { padding: 30px 28px; border-radius: 22px; background: var(--linen); counter-increment: paso; }
.as-paso::before { content: "0" counter(paso); display: block; font-size: 13px; font-weight: 600; color: var(--orange); margin-bottom: 30px; }
.as-paso h3 { font-size: 21px; font-weight: 500; margin-bottom: 8px; }
.as-paso p { font-size: 15px; line-height: 1.55; color: var(--mute); }

.as-servicios { padding: 0 0 120px; background: var(--paper); }
.as-serv {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 32px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 110px;
}
.as-serv__n { font-size: 14px; font-weight: 600; color: var(--orange); padding-top: 8px; }
.as-serv__q { font-size: 14px; color: var(--mute); margin-bottom: 10px; }
.as-serv h2 { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; line-height: 1.05; letter-spacing: -.025em; }
.as-serv__body p { font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.as-serv__body .fn-list { grid-template-columns: 1fr; margin-top: 18px; }
.as-serv__body .link-arrow { margin-top: 20px; display: inline-flex; }

.as-propio { padding: 120px 0; background: var(--ink); color: var(--cream); }
.as-propio .section__head { border-bottom-color: var(--line-light); }
.as-propio .section__lead { color: rgba(245,241,234,.72); }
.as-propio__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.as-propio__card { padding: 28px 24px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line-light); }
.as-propio__card h3 { font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.as-propio__card p { font-size: 14.5px; line-height: 1.55; color: rgba(245,241,234,.72); }
.as-propio__card > span { display: inline-block; margin-top: 16px; font-size: 12px; color: var(--orange); letter-spacing: .04em; }

/* ----- Responsive ----- */
@media (max-width: 1180px) {
  .fn-grid { grid-template-columns: repeat(2, 1fr); }
  .as-propio__grid { grid-template-columns: repeat(2, 1fr); }
  .fn-flow { grid-template-columns: 1fr; gap: 24px; }
  .fn-flow__wires { display: none; }
  .fn-flow__chip { opacity: 1; }
}
@media (max-width: 860px) {
  .fn-areas, .fn-como, .fn-mapa, .fn-duo, .fn-feats, .fn-ejemplo, .as-pasos, .as-propio { padding: 80px 0; }
  .fn-sit { padding: 80px 0 32px; }
  .fn-vs { padding: 40px 0 80px; }
  .fn-rel, .as-servicios { padding-bottom: 80px; }
  .fn-mapa__grid, .fn-duo__grid, .fn-sit__grid, .fn-vs__grid { grid-template-columns: 1fr; gap: 24px; }
  .fn-feats__grid, .fn-rel .fn-grid, .as-pasos__grid { grid-template-columns: 1fr; }
  .fn-list { grid-template-columns: 1fr; }
  .as-serv { grid-template-columns: 1fr; gap: 12px; }
  .fn-ejemplo__box { padding: 36px 26px; }
}
@media (max-width: 560px) {
  .fn-grid, .as-propio__grid { grid-template-columns: 1fr; }
}
.fn-grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .fn-grid--3 { grid-template-columns: 1fr; } }

/* ----- Sectores: selector por perfil ----- */
.sec-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.sec-tab {
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--linen);
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.sec-tab:hover { background: var(--orange-soft); }
.sec-tab.is-active { background: var(--ink); color: #fff; }
.sec-panel__texto { max-width: 760px; margin-bottom: 32px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.5; color: var(--ink-soft); }
#tipos .section__head { margin-bottom: 48px; }

/* Las etiquetas de seccion (.eyebrow) son inline-flex con gap: el build envuelve
   las marcas (VisualNACert, FertiPRO...) en <span translate="no"> y el gap las
   separaba del texto ("¿Qué es   VisualNACert   ?"). Se pinta como texto normal. */
.eyebrow { display: inline-block; }
.eyebrow > .eyebrow__dot { vertical-align: 0.1em; margin-right: 7px; }

/* ----- Asi trabajamos (metodo en 3 pasos) ----- */
.fn-metodo .as-paso { display: flex; flex-direction: column; }
.fn-metodo__recibe { margin-top: auto; padding-top: 22px; color: var(--ink) !important; font-weight: 500; }
.fn-metodo__recibe span { display: block; margin-bottom: 6px; font-size: 11px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.fn-metodo .as-paso > p:not(.fn-metodo__recibe) { margin-bottom: 4px; }

/* ----- Control y confianza ----- */
.fn-control { padding: 120px 0; background: var(--grad-ink); color: var(--cream); }
.fn-control .section__head { border-bottom-color: var(--line-light); }
.fn-control .section__lead { color: rgba(245,241,234,.72); }
.fn-control__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.fn-control__card { padding: 30px 28px; border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line-light); }
.fn-control__n { font-size: 13px; font-weight: 600; color: var(--orange); }
.fn-control__card h3 { margin: 26px 0 8px; font-size: 22px; font-weight: 500; }
.fn-control__card p { font-size: 15px; line-height: 1.55; color: rgba(245,241,234,.72); }
.fn-control__list { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.fn-control__list li { position: relative; padding-left: 22px; font-size: 15px; }
.fn-control__list li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 600; }
@media (max-width: 860px) {
  .fn-control { padding: 80px 0; }
  .fn-control__grid { grid-template-columns: 1fr; }
}

/* ----- Megamenu Sectores: por tipo de empresa y por perfil ----- */
.nav__dropdown-menu--sec { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px 14px; min-width: 560px; padding: 18px; }
.sec-dd__col { display: flex; flex-direction: column; gap: 2px; }
.sec-dd__col .dd-cap { color: var(--orange); font-weight: 500; }
@media (max-width: 720px) { .nav__dropdown-menu--sec { min-width: 320px; grid-template-columns: 1fr; } }

/* Texto de "Acompañamos": líneas equilibradas, sin una palabra suelta al final. */
.partner-band__lead { text-wrap: balance; }

/* ----- Desplegables "mega" (2-nov-2026) -----
   Formato pedido por VisualNACert: panel blanco ancho bajo la pastilla del
   menu. Es position:fixed, pero .nav lleva transform y la pastilla
   backdrop-filter, asi que se coloca respecto a la pastilla, que va centrada. */
.nav__dropdown:has(.mm)::after { height: 46px; }
.nav__dropdown-menu.mm {
  position: fixed;
  top: calc(100% + 14px);
  left: 50%;
  width: min(1040px, calc(100vw - 48px));
  transform: translate(-50%, 12px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 36px;
  padding: 36px 36px 36px 40px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(22, 20, 15, 0.18), 0 0 0 1px var(--line);
}
.nav__dropdown:hover .nav__dropdown-menu.mm,
.nav__dropdown:focus-within .nav__dropdown-menu.mm { transform: translate(-50%, 0); }
.mm .mm__cap {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.mm__list { display: grid; gap: 4px; }
.mm__list--2 { grid-template-columns: 1fr 1fr; gap: 4px 12px; }
.nav__dropdown-menu.mm .mm__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 12px 10px 8px;
  border-radius: 16px;
}
.mm__ic {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--cream);
  display: grid; place-items: center;
  color: var(--ink);
  transition: background .15s var(--ease), color .15s var(--ease);
}
.mm__ic svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.mm__item:hover .mm__ic { background: var(--orange); color: #fff; }
.mm__tx { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mm b { font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.mm small { font-size: 13.5px; line-height: 1.4; color: var(--ink-60, #6B675E); }
.nav__dropdown-menu.mm .mm__item:hover { background: var(--cream); color: var(--ink) !important; }
.nav__dropdown-menu.mm .mm__item:hover b { color: var(--orange); }
/* Tarjeta destacada */
.nav__dropdown-menu.mm .mm__feat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 16px 22px;
  border-radius: 22px;
  background: var(--cream);
  align-self: start;
}
.nav__dropdown-menu.mm .mm__feat:hover { background: var(--cream); color: var(--ink) !important; }
.mm__img { display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: #e9e4d9; }
.mm__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mm__feat:hover .mm__img img { transform: scale(1.04); }
.mm__feat .mm__cap { margin: 0; }
.mm__feat b { font-size: 18px; letter-spacing: -.01em; }
.mm__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 15px; font-weight: 500; color: var(--ink); }
.mm__go svg { width: 17px; height: 17px; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s var(--ease); }
.mm__feat:hover .mm__go svg, .mm__go:hover svg { transform: translateX(3px); }
/* Variante en columnas (Sectores) */
.nav__dropdown-menu.mm--cols { grid-template-columns: 1fr 1fr; gap: 16px; padding: 22px; width: min(860px, calc(100vw - 48px)); }
.mm__col { background: #F8F7F5; border-radius: 20px; padding: 26px 18px 18px; display: flex; flex-direction: column; }
.mm__col .mm__cap { padding-left: 12px; }
.nav__dropdown-menu.mm .mm__row { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 14px; }
.nav__dropdown-menu.mm .mm__row:hover { background: #fff; color: var(--ink) !important; }
.nav__dropdown-menu.mm .mm__row:hover b { color: var(--orange); }
.nav__dropdown-menu.mm .mm__go--col { margin-top: auto; padding: 14px 12px 4px; }
.nav__dropdown-menu.mm .mm__go--col:hover { background: none; }
@media (max-width: 1180px) {
  .nav__dropdown-menu.mm { grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; padding: 28px; }
}

/* Funcionalidades en tres grupos: Campo a dos columnas, los otros a una */
.nav__dropdown-menu.mm--grupos { grid-template-columns: 2fr 1fr 1fr; gap: 12px; padding: 18px; width: min(1160px, calc(100vw - 48px)); }
.mm--grupos .mm__col { padding: 22px 12px 14px; }
.mm .mm__col .mm__cap { margin-bottom: 2px; }
.mm__col .mm__sub { display: block; padding-left: 12px; margin-bottom: 12px; }
.mm--grupos .mm__list--2 { gap: 2px 4px; }
.nav__dropdown-menu.mm--grupos .mm__item { gap: 12px; padding: 9px 10px 9px 8px; }
.mm--grupos .mm__ic { width: 40px; height: 40px; border-radius: 12px; background: #fff; }
.mm--grupos .mm__ic svg { width: 19px; height: 19px; }
.nav__dropdown-menu.mm--grupos .mm__item:hover { background: #fff; }
.mm--grupos b { font-size: 15px; }
.mm--grupos small { font-size: 13px; }
@media (max-width: 1180px) { .nav__dropdown-menu.mm--grupos { grid-template-columns: 1.7fr 1fr 1fr; padding: 14px; } }
.nav__drawer__sub { display: block; margin: 12px 0 2px; font-size: 11px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--orange); }

/* Heros unificados en toda la web (5-nov-2026): misma altura, titular y
   alineacion que la home, Asesoria y las paginas de cada funcionalidad. */
.page-hero.page-hero { min-height: min(84vh, 740px); padding-bottom: 76px; align-items: flex-end; border-radius: 0 0 44px 44px; }
.page-hero.page-hero--nosotros { padding-bottom: 88px; }
.page-hero .page-hero__shell { max-width: none; padding: 150px 24px 0 max(40px, calc((100vw - 1200px) / 2 + 20px)); }
.page-hero .page-hero__top { justify-content: flex-start; gap: 18px; flex-wrap: wrap; margin-bottom: 18px; }
.page-hero.page-hero .page-hero__title { font-size: clamp(36px, 4.5vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; max-width: 760px; margin-bottom: 16px; text-shadow: none; }
.page-hero.page-hero .page-hero__title em { font-weight: 400; }
.page-hero.page-hero .page-hero__lead { font-size: clamp(17px, 1.5vw, 20px); max-width: 46ch; }
.page-hero .page-hero__overlay { background: linear-gradient(90deg, rgba(16,14,10,.82), rgba(16,14,10,.35) 55%, rgba(16,14,10,.1)), linear-gradient(0deg, rgba(16,14,10,.6), transparent 45%), linear-gradient(180deg, rgba(16,14,10,.45), transparent 26%); }
.demo-hero .demo-hero__title { font-size: clamp(36px, 4.5vw, 62px); font-weight: 400; line-height: 1.08; letter-spacing: -.035em; }
@media (max-width: 1020px) {
  .page-hero.page-hero { min-height: 560px; border-radius: 0 0 32px 32px; padding-bottom: 56px; }
  .page-hero .page-hero__shell { padding: 120px 24px 0; }
}
/* Grupos en la pagina de Funcionalidades */
.fn-grupo { margin: 44px 0 18px; font-weight: 500; font-size: 22px; letter-spacing: -.015em; }
.fn-grupo small { display: inline-block; margin-left: 10px; font-size: 15px; font-weight: 400; letter-spacing: 0; color: #6B675E; }
@media (prefers-reduced-motion: reduce) { .fn-flow__wires path.hot { animation: none; stroke-dasharray: none; } }

/* Detectar, Automatizar, Medir: proceso con linea de avance y esquemas animados */
.fn-pro { position: relative; margin-top: 48px; }
.fn-pro__rail { position: absolute; left: 0; right: 0; top: 17px; height: 2px; background: #E3DED3; border-radius: 2px; overflow: hidden; }
.fn-pro__fill { display: block; height: 100%; width: 16.66%; background: var(--orange); transition: width .9s cubic-bezier(.22,1,.36,1); }
.fn-pro__grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fn-pro__paso { position: relative; display: flex; flex-direction: column; padding-top: 58px; outline: none; }
.fn-pro__nodo { position: absolute; top: 0; left: 50%; width: 36px; height: 36px; margin-left: -18px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid #E3DED3; color: #8A867C; font-size: 14px; font-weight: 500; transition: background .35s, border-color .35s, color .35s, transform .35s; }
.fn-pro__paso.hecho .fn-pro__nodo { border-color: var(--orange); color: var(--orange); }
.fn-pro__paso.on .fn-pro__nodo { background: var(--orange); border-color: var(--orange); color: #16140F; transform: scale(1.14); box-shadow: 0 0 0 7px rgba(253,128,29,.16); }
.fn-pro__vis { height: 170px; padding: 22px; border: 1px solid transparent; border-radius: 22px 22px 0 0; background: var(--cream); transition: border-color .35s, background .35s; }
.fn-pro__paso h3, .fn-pro__paso > p { padding-left: 24px; padding-right: 24px; background: var(--cream); margin: 0; transition: background .35s; }
.fn-pro__paso h3 { padding-top: 22px; font-size: 24px; font-weight: 500; letter-spacing: -.015em; color: var(--ink); }
.fn-pro__paso > p:not(.fn-metodo__recibe) { padding-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-soft); }
.fn-pro__paso .fn-metodo__recibe { flex: 1; margin: 0; padding-top: 20px; padding-bottom: 26px; font-size: 16px; line-height: 1.4; border-radius: 0 0 22px 22px; }
.fn-pro__paso.on .fn-pro__vis, .fn-pro__paso.on h3, .fn-pro__paso.on > p { background: #FFF3E8; }
.fn-pro__paso:focus-visible .fn-pro__nodo { outline: 2px solid var(--ink); outline-offset: 3px; }
/* Detectar: los procesos se ordenan por lo que consumen */
.fn-pro__vis--detectar { display: flex; flex-direction: column; justify-content: center; gap: 11px; }
.fn-pro__vis--detectar .r { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 10px; }
.fn-pro__vis--detectar b { font-size: 12.5px; font-weight: 400; color: var(--ink-soft); }
.fn-pro__vis--detectar i { display: block; height: 9px; width: 0; border-radius: 6px; background: #D9D3C4; transition: width .8s cubic-bezier(.22,1,.36,1); }
.fn-pro__vis--detectar .r:first-child i { background: var(--orange); }
.fn-pro__paso.on .fn-pro__vis--detectar i, .fn-pro__paso.hecho .fn-pro__vis--detectar i { width: var(--w); }
.fn-pro__paso.on .fn-pro__vis--detectar .r:nth-child(2) i { transition-delay: .12s; }
.fn-pro__paso.on .fn-pro__vis--detectar .r:nth-child(3) i { transition-delay: .24s; }
.fn-pro__paso.on .fn-pro__vis--detectar .r:nth-child(4) i { transition-delay: .36s; }
/* Automatizar: el trabajo pasa por la persona antes de ponerse en marcha */
.fn-pro__vis--auto { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; }
.fn-pro__vis--auto .c { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #E3DED3; font-size: 13px; color: var(--ink); }
.fn-pro__vis--auto .a { position: relative; display: block; width: 2px; height: 16px; background: #E3DED3; overflow: hidden; }
.fn-pro__vis--auto .ok svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.fn-pro__paso.on .fn-pro__vis--auto .c { animation: fn-pro-luz 3s infinite both; }
.fn-pro__paso.on .fn-pro__vis--auto .c:nth-of-type(2) { animation-delay: 1s; }
.fn-pro__paso.on .fn-pro__vis--auto .c.ok { animation-name: fn-pro-ok; animation-delay: 2s; }
@keyframes fn-pro-luz { 0%, 30% { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(253,128,29,.16); } 40%, 100% { border-color: #E3DED3; box-shadow: none; } }
@keyframes fn-pro-ok { 0%, 30% { background: var(--orange); border-color: var(--orange); } 40%, 100% { background: #fff; border-color: #E3DED3; } }
/* Medir: antes y despues */
.fn-pro__vis--medir { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 44px; padding-bottom: 42px; }
.fn-pro__vis--medir .g { position: relative; display: flex; align-items: flex-end; gap: 6px; height: 100%; width: 54px; }
.fn-pro__vis--medir .g i { flex: 1; height: 0; border-radius: 6px 6px 0 0; transition: height .8s cubic-bezier(.22,1,.36,1); }
.fn-pro__vis--medir .an, .fn-pro__vis--medir u.an { background: #D9D3C4; }
.fn-pro__vis--medir .de, .fn-pro__vis--medir u.de { background: var(--orange); }
.fn-pro__vis--medir .g b { position: absolute; left: 0; right: 0; bottom: -20px; text-align: center; font-size: 12px; font-weight: 400; color: var(--ink-soft); }
.fn-pro__paso.on .fn-pro__vis--medir i { height: var(--h); }
.fn-pro__paso.on .fn-pro__vis--medir i.de { transition-delay: .3s; }
.fn-pro__vis--medir em { position: absolute; right: 16px; top: 12px; display: flex; align-items: center; gap: 5px; font-style: normal; font-size: 11px; color: var(--ink-soft); }
.fn-pro__vis--medir u { display: inline-block; width: 9px; height: 9px; border-radius: 2px; text-decoration: none; margin-left: 5px; }
.fn-pro__nota { margin-top: 14px; font-size: 13px; color: #8A867C; }
@media (max-width: 1020px) {
  .fn-pro__rail { display: none; }
  .fn-pro__grid { grid-template-columns: 1fr; gap: 28px; }
  .fn-pro__paso { padding-top: 0; }
  .fn-pro__nodo { left: 20px; top: 14px; margin: 0; z-index: 1; }
  .fn-pro__vis { height: 222px; padding-top: 62px; }
  .fn-pro__vis--medir em { top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .fn-pro__fill, .fn-pro__vis i { transition: none; }
  .fn-pro__vis--auto .c { animation: none !important; }
  .fn-pro__vis--detectar i { width: var(--w); }
  .fn-pro__vis--medir i { height: var(--h); }
}
