/* mancosoft.com — site.css
   One stylesheet, no imports. Fonts are declared in /assets/fonts/fonts.css.
   Direction: "Sober studio, product first". Light neutral grounds for reading,
   graphite for the product showcase, the closing band and the footer; brand red
   is an accent only. Order: tokens, base, browser surfaces, components, chrome
   (header, menu, footer), page sections, motion. Mobile first. */

/* ---------- Tokens ---------- */
:root {
  --red: #E01820; --red-deep: #B8121A; --red-tint: #FDECEC;
  /* --ink-4 is darkened from #6B7280 so small meta text keeps 4.5:1 on --paper-2 too */
  --ink: #14171C; --ink-2: #2B3038; --ink-3: #4B5260; --ink-4: #646B78;
  --paper: #FFFFFF; --paper-2: #F5F6F8; --line: #E3E6EB; --line-2: #D5D9E0;
  --line-input: #8C939E; /* form borders need 3:1 against white */
  --graphite: #0F1216; --graphite-2: #171B21;
  --on-dark: #F3F4F6; --on-dark-2: #B7BDC7; --rule-dark: rgb(255 255 255 / .10);
  --blue: #1F7AC2; --blue-tint: #EAF3FB;
  --font-display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Figtree", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace;
  --d1: clamp(2.6rem, 5.4vw, 4.75rem);
  --d2: clamp(2rem, 4vw, 3.5rem);
  --h3: clamp(1.35rem, 2vw, 1.75rem);
  --body: 1.0625rem; --small: .9375rem;
  --r-btn: 10px; --r-ctl: 10px; --r-panel: 16px; --r-pill: 999px;
  --shadow: 0 1px 2px rgb(15 18 22 / .06), 0 8px 24px -12px rgb(15 18 22 / .18);
  --shadow-lg: 0 2px 4px rgb(15 18 22 / .06), 0 24px 48px -20px rgb(15 18 22 / .28);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-expo: cubic-bezier(.19, 1, .22, 1);
  --container: 74rem; --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4rem;
  /* Surface variables: headings, body copy, meta, rules, focus ring */
  --bg: var(--paper); --fg: var(--ink); --fg-body: var(--ink-3); --fg-2: var(--ink-4);
  --rule: var(--line); --focus: var(--red);
}
@media (min-width: 900px) { :root { --header-h: 4.5rem; } }

.s-paper { --bg: var(--paper); }
.s-paper2 { --bg: var(--paper-2); }
.s-dark, .s-dark2 {
  --bg: var(--graphite); --fg: var(--on-dark); --fg-body: var(--on-dark-2); --fg-2: var(--on-dark-2);
  --rule: var(--rule-dark); --focus: #fff; color-scheme: dark;
}
.s-dark2 { --bg: var(--graphite-2); }
.s-paper, .s-paper2, .s-dark, .s-dark2 { background: var(--bg); color: var(--fg-body); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  caret-color: var(--red);
  accent-color: var(--red);
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--body);
  line-height: 1.6;
  color: var(--ink-3);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--red-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
:focus:not(:focus-visible) { outline: none; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
p a:not([class]), .prose li a, .checks a:not([class]) { color: var(--fg); text-decoration-color: var(--red); }
p a:not([class]):hover, .prose li a:hover, .checks a:not([class]):hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
strong { color: var(--fg); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  text-wrap: balance;
  color: var(--fg);
  margin: 0 0 .5em;
}
h1, .d1 { font-size: var(--d1); font-weight: 650; letter-spacing: -.025em; line-height: 1.02; }
h2, .d2 { font-size: var(--d2); font-weight: 650; letter-spacing: -.02em; line-height: 1.08; }
h3 { font-size: var(--h3); line-height: 1.2; }
* + h2 { margin-top: 1.25em; }
p { margin: 0 0 1em; max-width: 68ch; }
small { font-size: var(--small); }
.num, .receipt, .tmap, .ui-bars { font-variant-numeric: tabular-nums; }
.lead { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.55; }
.muted { color: var(--fg-2); }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: .35em; }
.section-head p { font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); margin: 0; }
.cv { content-visibility: auto; contain-intrinsic-size: auto 640px; }
.center { text-align: center; }
.center p, .center .section-head { margin-inline: auto; }
.center .actions { justify-content: center; }

/* ---------- Buttons, links, pills ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .6rem 1.35rem;
  border-radius: var(--r-btn); border: 1px solid transparent;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  background: var(--red); color: #fff;
  transition: background-color .2s, border-color .2s, color .2s;
}
.btn .icon { width: 1.125em; height: 1.125em; transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; }
.btn-primary { box-shadow: 0 1px 2px rgb(15 18 22 / .12); }
.btn-primary:hover { background: var(--red-deep); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--paper-2); }
.s-dark .btn-secondary, .s-dark2 .btn-secondary { color: #fff; border-color: rgb(255 255 255 / .24); }
.s-dark .btn-secondary:hover, .s-dark2 .btn-secondary:hover { background: rgb(255 255 255 / .08); }
.btn-sm { min-height: 44px; padding: .45rem 1.1rem; font-size: .9375rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 600px) { .actions .btn { width: 100%; } }

.link { display: inline-flex; align-items: center; gap: .35rem; min-height: 44px; font-weight: 600; text-decoration: none; color: var(--red-deep); }
.link:hover { text-decoration: underline; }
.link .icon { transition: transform .25s var(--ease); }
.link:hover .icon { transform: translateX(3px); }
.s-dark .link, .s-dark2 .link { color: var(--fg); text-decoration-color: var(--red); }
.s-dark .link .icon, .s-dark2 .link .icon { color: var(--red); }

.pill {
  display: inline-flex; align-items: center; gap: .35rem;
  min-height: 28px; padding: .2rem .75rem; border-radius: var(--r-pill);
  font-size: .8125rem; font-weight: 600; letter-spacing: .01em; line-height: 1.2;
}
.pill-live { background: var(--red-tint); color: var(--red-deep); }
.s-dark .pill-live, .s-dark2 .pill-live { background: rgb(224 24 32 / .16); color: #FFB4B4; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-soon { border: 1px solid var(--ink-4); color: var(--ink-3); }
.s-dark .pill-soon, .s-dark2 .pill-soon { border-color: var(--on-dark-2); color: var(--on-dark-2); }

/* ---------- Header ---------- */
.skip { position: absolute; left: 1rem; top: -6rem; z-index: 100; padding: .75rem 1rem; border-radius: var(--r-ctl); background: var(--ink); color: #fff; font-weight: 600; }
.skip:focus { top: 1rem; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--paper); color: var(--ink);
  transition: box-shadow .3s;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
/* Reading position on long pages: 2px red line on the header's bottom edge (site.js sets --page) */
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--red); transform-origin: left center; transform: scaleX(var(--page, 0)); opacity: 0; pointer-events: none; }
.site-header.has-progress::after { opacity: 1; }
.header-inner { height: 100%; display: flex; align-items: center; gap: .5rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; flex: none; }
.brand img { height: 30px; width: auto; }
@media (min-width: 900px) { .brand img { height: 34px; } }
.nav { display: none; margin-left: auto; }
.nav-list { display: flex; gap: .125rem; list-style: none; margin: 0; padding: 0; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .25rem;
  min-height: 44px; padding: 0 .85rem; border: 0; border-radius: 8px;
  background: none; color: var(--ink-2); font-weight: 600; font-size: .9375rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: var(--paper-2); color: var(--ink); }
.nav-link[aria-current="page"] { color: var(--ink); }
.nav-link[aria-current="page"]::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 6px; height: 2px; border-radius: 2px; background: var(--red); }
.nav-link .icon { width: 1em; height: 1em; transition: transform .25s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-short { display: none; }
@media (min-width: 900px) and (max-width: 1099.98px) {
  .nav-link { padding: 0 .6rem; }
  .nav-link[aria-current="page"]::after { left: .6rem; right: .6rem; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
}
.has-sub { position: relative; }
.sub {
  position: absolute; top: calc(100% + .5rem); left: 0; min-width: 18rem;
  margin: 0; padding: .5rem; list-style: none;
  background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-sub:hover .sub, .has-sub.is-open .sub, html:not(.js) .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .6rem .75rem; border-radius: 8px; text-decoration: none; font-weight: 600; }
.sub a:hover, .sub a:focus-visible { background: var(--paper-2); }
.sub a[aria-current="page"] { color: var(--red-deep); }
.sub small { display: block; font-weight: 400; color: var(--ink-4); font-size: .875rem; }
.sub .sub-all { margin-top: .35rem; padding-top: .35rem; border-top: 1px solid var(--line); }
.header-cta { display: none; margin-left: .75rem; }
.menu-btn { margin-left: auto; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-ctl); background: none; color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 26px; height: 26px; }
@media (min-width: 900px) {
  .nav, .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
html:not(.js) .nav { display: block; }
html:not(.js) .nav-list { flex-wrap: wrap; }
html:not(.js) .menu-btn { display: none; }
html:not(.js) .site-header { position: static; height: auto; min-height: var(--header-h); }

/* Mobile menu panel: white, graphite links, active link red */
.menu-panel {
  position: fixed; inset: 0; z-index: 60;
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 1.5rem; overflow: auto;
  background: var(--paper); color: var(--ink);
  transform: translateX(100%); visibility: hidden;
  transition: transform .4s var(--ease), visibility .4s;
}
.menu-panel.is-open { transform: none; visibility: visible; }
html.menu-open { overflow: hidden; }
.menu-top { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.menu-close { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-ctl); background: var(--paper-2); color: var(--ink); cursor: pointer; }
.menu-close .icon { width: 24px; height: 24px; }
.menu-links { list-style: none; margin: 1.5rem 0 2rem; padding: 0; display: grid; gap: .125rem; }
.menu-links a, .menu-links .menu-group { display: block; padding: .35rem 0; font-family: var(--font-display); font-size: clamp(1.875rem, 8vw, 2.5rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.15; text-decoration: none; color: var(--ink); }
.menu-links .menu-group { color: var(--ink-4); }
.menu-links a[aria-current="page"] { color: var(--red); }
.sub-links { list-style: none; margin: .25rem 0 .75rem; padding: 0 0 0 1rem; display: grid; gap: .25rem; border-left: 1px solid var(--line); }
.sub-links a { font-family: var(--font-body); font-size: 1.25rem; font-weight: 600; letter-spacing: 0; }
.menu-panel .btn { margin-top: auto; width: 100%; }

/* ---------- Home hero: copy + workbench of authored UI cards ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3.5rem, 7vw, 6rem); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 3.5rem); }
/* Sized so "Software a la medida que hace crecer" + the rotating word stays within three lines */
.hero h1 { font-size: clamp(1.75rem, 9vw, 3.5rem); margin-bottom: 1.25rem; }
.hero .lead { max-width: 36rem; margin-bottom: 1.75rem; }
.rotator { display: block; }
.rot { position: relative; display: inline-block; color: var(--red); transition: opacity .2s; }
.rot::after { content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: 2px; background: var(--red); transform-origin: left center; }
.rot.is-out { opacity: 0; }
.rot.is-drawn::after { animation: draw .45s var(--ease) both; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.proof { display: flex; flex-direction: column; gap: .5rem; margin: 2rem 0 0; padding: 0; list-style: none; font-size: var(--small); color: var(--fg-2); }
.proof li { display: flex; align-items: center; gap: .65rem; }
.proof li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
@media (min-width: 640px) {
  .proof { flex-direction: row; flex-wrap: wrap; gap: .4rem 1rem; }
  .proof li { gap: 1rem; }
  .proof li:first-child::before { display: none; }
}

.workbench { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-content: start; }
.wb-card { min-width: 0; padding: 1rem; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow-lg); color: var(--ink-3); }
.wb-head { display: flex; align-items: center; gap: .5rem; margin: 0 0 .875rem; padding-bottom: .75rem; border-bottom: 1px solid var(--line); font-size: .875rem; font-weight: 600; color: var(--ink); max-width: none; }
.wb-head .icon { width: 1.125rem; height: 1.125rem; color: var(--red); }
.wb-head img { width: 20px; height: auto; }
.wb-receipt { display: none; }
.wb-receipt .receipt { padding: 0; box-shadow: none; border-radius: 0; font-size: .875rem; }
.wb-caption { margin: .25rem 0 0; font-size: .8125rem; color: var(--ink-4); }
@media (min-width: 640px) {
  .workbench { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wb-api, .wb-caption { grid-column: 1 / -1; }
  .wb-receipt { display: block; }
}
@media (min-width: 960px) {
  .hero h1 { font-size: clamp(2.6rem, 4.4vw, 3.5rem); }
  .hero-grid { grid-template-columns: 52fr 48fr; column-gap: clamp(2rem, 4vw, 4rem); align-items: center; }
  .workbench { grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0; padding-top: .5rem; }
  .wb-card { position: relative; align-self: start; }
  .wb-api { grid-column: 1 / 11; grid-row: 1; z-index: 1; }
  .wb-receipt { grid-column: 1 / 8; grid-row: 2; margin-top: -1.75rem; z-index: 2; }
  .wb-chat { grid-column: 8 / 13; grid-row: 2; margin: -4.5rem 0 0 -1rem; z-index: 3; }
  .wb-caption { grid-column: 1 / -1; grid-row: 3; margin-top: 1rem; }
}
/* Narrow desktops: the receipt needs more width, so the cards stack diagonally */
@media (min-width: 960px) and (max-width: 1099.98px) {
  .wb-chat { grid-column: 6 / 13; grid-row: 2; margin: -1.5rem 0 0; }
  .wb-receipt { grid-column: 1 / 10; grid-row: 3; margin-top: -1rem; z-index: 4; }
  .wb-caption { grid-row: 4; }
}

/* Shared inbox (PersonalWp page hero): conversation rows with time and assignee chip (HTML/CSS, demo data) */
.inbox-list { list-style: none; margin: 0; padding: 0; display: grid; }
.inbox-list li { display: grid; grid-template-columns: .5rem minmax(0, 1fr) auto; gap: .75rem; align-items: center; padding: .75rem 0; border-top: 1px solid var(--line); }
.inbox-list li:first-child { padding-top: 0; border-top: 0; }
.inbox-dot { width: .5rem; height: .5rem; border-radius: 50%; }
.is-unread .inbox-dot { background: var(--red); }
.inbox-who { display: grid; gap: .1rem; min-width: 0; font-size: .875rem; line-height: 1.4; }
.inbox-who strong { font-size: .9375rem; }
.is-unread .inbox-who > span:last-child { color: var(--ink); font-weight: 600; }
.inbox-meta { display: grid; justify-items: end; gap: .3rem; font-size: .8125rem; color: var(--ink-4); font-variant-numeric: tabular-nums; }
.chip { display: inline-flex; align-items: center; gap: .25rem; padding: .1rem .55rem; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.chip .icon { width: .875rem; height: .875rem; color: var(--red); }

/* Code panel (real code: request and response of the invoicing API) */
.code { margin: 0; padding: .9rem 1rem; border-radius: 10px; background: var(--graphite-2); color: #E6E8EB; font-family: var(--font-mono); font-size: .8125rem; line-height: 1.65; overflow-x: auto; white-space: pre; tab-size: 2; }
.code + .code { margin-top: .5rem; }
.c-verb { color: #F59E9E; font-weight: 700; }
.c-key { color: #F59E9E; }
.c-str { color: #9FD3A8; }
.c-num { color: #E8C08A; }
.c-status { color: #9FD3A8; font-weight: 700; }
.code-res .c-body { transition: opacity .4s var(--ease); }
.code-res.is-pending .c-status { color: var(--on-dark-2); font-weight: 400; }
.code-res.is-pending .c-body, .code-res.is-typing .c-body { opacity: 0; }

/* ---------- Services (editorial list) ---------- */
.services { position: relative; list-style: none; margin: 0; padding: 0; display: grid; }
.svc { position: relative; padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.svc .icon { width: 1.75rem; height: 1.75rem; color: var(--red); }
.svc :is(h3, h4) { margin: .85rem 0 .5rem; }
.svc h4 { font-size: var(--h3); line-height: 1.2; }
:is(.svc h4, .plate-head h3, .hub-head h2) a { color: inherit; text-decoration: none; }
:is(.svc h4, .plate-head h3, .hub-head h2) a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.svc-offer { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem 1rem; max-width: none; margin: 0; padding: clamp(1.5rem, 3vw, 2.5rem) 0; }
.svc-offer > span { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); color: var(--fg-body); }
.svc-offer a { display: inline-flex; align-items: center; flex-wrap: wrap; gap: .1em .3em; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.1; color: var(--fg); text-decoration: none; }
.svc-offer a .icon { width: .8em; height: .8em; color: var(--red); transition: transform .25s var(--ease); }
.svc-offer a:hover { text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.svc-offer a:hover .icon { transform: translateX(3px); }
.svc-groups { display: grid; gap: clamp(2.5rem, 5vw, 4rem); margin-top: clamp(2.5rem, 5vw, 4rem); }
.svc-group-title { margin: 0 0 .5rem; font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.svc p { margin: 0; }
@media (min-width: 900px) {
  .services { grid-template-columns: repeat(12, 1fr); column-gap: 2.5rem; }
  .svc { grid-column: span 12; }
  .svc-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: start; }
  .svc-lead h3 { font-size: var(--d2); font-weight: 650; letter-spacing: -.02em; margin: .75rem 0 0; }
  .svc-lead p { font-size: 1.1875rem; padding-top: .5rem; }
  .svc-7 { grid-column: span 7; }
  .svc-5 { grid-column: span 5; }
  .services-2 .svc { grid-column: span 6; }
}
:is(.services, .apps) + .actions { margin-top: 1.5rem; }

/* ---------- Product showcase (graphite) ---------- */
.products { display: grid; gap: 1.25rem; }
.plate { padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--r-panel); background: rgb(255 255 255 / .04); border: 1px solid var(--rule-dark); }
.plate-mompos { display: grid; gap: 2rem; }
.plate-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.plate-head h3 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 650; letter-spacing: -.02em; margin: 0; }
.mark { width: 84px; height: auto; }
.checks { list-style: none; padding: 0; margin: 1rem 0 1.5rem; display: grid; gap: .5rem; }
.checks li { display: flex; gap: .6rem; align-items: flex-start; }
.checks .icon { color: var(--red); margin-top: .2em; }
.slogan { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; letter-spacing: -.01em; color: var(--fg); margin: 0 0 1rem; }
.disc { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--red-tint); color: var(--red); }
.disc .icon { width: 36px; height: 36px; }
.disc-xl { width: clamp(160px, 24vw, 220px); height: clamp(160px, 24vw, 220px); box-shadow: var(--shadow-lg); }
.disc-xl .icon { width: 45%; height: 45%; }
@media (min-width: 900px) {
  .products { grid-template-columns: repeat(12, 1fr); }
  .plate-mompos { grid-column: span 12; grid-template-columns: 5fr 7fr; gap: 3rem; align-items: center; }
  .plate-sm { grid-column: span 12; }
}
/* Row of smaller product plates: stacked below 960px, three across above */
.plate-sm { display: flex; flex-direction: column; }
.plate-sm .plate-links { margin-top: auto; }
.plate-links { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.5rem; }
.plate-proof { font-weight: 600; color: var(--fg); }
.link-quiet { color: var(--fg-2); }
.s-dark .link-quiet, .s-dark2 .link-quiet { color: var(--on-dark-2); }
.plate-sm .plate-head { flex-direction: column; align-items: flex-start; gap: .75rem; }
.plate-sm .mark { width: 72px; }
@media (min-width: 960px) { .plate-sm { grid-column: span 4; } }

/* Mompos vignette: receipt + table map (HTML/CSS, demo data) */
.vignette { display: grid; gap: 1rem; }
@media (min-width: 560px) { .vignette { grid-template-columns: 3fr 2fr; align-items: start; } }
.vig-caption { grid-column: 1 / -1; margin: 0; font-size: .8125rem; text-align: right; color: var(--fg-2); }
.receipt { background: var(--paper); color: var(--ink); border-radius: 12px; padding: 1.25rem; box-shadow: var(--shadow-lg); font-size: .9375rem; }
.receipt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .75rem; margin-bottom: .75rem; border-bottom: 1px dashed var(--line-2); }
.receipt-head strong { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 600; color: var(--ink); }
.receipt-head small { color: var(--ink-4); font-size: .8125rem; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.lines li { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; gap: .5rem; }
.lines .qty { color: var(--ink-4); }
.lines .amt { text-align: right; white-space: nowrap; }
.receipt-total { display: flex; justify-content: space-between; margin-top: .75rem; padding-top: .75rem; border-top: 1px dashed var(--line-2); font-weight: 700; }
.receipt-dian { display: flex; align-items: center; gap: .4rem; margin: .85rem 0 0; font-size: .8125rem; color: var(--ink-4); }
.receipt-dian .icon { color: var(--red); }
.tables { background: rgb(255 255 255 / .05); border: 1px solid var(--rule-dark); border-radius: 12px; padding: 1rem; }
.tables-head { display: flex; justify-content: space-between; gap: .5rem; margin-bottom: .75rem; font-size: .8125rem; color: var(--fg-2); }
.tmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; list-style: none; margin: 0; padding: 0; }
.tmap li { aspect-ratio: 1; display: grid; place-items: center; border-radius: 8px; border: 2px solid var(--ring, rgb(255 255 255 / .28)); background: rgb(255 255 255 / .04); color: var(--fg); font-weight: 700; font-size: .875rem; }
.t-busy { --ring: var(--red); }
.t-pay { --ring: #fff; }
.t-current { background: rgb(224 24 32 / .24); }
.legend { display: flex; flex-wrap: wrap; gap: .4rem .85rem; margin: .85rem 0 0; padding: 0; list-style: none; font-size: .75rem; color: var(--fg-2); }
.legend li { display: flex; align-items: center; gap: .35rem; }
.legend i { width: .8rem; height: .8rem; border-radius: 50%; border: 2px solid var(--ring, rgb(255 255 255 / .28)); }
.vig .tables { background: var(--paper); border-color: var(--line); }
.vig .tables-head, .vig .legend { color: var(--ink-4); }
.vig .tmap li { background: var(--paper-2); --ring: var(--line-2); color: var(--ink); }
.vig .legend i { --ring: var(--line-2); }
.vig .t-busy { --ring: var(--red); }
.vig .t-pay { --ring: var(--ink); }
.vig .t-current { background: var(--red-tint); }

/* ---------- Steps timeline ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; }
.step { position: relative; padding-left: 2rem; }
.step::before { content: ""; position: absolute; left: 1px; top: .45rem; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }
.step::after { content: ""; position: absolute; left: 5px; top: 1.5rem; bottom: -2rem; width: 1px; background: var(--line-2); }
.step:last-child::after, .timeline .step:last-child h3::after { display: none; }
.step h3 { margin: 0 0 .35rem; }
.step p { margin: 0; }
/* Home timeline: a red line over each connector (drawn by --seg), the dot fills when the line reaches it */
.timeline .step:nth-child(2) { --k: 1; }
.timeline .step:nth-child(3) { --k: 2; }
.timeline .step:nth-child(4) { --k: 3; }
.timeline .step:nth-child(5) { --k: 4; }
.timeline h3::after { content: ""; position: absolute; left: 5px; top: 1.5rem; bottom: -2rem; width: 1px; background: var(--red); transform-origin: center top; transform: scaleY(var(--seg, 1)); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 2.5rem; }
  .step { padding-left: 0; padding-top: 2rem; }
  .step::before { top: 0; left: 0; }
  .step::after, .timeline h3::after { left: 1.25rem; right: -2.5rem; top: 5px; bottom: auto; width: auto; height: 1px; }
  .timeline h3::after { transform-origin: left center; transform: scaleX(var(--seg, 1)); }
  /* Offer plan: the day sits on its own line above the step name in the horizontal timeline */
  .step-when { display: block; }
  .step-sep { display: none; }
}

/* ---------- Marquee ---------- */
.marquee { padding-block: 2rem; overflow: hidden; }
.marquee-inner { display: flex; flex-direction: column; gap: 1rem; }
.marquee-label { flex: none; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.125rem; color: var(--ink); }
.track-wrap { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.track-wrap:hover .track { animation-play-state: paused; }
.track ul { display: flex; list-style: none; margin: 0; padding: 0; white-space: nowrap; }
.track li { display: flex; align-items: center; font-weight: 600; font-size: 1.0625rem; color: var(--ink-2); }
.track li::after { content: ""; width: 4px; height: 4px; margin: 0 1.25rem; border-radius: 50%; background: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (min-width: 720px) {
  .marquee-inner { flex-direction: row; align-items: center; gap: 2rem; }
  .marquee-label { padding-right: 1.5rem; border-right: 1px solid var(--line-2); }
}

/* ---------- Clients: table-like grid of text wordmarks ---------- */
.clients { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.clients li { position: relative; padding: clamp(1rem, 2.5vw, 1.75rem); }
.clients strong { display: block; font-family: var(--font-display); font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); text-wrap: balance; overflow-wrap: break-word; }
.clients span { display: block; margin-top: .35rem; color: var(--ink-4); font-size: .875rem; line-height: 1.4; }
@media (min-width: 760px) { .clients { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .clients { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.footnote { margin: 1.25rem 0 0; font-size: .875rem; color: var(--ink-4); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 50rem; }
.faq { position: relative; --rule-c: var(--line-2); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 1.1rem 0; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; letter-spacing: -.01em; line-height: 1.3; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 1.375rem; height: 1.375rem; color: var(--red); transition: transform .3s var(--ease); }
.faq[open] summary .icon { transform: rotate(180deg); }
.faq-body { padding: 0 0 1.25rem; max-width: 66ch; }
.faq-body p { margin: 0; }

/* ---------- Closing CTA band and footer ---------- */
.cta-band { padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.cta-band .inner { display: grid; gap: 2rem; }
.cta-band h2 { margin: 0 0 1.5rem; max-width: 20ch; }
.cta-mascot { display: none; margin: 0; }
@media (min-width: 640px) {
  .cta-band { padding-bottom: 0; }
  .cta-band .inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: end; column-gap: 2rem; }
  .cta-copy { align-self: center; padding-block: 1rem clamp(3.5rem, 8vw, 5.5rem); }
  .cta-mascot { display: block; justify-self: center; }
  .cta-mascot img { height: 280px; width: auto; max-width: 100%; object-fit: contain; }
}
@media (min-width: 900px) { .cta-mascot img { height: 380px; } }
.site-footer { padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; font-size: var(--small); border-top: 1px solid var(--rule-dark); }
.footer-grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-logo { display: inline-flex; min-height: 44px; align-items: center; }
.footer-logo img { height: 32px; width: auto; }
.footer-tag { margin: 1rem 0 .5rem; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; color: #fff; }
.site-footer .footer-h { margin: 0 0 .85rem; font-family: var(--font-body); font-size: 1rem; font-weight: 600; letter-spacing: 0; color: var(--fg); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.footer-list li { display: flex; align-items: center; min-height: 32px; }
.footer-list a { display: inline-flex; align-items: center; gap: .3rem; min-height: 32px; color: var(--on-dark-2); text-decoration: none; }
.footer-list a:hover { color: #fff; text-decoration: underline; }
.footer-list .icon { width: 1em; height: 1em; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); color: var(--fg-2); }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 32px; color: var(--on-dark-2); }
.footer-bottom a:hover { color: #fff; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.4fr 1fr; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Inner page hero ---------- */
.page-hero { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); }
.page-hero .inner { display: grid; gap: 2rem; align-items: center; }
.page-hero figure { margin: 0; justify-self: center; }
.page-hero figure img { max-width: min(100%, 360px); }
.page-hero .fig-sm img { max-width: min(100%, 280px); }
.page-hero .fig-lg img { max-width: min(100%, 420px); }
.page-hero .pill { margin-bottom: 1.25rem; }
.page-hero h1 { margin-bottom: .6em; }
.page-hero .lead { margin-bottom: 1.75rem; }
.page-hero .hero-card { justify-self: stretch; width: 100%; max-width: 32rem; }
@media (min-width: 900px) {
  .page-hero .inner { grid-template-columns: 3fr 2fr; gap: 3rem; }
}
.plate-blue { display: grid; place-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--r-panel); background: var(--blue-tint); }
.plate-blue img { max-width: min(100%, 320px); }
.mark-glow { filter: drop-shadow(0 28px 44px rgb(224 24 32 / .5)); }

/* ---------- Service rows (Servicios page) ---------- */
.svc-row { display: grid; gap: 2.5rem; align-items: center; padding-block: clamp(3rem, 7vw, 5.5rem); border-top: 1px solid var(--line); }
.svc-row > * { min-width: 0; }
.svc-row :is(h2, .svc-title) { display: flex; align-items: center; gap: .75rem; }
.svc-row .svc-title { font-size: var(--d2); font-weight: 650; letter-spacing: -.02em; line-height: 1.08; margin-bottom: .5em; }
.svc-row :is(h2, .svc-title) .icon { width: .9em; height: .9em; color: var(--red); }
.svc-text h4 { font-size: var(--h3); line-height: 1.2; }
section.svc-group { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
section.svc-group .svc-group-title { margin: 0 0 1.5rem; font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 650; letter-spacing: -.015em; }
.who { display: flex; gap: .6rem; align-items: flex-start; margin: 0; }
.who .icon { color: var(--red); margin-top: .25em; }
@media (min-width: 900px) {
  .svc-row { grid-template-columns: 1fr 1fr; gap: 4.5rem; }
  .svc-row:nth-of-type(even) .svc-text { order: 2; }
}

/* ---------- Authored UI vignettes ---------- */
.vig { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper-2); box-shadow: var(--shadow); }
.vig-title { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 1rem; max-width: none; font-size: .8125rem; font-weight: 600; color: var(--ink-4); }
.vig .vig-caption { margin-top: 1rem; color: var(--ink-4); }
.ui-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.ui-rows li { display: flex; align-items: center; gap: .75rem; padding: .7rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink-2); font-size: .9375rem; }
.ui-rows .icon { color: var(--red); }
.ui-rows .state { margin-left: auto; padding: .15rem .6rem; border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-3); font-size: .75rem; font-weight: 600; white-space: nowrap; }
.ui-rows .done { background: var(--ink); color: #fff; }
.ui-rows .now { background: var(--red-tint); color: var(--red-deep); }
.ui-chat { display: grid; gap: .5rem; }
.bubble { max-width: 86%; margin: 0; padding: .6rem .9rem; border: 1px solid transparent; border-radius: 14px 14px 14px 4px; background: var(--paper-2); color: var(--ink); font-size: .9375rem; line-height: 1.45; }
.vig .bubble { background: var(--paper); border-color: var(--line); }
.bubble.me { margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.bubble small { display: block; margin-top: .25rem; font-size: .75rem; color: var(--ink-4); }
.bubble.me small { color: #C9CED6; }
.bubble .icon { display: inline-block; vertical-align: -.2em; width: 1em; height: 1em; margin-right: .25rem; }
.wb-chat .bubble { font-size: .875rem; }
/* OTP signing: channel label, message, code entry and signed status (success = the .done treatment) */
.ui-otp { display: grid; gap: .6rem; }
.otp-channel { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-size: .75rem; font-weight: 600; color: var(--ink-4); }
.otp-channel .icon { width: 1rem; height: 1rem; color: var(--red); }
.otp-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .4rem; max-width: 20rem; margin: .25rem 0 0; }
.otp-code span { display: grid; place-items: center; min-height: 2.75rem; border: 1px solid var(--line-2); border-radius: 8px; background: var(--paper); color: var(--ink); font-size: 1.25rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.otp-status { display: flex; align-items: center; gap: .6rem; margin: 0; max-width: none; padding: .7rem 1rem; border-radius: 10px; background: var(--ink); color: #fff; font-size: .9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
/* Messaging: one .ui-rows row per channel, channel name above the message */
.ui-msg .msg { min-width: 0; }
.ui-msg .msg b { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-4); }
.flow { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .8125rem; font-weight: 600; color: var(--ink-2); }
.flow li { display: inline-flex; align-items: center; gap: .5rem; }
.flow .step-chip { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .7rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--paper); }
.flow .step-chip .icon { width: 1rem; height: 1rem; color: var(--red); }
.flow .arrow { width: 1rem; height: 1rem; color: var(--ink-4); }
.ui-bars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; height: 170px; }
.ui-bars div { display: grid; align-content: end; gap: .4rem; text-align: center; font-size: .8125rem; color: var(--ink-3); }
.ui-bars i { display: block; height: var(--h); border-radius: 6px 6px 3px 3px; background: var(--red); }
.ui-bars .alt i { background: var(--ink-2); }
.ui-devices { display: flex; gap: 1rem; align-items: flex-end; justify-content: center; }
.dev { display: grid; align-content: start; gap: .4rem; padding: .5rem; border: 1px solid var(--line-2); border-radius: 12px; background: var(--paper); box-shadow: var(--shadow); }
.dev-web { width: 62%; aspect-ratio: 16 / 11; }
.dev-phone { width: 32%; aspect-ratio: 9 / 16; border-radius: 16px; }
.dev .bar { padding: .3rem .5rem; border-radius: 6px; background: var(--ink); color: #fff; font-size: .6875rem; font-weight: 600; }
.dev .row { display: flex; justify-content: space-between; gap: .5rem; padding: .3rem .5rem; border: 1px solid var(--line); border-radius: 6px; font-size: .6875rem; color: var(--ink-2); }
.dev .row b { color: var(--red-deep); }
.themes { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.theme { padding: .75rem; border-radius: 12px; border: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font-size: .75rem; display: grid; gap: .4rem; }
.theme-dark { background: var(--graphite); color: var(--on-dark); border-color: var(--graphite); }
.theme .keys { display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.theme .keys span { display: grid; place-items: center; min-height: 2rem; border-radius: 8px; background: var(--paper-2); font-weight: 700; }
.theme-dark .keys span { background: rgb(255 255 255 / .1); }
.theme .keys .k-red { background: var(--red); color: #fff; }

/* ---------- Mompos page ---------- */
.apps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 2.5rem; }
.apps li { position: relative; padding: 1.5rem 0; }
.apps .icon { width: 2rem; height: 2rem; color: var(--blue); }
.apps h3 { margin: .75rem 0 .15rem; }
.apps .device { display: block; margin-bottom: .75rem; font-size: var(--small); color: var(--ink-4); }
.apps p { margin: 0; }
@media (min-width: 900px) { .apps { grid-template-columns: repeat(3, 1fr); } }
.features { display: grid; gap: 2rem; }
.features h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.features .checks { margin: 0; }
.features .checks .icon { color: var(--blue); }
@media (min-width: 720px) { .features { grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; } }
.two { display: grid; gap: 1.5rem; }
.two .panel { display: grid; gap: .5rem; align-content: start; }
.two .icon { width: 2.25rem; height: 2.25rem; color: var(--blue); }
.two h3 { margin: .5rem 0 0; }
.two p { margin: 0; }
@media (min-width: 720px) { .two { grid-template-columns: 1fr 1fr; } }
.panel { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.statement { display: grid; gap: 2rem; align-items: center; }
.statement p { font-size: clamp(1.125rem, 1.6vw, 1.375rem); line-height: 1.45; }
.statement .statement-note { font-size: var(--body); line-height: 1.6; margin: 0; }
@media (min-width: 900px) { .statement { grid-template-columns: 3fr 2fr; gap: 4rem; } .statement-even { grid-template-columns: 1fr 1fr; } }

/* ---------- Nosotros ---------- */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem 2.5rem; }
.values li { position: relative; padding-top: 1.25rem; }
.values h3 { margin: 0 0 .35rem; }
.values p { margin: 0; }
@media (min-width: 640px) { .values { grid-template-columns: 1fr 1fr; } }
.values-wrap { display: grid; gap: 2.5rem; align-items: start; }
.values-wrap figure { margin: 0; justify-self: center; }
.values-wrap figure img { max-width: 220px; }
@media (min-width: 900px) { .values-wrap { grid-template-columns: 1fr 3fr; gap: 4rem; } .values-wrap figure { justify-self: start; } }
.mission { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.18; color: var(--ink); text-wrap: balance; max-width: 26ch; margin: 0; }
.product-links { display: grid; gap: 1.25rem; }
.product-links a { display: flex; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--r-panel); text-decoration: none; background: var(--paper); box-shadow: var(--shadow); transition: box-shadow .25s var(--ease), border-color .25s; }
.product-links a:hover { border-color: var(--line-2); box-shadow: var(--shadow-lg); }
.product-links img { width: 64px; height: auto; }
.product-links .disc { width: 64px; height: 64px; flex: none; }
.product-links .disc .icon { width: 30px; height: 30px; }
.product-links strong { display: block; font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.product-links span { color: var(--ink-4); font-size: var(--small); }
@media (min-width: 720px) { .product-links { grid-template-columns: 1fr 1fr; } }

/* ---------- Contact ---------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 900px) { .contact { grid-template-columns: 3fr 2fr; gap: 4.5rem; } }
.form { display: grid; gap: 1.25rem; }
.field { display: grid; gap: .375rem; }
.field label { font-weight: 600; color: var(--ink); }
.field .hint { font-size: .875rem; font-weight: 400; color: var(--ink-4); }
.input { width: 100%; min-height: 48px; padding: .7rem 1rem; border: 1px solid var(--line-input); border-radius: var(--r-ctl); background: var(--paper); color: var(--ink); font: inherit; transition: border-color .2s; }
.input:hover { border-color: var(--ink-3); }
textarea.input { min-height: 9rem; resize: vertical; }
.is-invalid .input { border-color: var(--red); }
.error { margin: 0; font-size: .9375rem; font-weight: 600; color: var(--red-deep); }
.error:empty { display: none; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-weight: 400; }
.check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; flex: none; }
/* Server result after a failed post (site.js fills it from ?error=); hidden while empty */
.form-alert { margin: 0; max-width: none; padding: .85rem 1rem; border-radius: var(--r-ctl); background: var(--red-tint); color: var(--red-deep); font-weight: 600; }
.form-alert:empty { display: none; }
/* Cloudflare Turnstile widget: reserve its height so the submit button does not jump when it renders */
.cf-turnstile { min-height: 65px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.channels { display: grid; gap: 1.5rem; align-content: start; }
.channel { display: flex; gap: 1rem; align-items: flex-start; }
.channel .icon { width: 1.5rem; height: 1.5rem; color: var(--red); margin-top: .15rem; }
.channel strong { display: block; margin-bottom: .15rem; }
.channel a { font-weight: 600; text-decoration: none; }
.channel a:hover { text-decoration: underline; }
.channel p { margin: 0; }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 65ch; }
.prose h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); margin: 2em 0 .5em; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: .35em; }

/* ---------- Breadcrumb, freshness line ---------- */
.crumbs { margin: 0 0 1.25rem; font-size: .875rem; color: var(--fg-2); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 0 .5rem; margin: 0; padding: 0; list-style: none; }
.crumbs li { display: inline-flex; align-items: center; gap: .5rem; min-height: 24px; }
.crumbs li + li::before { content: "/" / ""; color: var(--fg-2); }
.crumbs a { color: var(--fg-2); text-decoration: none; }
.crumbs a:hover { color: var(--fg); text-decoration: underline; text-decoration-color: var(--red); }
.crumbs [aria-current] { color: var(--fg); }
.updated { margin: 2.5rem 0 0; font-size: .8125rem; color: var(--fg-2); }

/* ---------- Home offer strip (below the hero) ---------- */
.offer-strip { padding-block: 1.25rem; }
.offer-strip-inner { display: flex; flex-direction: column; align-items: flex-start; gap: .85rem; }
.offer-strip-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .85rem; margin: 0; max-width: none; }
.offer-strip-copy strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; color: var(--fg); }
@media (min-width: 900px) { .offer-strip-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

/* ---------- Offer page: price card, scope, examples, guarantee ---------- */
.price-card { width: 100%; max-width: 30rem; justify-self: stretch; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); box-shadow: var(--shadow); }
.price-amount { margin: 0; font-family: var(--font-display); font-size: clamp(2.75rem, 6vw, 4rem); font-weight: 650; letter-spacing: -.025em; line-height: 1; color: var(--ink); }
.price-note { margin: .4rem 0 1.25rem; font-size: var(--small); color: var(--ink-4); }
.price-card .checks { margin: 0 0 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.price-pay { margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.price-guarantee { display: flex; gap: .6rem; align-items: flex-start; margin: .85rem 0 0; font-size: var(--small); }
.price-guarantee .icon { color: var(--red); margin-top: .15em; }
.scope { display: grid; gap: 2rem; }
.scope-in .checks { margin: 0; gap: .85rem; font-size: clamp(1.0625rem, 1.3vw, 1.1875rem); color: var(--ink-2); }
.scope-apart { padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--paper); }
.scope-apart h3 { margin: 0 0 .75rem; font-size: 1.25rem; }
.apart-list { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; }
.apart-list li { padding: .65rem 0; border-top: 1px solid var(--line); }
.apart-list li:first-child { padding-top: 0; border-top: 0; }
.apart-list a { color: var(--ink); text-decoration-color: var(--red); }
.apart-list a:hover { text-decoration-thickness: 2px; }
@media (min-width: 900px) { .scope { grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; } }
.examples { position: relative; list-style: none; margin: 0; padding: 0; display: grid; max-width: 50rem; }
.examples li { position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0; font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: var(--ink); }
.examples .icon { width: 1.5rem; height: 1.5rem; color: var(--red); }
.guarantee-text { margin: 0; max-width: 28ch; font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.18; color: var(--fg); text-wrap: balance; }

/* ---------- Customization vignette: current software -> connection -> new feature ---------- */
.ui-bridge { display: grid; }
.bridge-box { display: flex; align-items: center; gap: .75rem; margin: 0; max-width: none; padding: .85rem 1rem; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); font-size: .9375rem; font-weight: 600; }
.bridge-box .icon { color: var(--red); }
.bridge-box b { display: block; font-size: .75rem; font-weight: 600; color: var(--ink-4); }
.bridge-new { border-color: transparent; background: var(--red-tint); }
.bridge-new b { color: var(--red-deep); }
.bridge-link { position: relative; display: grid; place-items: center; min-height: 4.75rem; margin: 0; max-width: none; }
.bridge-link::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--line-2); }
.bridge-link::after { content: ""; position: absolute; bottom: 1px; left: 50%; width: 8px; height: 8px; border-right: 1px solid var(--ink-4); border-bottom: 1px solid var(--ink-4); transform: translateX(-50%) rotate(45deg); }
.bridge-link span { position: relative; padding: .3rem .75rem; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--paper-2); color: var(--ink-2); font-size: .75rem; font-weight: 600; text-align: center; }

/* ---------- Mompos proof strip: one quiet hairline line of facts ---------- */
.proof-strip { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.proof-strip-inner { position: relative; display: grid; gap: .4rem; padding-block: 1.25rem; }
.proof-facts { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem 1.25rem; margin: 0 0 .25rem; padding: 0; list-style: none; color: var(--ink-3); }
.proof-facts li { display: flex; align-items: baseline; gap: .35rem; }
.proof-facts li + li::before { content: ""; align-self: center; width: 4px; height: 4px; margin-right: .9rem; border-radius: 50%; background: var(--blue); }
.proof-facts strong { font-family: var(--font-display); font-size: 1.25rem; font-weight: 650; letter-spacing: -.01em; color: var(--ink); }
.proof-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1rem; margin: 0; max-width: none; font-size: var(--small); color: var(--ink-4); }
@media (max-width: 639.98px) { .proof-facts { flex-direction: column; align-items: flex-start; } .proof-facts li + li::before { display: none; } }

/* ---------- Nosotros: company facts ---------- */
.facts { position: relative; display: grid; max-width: 56rem; margin: 0; }
.facts > div { position: relative; display: grid; gap: .2rem 2rem; padding: 1rem 0; }
.facts dt { font-weight: 600; color: var(--ink); }
.facts dd { margin: 0; }
@media (min-width: 720px) { .facts > div { grid-template-columns: 14rem minmax(0, 1fr); } .facts dd { grid-column: 2; } }

/* ---------- Products hub ---------- */
.hub { display: grid; }
.hub-item { position: relative; display: grid; gap: 1.25rem; padding-block: clamp(2rem, 4vw, 3rem); }
.hub-art .mark { width: 88px; }
.hub-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-bottom: .75rem; }
.hub-head h2 { margin: 0; font-size: clamp(1.75rem, 3vw, 2.25rem); }
@media (min-width: 720px) {
  .hub-item { grid-template-columns: 120px minmax(0, 1fr); gap: 3rem; }
  .hub-art .mark { width: 120px; }
  .hub-art .disc { width: 104px; height: 104px; }
  .hub-art .disc .icon { width: 48px; height: 48px; }
}

/* ---------- Hairline rules ----------
   1px list and grid rules are pseudo-elements so they can draw on reveal (--draw, see Motion).
   The static result matches plain borders. */
.services::before, .svc::after, .clients::before, .clients li::after, .faq::before, .faq:last-of-type::after, .apps li::before, .values li::before,
.svc-offer::before, .svc-offer::after, .examples::before, .examples li::after, .facts::before, .facts > div::after,
.hub-item::before, .hub-item:last-of-type::after, .proof-strip-inner::before, .proof-strip-inner::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--rule-c, var(--line));
  transform-origin: left center; transform: scaleX(var(--draw, 1));
}
.svc::after, .clients li::after, .faq:last-of-type::after, .svc-offer::after, .examples li::after, .facts > div::after,
.hub-item:last-of-type::after, .proof-strip-inner::after { top: auto; bottom: 0; }
.clients::after, .clients li::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: var(--line);
  transform-origin: center top; transform: scaleY(var(--draw, 1));
}
.clients li::before { left: auto; right: 0; }

/* ---------- Motion ---------- */
/* Content is visible by default. Start states exist only with JS and without a reduced-motion
   preference. One observer adds .is-in once (site.js); --d staggers siblings that enter together. */
@media (prefers-reduced-motion: no-preference) {
  /* Hero signature: the cards rise and fade in, staggered; the API line types once */
  html.js .workbench .wb-card { opacity: 0; transform: translateY(16px); }
  html.js .workbench.is-in .wb-card { opacity: 1; transform: none; transition: opacity .6s var(--ease-expo), transform .6s var(--ease-expo); }
  html.js .workbench.is-in .wb-card:nth-of-type(2) { transition-delay: 120ms; }
  html.js .workbench.is-in .wb-card:nth-of-type(3) { transition-delay: 240ms; }

  /* Default reveal (plates, cards, copy): opacity + 16px rise */
  html.js .reveal:not(.reveal-mask, .reveal-rule, .reveal-line, .reveal-band) { transition: opacity .5s var(--ease) var(--d, 0ms), transform .5s var(--ease) var(--d, 0ms); }
  html.js .reveal:not(.is-in, .reveal-mask, .reveal-rule, .reveal-line, .reveal-band) { opacity: 0; transform: translateY(16px); }

  /* Section headings: mask wipe from the bottom + 12px rise; what follows fades 120ms later */
  html.js .reveal-mask > :first-child { clip-path: inset(-.3em -.2em); transition: clip-path .6s var(--ease) var(--d, 0ms), transform .6s var(--ease) var(--d, 0ms); }
  html.js .reveal-mask:not(.is-in) > :first-child { clip-path: inset(calc(100% + .3em) -.2em -.3em); transform: translateY(12px); }
  html.js .reveal-mask > :not(:first-child) { transition: opacity .6s var(--ease) calc(var(--d, 0ms) + 120ms); }
  html.js .reveal-mask:not(.is-in) > :not(:first-child) { opacity: 0; }

  /* Hairline rows: the rule draws left to right, the row content fades 80ms after it */
  html.js :is(.reveal-rule, .reveal-line)::before, html.js :is(.reveal-rule, .reveal-line)::after { transition: transform .5s var(--ease) var(--d, 0ms); }
  html.js :is(.reveal-rule, .reveal-line).is-in { --draw: 1; }
  html.js :is(.reveal-rule, .reveal-line):not(.is-in) { --draw: 0; }
  html.js .reveal-rule > * { transition: opacity .5s var(--ease) calc(var(--d, 0ms) + 80ms); }
  html.js .reveal-rule:not(.is-in) > * { opacity: 0; }

  /* Closing band: the mascot rises 24px from the band's bottom edge, once */
  html.js .reveal-band { overflow: clip; }
  html.js .reveal-band .cta-mascot { transition: opacity .6s var(--ease), transform .6s var(--ease); }
  html.js .reveal-band:not(.is-in) .cta-mascot { opacity: 0; transform: translateY(24px); }

  /* Home timeline (scroll-linked; site.js writes --progress 0..1 on the list) */
  html.js .timeline .step {
    --seg: clamp(0, var(--progress, 0) * (var(--cols) - 1) - var(--k, 0), 1);
    /* 0 or 1: the dot is reached (x1.002 so the last dot fills at progress 1) */
    --on: clamp(0, (var(--progress, 0) * (var(--cols) - 1) * 1.002 - var(--k, 0)) * 1000, 1);
  }
  html.js .timeline .step::before { background: color-mix(in srgb, var(--red) calc(var(--on) * 100%), var(--paper)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--red) calc(var(--on) * 100%), var(--ink-4)); transition: background-color .3s, box-shadow .3s; }
  html.js .timeline h3 { color: color-mix(in srgb, var(--ink) calc(var(--on) * 100%), var(--ink-4)); transition: color .3s; }
  html.js .timeline p { color: color-mix(in srgb, var(--ink-3) calc(var(--on) * 100%), var(--ink-4)); transition: color .3s; }
  html.js .is-tracking .timeline h3::after { will-change: transform; }
}
/* Hero depth (scroll-linked, desktop): the API and chat cards separate as the hero scrolls out */
@media (prefers-reduced-motion: no-preference) and (min-width: 960px) {
  html.js .wb-api { translate: 0 calc(var(--depth, 0) * -24px); }
  html.js .wb-chat { translate: 0 calc(var(--depth, 0) * -40px); }
  html.js .hero.is-tracking :is(.wb-api, .wb-chat) { will-change: translate; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .track { animation: none; width: auto; }
  .track ul { flex-wrap: wrap; row-gap: .5rem; }
  .track ul + ul { display: none; }
  .track-wrap { mask-image: none; }
  .btn:hover .icon, .link:hover .icon { transform: none; }
}
