/* CALU · Puntades — landing
   Paleta textil: crudo (fondo), tinta, granate (marca), terracota, y el
   hilo dorado como único acento. Fuentes OFL autoalojadas. */

@font-face {
  font-family: 'Fraunces';
  src: url(/assets/fonts/fraunces-soft.woff2) format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url(/assets/fonts/fraunces-italic.woff2) format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url(/assets/fonts/instrument-sans.woff2) format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #f6efe3;
  --paper: #fbf8f2;
  --linen: #efe5d4;
  --fabric: #f0e4d6;
  --ink: #231c25;
  --ink-2: #554750;
  --berry: #8a1f43;
  --berry-2: #6e1634;
  --berry-tint: #f3e3e6;
  --terra: #c0552f;
  --gold: #e2a23b;
  --gold-2: #b77d1c;
  --line: #dccdb6;
  --wood: #b98450;
  --radius: 14px;
  --shadow: 0 1px 0 rgba(35, 28, 37, .04), 0 10px 30px -12px rgba(60, 30, 20, .28);
  --serif: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--cream);
  /* Trama de lino muy suave */
  background-image:
    repeating-linear-gradient(0deg, rgba(35, 28, 37, .022) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(35, 28, 37, .018) 0 1px, transparent 1px 5px);
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--berry); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--berry-2); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0; font-variation-settings: 'SOFT' 100; text-wrap: balance; }
p { margin: 0 0 1em; }
b, strong { font-weight: 650; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap--narrow { --wrap: 820px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: var(--cream); padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; letter-spacing: .005em;
  border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 6px 16px -8px rgba(138, 31, 67, .8); }
.btn-primary:hover { background: var(--berry-2); color: #fff; }
.btn-primary { outline: 1.5px dashed rgba(255, 255, 255, .55); outline-offset: -6px; }
.btn-primary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--berry-2); outline: 1.5px dashed rgba(138, 31, 67, .45); outline-offset: -6px; }
.btn-light:hover { background: #fff; color: var(--berry-2); }
.btn-sm { min-height: 40px; padding: .45rem 1rem; font-size: .95rem; }
.btn-block { width: 100%; }

/* ---------- Cabecera ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 239, 227, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(35, 28, 37, .08);
}
.header-in { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--berry); text-decoration: none; }
.brand:hover { text-decoration: none; color: var(--berry); }
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-needle { stroke: var(--ink); }
.brand--light .logo-needle { stroke: var(--cream); }
.brand-word { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); display: inline-flex; align-items: baseline; gap: .3rem; font-variation-settings: 'SOFT' 100; }
.brand-word b { font-weight: 750; letter-spacing: .06em; color: var(--berry); }
.brand-word i { font-weight: 500; }
.brand-dot { color: var(--gold-2); font-weight: 700; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: .25rem; margin: 0; padding: 0; }
.main-nav a { display: block; padding: .5rem .7rem; color: var(--ink); text-decoration: none; font-weight: 550; border-radius: 8px; }
.main-nav a:hover { color: var(--berry); background-image: linear-gradient(90deg, var(--berry) 55%, transparent 0); background-size: 8px 2px; background-repeat: repeat-x; background-position: 0 85%; }
.header-cta { display: flex; gap: .5rem; }
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .45rem; min-height: 40px; padding: .45rem .8rem; border-radius: 999px; font-weight: 600; color: var(--ink); border: 2px solid transparent; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary::before { content: ''; width: 18px; height: 12px; background: linear-gradient(var(--ink) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--ink) 0 0) bottom / 100% 2px no-repeat; }
.mnav[open] summary { border-color: var(--line); background: var(--paper); }
.mnav ul { list-style: none; margin: 0; padding: .5rem; position: absolute; right: 0; top: calc(100% + .5rem); width: min(80vw, 280px); background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid; gap: .1rem; }
.mnav li a { display: block; padding: .7rem .9rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 550; }
.mnav li a:hover { background: var(--berry-tint); }
.mnav li.mnav-cta a { margin-top: .3rem; background: var(--berry); color: #fff; text-align: center; }

/* ---------- Tipos comunes ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font: 650 .82rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: repeating-linear-gradient(90deg, currentColor 0 5px, transparent 5px 8px); }
.eyebrow--light { color: var(--gold); }

/* Subrayado en satén: puntadas paralelas e inclinadas de hilo dorado */
.satin {
  background-image:
    repeating-linear-gradient(118deg, var(--gold) 0 2.2px, #c98c25 2.2px 3px, #f0bf5f 3px 3.6px);
  background-size: 100% .26em;
  background-repeat: no-repeat;
  background-position: 0 94%;
  padding-bottom: .04em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.satin--terra { background-image: repeating-linear-gradient(118deg, #d36a43 0 2.2px, #a8462a 2.2px 3px, #e6875f 3px 3.6px); }

/* Separador en pespunte */
.stitch-rule {
  height: 18px; width: 100%;
  background:
    repeating-linear-gradient(90deg, var(--terra) 0 14px, transparent 14px 22px) center / 100% 2.5px no-repeat;
  opacity: .75;
}
.stitch-rule--light { background: repeating-linear-gradient(90deg, rgba(246, 239, 227, .45) 0 14px, transparent 14px 22px) center / 100% 2px no-repeat; }

/* ---------- Portada ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.35rem, 5.2vw, 4.35rem); margin-bottom: 1.4rem; }
.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0 1.75rem; }
.formats { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0; }
.formats li {
  position: relative; font: 650 .85rem/1 var(--sans); letter-spacing: .08em;
  padding: .45rem .7rem .45rem 1.3rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px 999px 999px 4px;
}
.formats li::before { content: ''; position: absolute; left: .5rem; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink-2); }

.hero-art { position: relative; width: 100%; max-width: 580px; margin-inline: auto; aspect-ratio: 1 / 1.02; }
.hoop { position: absolute; right: 0; top: 0; width: 80%; aspect-ratio: 400 / 430; }
.hoop-fabric {
  position: absolute; left: 4.5%; right: 4.5%; top: 10.6%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background-color: var(--fabric);
  background-image: repeating-linear-gradient(45deg, rgba(120, 90, 60, .05) 0 1px, transparent 1px 3px), repeating-linear-gradient(-45deg, rgba(120, 90, 60, .05) 0 1px, transparent 1px 3px);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .06), inset 0 10px 30px rgba(80, 50, 20, .14);
}
.hoop-fabric img { width: 80%; filter: drop-shadow(0 1px 1px rgba(60, 30, 10, .25)); }
.hoop-ring { position: absolute; inset: 0; width: 100%; filter: drop-shadow(0 12px 18px rgba(60, 35, 15, .28)); }
.polaroid {
  position: absolute; left: 0; bottom: 8%; width: 40%; margin: 0;
  background: #fff; padding: 3.2% 3.2% 0; border-radius: 3px;
  box-shadow: 0 16px 30px -12px rgba(35, 20, 15, .45), 0 2px 4px rgba(35, 20, 15, .12);
  transform: rotate(-7deg);
}
.polaroid::before { /* cinta adhesiva */
  content: ''; position: absolute; left: 30%; top: -12px; width: 40%; height: 24px;
  background: rgba(226, 162, 59, .55); transform: rotate(3deg);
  background-image: repeating-linear-gradient(90deg, rgba(255, 255, 255, .25) 0 3px, transparent 3px 6px);
}
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { font: italic 500 clamp(.8rem, 1.4vw, .98rem)/1.2 var(--serif); padding: .65em .2em .8em; text-align: center; color: var(--ink-2); }
.tag-label {
  position: absolute; right: 2%; bottom: 0; transform: rotate(2.5deg);
  display: grid; gap: .1rem; padding: .7rem 1rem .7rem 1.4rem;
  background: var(--paper); color: var(--ink-2); font-size: clamp(.72rem, 1.2vw, .85rem); line-height: 1.35;
  border-radius: 4px; box-shadow: var(--shadow);
  outline: 1.5px dashed rgba(138, 31, 67, .5); outline-offset: -5px;
}
.tag-label::before { content: ''; position: absolute; left: .55rem; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; border-radius: 50%; background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.tag-file { font: 700 clamp(.85rem, 1.5vw, 1rem)/1.2 var(--sans); color: var(--berry); letter-spacing: .02em; }
.hero-thread { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; overflow: visible; }
.thread-path { fill: none; stroke: var(--berry); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 9 7; }
.hoop { z-index: 0; } .polaroid, .tag-label { z-index: 2; }

/* ---------- Secciones ---------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--linen { background: var(--linen); background-image: repeating-linear-gradient(0deg, rgba(35, 28, 37, .03) 0 1px, transparent 1px 4px), repeating-linear-gradient(90deg, rgba(35, 28, 37, .025) 0 1px, transparent 1px 5px); border-block: 1px solid rgba(35, 28, 37, .06); }
.section-head { max-width: 760px; margin-bottom: clamp(2.25rem, 5vw, 3.5rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.section-intro { margin: 1.1rem 0 0; color: var(--ink-2); font-size: 1.12rem; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2.5vw, 2rem); position: relative; }
.steps::before { /* hilo que une los pasos */
  content: ''; position: absolute; left: 46px; right: calc(25% - 46px); top: 46px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--berry) 0 9px, transparent 9px 16px); opacity: .45;
}
.step { position: relative; }
.step-icon { width: 92px; height: 92px; margin-bottom: 1.1rem; position: relative; background: var(--cream); border-radius: 50%; }
.ic-hoop { fill: var(--paper); stroke: var(--wood); stroke-width: 4; }
.ic-ink { fill: var(--ink); }
.ic-line { stroke: var(--ink); stroke-width: 3; stroke-linecap: round; }
.ic-stroke { stroke: var(--ink); stroke-width: 2.4; stroke-linejoin: round; }
.ic-text { font: 700 13px var(--sans); fill: var(--berry); letter-spacing: .06em; }
.step h3 { font-size: 1.32rem; margin-bottom: .55rem; display: flex; gap: .55rem; align-items: baseline; }
.step-n { font: italic 600 1.05em/1 var(--serif); color: var(--terra); }
.step p { color: var(--ink-2); margin: 0; }

/* Funciones */
.feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; margin-bottom: clamp(3.5rem, 8vw, 6rem); }
.feature--flip .feature-text { order: 2; }
.feature h3 { font-size: clamp(1.6rem, 3vw, 2.25rem); margin-bottom: 1rem; }
.feature-text > p { color: var(--ink-2); }
.note { font-size: .98rem; padding: .8rem 1rem; border-left: 3px solid var(--gold); background: rgba(226, 162, 59, .1); border-radius: 0 8px 8px 0; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { /* pequeña columna de satén */
  content: ''; position: absolute; left: .15rem; top: .55em; width: 15px; height: 7px; border-radius: 2px;
  background: repeating-linear-gradient(100deg, var(--berry) 0 1.6px, #b8456b 1.6px 2.4px);
  transform: rotate(-24deg);
}

/* Marco de captura: tela tensada con pespunte interior */
.frame { margin: 0; position: relative; background: var(--paper); padding: 12px; border-radius: var(--radius); box-shadow: var(--shadow); }
.frame::after { content: ''; position: absolute; inset: 5px; border: 1.5px dashed rgba(138, 31, 67, .35); border-radius: 10px; pointer-events: none; }
.frame img { border-radius: 6px; width: 100%; background: #fff; box-shadow: 0 0 0 1px rgba(35, 28, 37, .08); }
.frame figcaption { font-size: .9rem; color: var(--ink-2); padding: .7rem .3rem .1rem; }
.frame--zoom { max-width: 460px; justify-self: center; border-radius: 50%; padding: 16px; aspect-ratio: 1; background: var(--wood); background-image: linear-gradient(135deg, #d9ae7c, #b98450 50%, #8d5a2f); }
.frame--zoom::after { inset: 8px; border-radius: 50%; border-color: rgba(255, 255, 255, .5); }
.frame--zoom img { border-radius: 50%; aspect-ratio: 1; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2); }
.frame--zoom figcaption { position: absolute; left: 0; right: 0; top: calc(100% + .6rem); text-align: center; padding: 0; }
.frame--wide { margin-top: clamp(2.5rem, 6vw, 4rem); }
.frame--small { max-width: 460px; justify-self: center; }

.stitch-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.4rem 0 0; }
.stitch-types div { background: var(--paper); border-radius: 10px; padding: .75rem .8rem .9rem; border: 1px solid var(--line); }
.stitch-types dt { font-weight: 650; font-size: .98rem; }
.stitch-types dt svg { width: 100%; max-width: 140px; margin-bottom: .4rem; }
.stitch-types dd { margin: .25rem 0 0; font-size: .88rem; color: var(--ink-2); line-height: 1.45; }

/* Extras */
.extras { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; }
.extra { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; border: 1px solid var(--line); }
.extra h3 { font-size: 1.35rem; margin-bottom: .6rem; }
.extra > p { color: var(--ink-2); font-size: .98rem; }
.extra .ticks { margin-top: .4rem; font-size: .98rem; }
.fabrics { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.fabrics li { display: inline-flex; align-items: center; gap: .5rem; padding: .3rem .75rem .3rem .3rem; border-radius: 999px; background: var(--cream); border: 1px solid var(--line); font-size: .9rem; font-weight: 550; }
.fab { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); flex: none; }
.fab--algodon { background: #f4f1ea repeating-linear-gradient(0deg, rgba(0, 0, 0, .08) 0 1px, transparent 1px 2.5px); }
.fab--polo { background: #2c4f7c radial-gradient(circle, rgba(255, 255, 255, .28) 1px, transparent 1.4px) 0 0 / 4px 4px; }
.fab--sudadera { background: #8d8f93 radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .25), transparent 60%); }
.fab--toalla { background: #e9d9c7 radial-gradient(circle, transparent 1.2px, rgba(120, 90, 60, .35) 1.6px, transparent 2.2px) 0 0 / 5px 5px; }
.fab--vaquero { background: #3b5a85 repeating-linear-gradient(60deg, rgba(255, 255, 255, .2) 0 1.2px, transparent 1.2px 3.5px); }
.fab--gorra { background: #2d2a2e repeating-linear-gradient(0deg, rgba(255, 255, 255, .14) 0 1px, transparent 1px 5px); }
.fab--fino { background: linear-gradient(135deg, #f3e9f0, #d9c4d5 55%, #f7eef4); }

/* Antes y después */
.ba-list { display: grid; gap: clamp(2rem, 5vw, 3rem); }
.ba { display: grid; grid-template-columns: .8fr auto 1.2fr; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); background: var(--paper); border-radius: 20px; padding: clamp(1.2rem, 3vw, 2.25rem); border: 1px solid var(--line); }
.ba figure { margin: 0; }
.ba-before img { width: 100%; max-width: 300px; margin-inline: auto; border-radius: 6px; box-shadow: 0 10px 22px -12px rgba(35, 20, 15, .5); transform: rotate(-2deg); background: #fff; padding: 8px; }
.ba-before figcaption { text-align: center; font: italic 500 .98rem/1.3 var(--serif); color: var(--ink-2); margin-top: 1rem; }
.ba-arrow svg { width: 110px; }
.ba-after img { width: 100%; max-height: 520px; object-fit: contain; background: var(--fabric); border-radius: 12px; padding: 4%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .05); }
.ba-stats { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 1rem 0 0; font-size: .9rem; }
.ba-stats div { display: flex; gap: .35rem; }
.ba-stats dt { color: var(--ink-2); }
.ba-stats dd { margin: 0; font-weight: 650; }
.fineprint { font-size: .9rem; color: var(--ink-2); margin-top: 1.4rem; }

/* Precios */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: 20px; padding: 2rem 1.75rem 1.75rem; border: 1px solid var(--line); }
.plan h3 { font-size: 1.75rem; }
.plan-for { color: var(--ink-2); margin: .35rem 0 1.2rem; }
.price { display: flex; align-items: baseline; gap: .5rem; margin-bottom: 1.4rem; padding-bottom: 1.3rem; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 13px) bottom / 100% 2px no-repeat; }
.amount { font: 650 3.1rem/1 var(--serif); letter-spacing: -.02em; font-variation-settings: 'SOFT' 100; }
.per { color: var(--ink-2); font-size: .95rem; }
.plan-list { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .65rem; flex: 1; align-content: start; }
.plan-list li { position: relative; padding-left: 1.6rem; }
.plan-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 12px; height: 2.5px; background: var(--terra); border-radius: 2px; box-shadow: 0 0 0 0 transparent; }
.plan--featured { background: var(--ink); color: var(--cream); border-color: var(--ink); box-shadow: 0 24px 40px -22px rgba(35, 28, 37, .7); transform: translateY(-10px); }
.plan--featured::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgba(226, 162, 59, .45); border-radius: 14px; pointer-events: none; }
.plan--featured .plan-for, .plan--featured .per { color: #d8cbbd; }
.plan--featured .price { background-image: repeating-linear-gradient(90deg, rgba(246, 239, 227, .3) 0 8px, transparent 8px 13px); }
.plan--featured .plan-list li::before { background: var(--gold); }
.plan--featured .btn-primary { background: var(--gold); color: var(--ink); outline-color: rgba(35, 28, 37, .35); box-shadow: none; position: relative; z-index: 1; }
.plan--featured .btn-primary:hover { background: #ecb352; }
.patch { /* parche bordado */
  position: absolute; top: -18px; right: 1.4rem; margin: 0;
  font: 700 .78rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase;
  background: var(--terra); color: #fff; padding: .7rem 1rem; border-radius: 999px; transform: rotate(4deg);
  outline: 1.5px dashed rgba(255, 255, 255, .7); outline-offset: -5px;
  box-shadow: 0 0 0 3px #a3421f, 0 8px 14px -6px rgba(0, 0, 0, .45);
}
.explain { margin-top: clamp(2.5rem, 6vw, 3.5rem); background: var(--berry-tint); border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); position: relative; }
.explain::after { content: ''; position: absolute; inset: 8px; border: 1.5px dashed rgba(138, 31, 67, .3); border-radius: 14px; pointer-events: none; }
.explain { display: grid; grid-template-columns: 1fr minmax(0, 340px); gap: clamp(1.5rem, 4vw, 2.5rem); align-items: center; }
.explain-shot { position: relative; z-index: 1; transform: rotate(1.2deg); }
.explain h3 { font-size: 1.6rem; margin-bottom: 1.1rem; color: var(--berry-2); }
.explain-list { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: 1.1rem; }
.explain-list li { position: relative; padding-top: 1rem; color: var(--ink-2); }
.explain-list li::before { content: ''; position: absolute; top: 0; left: 0; width: 40px; height: 3px; background: repeating-linear-gradient(90deg, var(--berry) 0 6px, transparent 6px 9px); }
.explain-list b { color: var(--ink); display: block; margin-bottom: .2rem; }
.example { margin: 0; padding: .8rem 1rem; background: var(--paper); border-radius: 10px; display: inline-block; position: relative; z-index: 1; }
.explain .fineprint { margin-bottom: 0; }

/* Demo */
.section--demo { padding-top: 0; }
.demo-card {
  position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center;
  background: var(--berry); color: var(--cream); border-radius: 26px; padding: clamp(2rem, 5vw, 3.5rem);
  background-image: repeating-linear-gradient(118deg, rgba(255, 255, 255, .035) 0 2px, transparent 2px 6px);
  overflow: hidden;
}
.demo-card::after { content: ''; position: absolute; inset: 12px; border: 2px dashed rgba(246, 239, 227, .35); border-radius: 18px; pointer-events: none; }
.demo-card h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 1rem; color: #fff; }
.demo-copy > p { max-width: 38em; color: #f3e2e6; font-size: 1.1rem; }
.demo-rules { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; max-width: 40em; color: #f3e2e6; }
.demo-rules li { position: relative; padding-left: 1.7rem; }
.demo-rules li::before { content: ''; position: absolute; left: .1rem; top: .55em; width: 15px; height: 7px; border-radius: 2px; background: repeating-linear-gradient(100deg, var(--gold) 0 1.6px, #c98c25 1.6px 2.4px); transform: rotate(-24deg); }
.demo-rules b { color: #fff; }
.demo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.6rem; position: relative; z-index: 1; }
.demo-form { display: grid; gap: .55rem; margin-top: 1.4rem; max-width: 520px; position: relative; z-index: 1; }
.demo-form label { color: #fff; font-weight: 600; margin-top: .3rem; }
.demo-form label span { color: #f3e2e6; font-weight: 400; }
.demo-form input, .demo-form select, .demo-form textarea { width: 100%; border: 1px solid rgba(255,255,255,.55); border-radius: 9px; background: #fffdf8; color: var(--ink); font: inherit; padding: .75rem .85rem; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { outline: 3px solid var(--gold); outline-offset: 2px; }
.demo-form button { justify-self: start; margin-top: .8rem; }
.demo-privacy { color: #f3e2e6; font-size: .9rem; margin: .2rem 0 0; }
.demo-privacy a { color: #fff; text-decoration: underline; }
.demo-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.demo-alt { margin: 0; color: #f3e2e6; }
.demo-alt a { color: #fff; }
.demo-art { width: clamp(150px, 20vw, 220px); }
.demo-n { font: 600 64px/1 var(--serif); fill: #fff; }
.demo-n-label { font: 600 14px var(--sans); fill: #f3e2e6; letter-spacing: .04em; }

/* Preguntas */
.faq { display: grid; gap: .75rem; }
.faq details { background: var(--paper); border-radius: 12px; border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 3.2rem 1.1rem 1.3rem; font: 600 1.15rem/1.35 var(--serif); position: relative; font-variation-settings: 'SOFT' 100; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { /* aguja que gira */
  content: '+'; position: absolute; right: 1.1rem; top: 50%; width: 28px; height: 28px; margin-top: -14px;
  display: grid; place-items: center; border-radius: 50%; border: 1.5px dashed var(--berry); color: var(--berry);
  font: 600 1.1rem/1 var(--sans); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 1.3rem 1.25rem; color: var(--ink-2); }

/* Pie */
.site-footer { background: var(--ink); color: #d8cbbd; margin-top: clamp(3rem, 6vw, 5rem); }
.site-footer .stitch-rule { opacity: 1; }
.footer-in { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2rem; padding: 3rem 0 2rem; }
.brand--light .brand-word { color: var(--cream); }
.brand--light .brand-word b { color: #f0a9bd; }
.brand--light .logo-mark { color: #f0a9bd; }
.footer-brand p { margin-top: 1rem; max-width: 26em; font-size: .95rem; }
.footer-h { font: 650 .8rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-note { font-size: .88rem; color: #b7a99c; }
.footer-base { border-top: 1px solid rgba(246, 239, 227, .12); padding: 1.2rem 0 2rem; font-size: .88rem; color: #b7a99c; }
.footer-base p { margin: 0; }

/* Páginas legales */
.legal { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.45rem; margin: 2.2rem 0 .7rem; }
.legal p, .legal li { color: var(--ink-2); }
.todo { background: #fbefd8; border-left: 4px solid var(--gold); padding: .9rem 1.1rem; border-radius: 0 10px 10px 0; color: #5b3f08; }
.todo b { color: #5b3f08; }
.notfound { text-align: center; padding: clamp(4rem, 10vw, 7rem) 0; }
.notfound svg { width: 160px; margin: 0 auto 1.5rem; }
.notfound h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1rem; }

/* ---------- Movimiento (solo si el usuario no pide reducirlo) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .thread-path { stroke-dashoffset: 0; animation: sew 1.6s .3s cubic-bezier(.3, .6, .3, 1) both; }
  @keyframes sew { from { opacity: 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0 0 0 0); } }
  .polaroid { animation: drop .7s .1s cubic-bezier(.2, .8, .3, 1.2) both; }
  .tag-label { animation: drop .7s .5s cubic-bezier(.2, .8, .3, 1.2) both; }
  @keyframes drop { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }
  .hoop-fabric img { animation: appear 1s .2s ease-out both; }
  @keyframes appear { from { opacity: 0; scale: .96; } to { opacity: 1; scale: 1; } }
  @supports (animation-timeline: view()) {
    .step, .feature, .ba, .plan, .extra {
      animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 40%;
    }
    @keyframes rise { from { translate: 0 28px; } to { translate: 0 0; } }
  }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .faq summary::after { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .mnav { display: block; margin-left: auto; }
}
@media (max-width: 1060px) {
  .extras { grid-template-columns: 1fr 1fr; }
  .extra--fabrics { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before { display: none; }
  .feature, .feature--flip { grid-template-columns: 1fr; }
  .feature--flip .feature-text { order: 0; }
  .frame--zoom { margin-bottom: 3rem; }
  .ba { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .ba-arrow svg { transform: rotate(90deg); width: 80px; }
  .ba-stats { justify-content: center; }
  .plans { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { transform: none; order: -1; }
  .explain { grid-template-columns: 1fr; }
  .explain-shot { max-width: 400px; justify-self: center; }
  .demo-card { grid-template-columns: 1fr; }
  .demo-art { display: none; }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .header-in { gap: .75rem; min-height: 60px; }
  .header-cta { margin-left: 0; }
  .brand-word { font-size: 1.12rem; }
  .logo-mark { width: 30px; height: 30px; }
  .hide-xs { display: none; }
  .mnav-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .mnav summary { padding: .45rem .7rem; }
  .hero-actions .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 72px 1fr; column-gap: 1rem; }
  .step-icon { width: 72px; height: 72px; grid-row: span 2; }
  .stitch-types { grid-template-columns: 1fr; }
  .stitch-types div { display: grid; grid-template-columns: 110px 1fr; gap: .2rem .8rem; align-items: center; }
  .stitch-types dt { display: contents; }
  .stitch-types dt svg { grid-row: span 2; }
  .extras { grid-template-columns: 1fr; }
  .tag-label { right: 0; }
  .needle-bar { padding-inline: .6rem; }
  .cone { width: 24px; height: 38px; }
  .footer-in { grid-template-columns: 1fr; }
}
