/* ==========================================================================
   Home · diseño A "Del caos al orden" (rediseño de marca, oct-2026).
   Prototipo: prototypes/marca-2026-10/a-caos-al-orden.html.

   El hero es el escritorio del dueño visto desde arriba. Un carril de 380vh
   fija un escenario de 100svh; al bajar, cada papel (CFDI, nota de remisión,
   papel pijama, post-its, WhatsApp, el Excel "bueno", el correo RE: RE: RE:,
   la libreta de pedidos, el corte de caja, la guía y el SPEI) se levanta y se
   archiva como un renglón de un solo sistema.

   Regla de color: el caos se queda con el color (amarillo post-it, folio rojo,
   verde de chat, rayado azul). El orden solo usa tinta, papel y verde libro.

   Este archivo solo carga en el home. La paleta y la tipografía de A viven en
   styles.css para todo el sitio desde la fase 2; aquí queda lo propio del home:
   el escritorio, el sistema, la forma continua y los papeles.
   ========================================================================== */

@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-latin-600.woff2") format("woff2");
}
@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/caveat-latin-variable.woff2") format("woff2");
}

html:has(> body.home-a) { background: #F5F6F1; overflow-x: clip; }

body.home-a {
  /* La paleta y la tipografía de A ya son las del sitio (styles.css, fase 2). */
  /* Tokens propios de A */
  --ledger: #2E5B4B;
  --ledger-deep: #234638;
  --stripe: #DCE9DD;         /* banda del papel pijama */
  --postit: #F2D04B;         /* solo caos */
  --graphite: #545E58;
  --sheet: #FFFFFF;
  --rule: rgba(21, 26, 23, .14);
  --font-body: "Public Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --font-hand: "Caveat", "Bradley Hand", "Segoe Print", cursive;
  --hh: 80px;                          /* alto del nav del sitio */
  --gut: clamp(16px, 4.4vw, 64px);
  --k: 1;                              /* escala de los papeles */

  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.home-a ::selection { background: var(--stripe); color: var(--ink); }
body.home-a :focus-visible { outline: 2.5px solid var(--ink); outline-offset: 3px; }

/* --------------------------------------------------------------- botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 22px;
  font: 600 16px/1.15 var(--font-body); letter-spacing: -.005em;
  text-decoration: none; border-radius: 3px; white-space: nowrap;
  transition: background-color .16s ease, color .16s ease, box-shadow .16s ease;
}
.btn svg { width: 16px; height: 16px; flex: none; transition: transform .2s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--ledger); color: var(--paper); }
.btn-primary:hover { background: var(--ledger-deep); }
.btn-secondary { color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--paper); }
.ha-hero .btn-secondary { background: var(--paper); }
.ha-hero .btn-secondary:hover { background: var(--ink); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: #FFFFFF; }

/* ------------------------------------------------------------------ hero */
.ha-hero { position: relative; height: 380vh; }
.ha-hero .stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden; overflow: clip;
}
.ha-hero .frame {
  position: absolute; top: var(--hh); bottom: 0; left: 0; right: 0;
  max-width: 1440px; margin: 0 auto;
}

/* copy */
.ha-hero .copy {
  position: absolute; z-index: 3;
  left: var(--gut); top: 0; bottom: 0;
  width: min(600px, 43%);
  display: grid; align-items: center;
  padding-bottom: 5vh;
}
.ha-hero .blk { grid-area: 1 / 1; }
.ha-hero .s2, .ha-hero .s2b, .ha-hero .s3 { opacity: 0; visibility: hidden; }
.ha-eyebrow {
  margin: 0 0 18px;
  font: 500 12.5px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--ledger);
}
.ha-hero h1 {
  margin: 0 0 22px;
  font: 700 clamp(2.5rem, 1.2rem + 3.4vw, 4.6rem)/.98 var(--font-display);
  letter-spacing: -.03em;
  text-wrap: balance;
}
.ha-hero .sub {
  margin: 0 0 30px; max-width: 31em;
  font-size: clamp(1.05rem, .96rem + .3vw, 1.2rem); line-height: 1.5;
}
.ha-hero .ctas { display: flex; flex-wrap: wrap; gap: 18px 14px; }
.ha-hero .cta { display: grid; grid-template-columns: max-content; gap: 9px; align-content: start; }
.ha-hero .cta-note {
  width: 0; min-width: 100%;
  margin: 0;
  font-size: 13px; line-height: 1.4; color: var(--graphite);
}
.ha-hero .stmt {
  margin: 0;
  font: 700 clamp(2.1rem, 1.1rem + 2.6vw, 3.7rem)/1.02 var(--font-display);
  letter-spacing: -.028em;
  text-wrap: balance;
}
.ha-hero .stmt .muted { color: var(--graphite); }
.ha-hero .stmt .g { color: var(--ledger); }
.ha-hero .s3 .stmt { margin-bottom: 16px; }
.ha-hero .s3 .stmt .g { display: block; }
.ha-hero .s3 .after { margin: 0 0 28px; max-width: 28em; font-size: clamp(1.02rem, .95rem + .25vw, 1.15rem); line-height: 1.5; color: var(--graphite); }
.ha-hero .hint {
  position: absolute; z-index: 3; left: var(--gut); bottom: 72px; margin: 0;
  display: flex; align-items: center; gap: 10px;
  font: 500 12.5px/1 var(--font-mono); color: var(--graphite);
}
.ha-hero .hint svg { width: 12px; height: 18px; }

/* el sistema ordenado */
.ha-hero .panel-wrap {
  position: absolute; z-index: 1;
  right: var(--gut); top: 0; bottom: 0;
  width: min(660px, 48%);
  display: flex; align-items: center;
  padding-bottom: 2vh;
}
.ha-hero .panel {
  --modw: 118px; --detw: 112px; --stw: 104px;
  --rowh: clamp(25px, 3.45svh, 33px);
  position: relative; width: 100%;
  background: var(--sheet);
  border: 1px solid rgba(21, 26, 23, .2);
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(21, 26, 23, .05), 0 34px 60px -40px rgba(21, 26, 23, .45);
  overflow: hidden;
  isolation: isolate;
  opacity: 0;
}
.ha-hero .ph {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 18px 13px;
  border-bottom: 1.5px solid var(--ink);
}
.ha-hero .ph-t { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.ha-hero .ph-t b { font: 600 20px/1 var(--font-display); letter-spacing: -.015em; white-space: nowrap; }
.ha-hero .ph-t span, .ha-hero .ph-count { font: 400 11.5px/1 var(--font-mono); color: var(--graphite); white-space: nowrap; }
.ha-hero .ph-r { display: flex; align-items: center; gap: 12px; }
.ha-hero .ph-count b { color: var(--ink); font-weight: 600; }
.ha-hero .ph-ok { opacity: 0; }
.ha-hero .psearch {
  display: flex; align-items: center; gap: 9px;
  margin: 10px 18px 6px; padding: 0 11px; height: 32px;
  border: 1px solid rgba(21, 26, 23, .18); border-radius: 3px;
  font-size: 13px; color: var(--graphite);
}
.ha-hero .psearch svg { width: 14px; height: 14px; flex: none; }
.ha-hero .psearch kbd { margin-left: auto; font: 500 11px/1 var(--font-mono); border: 1px solid rgba(21,26,23,.2); border-radius: 2px; padding: 3px 5px; }
.ha-hero .pcols {
  display: grid; column-gap: 12px;
  grid-template-columns: calc(var(--modw) - 12px) minmax(0, 1fr) var(--detw) var(--stw);
  padding: 9px 16px 7px 18px;
  font: 500 10.5px/1 var(--font-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--graphite);
}
.ha-hero .pcols span:nth-child(3) { text-align: right; }
.ha-hero .grp {
  display: grid; grid-template-columns: var(--modw) minmax(0, 1fr);
  background: var(--band);
  border-top: 1px solid rgba(21, 26, 23, .12);
}
.ha-hero .glabel {
  padding: 9px 12px 0 18px;
  font: 600 14.5px/1.2 var(--font-display); color: var(--ledger); letter-spacing: -.005em;
}
.ha-hero .row { position: relative; height: var(--rowh); }
.ha-hero .row + .row { border-top: 1px dotted rgba(21, 26, 23, .16); }
.ha-hero .row::before, .ha-hero .row::after {
  content: ""; position: absolute; top: 50%; height: 6px; margin-top: -3px;
  background: rgba(21, 26, 23, .075); border-radius: 1px;
}
.ha-hero .row::before { left: 0; width: 46%; }
.ha-hero .row::after { right: 16px; width: 64px; }
.ha-hero .rin {
  position: absolute; inset: 0; z-index: 1;
  display: grid; align-items: center; column-gap: 12px;
  grid-template-columns: minmax(0, 1fr) var(--detw) var(--stw);
  padding-right: 16px;
  background: var(--band);
  opacity: 0;
}
.ha-hero .rec { font: 500 14px/1.2 var(--font-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ha-hero .det { font: 400 12.5px/1 var(--font-mono); color: var(--graphite); text-align: right; white-space: nowrap; }
.ha-chip {
  justify-self: start;
  display: inline-block; padding: 5px 7px 5px;
  font: 600 11.5px/1 var(--font-body); letter-spacing: .005em; white-space: nowrap;
  color: var(--ledger); background: rgba(46, 91, 75, .12);
  border-radius: 2px; transform-origin: 0 50%;
}
.ha-hero .rin .ha-chip { opacity: 0; }
.ha-chip.done { color: var(--paper); background: var(--ledger); }
.ha-chip.due { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--ink); }

/* ------------------------------------------------------------- escritorio */
.ha-hero .desk { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.art {
  --x: var(--dx); --y: var(--dy); --r: var(--dr);
  position: absolute;
  left: calc(var(--x) - var(--w) / 2);
  top: calc(var(--y) - var(--h) / 2 + var(--ms, 0px));
  width: var(--w); height: var(--h);
  background: var(--sheet);
  color: var(--ink);
  border-radius: 2px;
  transform: rotate(var(--r)) scale(var(--k));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}
.art p { margin: 0; }
.face {
  position: absolute; inset: 0;
  border-radius: inherit;
  transform-origin: 50% 50%;
  box-shadow: 0 0 0 1px rgba(21, 26, 23, .06), 0 1px 1px rgba(21, 26, 23, .08), 0 14px 26px -16px rgba(21, 26, 23, .45);
}
.tint { position: absolute; inset: 0; border-radius: inherit; opacity: 0; }

/* WhatsApp */
.wa { border-radius: 10px; }
.wa.in { border-top-left-radius: 0; }
.wa.out { background: #D9F4CC; border-top-right-radius: 0; }
.wa .face { padding: 6px 10px 7px 10px; font: 400 14.5px/1.32 var(--font-body); color: #111B21; }
.wa .face::before { content: ""; position: absolute; top: 0; width: 9px; height: 13px; }
.wa.in .face::before { left: -8px; background: var(--sheet); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa.out .face::before { right: -8px; background: #D9F4CC; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-from { display: block; font-size: 12.5px; font-weight: 600; color: #1D7F74; margin-bottom: 1px; }
.wa-msg::after { content: ""; display: inline-block; width: 46px; }
.wa-time {
  position: absolute; right: 9px; bottom: 5px;
  display: flex; align-items: center; gap: 3px;
  font-size: 11px; color: #667781;
}
.wa-time svg { width: 16px; height: 10px; }
.vn { display: flex; align-items: center; gap: 8px; height: 30px; }
.vn-play { width: 12px; height: 14px; fill: #54656F; flex: none; margin-left: 3px; }
.vn-wave { width: 168px; height: 26px; flex: none; }
.vn-av {
  width: 34px; height: 34px; border-radius: 50%; flex: none; margin-left: auto;
  background: #BFCBC4; color: #FFFFFF; display: grid; place-items: center;
  font: 600 13px/1 var(--font-body);
}
.vn-meta { display: flex; justify-content: space-between; font-size: 11px; color: #667781; padding: 1px 46px 0 22px; }

/* post-its */
.postit { background: var(--postit); border-radius: 1px; }
.postit .face {
  padding: 16px 14px 12px;
  background: linear-gradient(180deg, rgba(110, 80, 0, .11), rgba(110, 80, 0, 0) 26px);
  box-shadow: 0 1px 1px rgba(60, 45, 0, .2), 4px 14px 18px -12px rgba(40, 30, 0, .5);
}
.hand { margin: 0; font: 600 27px/1.02 var(--font-hand); color: #23241C; }
.hand small { display: block; margin-top: 6px; font-size: 20px; font-weight: 500; color: #4A4630; }
.scribble { position: absolute; fill: none; stroke: #2B2A20; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* CFDI */
.cfdi .face { padding: 14px 14px 10px; font: 400 9px/1.3 var(--font-body); }
.cf-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.cf-top b { font: 700 17px/1 var(--font-display); letter-spacing: -.01em; }
.cf-top span { font: 600 8.5px/1 var(--font-mono); border: 1px solid var(--ink); padding: 3px 5px; }
.cf-em b { display: block; font-size: 9.5px; }
.cf-em span, .mono-s { font: 400 7.8px/1.4 var(--font-mono); color: #4D5651; }
.cf-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin: 9px 0; padding: 7px 0; border-top: 1px solid #D5DAD6; border-bottom: 1px solid #D5DAD6; }
.cf-meta i { display: block; font: 400 6.8px/1.2 var(--font-mono); letter-spacing: .06em; color: #6A736E; font-style: normal; text-transform: uppercase; }
.cf-meta b { font: 600 8.6px/1.25 var(--font-mono); }
.cf-lines { width: 100%; border-collapse: collapse; font: 400 7.8px/1.3 var(--font-mono); }
.cf-lines th { background: #ECEFEB; text-align: left; font-weight: 600; font-size: 6.8px; letter-spacing: .05em; padding: 3px 4px; }
.cf-lines td { padding: 3px 4px; border-bottom: 1px solid #ECEFEB; }
.cf-lines .n { text-align: right; }
.cf-tot { display: grid; grid-template-columns: 1fr auto; gap: 1px 10px; margin: 7px 4px 0 auto; width: 128px; font: 400 8px/1.35 var(--font-mono); }
.cf-tot b { font-weight: 600; font-size: 10px; }
.cf-foot { position: absolute; left: 14px; right: 14px; bottom: 10px; display: flex; gap: 8px; align-items: flex-end; }
.qr { width: 44px; height: 44px; flex: none; }
.cf-foot div { font: 400 7.6px/1.35 var(--font-mono); color: #4D5651; overflow: hidden; }
.cf-foot div b { color: var(--ink); }
.sello { display: block; word-break: break-all; font-size: 5.8px; line-height: 1.3; color: #8A928D; margin-top: 2px; }
.stamp {
  position: absolute; right: 12px; top: 128px; transform: rotate(-13deg);
  border: 2px solid rgba(178, 58, 43, .78); color: rgba(178, 58, 43, .85); border-radius: 3px;
  padding: 4px 7px 3px; text-align: center;
  font: 700 10.5px/1.15 var(--font-mono); letter-spacing: .12em;
  mix-blend-mode: multiply;
}
.stamp small { display: block; font-size: 7.5px; letter-spacing: .06em; font-weight: 600; }
.clipper { position: absolute; left: 24px; top: -20px; width: 16px; height: 50px; }

/* nota de remisión */
.rem { background: #FFFEFA; }
.rem .face { padding: 10px 12px; font: 400 9px/1.3 var(--font-body); }
.rm-top { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1.5px solid var(--ink); padding-bottom: 5px; }
.rm-top b { font: 700 11px/1 var(--font-display); letter-spacing: .05em; }
.rm-top span { font: 600 15px/1 var(--font-mono); color: #B23A2B; }
.rm-top span small { font-size: 9px; color: #B23A2B; }
.rm-f { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 6px 0; font: 400 9px/1.3 var(--font-mono); }
.rm-f i { font-style: normal; color: #6A736E; font-size: 7.5px; text-transform: uppercase; letter-spacing: .05em; }
.rm-t { width: 100%; border-collapse: collapse; font: 400 8.4px/1.25 var(--font-mono); }
.rm-t th { font-size: 7px; text-align: left; color: #6A736E; letter-spacing: .05em; border-bottom: 1px solid #C9CFCB; padding: 2px 3px; font-weight: 500; }
.rm-t td { padding: 3px 3px; border-bottom: 1px solid #E3E6E2; }
.rm-t .n { text-align: right; }
.rm-t tfoot td { border: 0; font-weight: 600; }
.rm-sign { display: flex; align-items: flex-end; gap: 6px; margin-top: 2px; font: 400 7.5px/1 var(--font-mono); color: #6A736E; }
.rm-sign svg { width: 70px; height: 20px; }

/* Excel */
.xls { border-radius: 6px; }
.xls .face { overflow: hidden; font: 400 9.5px/1 var(--font-body); }
.x-bar { height: 25px; display: flex; align-items: center; gap: 5px; padding: 0 9px; background: #EEF0ED; border-bottom: 1px solid #DADED9; }
.x-bar i { width: 8px; height: 8px; border-radius: 50%; background: #C5CBC6; flex: none; }
.x-bar span { flex: 1; text-align: center; font-size: 10.5px; font-weight: 600; color: #2D3530; margin-right: 30px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.x-fx { height: 21px; display: flex; align-items: center; gap: 8px; padding: 0 8px; border-bottom: 1px solid #DADED9; font: 400 9px/1 var(--font-mono); color: #2D3530; white-space: nowrap; }
.x-fx em { font-family: Georgia, serif; color: #7A837E; }
.x-grid { display: grid; grid-template-columns: 20px 74px 102px 44px 1fr; }
.x-grid span { height: 19px; padding: 0 4px; display: flex; align-items: center; border-right: 1px solid #E3E6E2; border-bottom: 1px solid #E3E6E2; white-space: nowrap; overflow: hidden; }
.x-grid .h { background: #F3F4F2; color: #6A736E; justify-content: center; font-size: 8.5px; height: 16px; }
.x-grid .rn { background: #F3F4F2; color: #6A736E; justify-content: center; font-size: 8.5px; }
.x-grid .b { font-weight: 600; }
.x-grid .num { justify-content: flex-end; font-family: var(--font-mono); font-size: 9px; }
.x-grid .err { color: #B23A2B; font-weight: 600; }
.x-grid .hl { background: #FBEA9A; }
.x-grid .sel { box-shadow: inset 0 0 0 2px var(--ledger); }
.x-tabs { position: absolute; left: 0; right: 0; bottom: 0; height: 21px; display: flex; align-items: stretch; border-top: 1px solid #DADED9; background: #F3F4F2; font-size: 9px; padding-left: 20px; }
.x-tabs span { display: flex; align-items: center; padding: 0 9px; color: #5B645F; border-right: 1px solid #DADED9; }
.x-tabs .on { background: var(--sheet); color: var(--ink); font-weight: 600; }

/* correo */
.mail { border-radius: 6px; }
.mail .face { padding: 11px 14px; font: 400 11.5px/1.35 var(--font-body); }
.m-h { display: flex; align-items: center; gap: 8px; }
.m-av { width: 22px; height: 22px; border-radius: 50%; background: #3B4842; color: #FFFFFF; display: grid; place-items: center; font-size: 10.5px; font-weight: 700; flex: none; }
.m-h b { font-size: 12px; }
.m-h span { margin-left: auto; font-size: 10.5px; color: #6A736E; }
.art .m-s { margin: 7px 0 3px; font-weight: 700; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.art .m-p { margin: 0; color: #59625D; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-a { display: inline-flex; align-items: center; gap: 5px; margin-top: 7px; padding: 3px 7px; border: 1px solid #D5DAD6; border-radius: 3px; font: 400 9.5px/1 var(--font-mono); }
.m-a svg { width: 9px; height: 12px; }

/* libreta */
.note .face {
  padding: 38px 10px 0 38px;
  background-image:
    linear-gradient(to right, transparent 29px, #E6A9A2 29px, #E6A9A2 30px, transparent 30px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 23px, #C3D5E7 23px, #C3D5E7 24px);
  background-position: 0 0, 0 34px;
  background-repeat: no-repeat, repeat;
  background-size: 100% 100%, 100% 100%;
}
.note .face::before {
  content: ""; position: absolute; left: 6px; right: 6px; top: 7px; height: 9px;
  background: radial-gradient(circle at 50% 50%, var(--paper) 0 3.4px, rgba(21,26,23,.22) 3.9px, transparent 4.4px) 0 0 / 16px 9px repeat-x;
}
.note .hand { font-size: 21px; line-height: 24px; font-weight: 500; }
.note .hand b { display: block; font-size: 27px; font-weight: 600; line-height: 24px; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; margin-bottom: 0; }
.note .hand s { text-decoration-thickness: 2px; color: #555445; }

/* corte de caja */
.tape { background: transparent; }
.tape .face { box-shadow: none; filter: drop-shadow(0 1px 0 rgba(21, 26, 23, .12)) drop-shadow(0 10px 10px rgba(21, 26, 23, .16)); }
.tp {
  position: absolute; inset: 0;
  background: #FBFBF6;
  padding: 16px 10px 14px;
  font: 400 9.2px/1.45 var(--font-mono); color: #383E3A; white-space: pre;
  clip-path: polygon(0 4px,4% 0,8% 4px,12% 0,16% 4px,20% 0,24% 4px,28% 0,32% 4px,36% 0,40% 4px,44% 0,48% 4px,52% 0,56% 4px,60% 0,64% 4px,68% 0,72% 4px,76% 0,80% 4px,84% 0,88% 4px,92% 0,96% 4px,100% 0,100% calc(100% - 4px),96% 100%,92% calc(100% - 4px),88% 100%,84% calc(100% - 4px),80% 100%,76% calc(100% - 4px),72% 100%,68% calc(100% - 4px),64% 100%,60% calc(100% - 4px),56% 100%,52% calc(100% - 4px),48% 100%,44% calc(100% - 4px),40% 100%,36% calc(100% - 4px),32% 100%,28% calc(100% - 4px),24% 100%,20% calc(100% - 4px),16% 100%,12% calc(100% - 4px),8% 100%,4% calc(100% - 4px),0 100%);
}
.tp b { font-weight: 600; color: #1E2420; }

/* papel pijama */
.pijama { background: #FCFDFB; }
.pijama .face { overflow: hidden; }
.pijama .face::before, .pijama .face::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 18px;
  background: radial-gradient(circle at 9px 9px, var(--paper) 0 3.3px, rgba(21,26,23,.2) 3.8px, transparent 4.3px) 0 0 / 18px 18px repeat-y;
}
.pijama .face::before { left: 0; border-right: 1px dashed rgba(21,26,23,.2); }
.pijama .face::after { right: 0; border-left: 1px dashed rgba(21,26,23,.2); }
.pj {
  position: absolute; left: 18px; right: 18px; top: 0; bottom: 0;
  padding: 9px 10px;
  background: repeating-linear-gradient(to bottom, var(--stripe) 0, var(--stripe) 36px, transparent 36px, transparent 72px) 0 21px / 100% 100% no-repeat;
  font: 400 8.4px/12px var(--font-mono); letter-spacing: .02em; color: #2C3A33; white-space: pre; text-transform: uppercase;
}
.pencil { position: absolute; width: 40px; height: 20px; fill: none; stroke: #6E6A62; stroke-width: 1.3; stroke-linecap: round; }
.coffee {
  position: absolute; width: 112px; height: 112px; border-radius: 50%;
  background: radial-gradient(circle, transparent 0 52%, rgba(122, 86, 44, .2) 54%, rgba(122, 86, 44, .09) 58%, transparent 61%);
}

/* guía de envío */
.guia { border-radius: 3px; }
.guia .face { overflow: hidden; font: 400 9px/1.3 var(--font-body); }
.g-top { height: 22px; background: var(--ink); color: var(--sheet); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; font: 700 9.5px/1 var(--font-display); letter-spacing: .08em; }
.g-top span { font: 500 8px/1 var(--font-mono); letter-spacing: .04em; }
.g-b { padding: 7px 10px 0; }
.g-n { font: 600 13px/1 var(--font-mono); letter-spacing: .03em; }
.g-d { margin: 5px 0 6px; font-size: 9px; line-height: 1.3; }
.g-d i { font: 400 7px/1 var(--font-mono); letter-spacing: .06em; color: #6A736E; font-style: normal; display: block; margin-bottom: 2px; }
.barcode { display: block; width: 206px; height: 30px; }
.g-z { font: 400 7.5px/1 var(--font-mono); letter-spacing: .3em; margin-top: 3px; }

/* comprobante SPEI */
.spei { border-radius: 16px; }
.spei .face { overflow: hidden; font: 400 9px/1.3 var(--font-body); }
.sp-sb { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 4px; font: 600 9.5px/1 var(--font-body); }
.sp-sb svg { width: 26px; height: 9px; }
.sp-h { padding: 8px 14px 10px; border-bottom: 1px solid #E3E6E2; }
.sp-h b { display: block; font-size: 12px; }
.sp-h span { color: #6A736E; font-size: 9.5px; }
.sp-ok { display: flex; align-items: center; gap: 6px; padding: 12px 14px 2px; font-size: 9.5px; color: #1D7F74; font-weight: 600; }
.sp-ok svg { width: 15px; height: 15px; }
.sp-amt { padding: 2px 14px 8px; font: 700 23px/1.1 var(--font-display); letter-spacing: -.01em; }
.sp-f { padding: 0 14px; }
.sp-f div { padding: 5px 0; border-top: 1px solid #ECEFEB; }
.sp-f i { display: block; font: 400 7px/1.3 var(--font-mono); letter-spacing: .05em; color: #6A736E; font-style: normal; text-transform: uppercase; }
.sp-f b { font-weight: 500; font-size: 9px; }
.sp-f .mono-s { font-size: 8px; color: var(--ink); }

.rm-arts { display: none; }

/* ------------------------------------------------- secciones bajo el hero */
.ha-wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gut); }
.ha-sec { padding: clamp(80px, 10vw, 150px) 0 clamp(72px, 9vw, 130px); }
.ha-sec + .ha-sec { padding-top: 0; }
.ha-label {
  margin: 0 0 16px;
  font: 500 12px/1.3 var(--font-mono); letter-spacing: .09em; text-transform: uppercase;
  color: var(--ledger);
}
.ha-intro {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px);
}
.ha-intro h2, .ha-close h2, body.home-a #faq h2, body.home-a #portfolio h2 {
  margin: 0;
  font: 700 clamp(2.1rem, 1.2rem + 2.7vw, 3.9rem)/1 var(--font-display);
  letter-spacing: -.028em;
  text-wrap: balance;
}
.ha-intro p { margin: 0; max-width: 32em; font-size: clamp(1.02rem, .95rem + .25vw, 1.15rem); color: var(--graphite); }

/* ¿Qué necesitas resolver? Cada necesidad lleva a la página que la resuelve. */
.ha-needs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1.5px solid var(--ink); }
.ha-needs li { min-width: 0; border-bottom: 1px solid var(--rule); }
.ha-needs li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }
.ha-needs a { display: grid; align-content: space-between; gap: 14px; height: 100%; padding: 24px 24px 26px; text-decoration: none; color: inherit; transition: background-color .16s ease; }
.ha-needs a:hover { background: var(--stripe); }
.ha-needs .n-q { font: 600 clamp(1.15rem, 1rem + .45vw, 1.4rem)/1.2 var(--font-display); letter-spacing: -.012em; text-wrap: balance; }
.ha-needs .n-a { font: 500 12px/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ledger); }
.ha-needs .n-a::after { content: " →"; }

/* ¿Te suena? Los dolores son los mismos papeles del escritorio, sueltos. */
.ha-pains { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; align-items: start; }
.ha-pain { position: relative; min-width: 0; }
.ha-pain p { margin: 0; }
.ha-pain.p-wa {
  padding: 12px 14px 22px; border-radius: 0 12px 12px 12px; background: var(--sheet);
  box-shadow: 0 0 0 1px rgba(21, 26, 23, .06), 0 14px 26px -18px rgba(21, 26, 23, .45);
  font-size: 17px; line-height: 1.4; color: #111B21; transform: rotate(-1.5deg);
}
.ha-pain.p-wa::before { content: ""; position: absolute; left: -8px; top: 0; width: 9px; height: 13px; background: var(--sheet); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ha-pain.p-wa .wa-from { font-size: 13px; }
.ha-pain.p-wa .wa-time { right: 12px; bottom: 6px; }
.ha-pain.p-postit {
  padding: 22px 18px 24px; background: var(--postit); transform: rotate(2deg);
  box-shadow: 0 1px 1px rgba(60, 45, 0, .2), 4px 14px 18px -12px rgba(40, 30, 0, .5);
}
.ha-pain.p-postit p { font: 600 clamp(26px, 2.1vw, 31px)/1.05 var(--font-hand); color: #23241C; }
.ha-pain.p-mail {
  padding: 14px 16px 16px; border-radius: 6px; background: var(--sheet); transform: rotate(-.8deg);
  box-shadow: 0 0 0 1px rgba(21, 26, 23, .06), 0 14px 26px -18px rgba(21, 26, 23, .45);
}
.ha-pain.p-mail .m-s { margin: 9px 0 6px; font: 600 12px/1.3 var(--font-mono); color: var(--graphite); }
.ha-pain.p-mail p.big { font-size: 17px; line-height: 1.4; }
.ha-pain.p-note {
  padding: 34px 16px 18px 40px; background-color: var(--sheet); transform: rotate(1.4deg);
  background-image:
    linear-gradient(to right, transparent 29px, #E6A9A2 29px, #E6A9A2 30px, transparent 30px),
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, #C3D5E7 27px, #C3D5E7 28px);
  background-position: 0 0, 0 30px;
  box-shadow: 0 0 0 1px rgba(21, 26, 23, .06), 0 14px 26px -18px rgba(21, 26, 23, .45);
}
.ha-pain.p-note p { font: 600 clamp(25px, 2vw, 29px)/28px var(--font-hand); color: #23241C; }

/* Servicios: forma continua, como la que imprimía el sistema del contador */
.sheet {
  --feed: 36px;
  --cols: minmax(0, .95fr) minmax(0, 1.75fr) minmax(0, .8fr);
  position: relative;
  background: var(--sheet);
  padding: 0 var(--feed);
  box-shadow: 0 0 0 1px rgba(21, 26, 23, .12), 0 30px 60px -48px rgba(21, 26, 23, .5);
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--feed);
  background: radial-gradient(circle at 50% 50%, var(--paper) 0 5px, rgba(21, 26, 23, .2) 5.6px, transparent 6.4px) 0 4px / 100% 24px repeat-y;
}
.sheet::before { left: 0; border-right: 1px dashed rgba(21, 26, 23, .22); }
.sheet::after { right: 0; border-left: 1px dashed rgba(21, 26, 23, .22); }
.sheet-head {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 20px 28px 16px;
  border-bottom: 1.5px solid var(--ink);
  font: 500 12px/1.2 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--graphite);
}
.sheet-cols {
  display: grid; grid-template-columns: var(--cols); gap: 40px;
  padding: 12px 28px 10px;
  font: 500 11px/1.2 var(--font-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--graphite);
}
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc-row {
  display: grid; grid-template-columns: var(--cols); gap: 12px 40px;
  padding: 30px 28px 34px;
}
.svc-row:nth-child(odd) { background: var(--stripe); }
/* Toda la fila lleva a su página, no solo el título: la liga del título se estira
   sobre la fila con ::before. La flecha dice que es una liga. */
.svc-row { position: relative; }
.svc-row h3 a::before { content: ""; position: absolute; inset: 0; }
.svc-row h3 a::after { content: " →"; color: var(--ledger); }
.svc-row:hover { box-shadow: inset 3px 0 0 var(--ledger); }
.svc-row h3 {
  margin: 0;
  font: 600 clamp(1.35rem, 1.1rem + .7vw, 1.75rem)/1.1 var(--font-display);
  letter-spacing: -.015em;
  text-wrap: balance;
}
.svc-row h3 a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  transition: background-size .25s ease;
  padding-bottom: 2px;
}
.svc-row h3 a:hover, .svc-row:hover h3 a { background-size: 100% 1.5px; }
.tag {
  display: inline-block; vertical-align: 4px; margin-left: 8px;
  padding: 5px 7px; border-radius: 2px;
  font: 600 11.5px/1 var(--font-body); letter-spacing: 0;
  background: var(--ledger); color: var(--paper);
}
.svc-row p { margin: 0; max-width: 37em; font-size: 17px; line-height: 1.55; }
.fields { list-style: none; margin: 0; padding: 0; font: 400 13px/1.75 var(--font-mono); color: var(--graphite); }
html.ha-print .svc-row { clip-path: inset(0 100% 0 0); transition: clip-path .85s cubic-bezier(.22, .8, .24, 1); }
html.ha-print .svc-row.in { clip-path: inset(0 0 0 0); }
.ha-industria {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px;
  margin: 28px 0 0; padding: 18px 0 0; border-top: 1px solid var(--rule);
  font-size: 17px;
}
.ha-industria b { font-weight: 600; }
.ha-industria a { color: var(--ledger); font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }

/* Casos: el portafolio del sitio, con la paleta de A */
body.home-a #portfolio { padding: clamp(80px, 10vw, 150px) var(--gut) clamp(72px, 9vw, 130px); max-width: 1440px; margin: 0 auto; }
body.home-a #portfolio .eyebrow { font: 500 12px/1.3 var(--font-mono); letter-spacing: .09em; color: var(--ledger); }
body.home-a #portfolio h2 { margin-bottom: 18px; }
body.home-a #portfolio .lede { color: var(--graphite); }
body.home-a .filter-chips .chip { border-radius: 3px; font-family: var(--font-mono); font-size: 12.5px; }
body.home-a .filter-chips .chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
body.home-a .projects > a { border-radius: 4px; }
body.home-a .projects h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.015em; }

/* Nosotros */
.ha-about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px 72px; align-items: start; }
.ha-about h2 { margin: 0; font: 700 clamp(2rem, 1.2rem + 2.4vw, 3.5rem)/1.02 var(--font-display); letter-spacing: -.026em; text-wrap: balance; }
.ha-about .txt p { margin: 0 0 18px; font-size: 17px; line-height: 1.6; max-width: 38em; }
.ha-tape {
  list-style: none; margin: 34px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1.5px solid var(--ink); border-bottom: 1px solid var(--rule);
}
.ha-tape li { padding: 16px 14px 18px 0; min-width: 0; }
.ha-tape li + li { padding-left: 16px; border-left: 1px dotted rgba(21, 26, 23, .3); }
.ha-tape strong { display: block; font: 600 clamp(1.7rem, 1.2rem + 1.2vw, 2.4rem)/1 var(--font-mono); letter-spacing: -.02em; color: var(--ledger); }
.ha-tape span { display: block; margin-top: 8px; font-size: 14px; line-height: 1.4; color: var(--graphite); }

/* Proceso: cinco renglones del libro */
.ha-steps { list-style: none; margin: 0; padding: 0; border-top: 1.5px solid var(--ink); counter-reset: step; }
.ha-steps li {
  counter-increment: step;
  display: grid; grid-template-columns: 64px minmax(0, .9fr) minmax(0, 2fr); gap: 8px 32px;
  padding: 22px 16px 24px; border-bottom: 1px solid var(--rule);
}
.ha-steps li:nth-child(even) { background: var(--stripe); }
.ha-steps li::before { content: counter(step, decimal-leading-zero); font: 500 13px/1.9 var(--font-mono); color: var(--ledger); }
.ha-steps strong { font: 600 clamp(1.25rem, 1.05rem + .5vw, 1.55rem)/1.15 var(--font-display); letter-spacing: -.012em; }
.ha-steps span { font-size: 17px; line-height: 1.55; max-width: 40em; }

/* Preguntas: el componente .faq del sitio */
body.home-a #faq { max-width: 1040px; margin: 0 auto; padding: 0 var(--gut) clamp(80px, 10vw, 140px); }
body.home-a #faq h2 { margin-bottom: 28px; }
body.home-a .faq details { border-color: var(--rule); }
body.home-a .faq summary { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; }

/* Cierre: banda verde libro, con borde de papel arrancado */
.ha-close {
  position: relative;
  background: repeating-linear-gradient(to bottom, rgba(245, 246, 241, .022) 0, rgba(245, 246, 241, .022) 36px, transparent 36px, transparent 72px) 0 9px, var(--ledger);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0 clamp(80px, 9vw, 120px);
}
.ha-close::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 9px;
  background:
    linear-gradient(135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 9px repeat-x,
    linear-gradient(-135deg, var(--paper) 50%, transparent 50%) 0 0 / 14px 9px repeat-x;
}
.ha-close-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px 72px; align-items: end; }
.ha-close p { margin: 0 0 28px; max-width: 30em; font-size: clamp(1.05rem, .98rem + .25vw, 1.2rem); color: #E4ECE6; }
.ha-close .alt { margin: 18px 0 0; font-size: 15px; }
.ha-close .alt a { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.ha-close :focus-visible { outline-color: var(--paper); }

/* -------------------------------------------------------- anchos medios */
@media (max-width: 1199px) and (min-width: 861px) {
  body.home-a { --k: .8; }
  .ha-hero .panel { --modw: 104px; --stw: 100px; }
  .ha-hero .rec { font-size: 13px; }
  .ha-hero .psearch, .ha-hero .ph-t span, .ha-hero .det, .ha-hero .pcols span:nth-child(3) { display: none; }
  .ha-hero .rin { grid-template-columns: minmax(0, 1fr) var(--stw); }
  .ha-hero .pcols { grid-template-columns: calc(var(--modw) - 12px) minmax(0, 1fr) var(--stw); }
  .ha-pains { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
}
/* escritorios más bajos o angostos: la nota de Lupita sale de encima del título */
@media (min-width: 861px) and (max-width: 1199px), (min-width: 861px) and (max-height: 820px) {
  .desk .art[data-id="pi3"] { --x: 71%; --y: 17%; --r: 5deg; }
}
/* anchos medios: el WhatsApp de Rafa se aparta del subtítulo */
@media (min-width: 861px) and (max-width: 1199px) {
  .desk .art[data-id="wa1"] { --x: 66%; --y: 40%; }
}
/* ventanas bajas: el bloque del título cabe completo y la pista no pisa los botones */
@media (min-width: 861px) and (max-height: 700px) {
  .ha-hero .hint, .ha-hero .g1 .cta-note { display: none; }
  .ha-eyebrow { margin-bottom: 10px; }
  .ha-hero h1 { font-size: clamp(2.2rem, 1rem + 2.8vw, 3.4rem); margin-bottom: 14px; }
  .ha-hero .sub { font-size: 1rem; margin-bottom: 20px; }
  .ha-hero .copy { padding-bottom: 0; }
  /* la guía y el SPEI de abajo se corren para no tapar los botones */
  .desk .art[data-id="guia"] { --x: 62%; }
  .desk .art[data-id="spei"] { --x: 50%; }
}

/* ------------------------------------------------------------------ teléfono */
@media (max-width: 860px) {
  body.home-a { --hh: 62px; --gut: 20px; --k: .6; }
  body.home-a .brand { font-size: 22px; }

  .art { --x: var(--mx); --y: var(--my); --r: var(--mr); --ms: 30px; }
  .m-hide { display: none !important; }

  .ha-hero .copy { left: var(--gut); right: var(--gut); width: auto; top: 22px; bottom: auto; align-items: start; padding: 0; }
  /* en pantallas bajas los papeles llegan a la altura de los botones: el bloque del
     título es una hoja encima del escritorio y los papeles pasan por debajo */
  .ha-hero .g1 { background: var(--paper); box-shadow: 0 0 0 10px var(--paper), 0 22px 18px 4px var(--paper); }
  .ha-eyebrow { margin-bottom: 10px; font-size: 11.5px; }
  .ha-hero h1 { font-size: clamp(2.2rem, 1.2rem + 4.6vw, 2.9rem); margin-bottom: 14px; letter-spacing: -.028em; }
  .ha-hero .sub { font-size: 16px; margin-bottom: 20px; }
  .ha-hero .ctas { flex-direction: column; gap: 12px; }
  .ha-hero .cta { grid-template-columns: 1fr; gap: 6px; }
  .ha-hero .cta .btn { width: 100%; min-height: 50px; }
  .ha-hero .cta-note { font-size: 12.5px; }
  .ha-hero .stmt { font-size: clamp(1.9rem, 1.1rem + 3.6vw, 2.4rem); }
  .ha-hero .s3 .after, .ha-hero .s3 .cta-note { display: none; }
  .ha-hero .hint { display: none; }

  .ha-hero .panel-wrap { left: 16px; right: 16px; width: auto; top: 214px; bottom: 16px; align-items: flex-start; padding: 0; }
  .ha-hero .panel { --rowh: clamp(26px, 3.7svh, 32px); }
  .ha-hero .ph { padding: 11px 14px 10px; }
  .ha-hero .ph-t { flex-direction: column; gap: 5px; }
  .ha-hero .ph-t b { font-size: 17px; }
  .ha-hero .ph-t span, .ha-hero .ph-count { font-size: 10.5px; }
  .ha-hero .psearch, .ha-hero .pcols { display: none; }
  .ha-hero .grp { display: block; }
  .ha-hero .glabel { padding: 8px 14px 3px; font-size: 13px; }
  .ha-hero .rin { grid-template-columns: minmax(0, 1fr) auto; padding: 0 12px 0 14px; }
  .ha-hero .det { display: none; }
  .ha-hero .rec { font-size: 13px; }
  .ha-hero .row::before { left: 14px; width: 52%; }
  .ha-hero .row::after { right: 12px; }

  .ha-intro, .ha-about, .ha-close-grid { grid-template-columns: 1fr; }
  .ha-pains { grid-template-columns: 1fr; gap: 26px; padding: 0 6px; }
  .ha-needs { grid-template-columns: 1fr; }
  .ha-needs li:not(:nth-child(3n + 1)) { border-left: 0; }
  .ha-needs a { padding: 18px 4px 20px; }
  .sheet { --feed: 16px; }
  .sheet::before, .sheet::after { background: radial-gradient(circle at 50% 50%, var(--paper) 0 3.2px, rgba(21,26,23,.2) 3.7px, transparent 4.3px) 0 4px / 100% 18px repeat-y; }
  .sheet-head { padding: 14px 16px 12px; font-size: 10.5px; }
  .sheet-cols { display: none; }
  .svc-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 16px 26px; }
  .svc-row p { font-size: 16px; }
  .fields { display: flex; flex-wrap: wrap; gap: 0 7px; font-size: 12px; line-height: 1.6; }
  .fields li:not(:last-child)::after { content: "·"; margin-left: 7px; }
  .tag { vertical-align: 3px; }
  .ha-tape { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ha-tape li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ha-tape li:nth-child(n+3) { border-top: 1px dotted rgba(21, 26, 23, .3); }
  .ha-steps li { grid-template-columns: 44px minmax(0, 1fr); }
  .ha-steps li span { grid-column: 2; font-size: 16px; }
  .ha-close .btn { width: 100%; }
}
@media (max-width: 860px) and (max-height: 740px) {
  .art { --ms: 96px; }
}

/* --------------------------------------------------- movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  .ha-hero { height: auto; }
  .ha-hero .stage { position: relative; height: auto; overflow: visible; padding: calc(var(--hh) + 56px) 0 88px; }
  .ha-hero .desk, .ha-hero .hint { display: none; }
  .ha-hero .frame { position: relative; inset: auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 72px; padding: 0 var(--gut); align-items: start; }
  .ha-hero .copy { order: -1; position: relative; inset: auto; width: auto; display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding: 0; }
  .ha-hero .blk, .ha-hero .s2, .ha-hero .s2b, .ha-hero .s3 { opacity: 1 !important; visibility: visible !important; transform: none !important; }
  .ha-hero .s2, .ha-hero .s2b, .ha-hero .s3 { border-top: 1px solid var(--rule); padding-top: 26px; }
  .ha-hero .s2 .stmt, .ha-hero .s2b .stmt, .ha-hero .s3 .stmt { font-size: clamp(1.6rem, 1.15rem + 1.3vw, 2.4rem); }
  .ha-hero .panel-wrap { position: relative; inset: auto; width: auto; display: block; padding: 76px 0 0; }
  .ha-hero .panel { opacity: 1 !important; transform: none !important; }
  .ha-hero .rin, .ha-hero .rin .ha-chip, .ha-hero .ph-ok { opacity: 1 !important; clip-path: none !important; transform: none !important; }
  .rm-arts { display: block; position: absolute; inset: 0; pointer-events: none; }
  .rm-arts .art { left: calc(var(--rx) - var(--w) / 2); top: calc(var(--ry) - var(--h) / 2); transform: rotate(var(--rr)) scale(var(--rk, .8)); }
  .rm-arts .art.behind { z-index: -1; }
  .rm-arts .tint { display: none; }
  .btn svg, .svc-row h3 a { transition: none; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 860px) {
  .ha-hero .stage { padding-top: calc(var(--hh) + 32px); padding-bottom: 64px; }
  .ha-hero .frame { grid-template-columns: 1fr; gap: 40px; }
  .ha-hero .panel-wrap { padding: 20px 0 64px; }
  .rm-arts .art { --rk: .56; }
  .rm-arts .art.behind { display: none; }
  .rm-arts .postit { --rx: 86% !important; --ry: 104% !important; --rr: -6deg !important; }
  .rm-arts .wa.in { --rx: 22% !important; --ry: 103% !important; }
  .rm-arts .wa.out { --rx: 42% !important; --ry: 108% !important; }
}
