/* El inicio. Calma, aire y fotos: cada sección respira y la marca aparece en los detalles.
   Sin movimiento todo queda ordenado y legible. */
:root { --top: 30px; }

/* Títulos: cada palabra sube suavemente. El margen deja espacio a tildes y descendentes. */
.wm { display: inline-block; overflow: hidden; vertical-align: top; margin-block: -0.14em -0.2em; padding-block: 0.14em 0.2em; }
.w { display: inline-block; }
html.motion [data-reveal]:not(.is-in) [data-words] .w, html.motion [data-words][data-reveal]:not(.is-in) .w { transform: translateY(110%); }
html.motion [data-words] .w { transition: transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 34ms); }

/* ---------- Portada: un perchero con las prendas reales ---------- */
.portada { --muro: #ffd91f; position: relative; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: max(560px, calc(100svh - var(--top))); overflow: hidden; color: var(--ink); isolation: isolate; background: radial-gradient(ellipse 56% 96% at 72% 0%, rgba(255, 255, 255, 0.58), transparent 74%), radial-gradient(ellipse 80% 70% at 0% 100%, rgba(214, 140, 0, 0.28), transparent 70%), linear-gradient(180deg, transparent 62%, rgba(186, 124, 0, 0.16) 100%), var(--muro); }
.portada-grid { position: relative; z-index: 2; padding-block: calc(var(--head) + 18px) 96px; pointer-events: none; }
.portada-copy { width: min(100%, 44%); pointer-events: auto; }
.portada .eyebrow { color: var(--ink); }
.portada-title { margin-top: 16px; font-size: clamp(42px, min(4.7vw, 9svh), 74px); line-height: 1.05; letter-spacing: -0.026em; }
.portada-title em { display: block; font-style: italic; font-weight: 380; white-space: nowrap; }
.portada .lead { max-width: 42ch; margin-top: 20px; color: #2c2a22; font-size: clamp(16px, 1.15vw, 18px); line-height: 1.5; }
.portada .cta-row { margin-top: 26px; }
.portada .btn.line { border-color: rgba(22, 23, 26, 0.34); background: transparent; color: var(--ink); }
.portada .btn.line:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
html.motion .portada-title .w { animation: rise-word 0.9s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 50ms + 40ms); }
@keyframes rise-word { from { transform: translateY(110%); } }
html.motion .portada-lead-in { animation: rise 0.8s 0.3s var(--ease-out) both; }

.perchero-lienzo, .perchero-riel { display: none; }
.perchero { position: relative; z-index: 2; grid-row: 2; padding: 0 0 84px; }
.perchero-lista { display: flex; gap: 12px; margin: 0; padding: 0 var(--gutter); overflow-x: auto; list-style: none; scroll-snap-type: x mandatory; }
.perchero-lista li { flex: 0 0 min(62vw, 230px); display: grid; gap: 2px; padding: 14px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.74); scroll-snap-align: start; }
.perchero-lista img { width: 100%; height: 190px; object-fit: contain; }
.perchero-lista b { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.perchero-lista span { color: var(--muted); font-size: 14px; }
.perchero-lista span span { color: var(--ink); font-weight: 600; }
.perchero-lista a { margin-top: 4px; color: var(--ink); font-size: 14px; font-weight: 600; }
.perchero-placa, .perchero-pista { display: none; }

/* Con perchero en vivo */
html.perchero-on .portada { height: calc(100svh - var(--top) - 46px); min-height: 600px; }
html.perchero-on .perchero-lienzo { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; touch-action: pan-y; }
html.perchero-on .perchero-riel { position: absolute; z-index: 0; left: 0; right: 0; top: calc(var(--riel, 40px) - var(--riel-h, 14px) / 2); display: block; height: var(--riel-h, 14px); background: linear-gradient(180deg, #77766f 0%, #cfcec8 9%, #ffffff 20%, #f0efea 30%, #a9a8a2 46%, #5d5c56 63%, #454440 75%, #94873f 90%, #6e6530 100%); box-shadow: 0 12px 16px -2px rgba(110, 76, 0, 0.34), 0 2px 3px rgba(70, 48, 0, 0.3); }
html.perchero-on .perchero { position: absolute; left: calc(var(--foco, 68%) - 232px); bottom: 78px; width: 464px; padding: 12px 12px 10px; border-radius: var(--r-lg); background: rgba(255, 255, 255, 0.86); box-shadow: var(--shadow-md); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); pointer-events: none; }
html.perchero-on .perchero-lista { position: relative; display: block; height: 26px; padding: 0; overflow: visible; }
html.perchero-on .perchero-lista li { position: absolute; inset: 0; display: flex; align-items: baseline; justify-content: center; gap: 10px; padding: 0; border-radius: 0; background: none; opacity: 0; visibility: hidden; transform: translateY(6px); }
html.perchero-on .perchero-lista li.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.5s var(--ease-out); }
html.perchero-on .perchero-lista span { white-space: nowrap; }
html.perchero-on .perchero-lista img { display: none; }
html.perchero-on .perchero-lista b { font-size: 17px; white-space: nowrap; }
html.perchero-on .perchero-lista a { margin: 0; font-size: 13.5px; pointer-events: auto; text-underline-offset: 0.22em; white-space: nowrap; }
html.perchero-on .perchero-placa { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 38px; margin-top: 6px; pointer-events: auto; }
.perchero-ant, .perchero-sig { flex: none; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 15px; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s var(--ease-out); }
.perchero-ant:hover, .perchero-sig:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.perchero-ant:active, .perchero-sig:active { transform: scale(0.92); }
.perchero-cuenta { flex: none; color: var(--muted); font-size: 12.5px; font-weight: 500; font-variant-numeric: tabular-nums; }
.perchero-colores { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 22px; }
.perchero-colores .sw { width: 20px; height: 20px; padding: 0; border: 1px solid rgba(22, 23, 26, 0.18); border-radius: 50%; background: var(--sw); cursor: pointer; transition: transform 0.25s var(--ease-spring); }
.perchero-colores .sw:hover { transform: scale(1.2); }
.perchero-colores .sw[aria-pressed="true"] { outline: 1.5px solid var(--ink); outline-offset: 2px; }
@media (pointer: coarse) {
  .perchero-colores { gap: 7px; }
  .perchero-colores .sw { width: 28px; height: 28px; }
}
html.perchero-on .perchero-pista { position: absolute; left: 50%; bottom: calc(100% + 8px); display: block; margin: 0; padding: 4px 12px; border-radius: 999px; background: rgba(22, 23, 26, 0.84); color: #fff; font-size: 12.5px; font-weight: 500; white-space: nowrap; transform: translateX(-50%); transition: opacity 0.4s; }
.perchero-pista.fuera { opacity: 0; }

/* Datos clave: una tarjeta que se apoya sobre el borde del muro */
.facts { position: relative; z-index: 3; margin-top: -58px; }
.facts ul { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 8px; border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--shadow-lg); }
.facts li { display: grid; grid-template-columns: 40px minmax(0, 1fr); align-items: center; gap: 1px 13px; padding: 14px 16px; }
.facts li + li { box-shadow: -1px 0 0 var(--line); }
.facts svg { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--wash); fill: none; stroke: var(--ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.facts b { align-self: end; font-size: 15.5px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.facts span { align-self: start; color: var(--muted); font-size: 13.5px; line-height: 1.3; }

@media (max-width: 900px) {
  /* En el celular la prenda va primero: título, perchero y después el texto. */
  .portada { align-items: start; }
  .portada-grid, .portada-copy { display: contents; }
  .portada .eyebrow { grid-row: 1; margin: calc(var(--head) + 10px) var(--gutter) 0; font-size: 11px; }
  .portada-title { grid-row: 2; margin: 8px var(--gutter) 0; font-size: clamp(38px, 10.8vw, 76px); pointer-events: none; }
  .portada-title em { white-space: nowrap; }
  .portada-lead { grid-row: 5; position: relative; z-index: 2; padding: 16px var(--gutter) 78px; }
  .portada .lead { margin: 0; font-size: 15.5px; }
  .portada .cta-row { flex-wrap: nowrap; gap: 8px; margin-top: 14px; }
  .portada .cta-row .btn { flex: 1; padding-inline: 10px; font-size: 14.5px; white-space: nowrap; }
  .perchero { grid-row: 4; padding-bottom: 0; }
  html.perchero-on .portada { height: auto; min-height: 0; }
  html.perchero-on .portada::before { content: ""; grid-row: 3; height: clamp(290px, 84vw, 600px); }
  html.perchero-on .perchero { position: relative; left: auto; bottom: auto; grid-row: 4; width: min(100% - 32px, 464px); margin-inline: auto; }
  html.perchero-on .perchero-pista { display: none; }
  html.perchero-on .perchero-placa { min-height: 44px; }
  html.perchero-on .perchero-lista { height: 50px; }
  html.perchero-on .perchero-lista li { flex-wrap: wrap; align-content: start; gap: 1px 12px; }
  html.perchero-on .perchero-lista b { flex: 0 0 100%; font-size: 17.5px; text-align: center; }
  .perchero-cuenta { display: none; }
  .facts { margin-top: -50px; }
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; padding: 6px; }
  .facts li { grid-template-columns: minmax(0, 1fr); padding: 13px 12px; }
  .facts li + li { box-shadow: none; }
  .facts li:nth-child(even) { box-shadow: -1px 0 0 var(--line); }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .facts svg { grid-row: auto; width: 34px; height: 34px; padding: 8px; margin-bottom: 6px; }
  .facts b { font-size: 15px; }
  .facts span { font-size: 13px; }
}

/* ---------- Hilo de avance: una costura fina bajo la cabecera ---------- */
.page-progress { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: 2px; background: var(--red); transform-origin: left; clip-path: inset(0 100% 0 0); pointer-events: none; }
html:not(.motion) .page-progress { display: none; }

/* ---------- Líneas de producto ---------- */
.lines { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.segment { position: relative; display: block; aspect-ratio: 4 / 5.3; padding: clamp(18px, 1.7vw, 26px); overflow: hidden; border-radius: var(--r-lg); background: var(--tone, var(--wash)); color: var(--ink); text-decoration: none; transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out); }
.lines > :nth-child(1) .segment { --tone: #efe8da; }
.lines > :nth-child(2) .segment { --tone: #e3e8ed; }
.lines > :nth-child(3) .segment { --tone: #f5ebd2; }
.lines > :nth-child(4) .segment { --tone: #e2ece3; }
.segment:hover { color: var(--ink); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.segment h3 { font-family: var(--serif); font-size: clamp(23px, 2vw, 29px); font-weight: 400; letter-spacing: -0.018em; line-height: 1.12; }
.segment p { max-width: 30ch; margin-top: 6px; color: var(--ink-soft); font-size: 14px; line-height: 1.4; }
.seg-go { position: absolute; z-index: 1; right: 14px; bottom: 14px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); font-size: 15px; transition: background 0.3s, color 0.3s, transform 0.5s var(--ease-out); }
.segment:hover .seg-go { background: var(--ink); color: #fff; transform: translateX(2px); }
.segment-art { position: absolute; left: 9%; right: 9%; top: 36%; bottom: 4%; }
.segment-art img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 14px 16px rgba(22, 23, 26, 0.2)); transition: transform 0.9s var(--ease-out); }
.segment:hover .segment-art img { transform: translateY(-6px) scale(1.05); }
@media (max-width: 900px) {
  .lines { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .segment { aspect-ratio: 4 / 6.1; padding: 14px; }
  .segment p { font-size: 13px; line-height: 1.34; }
  .segment-art { left: 12%; right: 12%; top: 54%; }
  .seg-go { display: none; }
}

/* ---------- Catálogo ---------- */
.catalogo { padding-top: 0 !important; }
.cat-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 380px); gap: 20px clamp(32px, 5vw, 80px); align-items: end; margin-bottom: clamp(24px, 3vw, 40px); }
.cat-head .sec-head { margin: 0; }
.cat-box { padding: 14px 18px 10px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.cat-box h3 { margin-bottom: 6px; font-size: 13.5px; }
.cat-perks { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 22px; margin: 0; }
.cat-perks li { display: grid; gap: 1px; padding: 7px 0; border-top: 1px solid var(--line); }
.cat-perks b { font-size: 14.5px; font-weight: 600; }
.cat-perks span { color: var(--muted); font-size: 13px; line-height: 1.3; }
.card-sizes { color: var(--muted); font-size: 13.5px; }
.quick-sizes { font-weight: 600; }
.how-hours { max-width: 52ch; color: var(--muted); font-size: 15px; }
.sub-list { margin-top: 24px; }
.filter-bar { position: sticky; z-index: 8; top: calc(var(--head) + 10px); display: flex; flex-wrap: nowrap; gap: 2px; width: fit-content; max-width: 100%; margin: 0 0 clamp(26px, 3vw, 40px); padding: 4px; overflow-x: auto; border-radius: 999px; background: rgba(255, 255, 255, 0.86); box-shadow: 0 0 0 1px var(--line), var(--shadow-md); -webkit-backdrop-filter: saturate(170%) blur(14px); backdrop-filter: saturate(170%) blur(14px); scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }
.filter-bar .chip { flex: none; display: inline-flex; align-items: baseline; gap: 7px; padding: 8px 15px; border: 0; border-radius: 999px; background: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; transition: background 0.25s, color 0.25s; }
.filter-bar .chip small { color: var(--faint); font-size: 12.5px; font-weight: 500; transition: color 0.25s; }
.filter-bar .chip:hover { background: var(--wash); color: var(--ink); }
.filter-bar .chip[aria-pressed="true"], .filter-bar .chip[aria-pressed="true"]:hover { background: var(--ink); color: #fff; }
.filter-bar .chip[aria-pressed="true"] small { color: var(--on-dark); }
.cat-group + .cat-group, .cat-group + .school-block { margin-top: clamp(48px, 5vw, 76px); }
.cat-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-family: var(--serif); font-size: clamp(25px, 2.3vw, 32px); font-weight: 400; letter-spacing: -0.018em; line-height: 1.1; }
.cat-title small { color: var(--muted); font-family: var(--font-body); font-size: 13.5px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: clamp(26px, 2.8vw, 40px) clamp(12px, 1.3vw, 20px); }
@media (max-width: 900px) {
  .cat-head { grid-template-columns: minmax(0, 1fr); }
  .filter-bar { top: calc(var(--head) + 8px); margin-inline: 0; }
}
/* En el celular cada grupo es una fila que se desliza con el dedo. */
@media (max-width: 700px) {
  .cat-grid { display: flex; gap: 10px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); padding-bottom: 6px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat-grid > * { flex: 0 0 min(66vw, 270px); scroll-snap-align: start; }
}

/* Mientras llega el catálogo */
.cat-wait i { display: block; aspect-ratio: 1 / 1.14; border-radius: var(--r-lg); background: linear-gradient(100deg, #f3efe7 30%, #faf8f3 50%, #f3efe7 70%); background-size: 200% 100%; animation: shimmer 1.3s linear infinite; }

/* Lupa de la vista de cerca */
.art-open .art::after { content: "Ver detalle"; position: absolute; left: 50%; bottom: 12px; padding: 5px 13px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-sm); opacity: 0; transform: translate(-50%, 6px); transition: opacity 0.3s, transform 0.5s var(--ease-out); }
.product-card:hover .art-open .art::after, .art-open:focus-visible .art::after { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .art-open { cursor: pointer; } .art-open .art::after { display: none; } }
.quick-main:not(.cover) { overflow: hidden; border-radius: var(--r); cursor: zoom-in; }
.quick-main:not(.cover) img { transition: transform 0.3s var(--ease-out); }

/* ---------- Promoción ---------- */
.promo-band { padding-block: clamp(56px, 7vw, 104px) 0; }
.promo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); overflow: hidden; border-radius: var(--r-xl); background: linear-gradient(120deg, #cfc6bd, #bfb5ac); color: var(--ink); }
.promo-photo { position: relative; min-height: clamp(340px, 34vw, 520px); overflow: hidden; }
.promo-photo img { position: absolute; inset: -7% 0; width: 100%; height: 114%; max-width: none; object-fit: cover; object-position: 8% 50%; }
.promo-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(30px, 5vw, 72px); }
.promo-copy .eyebrow { color: var(--ink); }
.promo h2 { margin-top: 12px; font-size: var(--h2); }
.promo .sum { max-width: 40ch; margin-block: 14px 24px; font-size: 17px; }
@media (max-width: 820px) { .promo { grid-template-columns: minmax(0, 1fr); } .promo-photo { min-height: 0; aspect-ratio: 1 / 0.8; } }

/* ---------- Diseñador en vivo ---------- */
.ds-shell { padding: clamp(24px, 3.6vw, 56px); border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.ds .eyebrow { color: var(--yellow); }
.ds .sec-head > p:not(.eyebrow) { color: var(--on-dark); }
.ds-grid { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(0, 0.86fr); gap: clamp(12px, 1.4vw, 20px); align-items: start; }
.ds-stage { position: sticky; top: calc(var(--head) + 14px); aspect-ratio: 900 / 960; max-height: calc(100vh - var(--head) - 28px); margin-inline: auto; width: 100%; overflow: hidden; border-radius: var(--r-lg); background: radial-gradient(circle at 50% 42%, #3f4148 0%, #26272c 58%, #1b1c1f 100%); transition: background 0.4s; }
.ds-stage.light { background: radial-gradient(circle at 50% 42%, #ffffff 0%, #f0ebe1 62%, #dcd5c7 100%); }
.ds-canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.ds-handle { position: absolute; padding: 0; border: 0; background: none; cursor: grab; touch-action: none; opacity: 0; transition: opacity 0.2s; }
.ds-handle::before { content: ""; position: absolute; inset: -12px; border: 1px dashed rgba(255, 255, 255, 0.86); border-radius: 4px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.22); }
.ds-handle:active { cursor: grabbing; }
.ds-stage:hover .ds-handle, .ds-handle:focus-visible, .ds-stage:not(.moved) .ds-handle { opacity: 1; }
.ds-stage.sewing .ds-handle { opacity: 0; pointer-events: none; }
.ds-grip { position: absolute; right: -21px; bottom: -21px; width: 18px; height: 18px; border: 1.5px solid var(--ink); border-radius: 50%; background: #fff; box-shadow: var(--shadow-md); cursor: nwse-resize; touch-action: none; }
.ds-status { position: absolute; left: 12px; top: 12px; display: grid; padding: 7px 13px; border-radius: var(--r); background: rgba(22, 23, 26, 0.62); color: #fff; font-size: 12px; line-height: 1.3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); pointer-events: none; }
.ds-status b { color: var(--yellow); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }
.ds-tip { position: absolute; left: 50%; bottom: 12px; padding: 5px 13px; border-radius: 999px; background: rgba(22, 23, 26, 0.62); color: #fff; font-size: 13px; white-space: nowrap; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transform: translateX(-50%); pointer-events: none; transition: opacity 0.3s; }
.ds-stage.moved .ds-tip, .ds-stage.sewing .ds-tip { opacity: 0; }
.ds-panel { display: grid; gap: 18px; padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); }
.ds-pick { color: var(--muted); font-weight: 400; }
.ds-garments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ds-garments button { display: grid; justify-items: center; gap: 4px; padding: 9px 4px 7px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; }
.ds-garments button:hover { border-color: var(--line-strong); background: var(--cream); }
.ds-garments button[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ds-garments img { width: 46px; height: 46px; object-fit: contain; }
.ds-colors { display: flex; flex-wrap: wrap; gap: 7px; }
.ds-swatch { position: relative; width: 28px; height: 28px; padding: 0; border: 1px solid rgba(22, 23, 26, 0.16); border-radius: 50%; background: var(--swatch); cursor: pointer; transition: transform 0.25s var(--ease-spring); }
.ds-swatch:hover { transform: scale(1.14); }
.ds-swatch[aria-pressed="true"] { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.ds-custom { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; font-weight: 400 !important; cursor: pointer; }
.ds-custom input { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.ds-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 3px; border-radius: 999px; background: var(--wash); }
.ds-tabs button { padding: 7px; border: 0; border-radius: 999px; background: none; color: var(--muted); font-size: 14px; font-weight: 500; cursor: pointer; transition: background 0.2s, color 0.2s; }
.ds-tabs button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); font-weight: 600; }
.ds-gap { gap: 12px; margin-top: 4px; }
.ds-panel .drop { margin-top: 4px; min-height: 76px; }
.ds-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.ds-range { width: 100%; height: 30px; margin: 0; accent-color: var(--ink); cursor: pointer; }
.ds-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-actions .btn { padding-inline: 8px; font-size: 14px; }
.ds-actions .ds-ask { grid-column: 1 / -1; font-size: 15px; }
.ds-prices { margin: 22px 0 0; }
@media (max-width: 960px) {
  .ds-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ds-stage { position: relative; top: 0; max-height: 72svh; }
  .ds-wrap { padding-inline: 8px; }
  .ds-shell { padding: 22px 14px 14px; border-radius: var(--r-lg); }
}

/* ---------- Sublimación ---------- */
.work > .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.work h2 { margin-top: 12px; font-size: var(--h2); }
.work .sum { max-width: 52ch; margin-top: 14px; color: var(--muted); font-size: 17px; }
.price-list { list-style: none; margin-top: 24px; }
.price-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid var(--line); }
.price-list li:last-child { border-bottom: 1px solid var(--line); }
.price-list b { font-size: 16px; font-weight: 600; font-variant-numeric: tabular-nums; }
.work-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; padding-block: 28px; }
.garment { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--wash); box-shadow: var(--shadow-md); will-change: transform; }
.garment img { width: 100%; height: auto; }
.garment figcaption { position: absolute; left: 10px; bottom: 10px; padding: 3px 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--ink); font-size: 12.5px; font-weight: 500; }
.garment:nth-child(2) { margin-top: 44px; }
.work > .wrap.sub-upload { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: clamp(28px, 3.4vw, 48px); }
.sub-card { position: relative; display: grid; gap: 3px; padding: 20px 56px 20px 22px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow 0.3s, transform 0.5s var(--ease-out); }
.sub-card::after { content: "→"; position: absolute; right: 20px; top: 50%; color: var(--ink); font-size: 17px; transform: translateY(-50%); transition: transform 0.4s var(--ease-out); }
.sub-card:hover { color: var(--ink); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-md); transform: translateY(-2px); }
.sub-card:hover::after { transform: translate(4px, -50%); }
.sub-card b { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.sub-card span { color: var(--muted); font-size: 14.5px; }
.sub-card span i { color: var(--ink); font-style: normal; font-weight: 600; }
@media (max-width: 900px) { .work > .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 700px) { .work > .wrap.sub-upload { grid-template-columns: minmax(0, 1fr); } }

/* ---------- La fábrica a pantalla completa, contada con el scroll ---------- */
.story { position: relative; background: #0d0e10; color: #fff; }
html.motion .story { height: 380svh; }
.story-sticky { padding-block: clamp(56px, 7vw, 100px); }
html.motion .story-sticky { position: sticky; top: 0; display: grid; align-items: end; height: 100svh; padding-block: 0; overflow: hidden; }
.story .eyebrow { color: var(--yellow); }
.story h2 { margin-top: 10px; font-size: clamp(36px, 4.6vw, 68px); }
.story-grid { display: grid; grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.24fr); gap: 32px; align-items: start; }
html.motion .story-grid { display: block; padding-block: 0 clamp(22px, 3.4vh, 38px); }
.story-copy { position: relative; z-index: 2; min-width: 0; }
.story-steps { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); margin-top: 22px; }
html.motion .story-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 28px); margin-top: clamp(16px, 2.6vh, 26px); }
.story-steps li { position: relative; border-top: 1px solid rgba(255, 255, 255, 0.28); }
.story-steps button { position: relative; display: flex; align-items: baseline; gap: 9px; width: 100%; padding: 11px 0 3px; border: 0; background: none; color: rgba(255, 255, 255, 0.68); text-align: left; cursor: pointer; transition: color 0.3s; }
.story-steps span { font-size: 12.5px; font-variant-numeric: tabular-nums; opacity: 0.8; }
.story-steps b { font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; letter-spacing: -0.01em; }
.story-steps i { position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: #fff; transform: scaleX(var(--fill, 0)); transform-origin: left; }
.story-steps li.on button, .story-steps li.done button { color: #fff; }
.story-steps p { padding: 2px 0 12px; color: #dedbd3; font-size: 14.5px; line-height: 1.45; }
html.motion .story-steps p { min-height: 4.4em; padding-bottom: 0; opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.6s var(--ease-out); }
html.motion .story-steps li.on p { opacity: 1; transform: none; }
.story-media { display: grid; gap: 14px; }
.story-media .clip { overflow: hidden; border-radius: var(--r-lg); }
html:not(.motion) .story-copy { position: sticky; top: 92px; }
html.motion .story-media { position: absolute; z-index: 0; inset: 0; display: block; overflow: hidden; background: #17181b; }
html.motion .story-media::after { content: ""; position: absolute; z-index: 2; inset: 0; background: linear-gradient(0deg, rgba(10, 11, 12, 0.9) 0%, rgba(10, 11, 12, 0.58) 30%, rgba(10, 11, 12, 0.08) 58%, rgba(10, 11, 12, 0.22) 100%); pointer-events: none; }
html.motion .story-media .clip { position: absolute; inset: 0; z-index: 0; border-radius: 0; opacity: 0; transition: opacity 0.9s var(--ease-out); }
html.motion .story-media .clip.on { z-index: 1; opacity: 1; }
html.motion .story-media video { width: 100%; height: 100%; aspect-ratio: auto; transform: scale(1.04); transition: transform 3s var(--ease-out); }
html.motion .story-media .clip.on video { transform: none; }
.clip-toggle { top: 14px; right: 14px; }
html.motion .story-media .clip-toggle { z-index: 3; top: calc(var(--head) + 18px); right: var(--gutter); }
@media (max-width: 900px) {
  html.motion .story { height: 320svh; }
  html.motion .story-sticky { align-items: stretch; }
  html.motion .story-grid { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
  html.motion .story-media { inset: 0 0 auto; height: 48svh; }
  html.motion .story-media::after { background: linear-gradient(0deg, #0d0e10 0%, rgba(13, 14, 16, 0) 40%); }
  html.motion .story-steps { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 12px; }
  .story-steps button { padding: 8px 0 2px; }
  .story-steps b { font-size: 17px; }
  .story-steps p { font-size: 14px; }
  html.motion .story-steps p { display: grid; min-height: 0; max-height: 0; overflow: hidden; padding: 0; transition: max-height 0.5s var(--ease-out), opacity 0.35s, padding 0.5s var(--ease-out); }
  html.motion .story-steps li.on p { max-height: 90px; padding-bottom: 8px; }
}

/* ---------- Cómo pedir ---------- */
.how-steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.how-steps li { position: relative; padding: clamp(18px, 1.8vw, 26px); border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.how-steps .n { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 18px; border-radius: 50%; background: var(--wash); color: var(--ink); font-family: var(--serif); font-size: 18px; }
.how-steps h3 { font-size: 17.5px; }
.how-steps p { margin-top: 6px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.how-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
@media (max-width: 900px) { .how-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .how-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .how-steps li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 0 14px; padding: 16px; }
  .how-steps .n { grid-row: span 2; margin: 0; }
}

/* ---------- Pedidos para empresas ---------- */
.cotiza-band { padding-top: 0 !important; }
.big-band { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(26px, 5vw, 80px); align-items: center; padding: clamp(28px, 4.6vw, 68px); border-radius: var(--r-xl); background: linear-gradient(130deg, #c8180f 0%, #a8140c 100%); color: #fff; }
.big-band .eyebrow { color: var(--yellow); }
.big-band h2 { margin-top: 12px; font-size: var(--h2); }
.big-band p:not(.eyebrow) { max-width: 52ch; margin-top: 14px; color: #fbe6e2; font-size: 17px; }
.big-side { display: grid; gap: 22px; padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--paper); color: var(--ink); box-shadow: var(--shadow-lg); }
.big-side .btn.wa { width: 100%; border-color: var(--ink); background: var(--ink); }
.big-side .btn.wa:hover { border-color: #000; background: #000; }
@media (max-width: 1000px) { .big-band { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Nuestra empresa ---------- */
.empresa-datos { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 84px); align-items: start; }
.empresa-datos h2 { margin-top: 12px; font-size: var(--h2); }
.empresa-datos .sum { margin-top: 14px; color: var(--muted); font-size: 17px; }
.fact-sheet { padding: 8px 22px 12px; border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.fact-sheet h3 { padding-block: 14px 10px; font-size: 13.5px; }
.fact-sheet dl { margin: 0; }
.fact-sheet dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; line-height: 1.4; }
.fact-sheet dt { color: var(--muted); }
.fact-sheet dd { margin: 0; font-weight: 500; }
.vision { margin: clamp(28px, 3.4vw, 44px) 0 0; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: -0.012em; line-height: 1.34; }
.vision b { display: block; margin-bottom: 10px; color: var(--red-dark); font-family: var(--font-body); font-size: 12px; font-weight: 600; letter-spacing: 0.13em; line-height: 1.4; text-transform: uppercase; }
@media (max-width: 900px) { .empresa-datos { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Preguntas frecuentes ---------- */
.faq-layout { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: clamp(26px, 5vw, 84px); align-items: start; }
.faq-layout .sec-head { position: sticky; top: 92px; margin: 0; }
.faq-side { display: grid; justify-items: start; gap: 12px; margin-top: 14px; }
.faq-side p { color: var(--muted); font-size: 17px; }
.faq-list { display: grid; gap: 0; }
.faq-col { display: contents; }
.faq-list details { border-top: 1px solid var(--line-strong); }
.faq-list details:last-of-type { border-bottom: 1px solid var(--line-strong); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; font-size: 16px; font-weight: 500; line-height: 1.35; cursor: pointer; list-style: none; transition: color 0.2s; }
.faq-list summary:hover { color: var(--red-dark); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; color: var(--muted); font-size: 22px; font-weight: 300; line-height: 1; transition: transform 0.4s var(--ease-out); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { max-width: 68ch; padding: 0 0 18px; color: var(--muted); }
@supports (interpolate-size: allow-keywords) {
  .faq-list { interpolate-size: allow-keywords; }
  .faq-list details::details-content { block-size: 0; overflow: hidden; transition: block-size 0.4s var(--ease-out), content-visibility 0.4s allow-discrete; }
  .faq-list details[open]::details-content { block-size: auto; }
}
@media (max-width: 860px) { .faq-layout { grid-template-columns: minmax(0, 1fr); } .faq-layout .sec-head { position: static; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contact-card { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(20px, 2vw, 28px); border-radius: var(--r-lg); background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.contact-card h3 { color: var(--muted); font-size: 13.5px; font-weight: 500; }
.contact-card p, .contact-card address { font-size: 15.5px; font-style: normal; line-height: 1.5; }
.contact-card address { color: var(--ink-soft); }
.contact-card .contact-big { font-family: var(--serif); font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; line-height: 1.26; }
.contact-big a { text-decoration: none; }
.contact-card .btn { margin-top: auto; }
.contact-card > :nth-last-child(2) { margin-bottom: 14px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
