/* One Graphics — estilos. Colores y tipografía en :root para cambiarlos en un solo lugar. */

/* Fuentes servidas desde el propio sitio (licencia SIL OFL) */
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-standard-5.2.6.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("../assets/fonts/jetbrains-mono-latin-wght-5.2.6.woff2") format("woff2");
  font-weight: 100 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Identidad */
  --ink: #0F1B33;        /* azul tinta */
  --ink-0: #0A1326;      /* fondo base, un tono más profundo */
  --ink-2: #16284A;
  --ink-3: #1F3560;
  --paper: #F3F6FA;      /* texto principal sobre oscuro */
  --vinyl: #F5C400;      /* amarillo vinil */
  --stitch: #D9431F;     /* naranja costura */
  --stitch-l: #FF7A59;   /* naranja claro para texto y líneas sobre oscuro (AA) */
  --wa: #005C4B;         /* burbuja enviada de la demo de WhatsApp */

  --muted: #A9B6CF;
  --line: rgba(195, 206, 227, .14);
  --line-2: rgba(195, 206, 227, .26);
  --grid: rgba(140, 170, 230, .07);

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --radius: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink-0);
  color: var(--paper);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Cuadrícula tipo blueprint, fija y muy sutil */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 100%);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--vinyl); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--vinyl); color: var(--ink); padding: .7rem 1rem; z-index: 100; font-weight: 700; }
.skip:focus { left: 0; }

.wrap { width: min(1200px, 100% - 2rem); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .02em; }

h1, h2, h3 { font-family: var(--font); margin: 0; line-height: 1.05; letter-spacing: -.015em; }
h1 { font-weight: 850; font-stretch: 125%; font-size: clamp(2.3rem, 5.6vw, 4.8rem); }
h2 { font-weight: 800; font-stretch: 118%; font-size: clamp(1.75rem, 3.6vw, 2.9rem); }
h3 { font-weight: 750; font-stretch: 110%; font-size: 1.3rem; line-height: 1.2; letter-spacing: -.005em; }
p { margin: 0 0 1em; max-width: 62ch; }

.eyebrow {
  font-family: var(--mono); font-size: .8rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--vinyl); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .6rem;
}
.eyebrow .idx { color: var(--ink-0); background: var(--vinyl); padding: .1rem .4rem; border-radius: 3px; font-weight: 700; }
.eyebrow--ink { color: var(--ink); }
.eyebrow--ink .idx { background: var(--ink); color: var(--vinyl); }

/* ---------- Botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem;
  background: var(--vinyl); color: var(--ink);
  font-weight: 750; font-stretch: 105%; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid var(--vinyl); border-radius: 6px;
  box-shadow: 4px 4px 0 var(--stitch);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s, border-color .18s;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--stitch); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--stitch); }
.btn .i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; flex: none; }
.btn--small { min-height: 44px; padding: .5rem 1rem; box-shadow: 3px 3px 0 var(--stitch); }
.btn--ghost { background: transparent; color: var(--paper); border: 1px solid var(--line-2); box-shadow: none; }
.btn--ghost:hover { border-color: var(--vinyl); box-shadow: none; transform: none; color: var(--vinyl); }
.btn--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--big { font-size: 1.15rem; min-height: 56px; padding: 1rem 1.7rem; }
.btn--block { width: 100%; }
.link { font-weight: 650; text-underline-offset: 4px; text-decoration-thickness: 2px; }

/* ---------- Cabecera ---------- */
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(10, 19, 38, .92);
  border-bottom: 1px solid var(--line);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .top { background: rgba(10, 19, 38, .72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}
.top__row { display: flex; align-items: center; justify-content: space-between; min-height: 4rem; gap: 1rem; }
.wordmark {
  font-weight: 900; font-stretch: 125%; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; white-space: nowrap;
  display: inline-flex; align-items: center; min-height: 44px;
}
.nav { display: flex; align-items: center; gap: .4rem; }
.nav a:not(.btn) {
  text-decoration: none; font-weight: 600; font-size: .98rem; color: var(--muted);
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 .7rem; border-radius: 6px;
  transition: color .15s, background-color .15s;
}
.nav a:not(.btn):hover { color: var(--paper); background: rgba(255, 255, 255, .05); }
.nav .btn { margin-left: .6rem; }
.menu-btn {
  display: none; align-items: center; gap: .6rem; min-height: 44px; min-width: 44px; padding: 0 .9rem;
  font: inherit; font-weight: 700; color: var(--paper); background: transparent;
  border: 1px solid var(--line-2); border-radius: 6px; cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s var(--ease);
}
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Inicio ---------- */
.hero { position: relative; padding-block: clamp(3rem, 7vw, 6.5rem) clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; pointer-events: none;
  background:
    radial-gradient(closest-side, rgba(245, 196, 0, .16), transparent 70%),
    radial-gradient(closest-side at 30% 70%, rgba(217, 67, 31, .14), transparent 70%);
}
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); margin-top: 1.5rem; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2rem; }
.tags { list-style: none; margin: 2.2rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li {
  font-family: var(--mono); font-size: .76rem; color: var(--muted);
  border: 1px solid var(--line); border-radius: 999px; padding: .3rem .75rem;
}
.tags li::before { content: "● "; color: var(--vinyl); font-size: .6rem; vertical-align: .15em; }

/* Tablero del hero */
.board {
  border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(180deg, rgba(31, 53, 96, .55), rgba(15, 27, 51, .85));
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(245, 196, 0, .05) inset;
}
.board__bar {
  display: flex; align-items: center; gap: .9rem; padding: .7rem 1rem; border-bottom: 1px solid var(--line); color: var(--muted);
}
.board__bar .mono { font-size: .72rem; }
.board__status { margin-left: auto; display: inline-flex; align-items: center; gap: .4rem; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: #3DDC97; box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); }
.board__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; padding: .9rem; }
.tile {
  position: relative; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .4rem;
  aspect-ratio: 1 / .92; padding: .7rem; border-radius: 10px;
  background: rgba(10, 19, 38, .6); border: 1px solid var(--line);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.tile.is-active { border-color: rgba(245, 196, 0, .7); box-shadow: 0 0 0 1px rgba(245, 196, 0, .25), 0 0 28px -6px rgba(245, 196, 0, .35); }
.tile__label { color: var(--vinyl); font-size: .68rem; }
.tile__meta { color: var(--muted); font-size: .64rem; }
.tile__art { flex: 1; min-height: 0; width: 100%; height: 100%; }

.vec-shape { fill: var(--ink-3); stroke: var(--vinyl); stroke-width: 2.2; }
.vec-handles line { stroke: var(--muted); stroke-width: 1; opacity: .7; }
.vec-handles circle { fill: var(--ink-0); stroke: var(--paper); stroke-width: 1.4; }
.vec-handles rect { fill: var(--vinyl); }

.j-body { fill: var(--ink-3); stroke: rgba(195, 206, 227, .35); stroke-width: 2; }
.j-num { font-family: var(--font); font-weight: 900; font-size: 150px; fill: var(--vinyl); }
.j-stitch { fill: none; stroke: var(--stitch-l); stroke-width: 3; stroke-dasharray: 10 8; }
.dims { fill: none; stroke: var(--stitch-l); stroke-width: 4; stroke-linecap: round; }

.post { fill: var(--paper); }
.post__img { fill: var(--ink-3); }
.post__sun { fill: var(--vinyl); }
.post__hill { fill: var(--stitch); }
.post__h { fill: var(--ink); }
.post__t { fill: #9AA6BD; }

.mini-chat { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: .35rem; font-size: .66rem; line-height: 1.3; }
.mini-chat .b { max-width: 88%; padding: .35rem .5rem; border-radius: 8px; }
.mini-chat .b--in { background: var(--ink-3); align-self: flex-start; border-bottom-left-radius: 2px; }
.mini-chat .b--out { background: var(--wa); align-self: flex-end; border-bottom-right-radius: 2px; }

/* ---------- Secciones ---------- */
.section { position: relative; padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: linear-gradient(180deg, rgba(22, 40, 74, .45), rgba(22, 40, 74, .15)); border-block: 1px solid var(--line); }
.head { margin-bottom: clamp(2rem, 4vw, 3.2rem); max-width: 760px; }
.head h2 { margin-bottom: .9rem; }
.sub { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Servicios */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .8rem;
  padding: clamp(1.3rem, 2.4vw, 1.8rem); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(31, 53, 96, .5), rgba(15, 27, 51, .6));
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 196, 0, .13), transparent 60%);
}
.card h3 { font-size: clamp(1.25rem, 1.9vw, 1.5rem); }
.card p { margin: 0; color: var(--muted); }
.card--feature { grid-column: span 2; }
.card--feature h3 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: .6rem; }
.card__n { color: var(--muted); }
.icon { width: 44px; height: 44px; fill: none; stroke: var(--vinyl); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.chips { list-style: none; margin: auto 0 0; padding: .6rem 0 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { font-family: var(--mono); font-size: .72rem; color: var(--paper); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); border-radius: 5px; padding: .2rem .55rem; }
@media (hover: hover) {
  .card:hover { transform: translateY(-4px); border-color: rgba(245, 196, 0, .45); }
  .card:hover::before { opacity: 1; }
}

/* Técnicas textiles (bloque compacto) */
.textile {
  margin-top: 1rem; padding: 1.2rem clamp(1.2rem, 2.4vw, 1.8rem); border-radius: var(--radius);
  border: 1px dashed var(--line-2);
  display: grid; grid-template-columns: auto 1fr; gap: .8rem 2rem; align-items: center;
}
.textile__title { margin: 0; color: var(--vinyl); text-transform: uppercase; letter-spacing: .06em; }
.textile__list { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem 1.4rem; }
.textile__list dt { font-weight: 750; font-stretch: 110%; }
.textile__list dd { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.45; }
.textile__note { grid-column: 2; margin: 0; font-size: .92rem; color: var(--paper); }
.textile__note::before { content: "→ "; color: var(--stitch-l); }

/* Automatización */
.auto { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.phone {
  margin: 0; width: 100%; max-width: 400px; justify-self: center;
  border: 1px solid var(--line-2); border-radius: 26px; overflow: hidden;
  background: #0B141A;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8);
  position: relative;
}
.phone__bar { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; background: #1F2C34; }
.phone__bar strong { display: block; font-size: .98rem; line-height: 1.2; }
.phone__state { color: #8696A0; font-size: .68rem; }
.phone__avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink-3); font-weight: 800; font-size: .8rem; color: var(--vinyl); flex: none; }
.badge { margin-left: auto; background: var(--vinyl); color: var(--ink); font-weight: 700; padding: .2rem .5rem; border-radius: 4px; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; }
.chat {
  list-style: none; margin: 0; padding: 1rem .9rem;
  min-height: 430px; display: flex; flex-direction: column; justify-content: flex-end; gap: .5rem;
  background-color: #0B141A;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 14px 14px;
}
.msg { max-width: 84%; padding: .5rem .75rem; border-radius: 10px; font-size: .92rem; line-height: 1.4; color: #E9EDEF; }
.msg--in { background: #202C33; align-self: flex-start; border-top-left-radius: 2px; }
.msg--out { background: var(--wa); align-self: flex-end; border-top-right-radius: 2px; }
.msg.is-hidden { display: none; }
.typing { display: none; align-self: flex-end; gap: 4px; padding: .7rem .8rem; background: var(--wa); border-radius: 10px; border-top-right-radius: 2px; }
.typing.is-on { display: inline-flex; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #CFE9E1; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .3; } 40% { opacity: 1; } }
.phone__cap {
  margin: 0; padding: .5rem .6rem .5rem 1rem; color: #8696A0; background: #111B21; border-top: 1px solid rgba(255, 255, 255, .06); font-size: .7rem;
  display: flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 60px;
}
.replay[hidden] { display: none; }
.replay {
  flex: none; min-height: 44px; padding: 0 .9rem;
  background: rgba(31, 44, 52, .95); color: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; cursor: pointer; font-size: .72rem;
}
.replay:hover { border-color: var(--vinyl); }

.flow { position: relative; padding-top: .4rem; }
.flow__title { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 1.6rem; }
.flow__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.node {
  position: relative; padding: 1rem 1.2rem 1.1rem 1.2rem; margin-left: 2.4rem;
  border: 1px solid var(--line); border-radius: 12px; background: rgba(10, 19, 38, .55);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.node h3 { font-size: 1.12rem; margin: .25rem 0 .3rem; }
.node p { margin: 0; color: var(--muted); font-size: .95rem; }
.node__k { color: var(--stitch-l); text-transform: uppercase; letter-spacing: .08em; font-size: .68rem; }
.node__dot {
  position: absolute; left: calc(-2.4rem + 4px); top: 1.25rem; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink-0); border: 2px solid var(--vinyl); box-shadow: 0 0 14px rgba(245, 196, 0, .55);
  transition: background-color .3s, box-shadow .3s, border-color .3s;
}
.node.is-on { border-color: rgba(245, 196, 0, .35); background: rgba(31, 53, 96, .45); }
.node.is-on .node__dot { background: var(--vinyl); }
.flow__line { position: absolute; left: 11px; top: 4.4rem; bottom: 2rem; width: 2px; background: var(--line); }
.flow__fill { position: absolute; inset: 0; background: linear-gradient(var(--vinyl), var(--stitch-l)); transform-origin: top; }
.js .flow.is-anim .node:not(.is-on) .node__dot { background: var(--ink-0); border-color: var(--line-2); box-shadow: none; }

/* Paquetes */
.packs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pack {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; gap: .9rem;
  padding: clamp(1.3rem, 2.4vw, 1.7rem); border-radius: var(--radius);
  background: rgba(15, 27, 51, .75); border: 1px solid var(--line);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.pack::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s var(--ease);
  background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(245, 196, 0, .1), transparent 60%);
}
.pack h3 { font-size: 1.4rem; }
.pack__n { margin: 0; color: var(--vinyl); text-transform: uppercase; letter-spacing: .08em; }
.pack__for { margin: 0; color: var(--muted); font-size: .97rem; }
.pack__for .mono { display: block; color: var(--paper); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .2rem; font-size: .68rem; }
.pack__list { list-style: none; margin: .2rem 0 .6rem; padding: .9rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .5rem; font-size: .97rem; }
.pack__list li { position: relative; padding-left: 1.6rem; }
.pack__list li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1rem; height: 1rem; border-radius: 4px;
  background: rgba(245, 196, 0, .14);
  box-shadow: inset 0 0 0 1px rgba(245, 196, 0, .5);
}
.pack__list li::after {
  content: ""; position: absolute; left: .34rem; top: .5em; width: .32rem; height: .55rem;
  border: solid var(--vinyl); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pack .btn { margin-top: auto; }
.pack--hl { border-color: rgba(245, 196, 0, .45); background: linear-gradient(180deg, rgba(245, 196, 0, .08), rgba(15, 27, 51, .8) 45%); }
.pack--combo { background: var(--vinyl); color: var(--ink); border-color: var(--vinyl); }
.pack--combo .pack__n { color: var(--ink); }
.pack--combo p { color: var(--ink); margin: 0; }
.pack--combo .btn { box-shadow: 4px 4px 0 var(--stitch); }
@media (hover: hover) {
  .pack:hover { transform: translateY(-4px); border-color: rgba(245, 196, 0, .45); }
  .pack:hover::before { opacity: 1; }
  .pack--combo:hover { border-color: var(--vinyl); }
}
.note { margin: 1.6rem 0 0; color: var(--muted); font-family: var(--mono); font-size: .8rem; }
.note::before { content: "* "; color: var(--stitch-l); }

/* Proceso */
.steps-wrap { position: relative; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.6rem; position: relative; }
.steps li { position: relative; padding-top: 4rem; }
.step__n {
  position: absolute; top: 0; left: 0; width: 3rem; height: 3rem; display: grid; place-items: center;
  background: var(--ink-0); border: 1px solid var(--vinyl); border-radius: 10px; color: var(--vinyl); font-size: .9rem; font-weight: 700;
}
.steps h3 { margin-bottom: .5rem; }
.steps p { color: var(--muted); font-size: 1rem; margin: 0; }
.steps__line { position: absolute; top: 1.5rem; left: 0; right: calc(25% - 1.2rem); height: 2px; background: var(--line); }
.steps__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--vinyl), var(--stitch-l)); transform-origin: left; }

/* Preguntas */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 2rem 4rem; align-items: start; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; min-height: 56px; padding: .8rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-weight: 700; font-stretch: 108%; font-size: 1.12rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; flex: none; width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 6px; font-family: var(--mono); font-size: 1.1rem; color: var(--vinyl);
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--vinyl); }
.faq details p { margin: 0 0 1.1rem; color: var(--muted); }

/* Contacto */
.contact { padding-block: clamp(3rem, 7vw, 5.5rem); }
.contact__box {
  background: var(--vinyl); color: var(--ink); border-radius: calc(var(--radius) + 6px);
  padding: clamp(1.6rem, 5vw, 3.5rem);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2rem 3rem; align-items: center;
  background-image:
    linear-gradient(rgba(15, 27, 51, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 27, 51, .07) 1px, transparent 1px);
  background-size: 28px 28px;
}
.contact__box h2 { margin-bottom: 1rem; }
.contact__box p { margin: 0; }
.contact__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.contact__lines { line-height: 2; font-weight: 600; }
.contact__lines .mono { display: inline-block; min-width: 6.5rem; font-weight: 500; opacity: .8; }
.contact .link { display: inline-block; min-height: 44px; line-height: 2; }
.contact :focus-visible { outline-color: var(--ink); }

/* Pie */
.foot { border-top: 1px solid var(--line); padding-block: 1.8rem; font-size: .95rem; color: var(--muted); }
.foot__row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem 2rem; }
.wordmark--foot { font-size: 1rem; color: var(--paper); min-height: 0; }

/* ---------- Movimiento ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pulse { animation: ping 2s infinite; }
  .dim { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .8s var(--ease) forwards; }
  .dim:nth-child(2) { animation-delay: 1s; }
  .dim:nth-child(3) { animation-delay: 1.2s; }
  .dim:nth-child(4) { animation-delay: 1.35s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(61, 220, 151, .6); } 70%, 100% { box-shadow: 0 0 0 8px rgba(61, 220, 151, 0); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .board { max-width: 560px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .packs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .textile { grid-template-columns: 1fr; }
  .textile__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .textile__note { grid-column: auto; }
  .faq { grid-template-columns: 1fr; }
  .faq .head { margin-bottom: 0; }
}
@media (max-width: 860px) {
  .auto { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .steps li { padding: 0 0 0 4.2rem; min-height: 3rem; }
  .steps__line { top: 0; bottom: 0; left: calc(1.5rem - 1px); right: auto; width: 2px; height: auto; }
  .steps__fill { background: linear-gradient(var(--vinyl), var(--stitch-l)); transform-origin: top; }
  .contact__box { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .2rem;
    background: var(--ink-0); padding: .8rem 1rem 1.4rem; border-bottom: 1px solid var(--line);
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { font-size: 1.1rem; color: var(--paper); padding: 0 .4rem; }
  .nav .btn { margin: .6rem 0 0; }
}
@media (max-width: 760px) {
  .services, .packs { grid-template-columns: 1fr; }
  .card--feature { grid-column: auto; }
  .actions .btn { flex: 1 1 100%; }
  .btn--big { width: 100%; }
  .contact__actions { align-items: stretch; }
}
@media (max-width: 420px) {
  .board__grid { gap: .5rem; padding: .6rem; }
  .tile { padding: .55rem; }
  .board__bar .mono:not(.board__status) { display: none; }
  .textile__list { grid-template-columns: 1fr; }
  .chat { min-height: 410px; }
  .msg { font-size: .88rem; }
  .contact__lines .mono { display: block; min-width: 0; line-height: 1.4; margin-top: .4rem; }
}
