/* Tinta de Ejemplo — demo conceptual · v2 "estudio de lujo"
   Oscura y editorial, mucho aire, Bodoni grande, grano sutil y un único acento dorado.
   Sin rojo/verde como código de color. Todo alojado en este sitio. */

@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("assets/fonts/bodoni-moda-latin-600-italic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }

:root {
  --ink: #0c0b0a;
  --ink-2: #141210;
  --ink-3: #1d1a17;
  --line: rgba(236, 228, 214, .13);
  --line-2: rgba(236, 228, 214, .24);
  --text: #ece4d6;          /* ≈ 15.6:1 sobre tinta */
  --muted: #aaa194;         /* ≈ 7.6:1 sobre tinta */
  --gold: #d4ad62;          /* ≈ 9.2:1 sobre tinta · único acento */
  --gold-hi: #e4c07d;
  --gold-ink: #1b1307;      /* texto sobre dorado ≈ 9.4:1 */
  --serif: "Bodoni Moda", "Bodoni 72", Didot, "Didot LT STD", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font: 400 1rem/1.65 var(--sans); overflow-x: hidden;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
/* Grano sutil (SVG en línea, sin peticiones externas) */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 150; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1; letter-spacing: -0.015em; margin: 0 0 .45em; }
h1 em, h2 em, .brand em, .footer__brand em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(2.5rem, 10.5vw, 5.6rem); }
h3 { font-size: 1.35rem; line-height: 1.15; }
p { margin: 0 0 1em; }
a { color: inherit; }
strong { color: var(--text); font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.wrap { width: min(1180px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 400; padding: 10px 14px; background: var(--gold); color: var(--gold-ink); border-radius: 8px; }
.skip:focus { left: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 1.4rem;
  font: 500 .72rem/1.2 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.head { margin-bottom: clamp(36px, 7vw, 72px); max-width: 860px; }
.head__lead { color: var(--muted); font-size: 1.06rem; max-width: 52ch; }

/* Botones con respuesta sutil */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px; border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  font: 600 .96rem/1 var(--sans); letter-spacing: .01em; text-decoration: none; white-space: nowrap; background: none;
  transition: transform .35s var(--ease-out), background-color .25s, color .25s, border-color .25s, box-shadow .35s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn--gold { background: var(--gold); color: var(--gold-ink); box-shadow: 0 0 0 0 rgba(212, 173, 98, .0); }
.btn--gold:hover { background: var(--gold-hi); box-shadow: 0 10px 30px -12px rgba(212, 173, 98, .55); }
.btn--gold:focus-visible { outline-color: var(--text); }
.btn--line { border-color: var(--line-2); color: var(--text); }
.btn--line:hover { border-color: var(--gold); color: var(--gold); }
.btn--text { color: var(--muted); padding-inline: 12px; text-decoration: underline; text-underline-offset: 4px; }
.btn--text:hover { color: var(--text); }
.btn--small { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn--big { min-height: 58px; padding: 0 34px; font-size: 1.02rem; }

.tag {
  display: inline-flex; align-items: center; padding: 4px 9px; border-radius: 999px;
  font: 500 .64rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line);
}
.tag--age { color: var(--text); }
.tag--gold { color: var(--gold); border-color: rgba(212, 173, 98, .45); }

/* Carga elegante: termina sola en ~1,3 s */
.loader {
  position: fixed; inset: 0; z-index: 300; display: grid; place-content: center; justify-items: center; gap: 16px;
  background: var(--ink); animation: loaderOut .6s var(--ease) 1s forwards; pointer-events: none;
}
.loader__mark { font: italic 400 2.6rem/1 var(--serif); color: var(--text); letter-spacing: .04em; opacity: 0; animation: fadeUp .7s var(--ease-out) .05s forwards; }
.loader__mark i { color: var(--gold); font-style: normal; padding: 0 .1em; }
.loader__line { width: 120px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; animation: grow .8s var(--ease-out) .15s forwards; }
@keyframes loaderOut { to { opacity: 0; visibility: hidden; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes grow { to { transform: scaleX(1); } }

/* Cabecera */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; border-bottom: 1px solid transparent; transition: background-color .4s, border-color .4s; }
.nav.is-scrolled { background: rgba(12, 11, 10, .84); border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__inner { display: flex; align-items: center; gap: 14px; height: 66px; }
.brand { font: 400 1.2rem/1 var(--serif); text-decoration: none; letter-spacing: .01em; }
.nav__links { display: none; }
.nav__tags { margin-left: auto; display: flex; gap: 6px; flex: none; }
@media (max-width: 400px) { .nav__inner { gap: 8px; } .brand { font-size: 1.05rem; } .tag { padding: 4px 7px; letter-spacing: .05em; font-size: .6rem; } }

/* Portada cinematográfica */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; padding: 120px 0 56px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(70% 55% at 70% 35%, rgba(212, 173, 98, .10), transparent 70%), radial-gradient(60% 50% at 10% 100%, rgba(236, 228, 214, .05), transparent 70%);
}
.hero__rose { position: absolute; z-index: -1; top: 70px; right: -18%; width: 92vw; max-width: 760px; color: var(--gold); opacity: .55; }
.hero__rules { position: absolute; inset: 0; z-index: -1; display: flex; justify-content: space-evenly; pointer-events: none; }
.hero__rules span { width: 1px; background: linear-gradient(180deg, transparent, var(--line) 30%, var(--line) 70%, transparent); transform-origin: top; animation: rule 1.6s var(--ease-out) 1.1s both; }
@keyframes rule { from { transform: scaleY(0); } }
.hero__inner { position: relative; }
.hero__eyebrow { animation: fadeUp .8s var(--ease-out) 1.25s both; }
.hero__title { font-size: clamp(4rem, 21vw, 11.5rem); line-height: .9; margin: 0 0 .35em; letter-spacing: -0.03em; }
.hero__title .w { display: block; overflow: hidden; padding: 0 .1em .16em; margin: 0 -.1em -.1em; }
.hero__title .w > span { display: inline-block; animation: wordUp 1.1s var(--ease-out) both; }
.hero__title .w:nth-child(1) > span { animation-delay: 1.15s; }
.hero__title .w:nth-child(2) > span { animation-delay: 1.3s; }
.hero__title .w:nth-child(3) > span { animation-delay: 1.45s; }
@keyframes wordUp { from { transform: translateY(105%); } to { transform: none; } }
.hero__lead { max-width: 34ch; color: var(--muted); font-size: 1.08rem; animation: fadeUp .9s var(--ease-out) 1.7s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 1.8rem; animation: fadeUp .9s var(--ease-out) 1.85s both; }
.seal { position: absolute; right: var(--gutter); bottom: 40px; width: 96px; color: var(--muted); animation: fadeUp 1s var(--ease-out) 2s both; display: none; }
.seal text { font: 500 7.4px var(--mono); letter-spacing: 1.6px; fill: currentColor; }
.seal__spin { transform-origin: 60px 60px; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Trazos que se dibujan */
.draw path, .draw circle, .design [pathLength] { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__rose .draw path { animation: trace 3.2s var(--ease) 1.2s both; }
.hero__rose .draw path:nth-child(2) { animation-delay: 1.5s; }
.hero__rose .draw path:nth-child(3) { animation-delay: 1.9s; }
.hero__rose .draw path:nth-child(n+4) { animation-delay: 2.3s; }
@keyframes trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

/* Secciones */
.section { position: relative; padding: clamp(96px, 16vw, 180px) 0; border-top: 1px solid var(--line); }

/* Galería */
.filter { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 14px; margin: 0 0 28px; scrollbar-width: none; }
.filter::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: transparent; color: var(--muted); font-size: .9rem;
  transition: color .25s, border-color .25s, background-color .25s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--ink); border-color: var(--text); }
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.work { background: var(--ink); display: flex; flex-direction: column; }
.work[hidden] { display: none; }
.work__art { aspect-ratio: 1; display: grid; place-items: center; padding: 18%; color: var(--text); background: radial-gradient(70% 70% at 50% 45%, rgba(236, 228, 214, .045), transparent 70%); }
.work__art svg { width: 100%; height: 100%; }
.js .work .design [pathLength] { stroke-dashoffset: 1; }
.js .work.is-in .design [pathLength] { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease) .15s; }
.js .work .design .solid { opacity: 0; transition: opacity .8s ease 1.2s; }
.js .work.is-in .design .solid { opacity: 1; }
.work:hover .work__art { color: var(--gold); }
.work__art { transition: color .4s; }
.work__meta { padding: 14px 14px 18px; border-top: 1px solid var(--line); display: grid; gap: 4px; justify-items: start; }
.work__tag { font: 500 .6rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.work h3 { font-size: 1.3rem; margin: 2px 0 0; }
.work p { margin: 0 0 8px; color: var(--muted); font-size: .85rem; }

/* Simulador */
.sim { display: grid; gap: 22px; }
.sim__stage { position: sticky; top: 70px; z-index: 5; background: var(--ink); padding-bottom: 10px; }
.sim__frame { position: relative; border: 1px solid var(--line); background: var(--ink-2); }
.sim__frame canvas { width: auto; height: auto; max-width: 100%; max-height: 46svh; margin: 0 auto; touch-action: none; cursor: grab; }
.sim__frame canvas:active { cursor: grabbing; }
.sim__nojs { padding: 40px 20px; text-align: center; color: var(--muted); }
.notice { margin: 10px 0 0; padding-left: 12px; border-left: 2px solid var(--gold); font-size: .82rem; line-height: 1.45; color: var(--text); }
.sim__help { display: none; margin: 8px 0 0; font-size: .8rem; color: var(--muted); }
.sim__panel { display: grid; gap: 22px; }
.ctl { margin: 0; padding: 0; border: 0; min-width: 0; }
.ctl legend, .ctl__title, .ctl--range label, .field label, .field__label {
  display: flex; justify-content: space-between; align-items: baseline; width: 100%; padding: 0; margin-bottom: 10px;
  font: 500 .72rem/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
output { font: 600 .9rem/1 var(--sans); letter-spacing: 0; text-transform: none; color: var(--text); }
.designs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.designs label { position: relative; cursor: pointer; }
.designs input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.designs .thumb { display: grid; place-items: center; aspect-ratio: 1; padding: 16%; border: 1px solid var(--line); color: var(--muted); transition: border-color .25s, color .25s, background-color .25s; }
.designs .thumb svg { width: 100%; height: 100%; }
.designs .thumb [pathLength] { stroke-dashoffset: 0 !important; }
.designs .thumb .solid { opacity: 1 !important; }
.designs input:checked + .thumb { border-color: var(--gold); color: var(--text); background: rgba(212, 173, 98, .08); }
.designs input:focus-visible + .thumb { outline: 2px solid var(--gold); outline-offset: 2px; }

.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); font-size: .9rem; color: var(--muted); transition: all .25s; }
.seg input:checked + span { background: var(--text); color: var(--ink); border-color: var(--text); }
.seg input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.seg--small span { min-height: 38px; font-size: .84rem; padding: 0 12px; }

.tones { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tones label { position: relative; display: grid; justify-items: center; gap: 6px; cursor: pointer; font-size: .72rem; line-height: 1.2; text-align: center; color: var(--muted); }
.tones input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.sw { width: 40px; height: 40px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .25); transition: border-color .25s, transform .3s var(--ease-out); }
.tones input:checked ~ .sw { border-color: var(--gold); transform: scale(1.08); }
.tones input:checked ~ span:last-child { color: var(--text); font-weight: 600; }
.tones input:focus-visible ~ .sw { outline: 2px solid var(--text); outline-offset: 3px; }

input[type="range"] { width: 100%; height: 32px; margin: 0; background: transparent; accent-color: var(--gold); cursor: pointer; }

.tools { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.pad { display: grid; grid-template-columns: repeat(3, 44px); grid-template-rows: repeat(3, 44px); gap: 4px; }
.pad [data-move="up"] { grid-column: 2; grid-row: 1; }
.pad [data-move="left"] { grid-column: 1; grid-row: 2; }
.pad [data-move="center"] { grid-column: 2; grid-row: 2; }
.pad [data-move="right"] { grid-column: 3; grid-row: 2; }
.pad [data-move="down"] { grid-column: 2; grid-row: 3; }
.ico { display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 10px; background: transparent; cursor: pointer; font-size: 1.05rem; color: var(--text); transition: border-color .2s, transform .2s; }
.ico:hover { border-color: var(--gold); }
.ico:active { transform: scale(.94); }
.tools__col { display: grid; gap: 10px; justify-items: start; }
#simMirror[aria-pressed="true"] { border-color: var(--gold); color: var(--gold); }

.photo { padding: 18px; border: 1px dashed var(--line-2); border-radius: 6px; }
.photo__note { font-size: .86rem; color: var(--muted); margin-bottom: 12px; }
.photo__row { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.photo__pick { position: relative; overflow: hidden; }
.photo__pick:focus-within { outline: 2px solid var(--gold); outline-offset: 3px; }
.photo__hint { margin: 10px 0 0; font-size: .8rem; color: var(--muted); }
.sim__actions { display: grid; gap: 8px; }

/* Proceso */
.steps { list-style: none; margin: 0; padding: 0; display: grid; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 56px 1fr; column-gap: 12px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.step__no { grid-row: span 2; font: italic 400 2rem/1 var(--serif); color: var(--gold); }
.step h3 { font-size: 1.8rem; margin-bottom: .3em; }
.step p { grid-column: 2; color: var(--muted); margin: 0; max-width: 52ch; }

/* Asistente */
.wizard { border: 1px solid var(--line); background: var(--ink-2); padding: 22px 18px; border-radius: 6px; max-width: 760px; }
.wizard__progress { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; font: 500 .62rem/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wizard__progress li { padding-top: 10px; border-top: 2px solid var(--line-2); transition: border-color .4s, color .4s; }
.wizard__progress li.is-on { border-color: var(--gold); color: var(--text); }
.wstep { margin: 0; padding: 0; border: 0; min-width: 0; }
.wstep legend { font: 400 clamp(1.5rem, 6vw, 2.1rem)/1.15 var(--serif); margin-bottom: 20px; padding: 0; }
.wstep__no { display: block; margin-bottom: 8px; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.wstep:not([hidden]) { animation: fadeUp .5s var(--ease-out) both; }
.seg--wrap span { min-height: 44px; }
.field { margin-bottom: 20px; }
select, textarea {
  width: 100%; border: 1px solid var(--line-2); border-radius: 6px; background: var(--ink); color: var(--text);
  padding: 12px 14px; font-size: 1rem; line-height: 1.5;
}
select { min-height: 48px; appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
textarea::placeholder { color: #8d857a; }
select:focus, textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 1px var(--gold); }
.field__hint { font-size: .82rem; color: var(--muted); }
.wizard__nav { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 8px; }
.wizard__nav #wNext { margin-left: auto; }
.summary { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); }
.summary h3 { font-size: 1.6rem; }
.summary h3:focus { outline: none; }
.summary textarea { font: 400 .92rem/1.6 var(--mono); }
.summary__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.summary__status { min-height: 1.4em; margin: 10px 0 0; font-size: .88rem; color: var(--gold); }

/* Cuidados y dudas */
.care { display: grid; gap: 64px; }
.care__list { list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--line); }
.care__list li { display: grid; grid-template-columns: 44px 1fr; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.care__list span { font: italic 400 1.1rem/1.5 var(--serif); color: var(--gold); }
.disclaimer { padding: 14px 16px; border: 1px solid rgba(212, 173, 98, .4); border-radius: 6px; font-size: .9rem; color: var(--text); }
.faq__title { font-size: 1.8rem; margin-bottom: 18px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font: 400 1.2rem/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 20px; height: 20px; margin-top: -10px;
  background: linear-gradient(var(--gold), var(--gold)) center / 14px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 14px no-repeat;
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--gold); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; max-width: 56ch; }

/* Contacto */
.contact__grid { display: grid; gap: 48px; }
.contact__title { font-size: clamp(3rem, 13vw, 6.4rem); }
.contact .btn--big { width: 100%; margin-top: 10px; }
.info { margin: 0; padding: 6px 20px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--ink-2); }
.info__head { padding: 16px 0 8px; }
.info__row { display: grid; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.info__row:first-of-type { border-top: 0; }
.info dt { font: 500 .68rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.info dd { margin: 0; overflow-wrap: anywhere; }

.footer { border-top: 1px solid var(--line); padding: 44px 0 52px; color: var(--muted); font-size: .9rem; }
.footer__brand { font: 400 1.8rem/1 var(--serif); color: var(--text); margin-bottom: 16px; }
.footer p { max-width: 72ch; }
.credits { font-size: .8rem; }

/* Cinta lenta de estilos */
.ticker { overflow: hidden; border-block: 1px solid var(--line); padding: 16px 0; }
.ticker__track { display: flex; width: max-content; gap: 40px; font: italic 400 1.6rem/1 var(--serif); color: var(--text); animation: ticker 48s linear infinite; }
.ticker__track span { display: inline-flex; align-items: center; gap: 40px; }
.ticker__track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* El estudio: collage con profundidad */
.studio__grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; align-items: start; }
.shot { margin: 0; }
.shot--a { grid-row: span 2; }
.shot--b { margin-top: 48px; }
.shot--c { grid-column: 1 / -1; }
.shot__frame { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink-3); aspect-ratio: 4 / 5; }
.shot--c .shot__frame { aspect-ratio: 16 / 10; }
.shot__frame img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; will-change: transform; filter: saturate(.85) contrast(1.02); transition: filter .6s; }
.shot:hover .shot__frame img { filter: saturate(1) contrast(1.05); }
.shot figcaption { margin-top: 8px; font: 500 .62rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.studio__note { margin-top: 26px; font-size: .86rem; color: var(--muted); max-width: 70ch; }
.studio__note a { color: var(--text); }

/* Simulador: accesos rápidos */
.sim__quick { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; }
.sim__quick .ico { width: 42px; height: 42px; background: rgba(12, 11, 10, .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ico:disabled { opacity: .4; cursor: not-allowed; }

/* Comparador */
.cmp { margin: 0; border: 1px solid var(--line); background: var(--ink-2); padding: 14px; border-radius: 6px; }
.cmp__svg { width: 100%; height: auto; overflow: visible; }
.cmp__grid path { stroke: var(--line); stroke-width: .4; fill: none; }
.cmp__hand rect { fill: rgba(236, 228, 214, .07); stroke: var(--muted); stroke-width: .6; }
.cmp__coin circle { fill: none; stroke: var(--gold); stroke-width: .7; }
.cmp__coin circle + circle { stroke-width: .4; stroke-dasharray: 1.2 1.2; }
.cmp__ruler line { stroke: var(--muted); stroke-width: .5; }
.cmp__ruler line.big { stroke: var(--text); stroke-width: .7; }
.cmp__ruler text, .cmp__lbl { fill: var(--text); font: 500 9.5px var(--sans); }
.cmp__cap { margin-top: 10px; font-size: .9rem; color: var(--text); }
.cmp__ctl { margin-top: 18px; max-width: 520px; }

/* Línea del proceso que se dibuja con el scroll */
.steps-wrap { position: relative; }
.steps__line { display: none; }
.steps__line path { fill: none; stroke: var(--gold); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: var(--off, 0); }

/* Cicatrización */
.heal__grid { display: grid; gap: 24px; }
.heal__view { border: 1px solid var(--line); background: var(--ink-2); border-radius: 6px; overflow: hidden; }
.heal__view canvas { width: 100%; height: auto; }
.heal__marks { list-style: none; display: flex; justify-content: space-between; margin: -2px 0 18px; padding: 0 4px; font: 500 .66rem/1 var(--mono); color: var(--muted); }
.heal__stage { min-height: 9.5em; padding: 18px 0; border-top: 1px solid var(--line); }
.heal__stage h3 { font-size: 1.6rem; color: var(--gold); }
.heal__stage p { color: var(--text); margin: 0; }
.heal__list { color: var(--muted); }

/* Guía de zonas (pestañas) */
.zones { border: 1px solid var(--line); border-radius: 6px; background: var(--ink-2); }
.zones__tabs { display: flex; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); }
.zones__tabs::-webkit-scrollbar { display: none; }
.zones__tabs [role="tab"] {
  flex: none; position: relative; min-height: 50px; padding: 0 16px; border: 0; background: none; cursor: pointer;
  color: var(--muted); font-size: .92rem; transition: color .25s;
}
.zones__tabs [role="tab"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform .4s var(--ease-out); }
.zones__tabs [role="tab"][aria-selected="true"] { color: var(--text); }
.zones__tabs [role="tab"][aria-selected="true"]::after { transform: scaleX(1); }
.zones__tabs [role="tab"]:hover { color: var(--text); }
.zones__tabs [role="tab"]:focus-visible { outline-offset: -4px; }
.zones__panel { padding: 24px 20px 26px; }
.js .zones__panel[hidden] { display: none; }
html:not(.js) .zones__panel + .zones__panel { border-top: 1px solid var(--line); }
.zones__panel:not([hidden]) { animation: fadeUp .5s var(--ease-out) both; }
.zones__panel h3 { font-size: 2rem; }
.zones__panel > p { color: var(--muted); max-width: 60ch; }
.zones__panel > p.sens { color: var(--text); }
.sens { display: block; line-height: 1.6; }
.sens__bars { display: inline-flex; gap: 4px; margin-right: 10px; vertical-align: middle; }
.sens__bars i { width: 22px; height: 6px; border-radius: 3px; border: 1px solid var(--gold); }
.sens[data-level="1"] .sens__bars i:nth-child(-n+1),
.sens[data-level="2"] .sens__bars i:nth-child(-n+2),
.sens[data-level="3"] .sens__bars i:nth-child(-n+3) { background: var(--gold); }
.zones__tips { margin: 14px 0 0; padding-left: 18px; color: var(--muted); }
.zones__tips li { margin-bottom: 6px; }
#zonas > .wrap > .disclaimer { margin-top: 20px; }

/* Créditos */
.credits-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.credits-table table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 560px; }
.credits-table th, .credits-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits-table th { font: 500 .66rem/1.2 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.credits-table td { color: var(--text); overflow-wrap: anywhere; }
.credits-table tr:last-child td { border-bottom: 0; }
.footer .credits a { color: var(--text); text-underline-offset: 3px; }

/* Títulos de sección que se descubren */
.js .head h2.reveal { clip-path: inset(0 0 100% 0); transform: none; transition: clip-path 1.1s var(--ease-out), opacity .6s; }
.js .head h2.reveal.is-in { clip-path: inset(-10% -10% -20% -10%); }

/* Respuesta al tocar */
.work { transition: background-color .35s; }
.work:active { background: var(--ink-2); }
.chip:active, .seg span:active, .ico:active { transform: scale(.96); }

/* Aparición al hacer scroll (solo con JS) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Movimiento con GSAP (solo si las librerías cargan y no hay «reducir movimiento») ----------
   Con .gsap-on, GSAP sustituye a las animaciones CSS equivalentes; sin ella, todo funciona como antes. */
.gsap-on .hero__title .w > span,
.gsap-on .hero__eyebrow,
.gsap-on .hero__lead,
.gsap-on .hero__actions,
.gsap-on .seal,
.gsap-on .hero__rules span,
.gsap-on .hero__rose .draw path { animation: none; }
.gsap-on .reveal { transition: none; }
.gsap-on .head h2.reveal { clip-path: none; transition: none; }
.gsap-on .work .design [pathLength] { transition: none; }
.gsap-desk .btn { transition: background-color .25s, color .25s, border-color .25s, box-shadow .35s; }
.gsap-desk .btn:active { transform: none; }
.gsap-on .work .design .solid { transition: none; }
.split-line { padding-bottom: .06em; }

/* Respaldo: si no hay fotogramas de animación, todo se muestra ya terminado */
.motion-off .hero__title .w > span, .motion-off .hero__eyebrow, .motion-off .hero__lead, .motion-off .hero__actions,
.motion-off .seal, .motion-off .hero__rules span, .motion-off .hero__rose .draw path { animation: none !important; opacity: 1; transform: none; }
.motion-off .reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
.motion-off .work .design [pathLength] { stroke-dashoffset: 0 !important; transition: none !important; }
.motion-off .work .design .solid { opacity: 1 !important; transition: none !important; }

/* Lenis (solo escritorio) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* Tablet */
@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .seal { display: block; }
  .sim__actions { grid-template-columns: auto auto; justify-content: start; }
  .contact .btn--big { width: auto; }
  .wizard { padding: 34px 36px; }
  .sim__help { display: block; }
  .studio__grid { gap: 18px; }
  .zones__panel { padding: 32px 36px; }
}

/* Escritorio */
@media (min-width: 960px) {
  .nav__links { display: flex; gap: 28px; margin-left: 32px; }
  .nav__links a { text-decoration: none; color: var(--muted); font-size: .92rem; transition: color .2s; }
  .nav__links a:hover { color: var(--text); }
  .hero { padding-bottom: 72px; }
  .hero__title { font-size: clamp(5rem, 9vw, 8.6rem); }
  .hero__rose { right: 2%; top: 8%; width: 52vw; }
  .seal { width: 128px; right: 40px; bottom: 56px; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .sim { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .sim__stage { top: 86px; }
  .sim__frame canvas { max-height: 74vh; }
  .steps { grid-template-columns: repeat(4, 1fr); border-top: 0; }
  .step { grid-template-columns: 1fr; border: 0; border-left: 1px solid var(--line); padding: 0 28px 0 24px; }
  .step__no { grid-row: auto; margin-bottom: 26px; font-size: 2.6rem; }
  .step p { grid-column: 1; }
  .care { grid-template-columns: 1fr 1fr; gap: 96px; }
  .studio { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
  .studio__head { position: sticky; top: 110px; }
  .studio__note { grid-column: 1 / -1; }
  .heal__grid { grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
  .steps__line { display: block; position: absolute; left: 0; top: -1px; width: 100%; height: 2px; }
  .ticker__track { font-size: 2.2rem; }
  .contact__grid { grid-template-columns: 1.2fr 1fr; align-items: center; }
  .info { padding: 6px 28px 14px; }
  .info__row { grid-template-columns: 110px 1fr; gap: 14px; }
}

/* Movimiento reducido: sin animaciones, todo visible y quieto */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .loader { display: none; }
  .js .reveal { opacity: 1; transform: none; }
  .js .work .design [pathLength] { stroke-dashoffset: 0; }
  .js .work .design .solid { opacity: 1; }
  .js .head h2.reveal { clip-path: none; }
  .ticker__track { width: auto; flex-wrap: wrap; justify-content: center; row-gap: 10px; padding: 0 var(--gutter); }
  .ticker__track span:nth-child(n+6) { display: none; }
  .shot__frame img { top: 0; height: 100%; transform: none !important; }
  .steps__line path { stroke-dashoffset: 0; }
  .hero__rose { transform: none !important; }
}
