:root {
  --bg: #ffffff;
  --fg: #1d1d1f;
  --muted: #55555a;
  --line: #d2d2d7;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color: var(--fg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-mono);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.47;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: var(--bg);
  color: var(--fg);
}

input,
textarea { text-transform: none; }

button { font: inherit; letter-spacing: inherit; cursor: pointer; }

::selection { background: var(--fg); color: var(--bg); }

a { color: inherit; text-decoration: none; }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
}

.bar,
main {
  max-width: 64rem;
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.5rem;
}

.brand {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  text-transform: none;
}

nav { margin-left: auto; }

.sign {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 2.25rem;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: #161616;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 0 #000,
    0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 18px rgba(22, 22, 22, 0.22);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.sign::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  flex-shrink: 0;
  border-radius: 1px;
  background: #fff;
  transition: transform 200ms ease;
}

.sign:hover,
.sign[aria-expanded="true"] {
  color: #fff;
  box-shadow:
    inset 0 2px 3px rgba(0, 0, 0, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12),
    0 2px 4px rgba(22, 22, 22, 0.16);
  transform: translateY(3px);
}

.sign:hover::before,
.sign[aria-expanded="true"]::before { transform: rotate(45deg); }

.sign:focus-visible {
  outline: 2px solid #161616;
  outline-offset: 3px;
}

.sign:disabled { opacity: 0.55; cursor: wait; }

main {
  max-width: none;
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
  text-align: center;
}

.tagline {
  max-width: 22rem;
  margin: 0 auto;
  font-size: 1.35rem;
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: var(--fg);
}

.intro {
  max-width: 22rem;
  margin: 0.85rem auto 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--muted);
}

.lead {
  max-width: 20rem;
  margin: 0.9rem auto 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.frame {
  width: 100%;
  max-width: 34rem;
  height: auto;
  margin: 2.25rem auto 0;
  border: 1px solid #000;
  background: transparent;
}

.board {
  padding: 1.35rem 1.15rem;
  text-align: left;
}

.work {
  display: grid;
  gap: 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.work strong {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.work span {
  display: block;
  font-size: 0.6875rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.sheet {
  max-width: 26rem;
  height: auto;
  padding: 1.75rem 1.35rem 1.35rem;
  text-align: left;
}

.sheet form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--muted);
}

input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0 0.75rem;
  border: 1px solid #111;
  border-radius: 2px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.01em;
}

.tel { display: flex; align-items: stretch; }
.tel .prefijo {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  border: 1px solid #111;
  border-right: 0;
  border-radius: 2px 0 0 2px;
  font-size: 0.875rem;
  color: var(--fg);
}
.tel input { border-radius: 0 2px 2px 0; }

input:focus { outline: none; border-color: #111; box-shadow: inset 0 0 0 1px #111; }

input::placeholder { color: var(--muted); text-transform: none; }

#mensaje {
  min-height: 1.1rem;
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

#mensaje:empty { display: none; }

#mensaje[data-state="wait"] { color: var(--muted); }
#mensaje[data-state="ok"] { color: var(--fg); }
#mensaje[data-state="warn"] { color: #9a3412; }
#mensaje[data-state="error"] { color: #9f1239; }

.note {
  margin: 1.35rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.note a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* MEDIA QUERIES
   Añade aquí los cambios según el ancho de pantalla.
   Sustituyen al estilo de arriba. El móvil es el estilo base
   (por debajo de 640px), sin @media.
*/

@media (min-width: 430px) {
  .sign { padding: 0 0.85rem; font-size: 0.8125rem; }
  .brand { font-size: 1.25rem; }
  .tagline { max-width: 28rem; font-size: 1.75rem; }
  .lead { max-width: 26rem; font-size: 0.9375rem; }
  .intro { max-width: 26rem; font-size: 0.875rem; }
  .frame { max-width: 40rem; }
  .sheet { max-width: 28rem; height: auto; padding: 2rem 1.75rem 1.5rem; }
  .work { grid-template-columns: 1fr 1fr 1fr; gap: 0; }
  .work li + li { margin-left: 1.15rem; padding-left: 1.15rem; border-left: 1px solid #000; }
}

@media (min-width: 1024px) {
  .frame { max-width: 46rem; }
  .sheet { height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* ---- Añadidos: navegación, secciones, contacto, pie ---- */
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 30;
  padding: 0.6rem 0.9rem;
  background: var(--fg);
  color: var(--bg);
  font-size: 0.75rem;
}
.skip:focus { top: 0.75rem; }

html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }

nav { display: flex; align-items: center; gap: 1rem; }

.link {
  display: none;
  padding-right: 25px;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-underline-offset: 4px;
  transition: color 160ms ease;
  
  
}
.link:hover { color: var(--fg); text-decoration: underline; }
.link:focus-visible,
.note a:focus-visible,
.ghost:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.ghost {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 0.85rem;
  border: 1px solid #000;
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.02em;
  transition: background 160ms ease, color 160ms ease;
}
.ghost:hover { background: var(--fg); color: var(--bg); }

.section {
  max-width: 46rem;
  margin: 5rem auto 0;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

h2.tagline { font-weight: 500; }

.grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.25rem 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.grid li { padding-top: 1rem; border-top: 1px solid #000; }
.grid strong {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.grid span {
  display: block;
  font-size: 0.75rem;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.steps { counter-reset: paso; }
.steps li { counter-increment: paso; }
.steps strong::before { content: counter(paso) ". "; color: var(--muted); }

textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #111;
  border-radius: 2px;
  background: transparent;
  color: var(--fg);
  font: inherit;
  letter-spacing: 0.01em;
  resize: vertical;
}
textarea:focus { outline: none; box-shadow: inset 0 0 0 1px #111; }
textarea::placeholder { color: var(--muted); text-transform: none; }

footer { border-top: 1px solid var(--line); }
footer .bar {
  justify-content: space-between;
  min-height: 4rem;
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
footer nav { margin-left: 0; }
footer .link { display: inline; }

@media (min-width: 430px) {
  .link { display: inline; 
          font-size: 13px;
        padding-right: 0;
         }
        .sign{
                font-size: 13px;
        }
  .ghost { font-size: 0.8125rem; }
  .grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.75rem; }
  .steps { grid-template-columns: 1fr 1fr; }
  
}

@media (min-width: 1024px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
  .grid span { font-size: 0.8125rem; }
  .section { max-width: 56rem; }
}

/* ---- Título y flujo animado ---- */
h1.tagline {
  max-width: 20rem;
  margin: 0 auto;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
@media (min-width: 430px) { h1.tagline { max-width: 34rem; font-size: 2.5rem; } }

.log-title {
  margin: 0 0 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg);
}

/* ---- Demos animadas (ciclo de 10 s, solo en la diapositiva activa) ---- */
@property --n { syntax: "<integer>"; inherits: false; initial-value: 12; }
.dm { display: grid; grid-template-columns: minmax(0, 1fr); align-items: stretch; gap: 0.5rem; padding: 0.25rem 0; text-transform: none; letter-spacing: 0.01em; font-size: 0.875rem; line-height: 1.5; }
.dm em { display: block; font-style: normal; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4a4a4f; }
.paper, .src, .rep, .dm-out li { border: 1px solid #000; border-radius: 2px; background: #fff; }
.paper { position: relative; overflow: hidden; padding: 0.85rem 0.85rem 2.7rem; }
.ph { display: block; margin-bottom: 0.2rem; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.sk { display: block; height: 5px; margin: 0.45rem 0; background: var(--line); }
.sk.s2 { width: 70%; }
.fld { display: flex; justify-content: space-between; gap: 0.75rem; margin: 0.35rem -0.3rem; padding: 0.15rem 0.3rem; }
.fld i { font-style: normal; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.85; align-self: center; }
.fld u { text-decoration: none; font-weight: 600; }
.beam, .dm-ai::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #000; box-shadow: 0 0 10px 2px rgba(0,0,0,.35); opacity: 0; }
.dm-ai::after { background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,.5); }
.stamp { position: absolute; right: 0.8rem; bottom: 0.7rem; padding: 0.15rem 0.5rem; border: 2px solid #000; border-radius: 2px; background: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transform: rotate(-8deg); }
.dm-ai { align-self: center; justify-self: center; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 0.15rem; padding: 0.6rem 0.7rem; max-width: 6.5rem; border-radius: 2px; background: #161616; color: #fff; font-size: 0.75rem; letter-spacing: 0.06em; text-align: center; text-transform: uppercase; }
.dm-ai span { color: #e5e5ea; }
.esc-link { align-self: center; justify-self: center; width: 1px; height: 1.5rem; background: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 9px); background-size: 1px 9px; }
.dm-out { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 0.4rem; }
.dm-out li { flex: 1 1 0; display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.5rem 0.65rem; border: 0; background: none; }
.type { display: inline-flex; align-items: center; gap: 0.35rem; font-weight: 600; text-align: right; }
.ico2 { flex: none; }
.src { padding: 0.85rem; display: flex; flex-direction: column; justify-content: space-between; gap: 0.7rem; }
.when { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; }
.bar-row { display: grid; grid-template-columns: 1fr; gap: 0.25rem; }
.bar-row i { position: relative; display: block; height: 0.55rem; border: 1px solid #000; }
.bar-row i::after { content: ""; position: absolute; inset: 0; background: #000; transform-origin: left; transform: scaleX(var(--w)); }
.b1 { --w: .85; } .b2 { --w: .6; } .b3 { --w: .4; }
.rep { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.35rem; }
.rep-top { display: flex; align-items: baseline; gap: 0.5rem; }
.big2 { font-size: 2.25rem; font-weight: 700; line-height: 1; letter-spacing: 0; }
.cnt { --n: 12; }
.cnt::after { counter-reset: n var(--n); content: "+" counter(n) "%"; }
.big2-l { font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4a4a4f; }
.chart { display: block; width: 100%; height: 2.4rem; margin: 0.2rem 0; overflow: visible; }
.chart path { fill: none; stroke: #000; stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.pt { margin: 0; padding-left: 0.9rem; position: relative; }
.pt::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.38rem; height: 0.38rem; background: #000; transform: rotate(45deg); }
.sent { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.4rem; padding-top: 0.6rem; border-top: 1px solid var(--line); font-weight: 600; }
.badge { margin-left: auto; display: grid; place-items: center; min-width: 1.2rem; height: 1.2rem; border-radius: 999px; background: #000; color: #fff; font-size: 0.75rem; }
@media (min-width: 640px) {
  .dm { grid-template-columns: minmax(0, 1fr) 1.25rem auto 1.25rem minmax(0, 1.3fr); gap: 0; }
  .esc-link { width: 100%; height: 1px; background: repeating-linear-gradient(to right, #000 0 4px, transparent 4px 9px); background-size: 9px 1px; }
}
.slide.on .esc-link { animation: fluyeV 0.9s linear infinite; }
@media (min-width: 640px) { .slide.on .esc-link { animation-name: fluyeH; } }
@keyframes fluyeV { to { background-position: 0 9px; } }
@keyframes fluyeH { to { background-position: 9px 0; } }
@keyframes paper { 0% { opacity: 0; transform: translateY(-14px) rotate(-2deg); } 5%, 91.67% { opacity: 1; transform: none; } 96.66%, 100% { opacity: 0; transform: translateY(10px); } }
@keyframes beam { 0%, 6.66% { top: 0; opacity: 0; } 8.33% { opacity: 1; } 33.33% { top: calc(100% - 2px); opacity: 1; } 35%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes beamai { 0%, 6.67% { top: 0; opacity: 0; } 8.33% { top: 0; opacity: 1; } 23.33% { top: calc(100% - 2px); opacity: 1; } 25%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes stamp { 0%, 47.5% { opacity: 0; transform: scale(2.4) rotate(-16deg); } 51.66%, 91.67% { opacity: 1; transform: scale(1) rotate(-8deg); } 96.66%, 100% { opacity: 0; transform: scale(1) rotate(-8deg); } }
@keyframes think { 0%, 6.66% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } 10%, 33.33% { box-shadow: 0 0 0 3px rgba(0,0,0,.14); } 38.34%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes when { 0% { opacity: 0; } 2.5%, 91.67% { opacity: 1; } 96.66%, 100% { opacity: 0; } }
@keyframes repin { 0%, 36.67% { opacity: 0; transform: translateX(14px); } 41.66%, 91.67% { opacity: 1; transform: none; } 96.66%, 100% { opacity: 0; transform: none; } }
@keyframes sent { 0%, 63.33% { opacity: 0; transform: translateY(8px); } 66.67%, 91.67% { opacity: 1; transform: none; } 96.66%, 100% { opacity: 0; } }
@keyframes pop { 0%, 65% { transform: scale(.3) rotate(-20deg); } 69.16% { transform: scale(1.35) rotate(6deg); } 72.5%, 100% { transform: scale(1) rotate(0); } }
@keyframes badge { 0%, 70% { transform: scale(0); } 73.33% { transform: scale(1.4); } 76%, 100% { transform: scale(1); } }
@keyframes cnt { 0%, 41.66% { --n: 0; } 51.66%, 100% { --n: 12; } }
@keyframes hl19 { 0%, 14.16% { background: transparent; color: inherit; } 15.83%, 50% { background: #000; color: #fff; } 52.5%, 100% { background: transparent; color: inherit; } }
@keyframes hl24 { 0%, 18.33% { background: transparent; color: inherit; } 20%, 50% { background: #000; color: #fff; } 52.5%, 100% { background: transparent; color: inherit; } }
@keyframes hl33 { 0%, 25.83% { background: transparent; color: inherit; } 27.5%, 50% { background: #000; color: #fff; } 52.5%, 100% { background: transparent; color: inherit; } }
@keyframes sh18 { 0%, 15% { opacity: 0; transform: translateY(8px); } 18.33%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ty20 { 0%, 16.66% { clip-path: inset(0 100% 0 0); } 21.67%, 93.34% { clip-path: inset(0 0 0 0); } 94.17%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes sh23 { 0%, 19.17% { opacity: 0; transform: translateY(8px); } 22.5%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ty25 { 0%, 20.84% { clip-path: inset(0 100% 0 0); } 25.83%, 93.34% { clip-path: inset(0 0 0 0); } 94.17%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes sh32 { 0%, 26.67% { opacity: 0; transform: translateY(8px); } 30%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ty34 { 0%, 28.33% { clip-path: inset(0 100% 0 0); } 33.33%, 93.34% { clip-path: inset(0 0 0 0); } 94.17%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes sh58 { 0%, 48.34% { opacity: 0; transform: translateY(8px); } 51.66%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ty60 { 0%, 50% { clip-path: inset(0 100% 0 0); } 55%, 93.34% { clip-path: inset(0 0 0 0); } 94.17%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes sh2 { 0%, 1.67% { opacity: 0; transform: translateY(8px); } 5%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes fi6 { 0%, 5% { transform: scaleX(0); } 11.67%, 93.34% { transform: scaleX(var(--w)); } 98.33%, 100% { transform: scaleX(0); } }
@keyframes sh8 { 0%, 6.66% { opacity: 0; transform: translateY(8px); } 10%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes fi12 { 0%, 10% { transform: scaleX(0); } 16.66%, 93.34% { transform: scaleX(var(--w)); } 98.33%, 100% { transform: scaleX(0); } }
@keyframes sh14 { 0%, 11.67% { opacity: 0; transform: translateY(8px); } 15%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes fi18 { 0%, 15% { transform: scaleX(0); } 21.67%, 93.34% { transform: scaleX(var(--w)); } 98.33%, 100% { transform: scaleX(0); } }
@keyframes dr48 { 0%, 40% { stroke-dashoffset: 1; } 50%, 93.34% { stroke-dashoffset: 0; } 98.33%, 100% { stroke-dashoffset: 1; } }
@keyframes sh60 { 0%, 50% { opacity: 0; transform: translateY(8px); } 53.33%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes sh66 { 0%, 55% { opacity: 0; transform: translateY(8px); } 58.34%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes sh72 { 0%, 60% { opacity: 0; transform: translateY(8px); } 63.33%, 93.34% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
.slide.on .paper { animation: paper 12s ease infinite; }
.slide.on .paper .beam { animation: beam 12s linear infinite; }
.slide.on .f1 { animation: hl19 12s  infinite; }
.slide.on .f2 { animation: hl24 12s  infinite; }
.slide.on .f3 { animation: hl33 12s  infinite; }
.slide.on .paper .stamp { animation: stamp 12s cubic-bezier(.3,1.4,.5,1) infinite; }
.slide.on .dm-ai { animation: think 12s ease infinite; }
.slide.on .dm-ai::after { animation: beamai 12s linear infinite; }
.slide.on .o1 { animation: sh18 12s ease infinite; }
.slide.on .o1 .type { animation: ty20 12s  infinite; }
.slide.on .o2 { animation: sh23 12s ease infinite; }
.slide.on .o2 .type { animation: ty25 12s  infinite; }
.slide.on .o3 { animation: sh32 12s ease infinite; }
.slide.on .o3 .type { animation: ty34 12s  infinite; }
.slide.on .o4 { animation: sh58 12s ease infinite; }
.slide.on .o4 .type { animation: ty60 12s  infinite; }
.slide.on .when { animation: when 12s ease infinite; }
.slide.on .b1 { animation: sh2 12s ease infinite; }
.slide.on .b1 i::after { animation: fi6 12s cubic-bezier(.4,0,.2,1) infinite; }
.slide.on .b2 { animation: sh8 12s ease infinite; }
.slide.on .b2 i::after { animation: fi12 12s cubic-bezier(.4,0,.2,1) infinite; }
.slide.on .b3 { animation: sh14 12s ease infinite; }
.slide.on .b3 i::after { animation: fi18 12s cubic-bezier(.4,0,.2,1) infinite; }
.slide.on .src .when { animation: when 12s ease infinite; }
.slide.on .rep { animation: repin 12s ease infinite; }
.slide.on .chart path { animation: dr48 12s ease-out infinite; }
.slide.on .pt.p1 { animation: sh60 12s ease infinite; }
.slide.on .pt.p2 { animation: sh66 12s ease infinite; }
.slide.on .pt.p3 { animation: sh72 12s ease infinite; }
.slide.on .sent { animation: sent 12s ease infinite; }
.slide.on .sent .mail { animation: pop 12s cubic-bezier(.3,1.5,.5,1) infinite; }
.slide.on .badge { animation: badge 12s cubic-bezier(.3,1.6,.5,1) infinite; }
.slide.on .cnt { animation: cnt 12s ease-out infinite; }
.shm { transform-box: fill-box; }
@keyframes drop { 0%, 50.83% { transform: translateY(-14px); opacity: 0; } 53.33% { opacity: 1; } 58.34%, 100% { transform: translateY(5px); opacity: 1; } }
.slide.on .shm { animation: drop 12s cubic-bezier(.5,0,.3,1) infinite; }
.o4 .type { gap: 0.5rem; }
/* ---- Demo inventario ---- */
@property --q { syntax: "<integer>"; inherits: false; initial-value: 3; }
.inv { gap: 0.55rem; }
.stk { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.25rem 0.6rem; margin: 0 -0.4rem; padding: 0.3rem 0.4rem; border-radius: 2px; }
.stk em { grid-column: 1 / -1; color: inherit; opacity: 0.85; }
.stk i { display: block; height: 0.55rem; border: 1px solid currentColor; }
.stk u { display: block; height: 100%; background: currentColor; transform-origin: left; transform: scaleX(var(--w, .8)); }
.stk b { min-width: 1.8rem; text-align: right; }
.stk.s2 u { --w: .3; }
.qty { --q: 3; }
.qty::after { counter-reset: q var(--q); content: counter(q); }
.sale { position: absolute; right: 0.4rem; top: 0.1rem; padding: 0.05rem 0.4rem; border: 1px solid #000; border-radius: 999px; background: #fff; color: #000; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; white-space: nowrap; opacity: 0; }
@keyframes ivrow { 0%, 25% { background: transparent; color: inherit; } 27.5%, 90% { background: #000; color: #fff; } 98.33%, 100% { background: transparent; color: inherit; } }
@keyframes ivqty { 0%, 15% { --q: 8; } 25%, 100% { --q: 3; } }
@keyframes ivbar { 0%, 15% { transform: scaleX(.8); } 25%, 100% { transform: scaleX(.3); } }
@keyframes ivsale { 0%, 6.67% { opacity: 0; transform: translateY(8px) scale(.6); } 10%, 18.33% { opacity: 1; transform: none; } 21.67%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes thinkL { 0%, 29.17% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } 32.5%, 51.67% { box-shadow: 0 0 0 3px rgba(0,0,0,.14); } 55%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes beamL { 0%, 30% { top: 0; opacity: 0; } 31.67% { top: 0; opacity: 1; } 44.17% { top: calc(100% - 2px); opacity: 1; } 45.83%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes ivcard { 0% { opacity: 0; transform: translateY(-12px); } 4%, 90% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; transform: translateY(8px); } }
.slide.on .inv { animation: ivcard 12s ease infinite; }
.slide.on .stk.s2 { animation: ivrow 12s ease infinite; }
.slide.on .qty { animation: ivqty 12s ease infinite; }
.slide.on .stk.s2 u { animation: ivbar 12s ease infinite; }
.slide.on .sale { animation: ivsale 12s ease infinite; }
.slide.on .dm-ai.late { animation-name: thinkL; }
.slide.on .dm-ai.late::after { animation-name: beamL; }
@keyframes ivs1 { 0%, 51.25% { opacity: 0; transform: translateY(8px); } 55.42%, 90% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ivt1 { 0%, 53.33% { clip-path: inset(0 100% 0 0); } 60%, 90% { clip-path: inset(0 0 0 0); } 90.83%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ivs2 { 0%, 57.92% { opacity: 0; transform: translateY(8px); } 62.08%, 90% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ivt2 { 0%, 60% { clip-path: inset(0 100% 0 0); } 66.67%, 90% { clip-path: inset(0 0 0 0); } 90.83%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ivs3 { 0%, 64.58% { opacity: 0; transform: translateY(8px); } 68.75%, 90% { opacity: 1; transform: none; } 98.33%, 100% { opacity: 0; transform: none; } }
@keyframes ivt3 { 0%, 66.67% { clip-path: inset(0 100% 0 0); } 73.33%, 90% { clip-path: inset(0 0 0 0); } 90.83%, 100% { clip-path: inset(0 100% 0 0); } }
.slide.on .iv1 { animation: ivs1 12s ease infinite; }
.slide.on .iv1 .type { animation: ivt1 12s infinite; }
.slide.on .iv2 { animation: ivs2 12s ease infinite; }
.slide.on .iv2 .type { animation: ivt2 12s infinite; }
.slide.on .iv3 { animation: ivs3 12s ease infinite; }
.slide.on .iv3 .type { animation: ivt3 12s infinite; }

/* ---- Demo previsión ---- */
@property --g { syntax: "<integer>"; inherits: false; initial-value: 8; }
.hist { flex: 1; display: flex; align-items: stretch; justify-content: space-between; gap: 0.5rem; min-height: 7rem; }
.hb { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 0.3rem; }
.hb i { display: block; flex: 0 0 auto; height: calc((100% - 1.5rem) * var(--h)); background: #000; transform-origin: bottom; }
.hb span { font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: #4a4a4f; }
.cntg { --g: 8; }
.cntg::after { counter-reset: g var(--g); content: "+" counter(g) "%"; }
.fcc .proj { stroke-dasharray: 3 3; }
.fcc .cover { fill: #fff; stroke: none; transform-box: fill-box; transform-origin: right; transform: scaleX(0); }
.fx { list-style: none; margin: 0.3rem 0 0; padding: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.fx li { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; padding-top: 0.4rem; border-top: 1px solid var(--line); }
@keyframes fcin { 0%, 42.86% { opacity: 0; transform: translateX(14px); } 47.14%, 91.43% { opacity: 1; transform: none; } 98.57%, 100% { opacity: 0; transform: none; } }
@keyframes fcover { 0%, 47.14% { transform: scaleX(1); } 62.86%, 100% { transform: scaleX(0); } }
@keyframes cntg { 0%, 50% { --g: 0; } 61.43%, 100% { --g: 8; } }
.slide.on .fc { animation: fcin 14s ease infinite; }
.slide.on .fcc .cover { animation: fcover 14s linear infinite; }
.slide.on .cntg { animation: cntg 14s ease-out infinite; }
@keyframes fhb1 { 0%, 7.14% { transform: scaleY(0); } 12.14%, 91.43% { transform: scaleY(1); } 98.57%, 100% { transform: scaleY(0); } }
@keyframes fhb2 { 0%, 9.64% { transform: scaleY(0); } 14.64%, 91.43% { transform: scaleY(1); } 98.57%, 100% { transform: scaleY(0); } }
@keyframes fhb3 { 0%, 12.14% { transform: scaleY(0); } 17.14%, 91.43% { transform: scaleY(1); } 98.57%, 100% { transform: scaleY(0); } }
@keyframes fhb4 { 0%, 14.64% { transform: scaleY(0); } 19.64%, 91.43% { transform: scaleY(1); } 98.57%, 100% { transform: scaleY(0); } }
@keyframes fhb5 { 0%, 17.14% { transform: scaleY(0); } 22.14%, 91.43% { transform: scaleY(1); } 98.57%, 100% { transform: scaleY(0); } }
@keyframes fxs1 { 0%, 58.21% { opacity: 0; transform: translateY(8px); } 61.79%, 91.43% { opacity: 1; transform: none; } 98.57%, 100% { opacity: 0; transform: none; } }
@keyframes fxt1 { 0%, 60% { clip-path: inset(0 100% 0 0); } 65.71%, 91.43% { clip-path: inset(0 0 0 0); } 92.14%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes fxs2 { 0%, 63.93% { opacity: 0; transform: translateY(8px); } 67.5%, 91.43% { opacity: 1; transform: none; } 98.57%, 100% { opacity: 0; transform: none; } }
@keyframes fxt2 { 0%, 65.71% { clip-path: inset(0 100% 0 0); } 71.43%, 91.43% { clip-path: inset(0 0 0 0); } 92.14%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes fxs3 { 0%, 69.64% { opacity: 0; transform: translateY(8px); } 73.21%, 91.43% { opacity: 1; transform: none; } 98.57%, 100% { opacity: 0; transform: none; } }
@keyframes fxt3 { 0%, 71.43% { clip-path: inset(0 100% 0 0); } 77.14%, 91.43% { clip-path: inset(0 0 0 0); } 92.14%, 100% { clip-path: inset(0 100% 0 0); } }
.slide.on .hb1 i { animation: fhb1 14s cubic-bezier(.3,1.2,.5,1) infinite; }
.slide.on .hb2 i { animation: fhb2 14s cubic-bezier(.3,1.2,.5,1) infinite; }
.slide.on .hb3 i { animation: fhb3 14s cubic-bezier(.3,1.2,.5,1) infinite; }
.slide.on .hb4 i { animation: fhb4 14s cubic-bezier(.3,1.2,.5,1) infinite; }
.slide.on .hb5 i { animation: fhb5 14s cubic-bezier(.3,1.2,.5,1) infinite; }
.slide.on .x1 { animation: fxs1 14s ease infinite; }
.slide.on .x1 .type { animation: fxt1 14s infinite; }
.slide.on .x2 { animation: fxs2 14s ease infinite; }
.slide.on .x2 .type { animation: fxt2 14s infinite; }
.slide.on .x3 { animation: fxs3 14s ease infinite; }
.slide.on .x3 .type { animation: fxt3 14s infinite; }

@media (prefers-reduced-motion: reduce) {
  .slide.on .dm *, .slide.on .dm *::after, .slide.on .paper, .slide.on .rep { animation: none !important; }
  .beam, .dm-ai::after { display: none; }
}

/* ---- Carrusel de flujos ---- */
.track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.track::-webkit-scrollbar { display: none; }
.track:focus-visible { outline: 2px solid var(--fg); outline-offset: 6px; }
.slide { flex: 0 0 100%; min-width: 0; display: flex; flex-direction: column; justify-content: flex-start; scroll-snap-align: center; }
.ctrl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
}
.arrow {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
  transition: background 160ms ease, color 160ms ease;
}
.arrow:hover:not(:disabled) { background: var(--fg); color: var(--bg); }
.arrow:disabled { opacity: 0.3; cursor: default; }
.arrow:focus-visible, .dot:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.dots { display: flex; gap: 0.1rem; }
.dot { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; padding: 0; border: 0; background: transparent; }
.dot::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border: 1px solid #000;
  border-radius: 1px;
  transition: background 160ms ease, transform 200ms ease;
}
.dot[aria-current="true"]::before { background: #000; transform: rotate(45deg); }
@media (prefers-reduced-motion: reduce) { .track { scroll-behavior: auto; } }

/* ---- Navegación: escritorio y menú móvil ---- */
.brand { display: inline-flex; align-items: center; gap: 0.55rem; }
.brand::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  background: var(--fg);
  transform: rotate(45deg);
  transition: transform 300ms ease;
}
.brand:hover::before { transform: rotate(225deg); }

header { transition: box-shadow 200ms ease; }
header.scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); }

.burger {
  position: relative;
  display: none;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-left: 0;
  padding: 0;
  border: 1px solid #000;
  border-radius: 999px;
  background: transparent;
  color: var(--fg);
}
.burger span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 1.5px;
  margin: -0.75px 0 0 -7px;
  background: currentColor;
  transition: transform 220ms ease;
}
.burger span:first-child { transform: translateY(-3.5px); }
.burger span:last-child { transform: translateY(3.5px); }
.burger[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }
.burger:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }

/* Móvil: menú desplegable bajo la cabecera */
@media (max-width: 767px) {
  .js .burger { display: grid; }
  .js header .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 3.5rem);
    margin: 0;
    padding: 0.5rem 1.5rem 1.5rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 0s linear 200ms;
  }
  .js header[data-open="true"] .menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition-delay: 0s;
  }
  header .menu .link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 0.9375rem;
    color: var(--fg);
  }
  header .menu .link::after { content: "→"; color: var(--muted); }
  header .menu .link:hover { text-decoration: none; }
  header .menu .link[aria-current="true"]::after { content: "■"; font-size: 0.5rem; color: var(--fg); }
}

/* Escritorio: enlaces con subrayado animado y sección activa */
@media (min-width: 768px) {
  header .menu { gap: 1.75rem; }
  header .menu .link {
    position: relative;
    display: inline-block;
    padding: 0.45rem 0;
    font-size: 0.8125rem;
    letter-spacing: 0.08em;
    text-decoration: none;
  }
  header .menu .link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.1rem;
    height: 1px;
    background: var(--fg);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease;
  }
  header .menu .link:hover { text-decoration: none; color: var(--fg); }
  header .menu .link:hover::after,
  header .menu .link[aria-current="true"]::after { transform: scaleX(1); }
  header .menu .link[aria-current="true"] { color: var(--fg); }
}

@media (prefers-reduced-motion: reduce) {
  .js header .menu, .burger span, .brand::before, header .menu .link::after { transition: none !important; }
}

/* Botón Newsletter junto al menú */
.bar .nl { margin-left: auto; min-height: 2.5rem; padding: 0 0.8rem; font-size: 0.75rem; white-space: nowrap; }
@media (min-width: 768px) {
  header .menu { margin-left: auto; }
  .bar .nl { margin-left: 0.5rem; min-height: 2.25rem; }
}
@media (max-width: 359px) { .bar .nl { padding: 0 0.6rem; font-size: 0.625rem; } .brand { font-size: 1rem; } }

/* ---- Servicios: calculadora ---- */
.calc { max-width: 32rem; padding: 1.5rem 1.25rem; text-align: left; display: flex; flex-direction: column; gap: 1.1rem; }
.calc-hint { margin: 0; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: -0.4rem; }
.chip { min-height: 2.5rem; padding: 0 0.9rem; border: 1px solid #000; border-radius: 999px; background: transparent; color: var(--fg); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.chip:hover { transform: translateY(-1px); }
.chip:hover, .chip[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.chip:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.rng label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; font-size: 0.8125rem; color: var(--fg); }
.rng label b { font-size: 1.125rem; font-weight: 700; letter-spacing: 0; }
input[type="range"] { --p: 20%; -webkit-appearance: none; appearance: none; display: block; width: 100%; min-height: 2rem; padding: 0; border: 0; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 6px; border: 1px solid #000; background: linear-gradient(#000, #000) 0 / var(--p) 100% no-repeat, #fff; }
input[type="range"]::-moz-range-track { height: 6px; border: 1px solid #000; background: #fff; }
input[type="range"]::-moz-range-progress { height: 6px; background: #000; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 1.25rem; height: 1.25rem; margin-top: calc(-0.625rem + 3px); border: 2px solid #000; border-radius: 1px; background: #fff; transform: rotate(45deg); transition: transform 160ms ease, background 160ms ease; }
input[type="range"]::-moz-range-thumb { width: 1rem; height: 1rem; border: 2px solid #000; border-radius: 1px; background: #fff; transform: rotate(45deg); transition: transform 160ms ease, background 160ms ease; }
input[type="range"]:hover::-webkit-slider-thumb, input[type="range"]:active::-webkit-slider-thumb { background: #000; transform: rotate(45deg) scale(1.15); }
input[type="range"]:hover::-moz-range-thumb, input[type="range"]:active::-moz-range-thumb { background: #000; transform: rotate(45deg) scale(1.15); }
input[type="range"]:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px; }
.result { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; padding: 1.25rem 0.5rem 1.1rem; border-top: 1px solid #000; border-bottom: 1px solid #000; text-align: center; }
.big { font-size: 3.5rem; font-weight: 700; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.big-l { font-size: 0.8125rem; letter-spacing: 0.08em; }
.big-l.top { color: var(--muted); }
.share { width: 100%; max-width: 20rem; height: 0.55rem; margin-top: 0.8rem; border: 1px solid #000; }
.share i { display: block; height: 100%; background: #000; transition: width 350ms cubic-bezier(.4,0,.2,1); }
.eq { margin-top: 0.4rem; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; margin: 0; }
.stats div { padding: 0.6rem 0.4rem; border: 1px solid var(--line); text-align: center; }
.stats dt { font-size: 0.6875rem; letter-spacing: 0.06em; color: var(--muted); }
.stats dd { margin: 0.2rem 0 0; font-size: 1.0625rem; font-weight: 700; letter-spacing: 0; text-transform: none; }
.calc .sign { align-self: center; min-height: 2.75rem; padding: 0 1.1rem; }
.calc .note { margin: 0; padding: 0; border: 0; text-align: center; }
@media (min-width: 430px) { .calc { max-width: 34rem; padding: 1.75rem 1.75rem; } .big { font-size: 4.25rem; } }
@media (prefers-reduced-motion: reduce) { .share i, .chip, input[type="range"]::-webkit-slider-thumb { transition: none; } }

/* ---- Proceso: línea de pasos ---- */
.line { counter-reset: paso; list-style: none; max-width: 34rem; margin: 2.25rem auto 0; padding: 0; text-align: left; }
.line li { counter-increment: paso; position: relative; padding: 0 0 2rem 2.5rem; border-left: 1px solid #000; margin-left: 0.55rem; }
.line li:last-child { padding-bottom: 0; border-left-color: transparent; }
.line li::before { content: ""; position: absolute; left: -0.3rem; top: 0.35rem; width: 0.6rem; height: 0.6rem; background: #000; transform: rotate(45deg); }
.line strong { display: block; margin-bottom: 0.6rem; font-weight: 700; letter-spacing: 0.06em; }
.line span { display: block; margin-top: 0.4rem; font-size: 0.875rem; line-height: 1.55; letter-spacing: 0.02em; color: var(--fg); text-transform: none; }
.line em { display: inline-block; min-width: 5.5rem; font-style: normal; font-size: 0.625rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

@keyframes thinkF { 0%, 25% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } 27.86%, 44.29% { box-shadow: 0 0 0 3px rgba(0,0,0,.14); } 47.14%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes beamF { 0%, 25.71% { top: 0; opacity: 0; } 27.14% { top: 0; opacity: 1; } 37.86% { top: calc(100% - 2px); opacity: 1; } 39.29%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes whenF { 0% { opacity: 0; } 2.86%, 91.43% { opacity: 1; } 98.57%, 100% { opacity: 0; } }

.line .precio { display: inline; margin: 0; font-weight: 700; letter-spacing: 0.02em; }
.line .precio u { text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* Los pasos aparecen uno a uno al hacer scroll */
.line li.pend { opacity: 0; transform: translateY(18px); transition: opacity 500ms ease, transform 500ms ease; }
.line li.pend.vis { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .line li.pend { opacity: 1; transform: none; transition: none; } }

/* Proceso: la pantalla se queda fija y el scroll va mostrando los pasos */
.section.pinned { height: 210vh; padding-top: 0; }
.section.pinned .pin-in { position: sticky; top: 4.5rem; padding-top: 2rem; }

body { overflow-anchor: none; }

/* ---- Demo CRM ---- */
.lead-body { display: flex; flex-direction: column; gap: 0.35rem; }
.lead-body strong { font-size: 1rem; }
.lead-body .mut { font-size: 0.75rem; color: #4a4a4f; }
.pipe { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.4rem; margin: 0.2rem 0 0.4rem; }
.pcol { min-height: 3.6rem; padding: 0.4rem; border: 1px dashed #000; border-radius: 2px; }
.pchip { display: block; margin-top: 0.4rem; padding: 0.25rem 0.3rem; border-radius: 2px; background: #000; color: #fff; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes cxin { 0%, 38.46% { opacity: 0; transform: translateX(14px); } 43.08%, 90.77% { opacity: 1; transform: none; } 98.46%, 100% { opacity: 0; transform: none; } }
@keyframes cxlead { 0% { opacity: 0; transform: translateY(-12px); } 3.85%, 90.77% { opacity: 1; transform: none; } 98.46%, 100% { opacity: 0; transform: translateY(8px); } }
@keyframes cxchip { 0%, 46.15% { opacity: 0; transform: scale(.4); } 50%, 57.69% { opacity: 1; transform: scale(1); } 63.85%, 90.77% { opacity: 1; transform: translateX(calc(100% + 1.2rem + 2px)); } 98.46%, 100% { opacity: 0; transform: translateX(calc(100% + 1.2rem + 2px)); } }
@keyframes cxthink { 0%, 21.54% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } 24.62%, 38.46% { box-shadow: 0 0 0 3px rgba(0,0,0,.14); } 41.54%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }
@keyframes cxbeam { 0%, 22.31% { top: 0; opacity: 0; } 23.85% { top: 0; opacity: 1; } 33.08% { top: calc(100% - 2px); opacity: 1; } 34.62%, 100% { top: calc(100% - 2px); opacity: 0; } }
@keyframes cxwhen { 0% { opacity: 0; } 3.08%, 90.77% { opacity: 1; } 98.46%, 100% { opacity: 0; } }
.slide.s-crm.on .lead { animation: cxlead 13s ease infinite; }
.slide.s-crm.on .when { animation: cxwhen 13s ease infinite; }
.slide.s-crm.on .dm-ai { animation: cxthink 13s ease infinite; }
.slide.s-crm.on .dm-ai::after { animation: cxbeam 13s linear infinite; }
.slide.on .crm { animation: cxin 13s ease infinite; }
.slide.on .pchip { animation: cxchip 13s cubic-bezier(.4,0,.2,1) infinite; }
@keyframes cxs1 { 0%, 61.15% { opacity: 0; transform: translateY(8px); } 65%, 90.77% { opacity: 1; transform: none; } 98.46%, 100% { opacity: 0; transform: none; } }
@keyframes cxt1 { 0%, 63.08% { clip-path: inset(0 100% 0 0); } 69.23%, 90.77% { clip-path: inset(0 0 0 0); } 91.54%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes cxs2 { 0%, 67.31% { opacity: 0; transform: translateY(8px); } 71.15%, 90.77% { opacity: 1; transform: none; } 98.46%, 100% { opacity: 0; transform: none; } }
@keyframes cxt2 { 0%, 69.23% { clip-path: inset(0 100% 0 0); } 75.38%, 90.77% { clip-path: inset(0 0 0 0); } 91.54%, 100% { clip-path: inset(0 100% 0 0); } }
.slide.on .c1 { animation: cxs1 13s ease infinite; }
.slide.on .c1 .type { animation: cxt1 13s infinite; }
.slide.on .c2 { animation: cxs2 13s ease infinite; }
.slide.on .c2 .type { animation: cxt2 13s infinite; }

.chips + .calc-hint { margin-top: 0.4rem; }

/* Botón Newsletter del menú: oculto temporalmente (sigue en el HTML con el atributo hidden) */
.bar .nl[hidden] { display: none; }
.bar .nl[hidden] ~ .burger { margin-left: auto; }

.desde { margin: 1.5rem auto 0; text-align: center; font-size: 1rem; letter-spacing: 0.04em; }
.desde strong { font-weight: 700; }
@media (min-width: 430px) { .desde { font-size: 2rem; } }

/* ---- Preguntas frecuentes ---- */
.faq { max-width: 40rem; margin: 2.25rem auto 0; text-align: left; border-bottom: 1px solid #000; }
.qa { border-top: 1px solid #000; }
.qa summary { position: relative; display: block; padding: 1.1rem 2.5rem 1.1rem 0; cursor: pointer; list-style: none; font-size: 0.9375rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.01em; text-transform: none; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 0.4rem; top: 50%; width: 0.5rem; height: 0.5rem; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: translateY(-70%) rotate(45deg); transition: transform 220ms ease; }
.qa[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.qa summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.qa summary:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.qa-body { padding: 0 2.5rem 1.2rem 0; font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.01em; text-transform: none; }
.qa-body p { margin: 0 0 0.7rem; }
.qa-body p:last-child { margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) { .qa summary::after { transition: none; } }

/* ---- Calculadora v2: tareas + selectores +/- ---- */
.calc { max-width: 38rem; gap: 1.2rem; }
.calc-hint { font-size: 0.8125rem; }
.tasks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; margin-top: -0.4rem; }
.task { min-height: 3.1rem; padding: 0.5rem 0.7rem; border: 1px solid #000; border-radius: 2px; background: transparent; color: var(--fg); text-align: left; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.3; text-transform: uppercase; transition: background 160ms ease, color 160ms ease, transform 160ms ease; }
.task:hover { transform: translateY(-1px); }
.task:hover, .task[aria-pressed="true"] { background: var(--fg); color: var(--bg); }
.task:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; }
.tiempo { display: flex; flex-direction: column; gap: 1rem; }
.step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 0.4rem 0.75rem; }
.step-l { grid-column: 1 / -1; font-size: 0.8125rem; }
.step-r { font-size: 0.8125rem; line-height: 1.3; }
.stepper { display: inline-flex; align-items: stretch; }
.stepper button { width: 2.9rem; height: 2.9rem; padding: 0; border: 1px solid #000; background: transparent; color: var(--fg); font-size: 1.4rem; line-height: 1; transition: background 160ms ease, color 160ms ease; }
.stepper button:hover { background: var(--fg); color: var(--bg); }
.stepper button:focus-visible { outline: 2px solid var(--fg); outline-offset: 2px; position: relative; z-index: 1; }
.stepper input { width: 4.5rem; height: 2.9rem; min-height: 0; padding: 0; border: 1px solid #000; border-left: 0; border-right: 0; border-radius: 0; text-align: center; font-size: 1.25rem; font-weight: 700; letter-spacing: 0; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { box-shadow: inset 0 0 0 2px #000; }
@media (min-width: 520px) {
  .tasks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .step { grid-template-columns: 9.5rem auto minmax(0, 1fr); }
  .step-l { grid-column: auto; }
}

/* ---- Páginas legales y pie de página ---- */
footer .bar { flex-wrap: wrap; gap: 0.5rem 1.5rem; padding-top: 0.75rem; padding-bottom: 0.75rem; }
footer nav { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.legal { max-width: 46rem; margin: 0 auto; text-align: left; text-transform: none; letter-spacing: 0.01em; font-size: 0.9375rem; line-height: 1.7; }
.legal h1 { margin: 0 0 0.4rem; font-size: 1.75rem; font-weight: 500; line-height: 1.2; letter-spacing: 0.02em; text-transform: uppercase; text-align: center; }
.legal .fecha { margin: 0 0 2rem; text-align: center; font-size: 0.8125rem; color: var(--muted); text-transform: none; }
.legal h2 { margin: 2rem 0 0.5rem; font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.legal p, .legal ul { margin: 0 0 0.9rem; }
.legal ul { padding-left: 1.25rem; }
.legal li { margin-bottom: 0.3rem; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.legal mark { padding: 0 0.3rem; background: #000; color: #fff; }

/* Pie: Newsletter arriba y enlaces legales separados debajo */
footer .legales { flex: 0 0 100%; margin-left: 0; padding-top: 0.9rem; border-top: 1px solid var(--line); }

/* ---- Así es cómo podemos ayudarte ---- */
#ayuda .tg { display: inline-block; padding: 0.1rem 0.45rem; border: 1px solid #000; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; background: #fff; }
#ayuda .tg.disp { border-width: 2px; }
#ayuda .tg.regla { border-radius: 999px; }
#ayuda .tg.ia { background: #000; color: #fff; }
#ayuda .tg.opt { border-style: dashed; }
#ayuda .fa { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
#ayuda .st { display: flex; flex-direction: column; gap: 0.6rem; justify-content: center; }
#ayuda .st.br { gap: 0.9rem; }
#ayuda .nd { position: relative; display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-start; padding: 0.75rem 0.8rem; border: 1px solid #000; border-radius: 2px; background: #fff; animation: lit 12s ease infinite; animation-delay: calc(var(--i) * 1.15s); }
#ayuda .nd b { font-size: 0.875rem; line-height: 1.3; }
#ayuda .nd i { font-style: normal; font-size: 0.75rem; line-height: 1.4; color: var(--muted); }
#ayuda .nd.dim { border-style: dashed; opacity: 0.55; animation: none; }
#ayuda .nd.opt { border-style: dashed; }
#ayuda .bw { position: relative; }
#ayuda .bw .lb { display: block; margin: 0 0 0.25rem; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
#ayuda .cn { align-self: center; width: 1px; height: 1.4rem; background: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 8px); background-size: 1px 8px; animation: flujoV 0.8s linear infinite; }
@keyframes flujoV { to { background-position: 0 8px; } }
@keyframes flujoH { to { background-position: 8px 0; } }
@keyframes lit { 0%, 1% { box-shadow: 0 0 0 #000; transform: none; } 3%, 11% { box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); } 15%, 100% { box-shadow: 0 0 0 #000; transform: none; } }
@media (min-width: 900px) {
#ayuda .fa { flex-direction: row; align-items: center; }
#ayuda .st { flex: 1 1 0; min-width: 0; }
#ayuda .cn { width: 1.4rem; height: 1px; flex: none; background: repeating-linear-gradient(to right, #000 0 4px, transparent 4px 8px); background-size: 8px 1px; animation-name: flujoH; }
}
#ayuda .qp-tabs { display: flex; gap: 0.5rem; margin: 0 0 1.25rem; flex-wrap: wrap; }
#ayuda .qp-tab { min-height: 2.5rem; padding: 0 1rem; border: 1px solid #000; border-radius: 999px; background: transparent; color: var(--fg); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
#ayuda .qp-tab[aria-selected="true"], #ayuda .qp-tab:hover { background: var(--fg); color: var(--bg); }
#ayuda .qp-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: start; }
@keyframes qpPg { from { width: 0; } to { width: 100%; } }
#ayuda .qp-screen { position: relative; min-height: 19rem; }
#ayuda .pane { display: none; }
#ayuda .pane.on { display: block; animation: qpIn 350ms ease; }
@keyframes qpIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
#ayuda .win { border: 1px solid #000; border-radius: 2px; background: #fff; box-shadow: 5px 5px 0 #000; text-transform: none; letter-spacing: 0.01em; }
#ayuda .win-h { display: flex; align-items: center; gap: 0.35rem; padding: 0.5rem 0.7rem; border-bottom: 1px solid #000; font-size: 0.75rem; letter-spacing: 0.04em; }
#ayuda .win-h i { width: 0.55rem; height: 0.55rem; border: 1px solid #000; border-radius: 50%; }
#ayuda .win-h span { margin-left: 0.5rem; font-weight: 700; text-transform: uppercase; }
#ayuda .win-b { padding: 1rem; font-size: 0.875rem; line-height: 1.5; }
#ayuda .pane.on [class*="x"] { animation: qpPop 450ms ease both; }
#ayuda .pane.on .x1 { animation-delay: 150ms; }
#ayuda .pane.on .x2 { animation-delay: 650ms; }
#ayuda .pane.on .x3 { animation-delay: 1150ms; }
#ayuda .pane.on .x4 { animation-delay: 1650ms; }
#ayuda .pane.on .x5 { animation-delay: 2150ms; }
#ayuda .pane.on .x6 { animation-delay: 2650ms; }
@keyframes qpPop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
#ayuda .mr { display: flex; gap: 0.75rem; margin: 0 0 0.25rem; }
#ayuda .mr em, #ayuda .kv dt, #ayuda .ext dt { font-style: normal; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4a4a4f; min-width: 4rem; }
#ayuda .mt { margin: 0.75rem 0; }
#ayuda .att { display: inline-block; padding: 0.4rem 0.7rem; border: 1px dashed #000; font-size: 0.8125rem; }
#ayuda .badge-new { display: inline-block; margin: 0.8rem 0 0 0.6rem; padding: 0.2rem 0.6rem; background: #000; color: #fff; font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; }
#ayuda .file { display: flex; align-items: center; gap: 0.6rem; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 0.8125rem; }
#ayuda .file i { width: 0.8rem; height: 1rem; border: 1px solid #000; flex: none; }
#ayuda .file.new { background: #000; color: #fff; border-bottom-color: #000; }
#ayuda .file.new i { border-color: #fff; }
#ayuda .file.new .tg { margin-left: auto; color: #000; }
#ayuda .cap { margin: 0.9rem 0 0; font-size: 0.8125rem; line-height: 1.55; color: #4a4a4f; }
#ayuda .duo { display: grid; grid-template-columns: 1fr; gap: 0.9rem; }
#ayuda .mini-paper { padding: 0.7rem; border: 1px solid #000; }
#ayuda .mini-paper b { display: block; margin-bottom: 0.4rem; font-size: 0.75rem; letter-spacing: 0.04em; }
#ayuda .hf { display: flex; justify-content: space-between; gap: 0.5rem; margin: 0.15rem 0; padding: 0.1rem 0.3rem; font-size: 0.8125rem; background: #f0f0f2; }
#ayuda .hf i, #ayuda .ext dt { font-style: normal; font-size: 0.75rem; letter-spacing: 0.05em; text-transform: uppercase; }
#ayuda .ext { margin: 0; display: flex; flex-direction: column; gap: 0.25rem; }
#ayuda .ext div, #ayuda .kv div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.3rem 0.5rem; border: 1px solid #000; }
#ayuda .ext div, #ayuda .kv div { border: 0; }
#ayuda .ext dd, #ayuda .kv dd { margin: 0; font-weight: 700; text-align: right; }
#ayuda .kv { margin: 0; display: flex; flex-direction: column; gap: 0.35rem; }
#ayuda .chk { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.4rem; }
#ayuda .chk li { display: flex; align-items: center; gap: 0.6rem; }
#ayuda .chk i { position: relative; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: #000; flex: none; }
#ayuda .chk i::after { content: ""; position: absolute; left: 0.36rem; top: 0.16rem; width: 0.27rem; height: 0.5rem; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
#ayuda .res { margin: 0.9rem 0 0; padding: 0.5rem 0.7rem; border: 2px solid #000; }
#ayuda .sheet { width: 100%; border-collapse: collapse; font-size: 0.75rem; }
#ayuda .sheet th, #ayuda .sheet td { padding: 0.35rem 0.5rem; border: 1px solid #000; text-align: left; white-space: nowrap; }
#ayuda .sheet th { background: #f0f0f2; text-transform: uppercase; font-size: 0.625rem; letter-spacing: 0.05em; }
#ayuda .sheet .nr td { background: #000; color: #fff; font-weight: 700; }
#ayuda .msg { display: flex; gap: 0.7rem; }
#ayuda .av { display: grid; place-items: center; width: 2rem; height: 2rem; flex: none; background: #000; color: #fff; font-weight: 700; }
#ayuda .msg p { margin: 0.2rem 0; }
#ayuda .mut { color: #4a4a4f; font-size: 0.8125rem; }
#ayuda .btn { display: inline-block; margin: 0.4rem 0.4rem 0 0; padding: 0.25rem 0.7rem; border: 1px solid #000; font-size: 0.75rem; font-weight: 700; }
#ayuda .card-c b { font-size: 1rem; }
#ayuda .card-c p { margin: 0.2rem 0; }
#ayuda .stage { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.3rem; margin-top: 0.7rem; }
#ayuda .stage span { padding: 0.35rem 0.2rem; border: 1px dashed #000; text-align: center; font-size: 0.6875rem; letter-spacing: 0.04em; text-transform: uppercase; }
#ayuda .stage .on { border-style: solid; background: #000; color: #fff; }
#ayuda .if, #ayuda .then, #ayuda .else { padding: 0.55rem 0.7rem; border: 1px solid #000; margin: 0 0 0.4rem; }
#ayuda .then { border-width: 2px; }
#ayuda .else { border-style: dashed; opacity: 0.7; }
#ayuda .if b, #ayuda .then b, #ayuda .else b { margin-right: 0.4rem; font-size: 0.6875rem; letter-spacing: 0.06em; }
#ayuda .task { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.55rem 0; border-bottom: 1px solid var(--line); }
#ayuda .task i { width: 1rem; height: 1rem; margin-top: 0.15rem; border: 2px solid #000; flex: none; }
#ayuda .task p { margin: 0.1rem 0 0; }
#ayuda .score { display: flex; align-items: center; gap: 0.9rem; }
#ayuda .score b { font-size: 1.25rem; }
#ayuda .score .bar { flex: 1; height: 0.7rem; border: 1px solid #000; }
#ayuda .score .bar i { display: block; height: 100%; width: 85%; background: #000; }
#ayuda .why { margin: 0.8rem 0 0; padding-left: 1.1rem; }
#ayuda .ver .why { padding-left: 0; }
#ayuda .qp-ba { display: grid; grid-template-columns: 1fr; gap: 0.6rem; margin: 1.5rem 0 0; }
#ayuda .qp-ba div { padding: 0.8rem 0.9rem; border: 1px solid #000; }
#ayuda .qp-ba div:nth-child(2) { background: #000; color: #fff; }
#ayuda .qp-ba em { display: block; margin-bottom: 0.25rem; font-style: normal; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
#ayuda .qp-ba b { font-size: 0.875rem; line-height: 1.4; }
#ayuda .qp-ctl { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1.25rem 0 0; }
#ayuda .qp-b { min-height: 2.5rem; padding: 0 1rem; border: 1px solid #000; border-radius: 999px; background: transparent; color: var(--fg); font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; }
#ayuda .qp-b:hover { background: var(--fg); color: var(--bg); }
#ayuda .qp-note { margin: 0.9rem 0 0; font-size: 0.75rem; color: var(--muted); }
@media (min-width: 900px) {
#ayuda .qp-grid { grid-template-columns: 22rem 1fr; }
#ayuda .duo { grid-template-columns: 1fr 1fr; }
#ayuda .qp-ba { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
#ayuda .pane.on, #ayuda .pane.on [class*="x"], #ayuda .qpn[aria-current="true"] .pg { animation: none !important; }
}
#ayuda .qp-grid { grid-template-columns: 1fr !important; gap: 1.6rem; }
#ayuda .qp-flow { margin: 0.4rem 0 0; }
#ayuda .qp-flow .st { display: contents; }
#ayuda .nd.qpn { animation: none; width: 100%; cursor: pointer; font: inherit; color: var(--fg); text-align: left; text-transform: none; letter-spacing: 0.01em; overflow: hidden; transition: box-shadow 200ms ease, transform 200ms ease, background 200ms ease; }
#ayuda .nd.qpn:hover { background: #f4f4f6; }
#ayuda .nd.qpn .tg { text-transform: uppercase; }
#ayuda .nd.qpn[aria-current="true"] { background: #fff; box-shadow: 4px 4px 0 #000; transform: translate(-2px, -2px); }
#ayuda .nd.qpn .pg { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: #000; }
#ayuda .nd.qpn[aria-current="true"] .pg { width: 100%; animation: qpPg var(--dur, 5s) linear; }
#ayuda .qp-play-off .nd.qpn[aria-current="true"] .pg { animation: none; width: 100%; }
#ayuda .nd.qpn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
#ayuda .qp-screen { max-width: 52rem; margin: 0 auto; width: 100%; }
@media (min-width: 900px) {
#ayuda .qp-flow .nd { height: 100%; }
#ayuda .qp-flow { align-items: stretch; }
}
#ayuda .qp-wrap { text-align: left; text-transform: none; letter-spacing: 0.01em; max-width: 64rem; margin: 2.25rem auto 0; }
#ayuda .qp-tabs { justify-content: center; }
#ayuda .qp-ctl { justify-content: center; }
#ayuda .qp-note { text-align: center; }


/* ---- ¿Cómo funciona? · versión móvil ---- */
@media (max-width: 899px) {
  #ayuda .qp-wrap { margin-top: 1.5rem; }
  #ayuda .qp-tabs { gap: 0.4rem; margin-bottom: 0.9rem; }
  #ayuda .qp-tab { min-height: 2.75rem; padding: 0 0.9rem; font-size: 0.75rem; }
  /* los pasos pasan a una tira horizontal compacta */
  #ayuda .qp-flow { position: relative; flex-direction: row; align-items: stretch; gap: 0; margin: 0 -1.5rem; padding: 0.5rem 1.5rem 0.9rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  #ayuda .qp-flow::-webkit-scrollbar { display: none; }
  #ayuda .qp-flow .nd { flex: 0 0 9.25rem; width: 9.25rem; padding: 0.6rem 0.65rem; scroll-snap-align: center; }
  #ayuda .qp-flow .nd b { font-size: 0.8125rem; }
  #ayuda .qp-flow .nd i { font-size: 0.6875rem; }
  #ayuda .qp-flow .cn { flex: none; align-self: center; width: 0.9rem; height: 1px; background: repeating-linear-gradient(to right, #000 0 4px, transparent 4px 8px); background-size: 8px 1px; animation-name: flujoH; }
  #ayuda .qp-grid { gap: 0.8rem; }
  #ayuda .qp-screen { min-height: 15rem; }
  #ayuda .win { box-shadow: 3px 3px 0 #000; }
  #ayuda .win-b { padding: 0.8rem; font-size: 0.8125rem; overflow-x: auto; }
  #ayuda .mr { flex-direction: column; gap: 0; margin-bottom: 0.4rem; }
  #ayuda .sheet { font-size: 0.6875rem; }
  #ayuda .qp-ba { gap: 0.4rem; margin-top: 1rem; }
  #ayuda .qp-ba div { padding: 0.6rem 0.75rem; }
  #ayuda .qp-ba b { font-size: 0.8125rem; }
  #ayuda .qp-ctl { gap: 0.4rem; }
  #ayuda .qp-b { flex: 1 1 0; min-height: 2.75rem; padding: 0 0.5rem; }
}

/* ---- ¿Cómo funciona? · móvil de 430 px: pasos como números y leyenda legible ---- */
#ayuda .nd .num { display: none; }
#ayuda .qp-cap { display: none; }
@media (max-width: 899px) {
  #ayuda .qp-flow { margin: 0; padding: 0.4rem 0.3rem 0.5rem; overflow: visible; justify-content: space-between; align-items: center; }
  #ayuda .qp-flow .nd { flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; align-items: center; justify-content: center; gap: 0; }
  #ayuda .qp-flow .nd > .tg, #ayuda .qp-flow .nd > b, #ayuda .qp-flow .nd > i, #ayuda .qp-flow .nd > .pg { display: none; }
  #ayuda .qp-flow .nd .num { display: block; font-size: 1rem; font-weight: 700; }
  #ayuda .qp-flow .nd[aria-current="true"] { background: #000; color: #fff; box-shadow: 3px 3px 0 var(--line); transform: none; }
  #ayuda .qp-flow .cn { flex: 1 1 0; min-width: 0.3rem; width: auto; }
  #ayuda .qp-cap { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.6rem; margin: 0; padding: 0.7rem 0.8rem; border: 1px solid #000; text-transform: none; }
  #ayuda .qp-cap em { flex: 0 0 100%; font-style: normal; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: #4a4a4f; }
  #ayuda .qp-cap strong { font-size: 1rem; line-height: 1.3; }
  #ayuda .qp-cap small { flex: 0 0 100%; font-size: 0.8125rem; color: #4a4a4f; }
  #ayuda .qp-cap .tg { font-size: 0.6875rem; }
  #ayuda .win-b { font-size: 0.9375rem; line-height: 1.55; }
  #ayuda .cap { font-size: 0.875rem; }
  #ayuda .qp-ba b { font-size: 0.875rem; }
  #ayuda .qp-ba em { font-size: 0.75rem; }
  #ayuda .qp-note { font-size: 0.75rem; }
}

/* ---- ¿Cómo funciona? · todo en una pantalla de móvil (p. ej. 430 × 932) ---- */
#ayuda .qp-ba .sh { display: none; }
@media (max-width: 899px) {
  #ayuda { margin-top: 2rem; padding-top: 1.5rem; }
  #ayuda .tagline { font-size: 1.25rem; }
  #ayuda .intro { margin-top: 0.4rem; font-size: 0.8125rem; }
  #ayuda .qp-wrap { margin-top: 0.8rem; }
  #ayuda .qp-tabs { margin-bottom: 0.4rem; }
  #ayuda .qp-tab { min-height: 2.5rem; }
  #ayuda .qp-flow { padding: 0.2rem 0.2rem 0.3rem; }
  #ayuda .qp-flow .nd { width: 2.5rem; height: 2.5rem; }
  #ayuda .qp-grid { gap: 0.5rem; }
  #ayuda .qp-cap { padding: 0.5rem 0.7rem; gap: 0.15rem 0.5rem; }
  #ayuda .qp-cap em { flex: 0 0 auto; }
  #ayuda .qp-cap small { display: none; }
  #ayuda .qp-cap strong { flex: 0 0 100%; font-size: 0.9375rem; }
  /* todos los pasos ocupan el mismo hueco: la altura no salta al cambiar de paso */
  #ayuda .qp-screen { display: grid; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  #ayuda .pane, #ayuda .win { min-width: 0; }
  #ayuda .win-b { overflow-wrap: anywhere; }
  #ayuda .pane { display: block; grid-area: 1 / 1; visibility: hidden; }
  #ayuda .pane.on { visibility: visible; }
  #ayuda .win-b { padding: 0.55rem 0.7rem; font-size: 0.8125rem; line-height: 1.45; }
  #ayuda .win-h { padding: 0.35rem 0.6rem; }
  #ayuda .cap { margin-top: 0.5rem; font-size: 0.75rem; line-height: 1.4; }
  #ayuda .mt { margin: 0.4rem 0; }
  #ayuda .mr em, #ayuda .kv dt, #ayuda .ext dt { min-width: 3.4rem; }
  #ayuda .duo { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  #ayuda .mini-paper { padding: 0.45rem; }
  #ayuda .hf { font-size: 0.6875rem; flex-direction: column; gap: 0; margin: 0.1rem 0; }
  #ayuda .ext div { padding: 0.2rem 0.4rem; flex-direction: column; gap: 0; }
  #ayuda .ext dd { text-align: left; font-size: 0.75rem; }
  #ayuda .kv div { padding: 0.2rem 0.5rem; }
  #ayuda .chk { gap: 0.25rem; }
  #ayuda .res { margin-top: 0.5rem; padding: 0.35rem 0.6rem; }
  #ayuda .file { padding: 0.3rem 0.4rem; font-size: 0.75rem; }
  #ayuda .task { padding: 0.35rem 0; }
  #ayuda .qp-ba { grid-template-columns: repeat(3, 1fr); gap: 0.35rem; margin-top: 0.6rem; }
  #ayuda .qp-ba div { padding: 0.45rem 0.5rem; }
  #ayuda .qp-ba em { margin-bottom: 0.1rem; font-size: 0.625rem; }
  #ayuda .qp-ba .lg { display: none; }
  #ayuda .qp-ba .sh { display: inline; }
  #ayuda .qp-ba b { font-size: 0.8125rem; }
  #ayuda .qp-ctl { margin-top: 0.6rem; }
  #ayuda .qp-b { min-height: 2.5rem; }
  #ayuda .qp-note { display: none; }
}

@media (max-width: 899px) {
  #ayuda { margin-top: 1rem; padding-top: 1rem; }
  #ayuda .mini-paper { display: none; }
  #ayuda .duo { grid-template-columns: 1fr; }
  #ayuda .ext div { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 0.2rem 0.5rem; }
  #ayuda .ext dd { text-align: right; font-size: 0.8125rem; }
  #ayuda .mr { flex-direction: row; gap: 0.6rem; margin-bottom: 0.15rem; }
  #ayuda .mr em { flex: none; }
}

/* ---- ¿Cómo funciona? · móvil: un poco más de aire y letra más grande ---- */
@media (max-width: 899px) {
  #ayuda { margin-top: 1.5rem; padding-top: 1.5rem; }
  #ayuda .tagline { font-size: 1.35rem; }
  #ayuda .intro { margin-top: 0.5rem; font-size: 0.875rem; line-height: 1.5; }
  #ayuda .qp-wrap { margin-top: 1rem; }
  #ayuda .qp-tabs { margin-bottom: 0.7rem; }
  #ayuda .qp-tab { font-size: 0.8125rem; }
  #ayuda .qp-flow { padding: 0.3rem 0.2rem 0.6rem; }
  #ayuda .qp-flow .nd { width: 2.75rem; height: 2.75rem; }
  #ayuda .qp-grid { gap: 0.75rem; }
  #ayuda .qp-cap { padding: 0.7rem 0.85rem; gap: 0.3rem 0.6rem; }
  #ayuda .qp-cap em { font-size: 0.75rem; }
  #ayuda .qp-cap strong { font-size: 1.0625rem; }
  #ayuda .qp-cap small { display: block; font-size: 0.8125rem; }
  #ayuda .win-h { padding: 0.5rem 0.75rem; font-size: 0.75rem; }
  #ayuda .win-b { padding: 0.8rem 0.85rem; font-size: 0.9375rem; line-height: 1.55; }
  #ayuda .cap { margin-top: 0.7rem; font-size: 0.8125rem; line-height: 1.5; }
  #ayuda .mt { margin: 0.6rem 0; }
  #ayuda .mr { margin-bottom: 0.3rem; }
  #ayuda .ext div { padding: 0.3rem 0.55rem; }
  #ayuda .ext dd { font-size: 0.875rem; }
  #ayuda .kv div { padding: 0.3rem 0.55rem; }
  #ayuda .chk { gap: 0.4rem; }
  #ayuda .file { padding: 0.4rem 0.5rem; font-size: 0.8125rem; }
  #ayuda .res { margin-top: 0.7rem; padding: 0.45rem 0.7rem; }
  #ayuda .task { padding: 0.5rem 0; }
  #ayuda .qp-ba { gap: 0.4rem; margin-top: 0.9rem; }
  #ayuda .qp-ba div { padding: 0.6rem 0.65rem; }
  #ayuda .qp-ba em { font-size: 0.6875rem; margin-bottom: 0.2rem; }
  #ayuda .qp-ba b { font-size: 0.875rem; }
  #ayuda .qp-ctl { margin-top: 0.9rem; gap: 0.5rem; }
  #ayuda .qp-b { min-height: 2.75rem; font-size: 0.8125rem; }
}
@media (max-width: 899px) {
  #ayuda .if, #ayuda .then, #ayuda .else { padding: 0.4rem 0.65rem; margin-bottom: 0.3rem; }
  #ayuda .card-c p { margin: 0.1rem 0; }
  #ayuda .stage { margin-top: 0.5rem; }
  #ayuda .msg p { margin: 0.1rem 0; }
  #ayuda .btn { margin-top: 0.3rem; }
  #ayuda .score { gap: 0.7rem; }
  #ayuda .why { margin-top: 0.5rem; }
  #ayuda .win-b { padding: 0.7rem 0.85rem; }
  #ayuda .qp-ba { margin-top: 0.7rem; }
  #ayuda .qp-ctl { margin-top: 0.7rem; }
}

/* ---- Fondo de puntos con onda ---- */
#puntos { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body:has(#puntos) { background: transparent; }

/* ---- Descripción de cada caso en "Así trabaja una automatización" ---- */
#ayuda .qp-desc { max-width: 40rem; margin: 0 auto 1.25rem; text-align: center; font-size: 0.875rem; line-height: 1.6; color: var(--fg); }

/* ---- Portátiles (13"-15"): más ancho útil ---- */
@media (min-width: 1200px) {
  .section { max-width: 64rem; }
  .calc { max-width: 46rem; }
}
h2.tagline { text-wrap: balance; }
@media (min-width: 1024px) { #ayuda .tagline { max-width: 40rem; } }

/* ---- Portátiles con poca altura: primera pantalla y "Así trabaja" compactos ---- */
@media (min-width: 1024px) and (max-height: 960px) {
  main { padding-top: 1.75rem; }
  h1.tagline { max-width: 44rem; font-size: 2rem; }
  .lead { max-width: 36rem; margin-top: 0.7rem; }
  .actions { margin-top: 0.85rem; }
  .board { margin-top: 1.25rem; padding-top: 0.85rem; padding-bottom: 0.85rem; }
  .slide .log-desc { margin-bottom: 0.6rem; padding-bottom: 0.55rem; }
  .ctrl { margin-top: 0.5rem; padding-top: 0.6rem; }
  .section { margin-top: 3.5rem; padding-top: 2.25rem; }
  #ayuda .qp-wrap { margin-top: 1.25rem; }
  #ayuda .qp-tabs { margin-bottom: 0.9rem; }
  #ayuda .qp-desc { margin-bottom: 0.9rem; }
  #ayuda .qp-ba { margin-top: 1.1rem; }
  #ayuda .qp-ctl { margin-top: 0.9rem; }
}

/* ---- Carrusel: frase explicativa bajo el título ---- */
.log-title { margin-bottom: 0.35rem; padding-bottom: 0; border-bottom: 0; }
.log-desc { margin: 0 0 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--line); font-size: 0.8125rem; line-height: 1.5; letter-spacing: 0.02em; text-transform: none; color: #4a4a4f; }

/* ---- "Así trabaja": el paso activo se ve en negro ---- */
#ayuda .nd.qpn[aria-current="true"] { background: #000; color: #fff; }
#ayuda .nd.qpn[aria-current="true"] i { color: #d2d2d7; }
#ayuda .nd.qpn[aria-current="true"] .tg { background: #000; color: #fff; border-color: #fff; }
#ayuda .nd.qpn[aria-current="true"] .tg.ia { background: #fff; color: #000; }
#ayuda .nd.qpn[aria-current="true"] .pg { background: #fff; }
#ayuda .nd.qpn[aria-current="true"]:hover { background: #000; }

/* ---- Modo oscuro: invierte la página (lo negro pasa a blanco y al revés) ---- */
html[data-tema="oscuro"] { filter: invert(1) hue-rotate(180deg); background: #fff; }
.theme-btn { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; padding: 0; border: 1px solid #000; border-radius: 999px; background: transparent; color: var(--fg); cursor: pointer; transition: background 160ms ease, color 160ms ease; }
.theme-btn:hover { background: var(--fg); color: var(--bg); }
.theme-btn:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; }
.theme-btn svg { width: 16px; height: 16px; }
.theme-btn .sol, html[data-tema="oscuro"] .theme-btn .luna { display: none; }
html[data-tema="oscuro"] .theme-btn .sol { display: block; }
.brand + .theme-btn { margin-left: auto; }

/* ---- Calculadora: ahorro estimado en euros ---- */
.ahorro { margin-top: 0.7rem; font-size: 1.125rem; font-weight: 700; letter-spacing: 0.02em; }
.desde span { display: block; margin-top: 0.35rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.06em; color: var(--muted); }

/* ---- Páginas de servicio ---- */
.migas { justify-content: center; gap: 0.5rem; margin: 0 0 1.5rem; text-align: center; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.migas a { text-decoration: underline; text-underline-offset: 3px; }
.srv-txt { max-width: 40rem; margin: 1.5rem auto 0; text-align: left; text-transform: none; letter-spacing: 0.01em; font-size: 0.9375rem; line-height: 1.7; }
.srv-txt p { margin: 0 0 1rem; }
.srv-txt ul { margin: 0; padding-left: 1.25rem; }
.srv-txt li { margin-bottom: 0.6rem; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; max-width: 44rem; margin: 1.75rem auto 0; padding: 0; list-style: none; }
.chips li { padding: 0.45rem 0.8rem; border: 1px solid #000; border-radius: 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; }
.srv-ba { display: grid; grid-template-columns: 1fr; gap: 0.6rem; max-width: 52rem; margin: 1.75rem auto 0; text-align: left; text-transform: none; }
.srv-ba div { padding: 0.8rem 0.9rem; border: 1px solid #000; }
.srv-ba div:nth-child(2) { background: #000; color: #fff; }
.srv-ba em { display: block; margin-bottom: 0.25rem; font-style: normal; font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.srv-ba b { font-size: 0.9375rem; line-height: 1.4; }
@media (min-width: 768px) { .srv-ba { grid-template-columns: repeat(3, 1fr); } }
.srv-cta { padding-bottom: 1rem; }
.mas { white-space: nowrap; font-weight: 700; color: var(--fg); text-decoration: underline; text-underline-offset: 3px; }
.srv .lead { max-width: 34rem; }
.brand { white-space: nowrap; }
@media (max-width: 479px) { .nav-cta { display: none; } }

/* ---- Página "Servicios" y menú ---- */
.srv-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; max-width: 64rem; margin: 2.5rem auto 0; padding: 0; list-style: none; text-align: left; }
.srv-card a { display: flex; flex-direction: column; gap: 0.6rem; height: 100%; padding: 1.25rem 1.2rem; border: 1px solid #000; background: #fff; text-transform: none; transition: box-shadow 200ms ease, transform 200ms ease; }
.srv-card a:hover { box-shadow: 5px 5px 0 #000; transform: translate(-2px, -2px); }
.srv-card strong { font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; }
.srv-card span { flex: 1; font-size: 0.875rem; line-height: 1.6; letter-spacing: 0.01em; color: #4a4a4f; }
.srv-card em { font-style: normal; font-size: 0.8125rem; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.srv-card-otra a { border-style: dashed; }
@media (min-width: 700px) { .srv-grid { grid-template-columns: repeat(2, 1fr); } }
.aviso { margin-top: 1rem; }
.nav-srv { display: inline; }
@media (max-width: 479px) { .nav-srv { font-size: 0.75rem; } }

/* ---- Formulario: qué quiere automatizar ---- */
.necesidad { margin: 0; padding: 0; border: 0; min-width: 0; }
.necesidad legend { display: block; margin-bottom: 0.5rem; padding: 0; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--muted); }
.opcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; }
.opc { position: relative; display: block; margin: 0; cursor: pointer; }
.opc input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.opc span { display: flex; align-items: center; min-height: 2.6rem; padding: 0.4rem 0.7rem; border: 1px solid #111; border-radius: 2px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.03em; line-height: 1.25; color: var(--fg); text-transform: uppercase; transition: background 160ms ease, color 160ms ease; }
.opc:hover span, .opc input:checked + span { background: var(--fg); color: var(--bg); }
.opc input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.opc:last-child { grid-column: 1 / -1; }
#otra-wrap textarea { min-height: 5rem; }

/* ---- "Así trabaja": pasos en columna y ventana al lado en cualquier ordenador ---- */
@media (min-width: 1024px) {
  #ayuda .qp-grid { grid-template-columns: 20rem minmax(0, 1fr) !important; gap: 1.75rem; align-items: start; }
  #ayuda .qp-flow { flex-direction: column; align-items: stretch; margin: 0; }
  #ayuda .qp-flow .nd { height: auto; flex-direction: row; align-items: center; gap: 0.55rem; padding: 0.55rem 0.7rem; }
  #ayuda .qp-flow .nd .tg { flex: none; }
  #ayuda .qp-flow .nd b { font-size: 0.8125rem; line-height: 1.25; }
  #ayuda .qp-flow .nd i { display: none; }
  #ayuda .qp-flow .cn { align-self: center; width: 1px; height: 0.55rem; background: repeating-linear-gradient(to bottom, #000 0 4px, transparent 4px 8px); background-size: 1px 8px; animation-name: flujoV; }
  #ayuda .qp-screen { max-width: none; min-height: 0; }
}

/* ---- Legibilidad: textos secundarios algo más grandes y líneas equilibradas ---- */
.intro, .lead, .note, .eq, .log-desc, .qp-desc, .srv-txt p, .qa-body p, .cap { text-wrap: pretty; }
.intro, .lead { text-wrap: balance; }
@media (min-width: 1024px) {
  .intro { max-width: 30rem; font-size: 0.9375rem; }
  .lead { font-size: 0.9375rem; }
}

/* ---- Carrusel: cada diapositiva mide lo que necesita (la pista se ajusta a la activa) ---- */
.track { align-items: flex-start; overflow-y: hidden; transition: height 300ms ease; }
@media (prefers-reduced-motion: reduce) { .track { transition: none; } }

/* ---- Pantallas grandes: todo un poco mayor ---- */
@media (min-width: 1600px) { html { font-size: 112.5%; } }

/* ---- Demo animada en la página de facturas ---- */
.demo-embed { display: none; max-width: 64rem; margin: 2rem auto 2.5rem; border: 1px solid #000; box-shadow: 6px 6px 0 #000; aspect-ratio: 16 / 9; background: #fff; }
.demo-embed iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Móvil: los 6 pasos en texto. Ordenador: la animación en su lugar. */
@media (min-width: 768px) {
  .demo-embed { display: block; margin-bottom: 0.5rem; }
  .pasos-texto { display: none; }
}

/* ---- Pestañas para elegir demo (WhatsApp / Correo) ---- */
.demo-tabs { display: none; justify-content: center; gap: 0.5rem; margin: 1.75rem auto 0; }
.demo-tab { min-height: 2.5rem; padding: 0 1.1rem; border: 1px solid #000; border-radius: 999px; background: transparent; color: var(--fg); font: inherit; font-size: 0.75rem; letter-spacing: 0.04em; text-transform: uppercase; cursor: pointer; }
.demo-tab[aria-selected="true"], .demo-tab:hover { background: var(--fg); color: var(--bg); }
.demo-tabs + .demo-embed { margin-top: 1.25rem; }
.demo-embed iframe[hidden] { display: none; }
@media (min-width: 768px) { .demo-tabs { display: flex; } }

/* ---- ¿Cómo funciona? · paso de protección de datos privados ---- */
#ayuda .tg.priv { border-style: double; border-width: 3px; }
#ayuda .ext dd.pv { padding: 0 0.45rem; background: #000; color: #fff; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; line-height: 1.6; }
#ayuda .ext div:first-child dt { font-weight: 700; color: var(--fg); }
@media (max-width: 420px) {
  #ayuda .qp-flow .nd { width: 2.5rem; height: 2.5rem; }
}

/* ---- Carrusel · factura: los datos privados se protegen antes de la IA ---- */
.fld.pvh u { position: relative; white-space: nowrap; }
.fld.pvh u::after { content: "■ Protegido"; position: absolute; top: -0.1rem; bottom: -0.1rem; right: -0.3rem; left: -0.3rem; display: grid; place-items: center; background: #000; color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; border-radius: 2px; transform-origin: left center; }
@keyframes pvh { 0%, 4.2% { transform: scaleX(0); } 6.6%, 93.34% { transform: scaleX(1); } 98.33%, 100% { transform: scaleX(0); } }
.slide.on .fld.pvh u::after { animation: pvh 12s cubic-bezier(.3,1.2,.5,1) infinite; }

/* ---- Precio de lanzamiento (portada) ---- */
.desde.lanz { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; }
.desde.lanz .lanz-tag { display: inline-block; margin: 0 0 0.25rem; padding: 0.3rem 0.75rem; border: 1px solid var(--fg); border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg); }
.desde.lanz .lanz-tag b { font-weight: 700; }
.desde.lanz span { margin-top: 0; }
.desde.lanz strong { font-size: 1.75rem; line-height: 1.2; }
@media (min-width: 430px) { .desde.lanz strong { font-size: 2rem; } }
@media (max-width: 429px) { .desde.lanz .lanz-tag { font-size: 0.625rem; letter-spacing: 0.05em; padding: 0.3rem 0.6rem; } }
/* Portada para gestorías (25/11/2026) */
.desde.lanz .otros { margin-top: 0.6rem; font-size: 0.8125rem; letter-spacing: 0.02em; white-space: normal; }
.srv-card .srv-precio { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.04em; }
.srv-card-dest a { border-width: 2px; }
/* Planes por tamaño (gestorías) */
.planes { max-width: 60rem; margin: 2rem auto 0; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
.planes-tit { margin: 0; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.planes .lanz-tag { display: inline-block; padding: 0.3rem 0.75rem; border: 1px solid var(--fg); border-radius: 999px; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.planes-grid { width: 100%; display: grid; grid-template-columns: 1fr; gap: 0.75rem; margin-top: 0.5rem; }
.plan { position: relative; display: flex; flex-direction: column; gap: 0.45rem; padding: 1.4rem 1.1rem 1.2rem; border: 1px solid #000; background: #fff; text-align: left; }
.plan h3 { margin: 0; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; }
.plan p { margin: 0; }
.plan-vol { font-size: 0.8125rem; color: var(--muted); letter-spacing: 0.02em; }
.plan-precio { font-size: 0.875rem; color: var(--muted); }
.plan-precio strong { font-size: 1.75rem; line-height: 1.2; color: var(--fg); letter-spacing: 0.02em; }
.plan-hab, .plan-mant { font-size: 0.75rem; line-height: 1.5; color: var(--muted); letter-spacing: 0.02em; }
.plan-mant { margin-top: auto !important; padding-top: 0.5rem; border-top: 1px solid var(--line); }
.plan-lanz { position: absolute; top: -0.65rem; left: 1rem; padding: 0.1rem 0.5rem; background: #000; color: #fff; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.planes-inc { margin: 0.25rem 0 0; max-width: 40rem; font-size: 0.8125rem; line-height: 1.6; color: var(--muted); letter-spacing: 0.02em; }
.planes .otros { font-size: 0.8125rem; letter-spacing: 0.02em; white-space: normal; }
@media (min-width: 768px) { .planes-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 429px) { .planes .lanz-tag { font-size: 0.625rem; letter-spacing: 0.05em; padding: 0.3rem 0.6rem; } }

