/* JG Moda · Atelier 1.1
   Independent visual layers for Cómo funciona. All rules are scoped.
   The existing reveal observer and timeline control the motion. */
.jx-atelier { --at-ink: #35272e; --at-muted: #786d70; --at-wine: #6b2d4a; --at-line: #e7ddd5; }
.jx-atelier .jx-steps-wrap { margin-top: 56px; }
.jx-atelier .jx-art { min-width: 0; }
.jx-atelier .at-scene { position: relative; width: 100%; max-width: 520px; aspect-ratio: 520 / 480; margin: 0 auto; isolation: isolate; container-type: inline-size; color: var(--at-ink); font-family: var(--font-body), sans-serif; }
.jx-atelier .at-layer { position: absolute; box-sizing: border-box; font-size: 2cqw; line-height: 1.35; }
.jx-atelier .at-arch { left: 16%; top: 8%; width: 71%; height: 82%; border-radius: 48% 48% 3% 3%; background: linear-gradient(125deg, #f9f5ef, #eee5da); z-index: -2; }
.jx-atelier .at-arch::after { content: ''; position: absolute; inset: 4.2%; border: 1px solid rgba(155, 127, 105, .18); border-radius: inherit; }
.jx-atelier .at-editorial { top: 50%; left: 1.5%; font-size: 1.6cqw; letter-spacing: .25em; text-transform: uppercase; color: #89745f; writing-mode: vertical-rl; transform: rotate(180deg) translateY(50%); white-space: nowrap; }
.jx-atelier .at-check { display: inline-grid; place-items: center; width: 5.2cqw; height: 5.2cqw; border-radius: 50%; color: #6b2d4a; background: #f2e7e8; font-size: 2.7cqw; flex: none; }
.jx-atelier .at-phone { left: 23%; top: 4%; width: 43%; height: 89%; padding: 1.5%; border-radius: 7cqw; background: linear-gradient(115deg, #b5b0ac, #2b292b 17%, #56504e 51%, #b3aeaa 96%); box-shadow: 1cqw 2.5cqw 4.8cqw #3b28212a, inset 0 0 0 .25cqw #514b47; transform: rotate(-7deg); z-index: 2; }
.jx-atelier .at-phone::before { content: ''; position: absolute; left: -.4cqw; top: 22%; width: .45cqw; height: 10%; border-radius: .5cqw 0 0 .5cqw; background: #655c59; }
.jx-atelier .at-phone::after { content: ''; position: absolute; right: -.4cqw; top: 27%; width: .45cqw; height: 11%; border-radius: 0 .5cqw .5cqw 0; background: #655c59; }
.jx-atelier .at-phone-screen { overflow: hidden; width: 100%; height: 100%; border: .4cqw solid #19181a; border-radius: 5.7cqw; background: #fffdfb; padding: 7cqw 2.2cqw 0; box-sizing: border-box; }
.jx-atelier .at-phone-hardware { position: absolute; left: 36%; top: 2.7%; width: 28%; height: 3.4%; border-radius: 4cqw; background: #1f1d20; z-index: 2; }
.jx-atelier .at-phone-hardware span { position: absolute; right: 12%; top: 25%; width: 1.2cqw; height: 1.2cqw; background: #303744; border: .25cqw solid #17171d; border-radius: 50%; }
.jx-atelier .at-phone-brand { display: flex; align-items: center; gap: 1cqw; border-bottom: 1px solid #eae3dd; padding-bottom: 1.7cqw; }
.jx-atelier .at-phone-brand img { width: 4.3cqw; height: 4.3cqw; object-fit: contain; }
.jx-atelier .at-phone-brand span { font-family: var(--font-display), Georgia, serif; font-size: 3cqw; }
.jx-atelier .at-phone-brand i { margin-left: auto; font-style: normal; font-size: 2.6cqw; color: #7b6e68; }
.jx-atelier .at-phone-heading { margin: 2.4cqw 0 2.6cqw; }
.jx-atelier .at-phone-heading > span { display: block; font-size: 1.25cqw; letter-spacing: .17em; color: #816754; }
.jx-atelier .at-phone-heading strong { display: block; margin-top: 1cqw; font: 500 5cqw/1 var(--font-display), Georgia, serif; }
.jx-atelier .at-phone-heading em { color: var(--at-wine); font-weight: 400; }
.jx-atelier .at-phone-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3cqw; }
.jx-atelier .at-phone-grid img { display: block; width: 100%; height: 17.3cqw; border-radius: 1cqw; object-fit: cover; background: #f4efe9; }
.jx-atelier .at-phone-cta { display: flex; justify-content: space-between; align-items: center; margin-top: 2.3cqw; padding: 1.7cqw 2cqw; color: #fff; background: var(--at-wine); border-radius: 1.1cqw; font-size: 1.65cqw; }
.jx-atelier .at-phone-cta b { font-size: 2.4cqw; font-weight: 400; }
.jx-atelier .at-phone-home { width: 30%; height: .65cqw; margin: 2cqw auto 0; background: #362c30; border-radius: 1cqw; }
.jx-atelier .at-product { right: 3%; top: 44%; width: 30%; padding: 1.5cqw 1.5cqw 2.5cqw; background: #fffdfa; border: 1px solid #e9e0d9; box-shadow: 0 2cqw 5cqw #48322a18; transform: rotate(7deg); z-index: 3; }
.jx-atelier .at-product img { display: block; width: 100%; height: 29cqw; object-fit: cover; border-radius: .5cqw; }
.jx-atelier .at-product > span { display: block; font-size: 1.2cqw; letter-spacing: .13em; margin: 2cqw 0 .8cqw; color: #836e5e; }
.jx-atelier .at-product strong { font-family: var(--font-display), Georgia, serif; font-size: 3.2cqw; font-weight: 500; }
.jx-atelier .at-catalog-note { display: flex; align-items: center; gap: 1.5cqw; bottom: 7%; left: 6%; z-index: 4; padding: 2.2cqw 2.8cqw; background: #fffdfb; border: 1px solid #e8ddd5; border-radius: 1.8cqw; box-shadow: 0 1.5cqw 4cqw #4f393516; }
.jx-atelier .at-catalog-note small, .jx-atelier .at-reserved small { display: block; font-size: 1.35cqw; letter-spacing: .14em; color: #8d7869; margin-bottom: .6cqw; }
.jx-atelier .at-catalog-note strong, .jx-atelier .at-reserved strong { display: block; font-size: 2.2cqw; font-weight: 600; }

/* Step 2: stationery and receipt, each independently editable. */
.jx-atelier .at-payment .at-arch { left: 14%; width: 72%; background: linear-gradient(120deg, #f6efea, #f0e3e5); }
.jx-atelier .at-payment .at-editorial { left: auto; right: 1%; }
.jx-atelier .at-reserve-card { left: 14%; top: 12%; width: 55%; height: 66%; background: #673449; border: 1px solid #663448; box-shadow: 0 2cqw 4cqw #4e30301a; transform: rotate(-12deg); padding: 4cqw; }
.jx-atelier .at-reserve-card > span { font: 400 9cqw/1 var(--font-display), Georgia, serif; color: #e9d9c6; }
.jx-atelier .at-reserve-card > small { position: absolute; bottom: 4cqw; left: 4cqw; color: #e7cdda; font-size: 1.4cqw; letter-spacing: .12em; line-height: 1.6; }
.jx-atelier .at-reserve-card > i { position: absolute; inset: 2cqw; border: 1px solid #c6a97a55; pointer-events: none; }
.jx-atelier .at-receipt { top: 9%; left: 29%; width: 54%; min-height: 70%; padding: 3.5cqw 4.3cqw 4cqw; background: #fffdfa; color: var(--at-ink); transform: rotate(5deg); box-shadow: 0 1.5cqw 5cqw #542e3522; z-index: 2; }
.jx-atelier .at-receipt::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.9cqw; height: 1cqw; background: linear-gradient(135deg, #fffdfa 50%, transparent 50%) 0 0/2cqw 1cqw, linear-gradient(225deg, #fffdfa 50%, transparent 50%) 0 0/2cqw 1cqw; }
.jx-atelier .at-receipt-brand { display: flex; align-items: center; gap: 1.3cqw; font: 400 3.5cqw/1.2 var(--font-display), Georgia, serif; }
.jx-atelier .at-receipt-brand img { width: 4.5cqw; height: 4.5cqw; object-fit: contain; }
.jx-atelier .at-receipt-rule { height: 1px; background: #dfd5cd; margin: 2.2cqw 0; }
.jx-atelier .at-eyebrow { display: block; text-align: center; font-size: 1.45cqw; color: #826d60; letter-spacing: .13em; }
.jx-atelier .at-amount { text-align: center; font: 400 16cqw/.92 var(--font-display), Georgia, serif; letter-spacing: -.06em; margin: 1.5cqw 0 .5cqw; color: var(--at-wine); }
.jx-atelier .at-amount > span { font-size: 9cqw; letter-spacing: -.02em; margin-left: .5cqw; }
.jx-atelier .at-amount-caption { display: block; text-align: center; font-size: 1.8cqw; color: #786860; }
.jx-atelier .at-progress { height: .9cqw; border-radius: 1cqw; background: #ece3dc; overflow: hidden; margin: 2.5cqw 0; }
.jx-atelier .at-progress > span { display: block; width: 50%; height: 100%; background: var(--at-wine); border-radius: inherit; }
.jx-atelier .at-receipt-row { display: flex; justify-content: space-between; gap: 1cqw; font-size: 1.7cqw; margin-bottom: 1.2cqw; color: #796e6b; }
.jx-atelier .at-receipt-row strong { font-weight: 600; color: #4a343e; }
.jx-atelier .at-receipt-bottom { display: flex; justify-content: center; gap: 1.4cqw; align-items: center; margin-top: 2cqw; padding-top: 1.8cqw; border-top: 1px dashed #d9c9be; font-size: 1.8cqw; }
.jx-atelier .at-receipt-bottom .at-check { width: 3.2cqw; height: 3.2cqw; font-size: 1.8cqw; }
.jx-atelier .at-reserved { bottom: 9%; left: 7%; z-index: 3; display: flex; gap: 1.7cqw; align-items: center; padding: 2.8cqw 3.2cqw; border-radius: 1.8cqw; background: #fffdfb; border: 1px solid #e6d9d1; box-shadow: 0 2cqw 4cqw #533b351a; transform: rotate(-3deg); }
.jx-atelier .at-payment-methods { bottom: 1.5%; left: 30%; display: flex; align-items: center; gap: 2.7cqw; font-size: 2cqw; color: #786461; }
.jx-atelier .at-payment-methods > span:first-child { color: var(--at-wine); font-weight: 700; font-size: 2.8cqw; }
.jx-atelier .at-payment-methods i { height: 3cqw; width: 1px; background: #c9b9b1; }

/* Step 3: generated transparent photographs remain separate files. */
.jx-atelier .at-tailor .at-arch { top: 6%; left: 15%; width: 72%; height: 84%; background: linear-gradient(125deg, #f5eee4, #eee5da); }
.jx-atelier .at-tailor .at-editorial { left: 1%; }
.jx-atelier .at-pattern { left: 7%; top: 24%; width: 29%; height: 47%; padding: 2.7cqw 2cqw; background: #fffdf9; border: 1px solid #e6dace; box-shadow: 0 1.5cqw 3cqw #624d3520; transform: rotate(-12deg); z-index: -1; }
.jx-atelier .at-pattern small { display: block; color: #8c7761; font-size: 1.35cqw; letter-spacing: .08em; }
.jx-atelier .at-pattern svg { width: 100%; height: 83%; color: #9f8269; }
.jx-atelier .at-pattern > span { font-family: var(--font-display), Georgia, serif; font-style: italic; font-size: 2.1cqw; color: #9a7a65; white-space: nowrap; }
.jx-atelier .at-mannequin { width: 62%; height: 101%; top: -3%; left: 20%; object-fit: contain; z-index: 1; }
.jx-atelier .at-measurements { right: 1.5%; top: 16%; width: 24%; padding: 2.3cqw; background: #fffdf9; border: 1px solid #e5d8cc; box-shadow: 0 1.5cqw 4cqw #6e544b18; transform: rotate(5deg); z-index: 2; }
.jx-atelier .at-measurements > span { display: block; font-size: 1.5cqw; letter-spacing: .13em; color: #8d6c57; margin-bottom: 1.2cqw; }
.jx-atelier .at-measurements > div { display: flex; gap: 1.6cqw; align-items: center; font-size: 2.2cqw; padding: 1.5cqw 0; border-top: 1px solid #eee4db; }
.jx-atelier .at-measurements i { font-style: normal; font-size: 1.5cqw; color: #a2816a; }
.jx-atelier .at-threads { left: 5%; bottom: 7%; width: 25%; height: auto; z-index: 3; transform: rotate(-7deg); }
.jx-atelier .at-scissors { right: 0; bottom: 9%; width: 27%; height: auto; z-index: 3; transform: rotate(-12deg); }
.jx-atelier .at-tailor-note { right: 1%; bottom: 1%; display: flex; align-items: center; gap: 1.4cqw; color: #7b6456; font-family: var(--font-display), Georgia, serif; font-size: 3.2cqw; line-height: 1.1; }
.jx-atelier .at-tailor-note em { color: var(--at-wine); }
.jx-atelier .at-stitch { display: block; width: 4cqw; height: 1px; border-top: 1px solid #ac947e; }

/* Deliberate, staggered assembly. No infinite object floating. */
.js .jx-atelier .reveal .at-layer { transition: opacity .8s ease var(--at-delay, .15s), translate 1s cubic-bezier(.2,.7,.2,1) var(--at-delay, .15s); opacity: 0; translate: 0 18px; }
.js .jx-atelier .reveal.is-visible .at-layer { opacity: 1; translate: 0 0; }
.jx-atelier .at-back { --at-delay: 0s; }
.jx-atelier .at-phone, .jx-atelier .at-receipt, .jx-atelier .at-mannequin { --at-delay: .18s; }
.jx-atelier .at-product, .jx-atelier .at-measurements { --at-delay: .38s; }
.jx-atelier .at-catalog-note, .jx-atelier .at-reserved, .jx-atelier .at-threads { --at-delay: .52s; }
.jx-atelier .at-scissors, .jx-atelier .at-tailor-note { --at-delay: .66s; }
.js .jx-atelier .reveal .at-progress > span { transform: scaleX(0); transform-origin: left; transition: transform 1.2s ease .7s; }
.js .jx-atelier .reveal.is-visible .at-progress > span { transform: scaleX(1); }
.jx-atelier .jx-line { background: #ebe4df; width: 1px; }
.jx-atelier .jx-line-fill { background: #805369; }
.jx-atelier .jx-node { border-width: 1px; }
.jx-atelier .jx-step.is-active .jx-node { box-shadow: 0 0 0 6px #f7f0f3; }
.jx-atelier .jx-bullets { gap: 9px 16px; }
.jx-atelier .jx-bullets li { background: none; padding: 0; font-size: 12px; font-weight: 500; color: #776870; }
.jx-atelier .jx-bullets li span { width: 15px; height: 15px; background: #f1e5e9; }
.jx-atelier .jx-bullets li span::after { left: 5px; top: 3px; width: 4px; height: 7px; border-color: #804b64; border-width: 0 1.5px 1.5px 0; }
.jx-atelier .jx-copy { gap: 14px; }
.jx-atelier .jx-kicker { font-weight: 600; font-size: 10px; letter-spacing: 2.5px; }
.jx-atelier .jx-copy p { font-size: 15px; line-height: 1.8; }

/* Same geographic outlines and interactions, calmer visual treatment. */
.jx-atelier .jx-ship { background: #34282e; }
.jx-atelier .jx-ship-map { padding: 16px 0; }
.jx-atelier .jx-prov { fill: #eadfd3; stroke: #514149; stroke-width: .85; }
.jx-atelier .jx-prov.is-comarca { fill: #d8c9ba; }
.jx-atelier .jx-prov:hover, .jx-atelier .jx-prov:focus-visible, .jx-atelier .jx-prov.is-on { fill: #dab697; }
.jx-atelier .jx-prov:focus-visible { stroke: #fff; stroke-width: 2.5; }
.jx-atelier .jx-route { stroke: #824c63; stroke-width: 1.7; opacity: .65; }
.jx-atelier .jx-label { font-weight: 600; stroke-width: 3px; stroke: #eadfd3; }
.jx-atelier .jx-sea { font-weight: 400; letter-spacing: 5px; fill: #d9c7b766; }
.jx-atelier .jx-carriers li { border-radius: 5px; background: #ffffff04; border-color: #d8c2ab26; font-weight: 500; font-size: 12px; }
.jx-atelier .jx-carriers li svg { background: none; padding: 6px; }
.jx-atelier .jx-carriers [hidden] { display: none; }
.jx-atelier .jx-map-caption { color: #d9cbbf; font-size: 13px; font-weight: 400; }
.jx-atelier .jx-legend button { font-size: 11px; font-weight: 400; }
.jx-atelier .jx-ship-copy h3 em { color: #dec0cd; }
.jx-atelier .jx-cta { border-radius: 8px; background: #6b2d4a; }

@media (min-width: 960px) {
  .jx-atelier .jx-steps { gap: 70px; }
  .jx-atelier .jx-step { gap: 108px; }
  .jx-atelier .jx-art { max-width: 520px; }
  .jx-atelier .jx-copy h3 { font-size: clamp(38px, 3.5vw, 48px); }
}
@media (max-width: 959px) {
  .jx-atelier .jx-steps { gap: 66px; }
  .jx-atelier .jx-step { padding-left: 38px; gap: 24px; }
  .jx-atelier .jx-line { left: 11px; }
  .jx-atelier .jx-node { width: 26px; height: 26px; font-size: 13px; left: -1px; top: 28%; }
  .jx-atelier .jx-art { max-width: 460px; }
  .jx-atelier .jx-copy { max-width: 460px; width: 100%; margin: 0 auto; }
}
@media (max-width: 480px) {
  .jx-atelier { padding-left: 12px; padding-right: 12px; }
  .jx-atelier .jx-title { font-size: 36px; line-height: 1.1; }
  .jx-atelier .jx-steps-wrap { margin-top: 34px; }
  .jx-atelier .jx-step { padding-left: 29px; }
  .jx-atelier .jx-copy h3 { font-size: 33px; }
  .jx-atelier .jx-copy p { font-size: 14px; }
  .jx-atelier .jx-bullets li { font-size: 11px; }
  .jx-atelier .at-editorial { display: none; }
  .jx-atelier .jx-ship { margin-top: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .jx-atelier .reveal .at-layer { opacity: 1; translate: none; transition: none; }
  .js .jx-atelier .reveal .at-progress > span { transform: none; transition: none; }
}

/* Comunidad, confianza y artesanía. Values keep their original admin IDs. */
.stats-section.stats-atelier { margin: 84px 24px 0; }
.stats-atelier .stats-heading { max-width: 690px; margin: 0 auto 32px; text-align: center; }
.stats-atelier .stats-eyebrow { display: block; color: #947560; font-size: 10px; font-weight: 600; letter-spacing: 2.6px; }
.stats-atelier .stats-heading h2 { margin: 14px 0 12px; font-family: var(--font-display), Georgia, serif; font-size: clamp(32px, 3.3vw, 44px); font-weight: 500; line-height: 1.13; color: #35272e; text-wrap: balance; }
.stats-atelier .stats-heading h2 em { color: #6b2d4a; font-weight: 400; }
.stats-atelier .stats-heading p { margin: 0; font-size: 13px; line-height: 1.7; color: #827370; }
.stats-atelier .stats-grid { gap: 0; padding: 12px 0; background: #faf7f2; border: 1px solid #e9dfd4; border-radius: 8px; }
.stats-atelier .stat-card { min-width: 0; padding: 26px 32px 28px; text-align: left; background: transparent; border-radius: 0; display: flex; flex-direction: column; }
.stats-atelier .stat-card + .stat-card { border-left: 1px solid #e9dfd4; }
.stats-atelier .stat-meta { display: flex; align-items: center; gap: 11px; font-size: 10px; letter-spacing: 2px; font-weight: 600; color: #8c715f; }
.stats-atelier .stat-meta svg { width: 25px; height: 25px; color: #8b596d; flex: none; }
.stats-atelier .stat-number { margin: 21px 0 12px; font-size: clamp(44px, 5vw, 64px); line-height: 1; font-weight: 500; letter-spacing: -.035em; color: #6b2d4a; overflow-wrap: anywhere; }
.stats-atelier .stat-body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; min-width: 0; }
.stats-atelier .stat-label { margin: 0; font-family: var(--font-body), sans-serif; font-size: 14px; line-height: 1.45; font-weight: 600; text-transform: none; letter-spacing: 0; color: #3b2e32; }
.stats-atelier .stat-description { margin: 10px 0 20px; max-width: 28ch; font-size: 12px; line-height: 1.75; color: #847572; }
.stats-atelier .stat-action, .stats-atelier .stat-signature { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; color: #74455a; font-size: 11px; line-height: 1.6; font-weight: 600; text-decoration: none; }
.stats-atelier .stat-action { text-underline-offset: 4px; }
.stats-atelier .stat-action > span { font-size: 16px; font-weight: 400; transition: transform .2s ease; }
.stats-atelier .stat-action:hover { text-decoration: underline; }
.stats-atelier .stat-action:hover > span { transform: translateX(3px); }
.stats-atelier .stat-action:focus-visible { outline: 2px solid #6b2d4a; outline-offset: 5px; border-radius: 2px; }
.stats-atelier .stat-signature { font-family: var(--font-display), Georgia, serif; font-size: 17px; font-style: italic; font-weight: 500; }
.stats-atelier .stat-signature > span { font-family: var(--font-body), sans-serif; font-style: normal; font-size: 16px; color: #a08261; }
@media (min-width: 960px) {
  .stats-section.stats-atelier { margin-left: 40px; margin-right: 40px; }
}
@media (min-width: 701px) and (max-width: 959px) {
  .stats-atelier .stat-card { padding: 22px; }
  .stats-atelier .stat-label { font-size: 13px; }
  .stats-atelier .stat-meta { font-size: 9px; letter-spacing: 1.5px; }
}
@media (max-width: 700px) {
  .stats-section.stats-atelier { margin: 56px 16px 0; }
  .stats-atelier .stats-heading { margin-bottom: 24px; }
  .stats-atelier .stats-heading h2 { font-size: 33px; }
  .stats-atelier .stats-heading p { max-width: 33ch; margin: 0 auto; font-size: 12px; }
  .stats-atelier .stats-grid { grid-template-columns: minmax(0, 1fr); padding: 0 20px; }
  .stats-atelier .stat-card { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 2fr); gap: 16px; align-items: start; padding: 25px 0; }
  .stats-atelier .stat-card + .stat-card { border-left: 0; border-top: 1px solid #e9dfd4; }
  .stats-atelier .stat-meta { display: none; }
  .stats-atelier .stat-number { margin: 0; padding-top: 3px; font-size: clamp(30px, 9vw, 44px); }
  .stats-atelier .stat-label { font-size: 13px; }
  .stats-atelier .stat-description { font-size: 12px; line-height: 1.6; margin: 7px 0 12px; }
  .stats-atelier .stat-action { font-size: 10.5px; gap: 6px; }
  .stats-atelier .stat-signature { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .stats-atelier .stat-action > span { transition: none; }
}
