/* ÓNIX · Servicios (DEV). Menú nuevo + páginas de servicio. Usa los tokens de site.css / index (no redefine la paleta). */

/* ── Nav: menú Servicios ───────────────────────────────── */
.nav__item { display: inline-flex; align-items: center; }
.nav__links .nav__trigger {
  display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; padding: 0 .75rem;
  font-size: .9375rem; font-weight: 450; color: var(--muted); border-radius: 8px;
  text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 6px; text-decoration-thickness: 1px;
  transition: color .2s var(--ease), text-decoration-color .2s var(--ease);
}
.nav__trigger:hover, .nav__trigger[aria-expanded="true"] { color: var(--ink); text-decoration-color: var(--line); }
.nav__trigger[aria-current="page"] { color: var(--ink); text-decoration-color: var(--accent); }
.nav__trigger svg { transition: transform .3s var(--ease); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -34px rgba(11,11,12,.28); }
.mega[hidden] { display: none; }
.mega__in { padding-block: 1.75rem 2rem; }
.mega__all { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; font-weight: 500; letter-spacing: -.01em; color: var(--accent); text-decoration: none; margin-bottom: 1rem; }
.mega__all:hover { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 5px; }
.mega__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(1rem, 2vw, 1.75rem); }
.mega__col { border-top: 1px solid var(--line); padding-top: 1rem; display: flex; flex-direction: column; }
.mega__title { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); margin-bottom: .5rem; }
.mega__col a { display: flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; color: var(--ink); text-decoration: none; border-radius: 8px; }
.mega__col a:hover { color: var(--accent-ink); }
.mega__desc { margin-top: .5rem; font-size: .875rem; line-height: 1.45; color: var(--muted); }
.nav__links a[aria-current="page"], .nav__links .nav__trigger[aria-current="page"] { color: var(--ink); }

/* breakpoint of the new (longer) menu */
@media (max-width: 1120px) {
  .nav__links { display: none; }
  .burger { display: inline-flex; }
}
@media (min-width: 1121px) { .mmenu { display: none !important; } }

/* ── Mobile menu: accordion + fixed CTA ─────────────────── */
.mmenu { overflow-y: auto; padding-bottom: 0; }
.mmenu .mm-acc { display: flex; width: 100%; align-items: center; justify-content: space-between; min-height: 60px; font-size: 1.625rem; font-weight: 500; letter-spacing: -.03em; text-align: left; border-bottom: 1px solid var(--line); }
.mmenu .mm-acc svg { transition: transform .3s var(--ease); flex: none; }
.mmenu .mm-acc[aria-expanded="true"] svg { transform: rotate(180deg); }
.mmenu .mm-acc[aria-current="page"] { color: var(--accent); }
.mm-sub { padding: .25rem 0 .75rem .25rem; border-bottom: 1px solid var(--line); }
.mm-sub[hidden] { display: none; }
.mm-sub__title { margin: 1rem 0 .1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); }
.mmenu .mm-sub a:not(.btn) { min-height: 48px; font-size: 1.1875rem; letter-spacing: -.02em; border-bottom: 0; }
.mmenu .mm-sub a.mm-all { color: var(--accent-ink); }
.mm-cta { position: sticky; bottom: 0; margin-top: auto; padding: 1rem 0 1.25rem; background: linear-gradient(to bottom, rgba(255,255,255,0), var(--paper) 22%); }
.mm-cta .btn { margin-top: 0; width: 100%; }

/* floating WhatsApp (mobile only, same destination as the final CTA — not a second CTA) */
.wa-float { display: none; }
@media (max-width: 1120px) {
  .wa-float { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 90; box-shadow: 0 14px 30px -14px rgba(109,40,217,.7); }
}

/* ── Footer (sitemap) ───────────────────────────────────── */
.footer__map { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.footer__map h2 { font-size: .9375rem; font-weight: 500; color: var(--ink); margin-bottom: .25rem; }
.footer__map ul { display: flex; flex-direction: column; }
.footer__map a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--muted); }
.footer__map a:hover { color: var(--ink); }
@media (max-width: 600px) { .footer__map { grid-template-columns: 1fr; } }

/* ── Breadcrumbs / layer tag ────────────────────────────── */
.crumbs { font-size: .875rem; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem .4rem; }
.crumbs li + li::before { content: "›"; margin-right: .4rem; color: #A3A2A9; }
.crumbs a { display: inline-flex; align-items: center; min-height: 32px; color: var(--muted); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 4px; }
.crumbs a:hover { color: var(--ink); text-decoration-color: currentColor; }
.crumbs [aria-current] { color: var(--ink); }
.layer-tag { display: block; margin: 1.5rem 0 1rem; font-size: .8125rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-ink); }

/* ── Service hero ───────────────────────────────────────── */
.svc-hero { padding-block: clamp(1.75rem, 3.5vw, 3rem) clamp(3rem, 6vw, 5rem); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem clamp(2rem, 6vw, 6rem); align-items: center; }
.svc-h1 { font-size: clamp(2.125rem, 4.2vw, 3.5rem); letter-spacing: -.04em; line-height: 1.06; max-width: 22ch; }
.svc-hero .lead { margin-top: 1.5rem; max-width: 36em; }
.svc-ico { width: clamp(140px, 17vw, 220px); aspect-ratio: 1; border-radius: 32px; background: var(--paper-2); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); }
.svc-ico svg { width: 46%; height: 46%; }
@media (max-width: 800px) { .svc-hero__grid { grid-template-columns: 1fr; } .svc-ico { display: none; } }

.notice { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2.25rem; padding: 1.25rem 1.5rem; border-radius: 16px; border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); background: color-mix(in srgb, var(--accent) 5%, var(--paper)); max-width: 52rem; }
.notice svg { flex: none; margin-top: .15rem; color: var(--accent-ink); }
.notice p { font-size: 1rem; line-height: 1.55; }

/* ── Content rows ───────────────────────────────────────── */
.sec { padding-block: clamp(3.5rem, 7vw, 6rem); }
.sec-h { font-family: var(--sans); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; text-wrap: balance; font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 22ch; }
.js .sec-h.h2 { max-width: 22ch; }
.rows > div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: .75rem clamp(1.5rem, 4vw, 4rem); padding-block: 2rem; border-top: 1px solid var(--line); }
.rows > div:last-child { border-bottom: 1px solid var(--line); }
.rows h2 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.15; }
.rows p { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.6; max-width: 40em; }
.rows strong, .prose strong { font-weight: 600; }
@media (max-width: 760px) { .rows > div { grid-template-columns: 1fr; } }

.caps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); margin-top: clamp(2rem, 4vw, 3rem); }
.caps li { display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 0; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.5; }
.caps svg, .deliv svg { flex: none; margin-top: .2rem; color: var(--accent); }
@media (max-width: 760px) { .caps { grid-template-columns: 1fr; } }

.deliv-box { margin-top: clamp(2rem, 4vw, 3rem); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: clamp(1.25rem, 3vw, 2.25rem); max-width: 48rem; }
.deliv li { display: flex; gap: .9rem; align-items: flex-start; padding: .8rem 0; font-size: 1.0625rem; line-height: 1.5; }
.deliv li + li { border-top: 1px solid var(--line); }

.tl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(1rem, 2vw, 1.75rem); margin-top: clamp(2.25rem, 4vw, 3.5rem); counter-reset: tl; }
.tl li { position: relative; border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.tl li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--accent); }
.tl__m { display: block; width: .75rem; height: .75rem; border-radius: 50%; background: var(--accent); margin-bottom: 1.25rem; }
.tl h3 { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.tl p { margin-top: .5rem; color: var(--muted); font-size: .9688rem; line-height: 1.5; }
@media (max-width: 960px) { .tl { grid-template-columns: 1fr; gap: 0; } .tl li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); gap: 0 1rem; padding: 1.5rem 0; border-top-color: var(--line); } .tl li::before { width: 3.25rem; } .tl__m { grid-row: span 2; margin: .35rem 0 0; } }
.more-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 2rem; }

/* FAQ */
.faq { margin-top: clamp(2rem, 4vw, 3rem); max-width: 52rem; border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 64px; padding: 1rem 0; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(var(--accent), var(--accent)) center/100% 2px no-repeat, linear-gradient(var(--accent), var(--accent)) center/2px 100% no-repeat; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: 2px; }
.faq details p { padding: 0 3rem 1.5rem 0; color: var(--muted); font-size: 1.0625rem; max-width: 40em; }

/* CTA */
.cta { padding-block: clamp(4rem, 8vw, 7rem); }
.cta__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem 3rem; }
.cta h2 { font-family: var(--sans); font-weight: 600; letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; font-size: clamp(2rem, 4vw, 3.25rem); max-width: 18ch; }
.cta p { margin-top: 1rem; color: var(--on-dark-muted); font-size: clamp(1.125rem, 1.5vw, 1.3125rem); max-width: 30em; }
.cta .btn { min-height: 56px; padding-inline: 2rem; font-size: 1.0625rem; }
@media (max-width: 600px) { .cta .btn { width: 100%; } }

/* Related */
.rel { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
@media (max-width: 700px) { .rel { grid-template-columns: 1fr; } }

/* Cards (hub + related): whole card is one link */
.scard { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: clamp(1.5rem, 2.4vw, 2rem); background: var(--paper); border: 1px solid var(--line); border-radius: 24px; transition: border-color .3s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease); }
.scard__ico { width: 48px; height: 48px; border-radius: 14px; background: var(--paper-2); display: grid; place-items: center; color: var(--accent); margin-bottom: .75rem; }
.scard__layer { font-size: .8125rem; font-weight: 500; color: var(--muted); }
.scard h3 { font-size: 1.375rem; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.scard p { color: var(--muted); font-size: 1rem; line-height: 1.55; }
.scard__go { margin-top: auto; padding-top: .75rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 500; letter-spacing: -.01em; color: var(--accent-ink); }
.scard__go::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.scard a { text-decoration: none; }
.scard:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.scard a:focus-visible { outline: none; }
@media (hover: hover) { .scard:hover { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(11,11,12,.25); } }
.cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.25rem; margin-top: clamp(2rem, 4vw, 3rem); }
.cards > * { grid-column: span 2; }
.cards > :nth-child(n+4) { grid-column: span 3; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards > *, .cards > :nth-child(n+4) { grid-column: span 1; } .cards > :last-child { grid-column: span 2; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards > *, .cards > :last-child { grid-column: span 1; } }

/* Hub: 5 layers */
.layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(1rem, 2vw, 1.75rem); margin-top: clamp(2.25rem, 4vw, 3.5rem); }
.layers li { position: relative; border-top: 1px solid var(--ink); padding-top: 1.5rem; }
.layers li::before { content: ""; position: absolute; left: 0; top: -1px; width: 2.5rem; height: 2px; background: var(--accent); }
.layers h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.25; }
.layers p { margin-top: .5rem; color: var(--muted); font-size: .9688rem; line-height: 1.5; }
@media (max-width: 960px) { .layers { grid-template-columns: 1fr; } .layers li { border-top-color: var(--line); padding-block: 1.25rem; } .layers li::before { width: 2.5rem; } }
.prose p { font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.65; max-width: 40em; }
.prose p + p { margin-top: 1rem; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); }
@media (max-width: 800px) { .two { grid-template-columns: 1fr; } }

/* Confianza y gobierno */
.pledges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1.25rem, 2.5vw, 2rem); margin-top: clamp(2rem, 4vw, 3rem); }
.pledges li { border-top: 1px solid var(--line); padding-top: 1.5rem; }
.pledges h3 { font-size: 1.1875rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.pledges p { margin-top: .5rem; color: var(--muted); }
@media (max-width: 960px) { .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); } } @media (max-width: 560px) { .pledges { grid-template-columns: 1fr; } }
.tbl { width: 100%; border-collapse: collapse; margin-top: clamp(2rem, 4vw, 3rem); font-size: 1.0625rem; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 1.1rem 1.25rem 1.1rem 0; border-top: 1px solid var(--line); }
.tbl th { font-weight: 600; letter-spacing: -.015em; white-space: nowrap; }
.tbl thead th { font-size: .9375rem; font-weight: 500; color: var(--muted); border-top: 0; }
.tbl tbody tr:last-child th, .tbl tbody tr:last-child td { border-bottom: 1px solid var(--line); }
.tbl td { color: var(--ink); }
@media (max-width: 640px) { .tbl, .tbl tbody, .tbl tr, .tbl th, .tbl td { display: block; } .tbl thead { display: none; } .tbl th { padding-bottom: .2rem; } .tbl td { border-top: 0; padding-top: 0; } }

@media (prefers-reduced-motion: no-preference) { .js .tl li, .js .caps li, .js .layers li { } }

/* mega links live inside .nav__links: neutralise its link styling */
.nav__links .mega a:not(.btn) { padding: 0; color: var(--ink); text-decoration: none; font-size: 1rem; min-height: 40px; font-weight: 500; }
.nav__links .mega a:not(.btn):hover { color: var(--accent-ink); text-decoration: none; }
.nav__links .mega a.mega__all { color: var(--accent); min-height: 44px; margin-bottom: .75rem; }
.nav__links .mega a.mega__all:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-color: currentColor; }
.footer__map { grid-template-columns: 1fr; }
.footer__svc { display: grid !important; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); column-gap: 1.5rem; }

/* Hub · 5 capas como pila de arriba hacia abajo (Capa 1 = estrategia) */
.layers { grid-template-columns: 1fr; gap: 0; max-width: 46rem; margin-top: clamp(2rem, 4vw, 3rem); counter-reset: none; position: relative; }
.layers li { display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 0 1.25rem; align-items: start; border-top: 1px solid var(--line); padding: 1.35rem 0; }
.layers li::before { display: none; }
.layers li:first-child { border-top-color: var(--ink); }
.layers li:last-child { border-bottom: 1px solid var(--line); }
.layers__n { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); color: var(--accent); font-weight: 600; font-size: 1.125rem; letter-spacing: -.02em; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }
.layers li:first-child .layers__n { background: var(--accent); border-color: var(--accent); color: #fff; }
@media (min-width: 961px) { .layers li:not(:last-child) .layers__n::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 2.4rem; background: var(--line); } }
.layers h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
.layers p { margin-top: .25rem; }
@media (max-width: 960px) { .layers li { border-top-color: var(--line); padding-block: 1.1rem; } .layers li:first-child { border-top-color: var(--ink); } }

/* ── Home ───────────────────────────────── */
.hero__grid--solo { grid-template-columns: 1fr; }
.hero__grid--solo .hero h1, .hero h1 { max-width: 22ch; font-size: clamp(2.375rem, 5vw, 4.25rem); }
.hero__grid--solo .hero__sub { max-width: 34em; }
.hero__grid--solo .hero__actions .btn { min-height: 56px; padding-inline: 2rem; font-size: 1.0625rem; }
.layers--home { max-width: none; margin-top: 0; }
.layers--home li { grid-template-columns: 3.5rem minmax(0, 1fr); padding-block: 1.6rem; }
.layers--home li:first-child { border-top-color: var(--ink); }
.layers__tag { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); margin-bottom: .35rem; }
.layers--home p:not(.layers__tag):not(.layers__note):not(.layers__links) { color: var(--ink); font-size: 1.0625rem; max-width: 34em; margin-top: .5rem; }
.layers__note { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.layers__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: .5rem; }
.layers__links .link { min-height: 44px; font-size: .9688rem; }
.layers--home .layers__n { background: var(--paper); }
.layers--home li:first-child .layers__n { background: var(--accent); }
@media (min-width: 961px) { .layers--home li:not(:last-child) .layers__n::after { height: calc(100% + 1.6rem); top: 100%; } }
.trust-case { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 1rem; }
#confianza .link { margin-top: .5rem; }
.flow { margin-top: clamp(2rem, 4vw, 3rem); max-width: 46rem; position: relative; }
.flow::before { content: ""; position: absolute; left: 6px; top: .6rem; bottom: .6rem; width: 1px; background: var(--line); }
.flow li { position: relative; padding: 0 0 1.75rem 2.25rem; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: ""; position: absolute; left: 0; top: .4rem; width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--accent); }
.flow h3 { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.flow p { margin-top: .35rem; color: var(--muted); max-width: 36em; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.chips li { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.1rem; font-weight: 500; letter-spacing: -.01em; background: var(--paper); }
.chips__note { margin-top: 1rem; color: var(--muted); }
.footer__layers { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1.25rem 1.5rem; }
.footer__layers h3 { font-size: .8125rem; font-weight: 600; letter-spacing: .02em; color: var(--accent-ink); margin-bottom: .25rem; }
.footer__layers ul { display: flex; flex-direction: column; }
.footer__layers a { display: inline-flex; align-items: center; min-height: 40px; text-decoration: none; color: var(--muted); line-height: 1.3; }
.footer__layers a:hover { color: var(--ink); }
@media (max-width: 1000px) { .footer__layers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer__layers { grid-template-columns: 1fr; } }
.hero h1 em { display: inline; }

/* Demo pin track: (PIN_N + hold) steps x 40svh + 100svh. The demo has 8 WhatsApp messages (greeting, 'con gusto', 2 turns of the customer, summary, handoff to a person) -> PIN_N = 8 - 1 = 7 -> (7+.6)*40+100 = 404 (same as the default in site.css). */
.js .sa-pin .sa-stage { height: calc(404vh - var(--nav-h) - 20px); height: calc(404svh - var(--nav-h) - 20px); }

/* ── Privacidad (Legal): avisos junto a CTA de WhatsApp, aviso simplificado + casilla en el formulario, leyenda de demo, página del aviso */
.cta__act { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; max-width: 26rem; }
.priv-note, .cta .priv-note { margin: 0; max-width: 38ch; font-size: .8125rem; line-height: 1.5; color: inherit; opacity: .74; }
.priv-note a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.priv-note a:hover, .priv-note a:focus-visible { opacity: 1; text-decoration-thickness: 2px; }
@media (max-width: 600px) { .cta__act { width: 100%; max-width: none; } .hero__actions .cta__act { align-items: stretch; } }
.form__notice { font-size: .8125rem; line-height: 1.55; color: var(--muted, #55555c); margin: 0; }
.form__notice a { color: var(--accent-ink, inherit); text-decoration: underline; text-underline-offset: 3px; }
.form__check { display: flex; align-items: flex-start; gap: .625rem; font-size: .875rem; line-height: 1.45; cursor: pointer; }
.form__check input { flex: none; width: 1.125rem; height: 1.125rem; margin-top: .125rem; accent-color: var(--accent); }
.demo-legend { margin: 0 0 .75rem; max-width: 34ch; text-align: center; font-size: .75rem; line-height: 1.45; color: var(--on-dark-muted, #9A9AA2); }
.wrap.legal { max-width: none; }
.legal > * { max-width: 46rem; }
.legal h2.legal-h { font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; font-size: clamp(1.25rem, 2.2vw, 1.625rem); margin: 2.5rem 0 .75rem; }
.legal h3.legal-h3 { font-size: 1.0625rem; font-weight: 600; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { line-height: 1.65; margin-block: .6rem; }
.legal ul, .legal ol { padding-left: 1.4rem; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal mark.pending { background: color-mix(in srgb, var(--accent) 22%, transparent); color: inherit; padding: .05em .3em; border-radius: 4px; font-weight: 600; }
.demo-legend { margin: .625rem auto .25rem; }
.js .sa-pin .demo-legend { margin-bottom: 1.35rem; }
.js .sa-pin .sa-devices .phone__screen { height: min(600px, calc(100vh - var(--nav-h) - 262px)); height: min(600px, calc(100svh - var(--nav-h) - 262px)); }
/* v17 · H-38/H-40: contact form error + no-JS note */
.form__error { font-size: .9375rem; color: #8A1C1C; background: #FBECEC; border-radius: var(--r-field, 10px); padding: .85rem 1rem; }
.form__error[hidden] { display: none; }
.form [aria-invalid="true"] { border-color: #B42318; outline-color: #B42318; }
.form__noscript { margin: 0; }
.form button[type="submit"][disabled] { cursor: not-allowed; }
/* v17 · H-42: the phone is now min(780px, 100svh - nav - 120px). On viewports under ~965px tall the finished demo (8 WhatsApp messages / 7 voice bubbles) would not fit at full size, so bubbles tighten; below that the chat autoscrolls to the newest message. */
@media (max-height: 964px) {
  .js .sa-devices .phone__screen .chat { gap: .3rem; padding: .6rem .7rem .7rem; }
  .js .sa-devices .phone__screen .chat .msg { font-size: .8125rem; line-height: 1.3; padding: .36rem .6rem .3rem; }
  .js .sa-devices .phone__screen .vchat { gap: .3rem; padding: .5rem .65rem .7rem; }
  .js .sa-devices .phone__screen .vb__text { font-size: .75rem; line-height: 1.28; margin-top: .12rem; }
}
@media (max-height: 820px) {
  .js .sa-devices .phone__screen .chat { gap: .22rem; padding: .45rem .6rem .5rem; }
  .js .sa-devices .phone__screen .chat .msg { font-size: .75rem; line-height: 1.25; padding: .28rem .5rem .24rem; }
  .js .sa-devices .phone__screen .chat .msg time { margin-top: .05rem; }
  .js .sa-devices .phone__screen .vchat { gap: .22rem; padding: .4rem .6rem .5rem; }
  .js .sa-devices .phone__screen .vb__text { font-size: .6875rem; line-height: 1.24; }
}
@media (max-width: 560px) {
  .js .sa-devices .phone__screen .vchat { gap: .22rem; padding: .4rem .6rem .5rem; }
  .js .sa-devices .phone__screen .vb__text { font-size: .72rem; line-height: 1.26; }
}
@media (max-width: 560px) and (max-height: 860px) {
  .js .sa-devices .phone__screen .vchat { gap: .16rem; padding: .35rem .55rem .4rem; }
  .js .sa-devices .phone__screen .vb__bubble { padding: .28rem .55rem .28rem .35rem; }
  .js .sa-devices .phone__screen .vb__text { font-size: .6875rem; line-height: 1.22; margin-top: .1rem; }
}
/* v17 · H-37: touch pinned demo. The 8 WhatsApp messages need ~650px; the pinned phone only has the viewport. More room for the chat (decorative status bar hidden, shorter reserve) and tighter bubbles; motion.js snaps the shift to whole messages so none is cut in half. */
.js .sa-pin .sa-devices .phone__screen { height: min(720px, calc(100vh - var(--nav-h) - 214px)); height: min(720px, calc(100svh - var(--nav-h) - 214px)); }
.js .sa-pin .phone__status { display: none; }
.js .sa-pin .chat { gap: .3rem; padding: .55rem .6rem .7rem; }
.js .sa-pin .chat .msg { font-size: .8125rem; line-height: 1.3; padding: .38rem .6rem .34rem; }
.js .sa-pin .vchat { gap: .35rem; }
@media (max-height: 780px), (max-width: 380px) {
  .js .sa-pin .sa-devices .phone__screen { height: min(720px, calc(100vh - var(--nav-h) - 188px)); height: min(720px, calc(100svh - var(--nav-h) - 188px)); }
  .js .sa-pin .sa-tabs { margin-bottom: 1rem; }
  .js .sa-pin .demo-legend { font-size: .75rem; line-height: 1.3; margin-bottom: .9rem; }
  .js .sa-pin .chat { gap: .25rem; padding: .45rem .5rem .55rem; }
  .js .sa-pin .chat .msg { font-size: .75rem; line-height: 1.26; padding: .3rem .5rem .28rem; }
}

/* header / mobile menu / floating contact links (not wa.me; they scroll to the page's own WhatsApp CTA) — same look as btn--primary / btn--accent, but outside the CI "primary CTA" classes */
.btn--go { background: var(--ink); color: var(--on-dark); }
.btn--go:hover { background: var(--ink-2); box-shadow: 0 10px 24px -14px rgba(11,11,12,.55); }
.btn--goac { background: var(--accent); color: #fff; }
.btn--goac:hover { background: var(--accent-ink); box-shadow: 0 10px 24px -14px rgba(109,40,217,.6); }
#escribenos { scroll-margin-top: 6rem; }

/* demo: label next to the voice script + one-line note under the demo */
.demo-sub { margin: .75rem 0 0; text-align: center; font-size: .75rem; line-height: 1.4; color: var(--on-dark-muted, #9A9AA2); }
.demo-note { margin: .75rem auto 0; max-width: 46ch; text-align: center; font-size: .75rem; line-height: 1.45; color: var(--on-dark-muted, #9A9AA2); }
/* mobile: keep the literal demo legend clear of the "Ilustrativo" pill */
@media (max-width: 600px) { .js .product .demo-legend { max-width: calc(100% - 8.75rem); margin: .625rem auto .25rem .5rem; text-align: left; } }

/* v15 · enlace dentro de un mensaje de la demo (aviso de privacidad) */
.msg a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
