/* Querido Hogar (antes Retrato Amor). Diseño cálido y cercano (elegido por Hector el 15/11/2026). */
@font-face { font-family: "Fraunces"; src: url("/fuentes/fraunces-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("/fuentes/figtree.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }

:root {
  --fondo: #ffffff;
  --superficie: #f4f4f4;
  --superficie-2: #e6e6e6;
  --tinta: #222222;
  --suave: #5c5c5c;
  --acento: #c8233f;
  --acento-hondo: #a51b33;
  --sobre-acento: #ffffff;
  --banda: #f4f4f4;
  --sobre-banda: #222222;
  --suave-banda: #5c5c5c;
  --mancha: #f8dfe3;
  --madera: #4a2f1f;
  --filete: #c9a96a;
  --fuente: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --peso-titulo: 700;
  --tracking: -0.02em;
  --radio: 16px;
  --radio-btn: 999px;
  --margen: clamp(20px, 4vw, 56px);
  --max: 1280px;
  --t1: clamp(36px, 6vw, 96px);
  --t2: clamp(32px, 4.2vw, 60px);
  --t-nombre: clamp(24px, 2.4vw, 32px);
  --t3: 20px;
  --t4: 17px;
  --t5: 14px;
  --t-cifra: clamp(72px, 11vw, 160px);
  --sale: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--fondo); color: var(--tinta);
  font-family: var(--fuente); font-size: var(--t4); line-height: 1.55;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
figure { margin: 0; }
body { overflow-x: clip; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { font-weight: var(--peso-titulo); letter-spacing: var(--tracking); line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; }
::selection { background: var(--mancha); color: var(--tinta); }
.solo-lectores { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.saltar { position: absolute; left: 12px; top: -60px; background: var(--acento); color: var(--sobre-acento); padding: 10px 16px; border-radius: var(--radio-btn); z-index: 50; text-decoration: none; }
.saltar:focus { top: 12px; }
.envoltura { width: min(100% - 2 * var(--margen), var(--max)); margin-inline: auto; }

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--radio-btn);
  background: var(--acento); color: var(--sobre-acento); font-weight: 600; font-size: var(--t4);
  text-decoration: none; cursor: pointer; touch-action: manipulation;
  transition: transform .18s var(--sale), background-color .18s;
}
.boton:hover { background: var(--acento-hondo); }
.boton:active { transform: scale(.97); }
.boton[disabled] { opacity: .55; cursor: progress; }
.boton.grande { min-height: 60px; padding: 0 34px; font-size: var(--t4); }
.enlace { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.enlace:hover { color: var(--acento); }

/* Barra superior */
.barra { position: sticky; top: 0; z-index: 20; background: var(--fondo); }
.barra .envoltura { display: flex; align-items: center; gap: 28px; min-height: 68px; }
.marca {
  display: inline-flex; align-items: center; gap: 10px; margin-right: auto; text-decoration: none; white-space: nowrap;
  font-family: "Fraunces", Georgia, serif; font-weight: 600; font-size: 23px; letter-spacing: -0.015em; color: #3b2417;
}
.marca-simbolo { width: 30px; height: 31px; flex: none; }
.barra nav { display: flex; gap: 26px; }
.barra nav a { text-decoration: none; font-size: var(--t4); font-weight: 500; }
.barra nav a:hover { color: var(--acento); }
.barra .boton { min-height: 44px; padding: 0 20px; font-size: var(--t4); }
@media (max-width: 860px) { .barra nav { display: none; } }

/* Portada: el cuadro real */
.portada { padding: clamp(20px, 3vw, 40px) 0 clamp(72px, 9vw, 140px); }
.portada .envoltura { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.portada h1 { font-size: clamp(28px, calc((100vw - 44px) / 9.8), 40px); max-width: 10em; }
@media (min-width: 861px) { .portada h1 { font-size: clamp(40px, 5vw, 72px); } }
.portada .bajada { font-size: var(--t3); margin-top: 24px; max-width: 40ch; line-height: 1.45; }
.portada .precio-linea { margin-top: 14px; font-size: var(--t4); max-width: 46ch; }
.portada .precio-linea strong { font-weight: 700; }
.portada .acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 32px; }
.cuadro-real video { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); background: var(--superficie-2); }
.franja { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; max-width: 470px; }
.franja li { display: grid; align-content: start; gap: 2px; font-size: var(--t5); line-height: 1.3; color: var(--suave); }
.franja .foto { position: relative; display: block; margin-bottom: 10px; }
.franja img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; }
.franja li + li .foto::before {
  content: ""; position: absolute; left: -21px; top: 50%; width: 10px; height: 10px; margin-top: -5px; transform: rotate(45deg);
  border-top: 3px solid var(--acento); border-right: 3px solid var(--acento); /* taste-skill-ignore: flecha entre los pasos */
}
.franja strong { font-size: var(--t4); font-weight: 700; color: var(--tinta); }
@media (max-width: 860px) {
  .portada .envoltura { grid-template-columns: 1fr; }
  .portada .cuadro-real { order: -1; width: min(100%, 440px); justify-self: center; }
  .cuadro-real video { max-height: 58svh; }
  .portada .bajada { font-size: var(--t4); margin-top: 16px; }
  .portada .acciones { margin-top: 24px; }
  .franja { gap: 22px; margin-top: 40px; }
  .franja li + li .foto::before { left: -16px; width: 8px; height: 8px; margin-top: -4px; }
}

/* Marco de madera (cuadro) */
.marco { position: relative; background: var(--madera); padding: clamp(10px, 1.3vw, 18px); box-shadow: 0 22px 40px -18px rgba(30, 18, 8, .55); } /* taste-skill-ignore: sombra del cuadro colgado */
.marco > .filete { position: relative; padding: 3px; background: var(--filete); }
.marco .lamina { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #3c3a2c; }
.marco { border-radius: 4px; }

/* Imagen que aparece con pinceladas */
.transformacion { position: absolute; inset: 0; width: 100%; height: 100%; }
.foto-esquina {
  position: absolute; left: -18px; bottom: -22px; width: 30%; margin: 0; padding: 5px 5px 0; background: #ffffff; z-index: 2;
  box-shadow: 0 8px 16px -8px rgba(30, 18, 8, .5); /* taste-skill-ignore: foto impresa apoyada sobre el cuadro */
}
.foto-esquina img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.foto-esquina figcaption { padding: 5px 2px 6px; font-size: 13px; font-weight: 600; color: #222222; text-align: center; line-height: 1.2; }
.foto-esquina { border-radius: 6px; }
.pie-retrato { margin-top: 14px; text-align: right; font-size: var(--t5); color: var(--suave); }
.ejemplos .pie-retrato { color: var(--suave-banda); }

/* Secciones */
.seccion { padding: clamp(88px, 11vw, 180px) 0; }
.seccion h2 { font-size: var(--t2); max-width: 14em; }
.seccion .intro { font-size: var(--t3); margin-top: 20px; max-width: 52ch; line-height: 1.45; }

/* Ejemplos: un solo cuadro que cambia, con índice */
.ejemplos { background: var(--banda); color: var(--sobre-banda); }
.ejemplos .intro { color: var(--sobre-banda); }
.ejemplos .rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 56px; }
.indice { list-style: none; margin: 0; padding: 0; }
.indice button {
  width: 100%; display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  background: none; border: 0; padding: 10px 0; text-align: left; cursor: pointer; color: var(--suave-banda);
  font-size: var(--t-nombre); font-weight: var(--peso-titulo); letter-spacing: var(--tracking); line-height: 1.15;
  transition: color .24s;
}
.indice button span { font-size: var(--t5); font-weight: 500; letter-spacing: 0; color: var(--suave-banda); }
.indice button[aria-pressed="true"], .indice button:hover { color: var(--sobre-banda); }
.indice button[aria-pressed="true"] span { color: var(--sobre-banda); }
.escenario { position: relative; width: min(100%, 400px); justify-self: center; }
.escenario .lamina img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s var(--sale); }
.escenario .lamina img.activa { opacity: 1; }
.escenario .foto-esquina { transition: opacity .4s; }
.escenario .pie { margin-top: 18px; font-size: var(--t5); color: var(--suave-banda); min-height: 1.5em; }
@media (max-width: 860px) {
  .ejemplos .rejilla { grid-template-columns: 1fr; }
  .escenario { order: 1; width: min(100%, 400px); }
  .indice { order: 2; display: flex; flex-wrap: wrap; gap: 4px 22px; }
  .indice button { flex-direction: column; gap: 0; padding: 6px 0; }
}

/* Estilos: el retrato sobre una pincelada */
.estilos .rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; margin-top: 48px; }
.lista-estilos { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lista-estilos button {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 14px 0;
  font-size: var(--t-nombre); font-weight: var(--peso-titulo); letter-spacing: var(--tracking); line-height: 1.1; color: var(--suave);
  transition: color .24s;
}
.lista-estilos button[aria-pressed="true"], .lista-estilos button:hover { color: var(--tinta); }
.lista-estilos button[aria-pressed="true"]::after { content: ""; display: block; width: 56px; height: 6px; margin-top: 10px; background: var(--acento); border-radius: 3px; }
.descripcion-estilo { font-size: var(--t4); max-width: 30em; margin-top: 24px; min-height: 3.2em; }
.pincelada-fondo { position: relative; display: grid; place-items: center; padding: 6% 0; }
.pincelada-fondo > svg.mancha { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--mancha); }
.pincelada-fondo .marco { width: min(78%, 440px); }
.estilo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .estilos .rejilla { grid-template-columns: 1fr; }
  .pincelada-fondo { order: 1; }
  .lista-estilos { display: flex; flex-wrap: wrap; gap: 4px 24px; }
  .lista-estilos button { white-space: nowrap; }
}

/* Formulario de muestra */
.muestra { background: var(--superficie); }
.muestra .rejilla { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); margin-top: 48px; align-items: start; }
.formulario { display: grid; gap: 16px; }
.formulario fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.formulario legend, .formulario .etiqueta { font-weight: 700; font-size: var(--t3); margin-bottom: 14px; padding: 0; }
.opciones { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opcion .caja {
  display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 12px 16px; background: var(--fondo);
  border-radius: calc(var(--radio) / 1.5 + 6px); font-weight: 600; transition: background-color .2s, box-shadow .2s, transform .15s var(--sale); /* taste-skill-ignore: borde de campo de formulario */
  box-shadow: inset 0 0 0 2px var(--superficie-2); /* taste-skill-ignore: borde de campo de formulario */
}
.opcion:hover .caja { box-shadow: inset 0 0 0 2px var(--suave); } /* taste-skill-ignore: borde de campo de formulario */
.opcion input:checked + .caja { box-shadow: inset 0 0 0 3px var(--acento); } /* taste-skill-ignore: borde de campo de formulario */
.opcion input:focus-visible + .caja { outline: 3px solid var(--acento); outline-offset: 3px; }
.opcion:active .caja { transform: scale(.98); }
.opcion .caja img { width: 46px; height: 61px; object-fit: cover; border-radius: 4px; flex: none; }
.opcion .caja small { display: block; font-weight: 400; font-size: var(--t5); color: var(--suave); }
.opcion input:disabled + .caja { opacity: .5; cursor: not-allowed; }
.subir {
  display: grid; place-items: center; text-align: center; gap: 10px; padding: 28px 20px; background: var(--fondo);
  border-radius: calc(var(--radio) / 1.5 + 6px); box-shadow: inset 0 0 0 2px var(--superficie-2); cursor: pointer; /* taste-skill-ignore: borde de campo de formulario */
  transition: box-shadow .2s; /* taste-skill-ignore: borde de campo de formulario */
}
.subir:hover, .subir.encima { box-shadow: inset 0 0 0 3px var(--acento); } /* taste-skill-ignore: borde de campo de formulario */
.subir strong { font-size: var(--t4); }
.subir span { font-size: var(--t5); color: var(--suave); }
.miniaturas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.miniaturas figure { position: relative; margin: 0; width: 96px; aspect-ratio: 3 / 4; }
.miniaturas img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.miniaturas button {
  position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; border: 0;
  background: var(--tinta); color: var(--fondo); cursor: pointer; font-size: 18px; line-height: 1;
}
.consejo { margin-top: 12px; font-size: var(--t5); color: var(--suave); max-width: 36em; }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.campo { display: grid; gap: 8px; }
.campo.ancho { grid-column: 1 / -1; }
.campo label { font-weight: 600; font-size: var(--t4); }
.campo input:not([type="checkbox"]) {
  min-height: 54px; padding: 0 16px; border: 0; border-radius: 12px; background: var(--fondo);
  box-shadow: inset 0 0 0 2px var(--superficie-2); font-size: var(--t4); /* taste-skill-ignore: borde de campo de formulario */
}
.campo input:not([type="checkbox"]):focus { outline: none; box-shadow: inset 0 0 0 3px var(--acento); } /* taste-skill-ignore: borde de campo de formulario */
.campo input[aria-invalid="true"] { box-shadow: inset 0 0 0 3px #b3261e; } /* taste-skill-ignore: borde de campo de formulario */
.campo .ayuda { font-size: var(--t5); color: var(--suave); }
.campo label .opcional { font-weight: 400; color: var(--suave); }
@media (max-width: 640px) { .campos { grid-template-columns: 1fr; } }
.casilla { display: flex !important; gap: 12px; align-items: flex-start; font-size: var(--t4); cursor: pointer; max-width: 60ch; }
.casilla input { width: 24px; height: 24px; margin: 1px 0 0; accent-color: var(--acento); flex: none; }
.aviso-error { color: #b3261e; font-weight: 600; min-height: 1.5em; }
.enviar { display: grid; gap: 14px; justify-items: start; }
.nota { font-size: var(--t5); color: var(--suave); max-width: 60ch; }

/* Panel lateral: estado de la muestra */
.panel-muestra { position: sticky; top: 96px; }
.panel-muestra .marco { width: min(100%, 420px); }
.panel-muestra .lamina { background: var(--superficie-2); }
.panel-muestra .vacio img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.panel-muestra .vacio span { position: relative; font-weight: 600; color: var(--tinta); }
.panel-muestra .vacio { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--suave); font-size: var(--t4); }
.panel-muestra .estado { margin-top: 32px; font-size: var(--t4); min-height: 3em; }
.barra-progreso { height: 8px; background: var(--superficie-2); border-radius: 4px; overflow: hidden; margin-top: 12px; }
.barra-progreso span { display: block; height: 100%; width: 0; background: var(--acento); transition: width .8s linear; }
.capa-pintando { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .muestra .rejilla { grid-template-columns: 1fr; }
  .panel-muestra { position: static; }
  .panel-muestra.sin-muestra { display: none; }
  .panel-muestra .marco { margin-inline: auto; width: min(100%, 360px); }
}

/* Resultado */
.resultado { display: grid; gap: 22px; }
.resultado h3 { font-size: var(--t-nombre); }
.cambiar-vista { justify-self: start; display: inline-flex; background: var(--superficie-2); border-radius: var(--radio-btn); padding: 4px; gap: 4px; }
.cambiar-vista button { border: 0; background: none; border-radius: var(--radio-btn); padding: 10px 18px; font-weight: 600; cursor: pointer; min-height: 44px; }
.cambiar-vista button[aria-pressed="true"] { background: var(--fondo); }
.pared { position: relative; width: 100%; max-width: 560px; }
.pared > img.fondo-pared { width: 100%; height: auto; }
.pared .en-pared { position: absolute; object-fit: cover; filter: brightness(.97) saturate(.98); }
.pared .en-pared + .sombra-interior { position: absolute; box-shadow: inset 0 2px 6px rgba(0, 0, 0, .35); pointer-events: none; } /* taste-skill-ignore: borde de campo de formulario */
.codigo { display: grid; gap: 4px; }
.codigo span { font-size: var(--t5); color: var(--suave); }
.codigo strong { font-size: var(--t-nombre); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.resultado .acciones { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.boton.claro { background: var(--fondo); color: var(--tinta); box-shadow: inset 0 0 0 2px var(--tinta); } /* taste-skill-ignore: borde de campo de formulario */
.boton.claro:hover { background: var(--superficie-2); }

/* Precio */
.precio .rejilla { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.precio video, .precio .poster { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radio); background: var(--superficie-2); }
.precio figcaption { margin-top: 14px; font-size: var(--t5); color: var(--suave); }
.monto { font-size: var(--t-cifra); font-weight: 800; letter-spacing: -0.04em; line-height: .95; margin-top: 18px; }
.monto small { font-size: .32em; letter-spacing: 0; font-weight: 600; margin-left: 6px; }
.incluye { list-style: none; padding: 0; margin: 30px 0 34px; display: grid; gap: 12px; font-size: var(--t3); max-width: 34em; }
.incluye li { display: flex; gap: 14px; align-items: baseline; }
.incluye li::before { content: ""; flex: none; width: 14px; height: 8px; border-radius: 4px; background: var(--acento); transform: translateY(-3px); }
@media (max-width: 860px) { .precio .rejilla { grid-template-columns: 1fr; } .precio figure { order: 2; width: min(100%, 420px); } }

/* Preguntas */
.preguntas .envoltura { max-width: 900px; }
.preguntas details { background: var(--superficie); border-radius: calc(var(--radio) / 1.5 + 6px); margin-top: 12px; }
.preguntas details:first-of-type { margin-top: 40px; }
.preguntas summary {
  list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; font-size: var(--t3); font-weight: 650; position: relative;
}
.preguntas summary::-webkit-details-marker { display: none; }
.preguntas summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; width: 14px; height: 14px; margin-top: -10px;
  border-right: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--sale);
}
.preguntas details[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.preguntas details p { padding: 0 24px 24px; max-width: 62ch; }

/* Pie */
.pie-pagina { background: var(--banda); color: var(--sobre-banda); padding: clamp(72px, 9vw, 140px) 0 40px; overflow: hidden; }
.pie-pagina .nombre-grande { font-family: "Fraunces", Georgia, serif; font-size: min(var(--t-cifra), 12vw); font-weight: 600; letter-spacing: -0.02em; line-height: .95; color: #3b2417; }
.pie-pagina .columnas { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-top: 56px; font-size: var(--t4); }
.pie-pagina a { color: var(--sobre-banda); }
.pie-pagina .creditos { margin-top: 48px; font-size: var(--t5); color: var(--suave-banda); max-width: 56ch; }
.pie-pagina .creditos a { color: var(--suave-banda); }
@media (max-width: 760px) { .pie-pagina .columnas { grid-template-columns: 1fr; } }

/* Aparición al entrar (solo si hay script y movimiento) */
.js .entra { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--sale), transform .8s var(--sale); transition-delay: calc(var(--orden, 0) * 80ms); }
.js .entra.visto { opacity: 1; transform: none; }

/* Página de texto (privacidad) */
.documento { padding: clamp(40px, 6vw, 90px) 0 120px; }
.documento .envoltura { max-width: 680px; }
.documento h1 { font-size: clamp(36px, 4.6vw, 64px); }
.documento h2 { font-size: var(--t3); margin-top: 44px; letter-spacing: -0.01em; }
.documento p, .documento li { margin-top: 14px; font-size: var(--t4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .entra { opacity: 1; transform: none; }
}

/* Botón para pausar lo que se mueve solo */
.pausa {
  position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(20, 20, 20, .62); display: grid; place-items: center; cursor: pointer; touch-action: manipulation;
  -webkit-tap-highlight-color: transparent; transition: transform .18s var(--sale), background-color .18s;
}
.pausa:hover { background: rgba(20, 20, 20, .8); }
.pausa[hidden] { display: none; }
.pausa:active { transform: scale(.92); }
.pausa::before { content: ""; box-sizing: border-box; width: 14px; height: 16px; border-left: 5px solid #fff; border-right: 5px solid #fff; }
.pausa[aria-pressed="true"]::before { width: 0; height: 0; border-top: 9px solid transparent; border-bottom: 9px solid transparent; border-left: 15px solid #fff; border-right: 0; margin-left: 4px; }
.video-caja { position: relative; }
.boton, .opcion, .indice button, .lista-estilos button, .cambiar-vista button, .subir { -webkit-tap-highlight-color: transparent; }

/* Botones con miniatura (ejemplos y estilos) */
.miniaturas-ejemplos, .miniaturas-estilos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
.miniaturas-estilos { max-width: 420px; }
.miniatura {
  display: grid; gap: 8px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-align: left;
  font-size: var(--t5); font-weight: 600; line-height: 1.25; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.miniatura img {
  width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: calc(var(--radio) / 2);
  outline: 3px solid transparent; outline-offset: 3px; transition: transform .2s var(--sale), outline-color .2s;
}
.miniatura:hover img { transform: translateY(-3px); }
.miniatura:active img { transform: scale(.97); }
.miniatura[aria-pressed="true"] img { outline-color: var(--acento); }
.miniatura[aria-pressed="true"] span { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.miniatura:focus-visible { outline: none; }
.miniatura:focus-visible img { outline-color: var(--acento); }
.estilos .descripcion-estilo { margin-top: 22px; }
@media (max-width: 860px) {
  .miniaturas-ejemplos { order: 2; }
}

/* Botón de música en la barra */
.boton-musica {
  position: relative; width: 44px; height: 44px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%;
  background: var(--superficie-2); color: var(--tinta); cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent;
  transition: background-color .2s, color .2s, transform .18s var(--sale);
}
.boton-musica:hover { background: var(--mancha); }
.boton-musica:active { transform: scale(.92); }
.boton-musica[aria-pressed="true"] { background: var(--acento); color: var(--sobre-acento); }
.boton-musica[aria-pressed="false"]::after {
  content: ""; position: absolute; width: 26px; height: 3px; border-radius: 2px; background: currentColor; transform: rotate(-45deg);
}
.barra .envoltura { gap: 14px; }
@media (min-width: 861px) { .barra .envoltura { gap: 28px; } }

/* Pasos mientras se pinta la muestra */
.pasos { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 11px; }
.pasos li { position: relative; padding-left: 34px; font-size: var(--t4); line-height: 1.35; color: var(--suave); transition: color .3s; }
.pasos li::before {
  content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; box-sizing: border-box; border-radius: 50%;
  border: 2px solid var(--superficie-2); background: var(--fondo); transition: background-color .3s, border-color .3s; /* taste-skill-ignore: círculo de paso */
}
.pasos li.hecho { color: var(--tinta); }
.pasos li.hecho::before { background: var(--acento); border-color: var(--acento); }
.pasos li.hecho::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; box-sizing: border-box;
  border-right: 2px solid #ffffff; border-bottom: 2px solid #ffffff; transform: rotate(45deg); /* taste-skill-ignore: visto del paso */
}
.pasos li.ahora { color: var(--tinta); font-weight: 700; }
.pasos li.ahora::before { border-color: var(--acento); }
.pasos li.ahora::after {
  content: ""; position: absolute; left: 6px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--acento);
  animation: punto-paso 1.2s ease-in-out infinite;
}
@keyframes punto-paso { 0%, 100% { transform: scale(.55); opacity: .55; } 50% { transform: scale(1); opacity: 1; } }
.nota-espera { margin-top: 12px; font-size: var(--t5); color: var(--suave); }

/* Video de presentación (con sonido, solo si lo piden) */
.presentacion .rejilla { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 6vw, 96px); row-gap: 32px; }
.presentacion h2 { grid-column: 1; grid-row: 1; align-self: end; }
.presentacion figure { grid-column: 2; grid-row: 1 / span 2; justify-self: center; width: min(100%, 380px); }
.presentacion .rejilla > .boton { grid-column: 1; grid-row: 2; align-self: start; justify-self: start; }
.video-vertical { position: relative; }
.video-vertical video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--radio); background: var(--superficie-2); }
.reproducir {
  position: absolute; left: 50%; top: 30%; width: 76px; height: 76px; margin: -38px 0 0 -38px; padding: 0 0 0 4px; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: var(--acento); color: var(--sobre-acento); cursor: pointer;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent; transition: transform .18s var(--sale), background-color .18s;
}
.reproducir:hover { background: var(--acento-hondo); }
.reproducir:active { transform: scale(.94); }
.reproducir[hidden] { display: none; }
@media (max-width: 860px) {
  .presentacion .rejilla { grid-template-columns: 1fr; }
  .presentacion h2, .presentacion figure, .presentacion .rejilla > .boton { grid-column: 1; grid-row: auto; }
  .presentacion figure { width: min(100%, 340px); }
  .presentacion .rejilla > .boton { justify-self: center; }
}

/* Lienzo mientras se pinta la muestra: tela en blanco que se llena de pinceladas, con los pasos encima */
.lienzo-espera {
  position: absolute; inset: 0; padding: clamp(18px, 7%, 30px); color: var(--tinta); background-color: #f3eee6;
  background-image:
    repeating-linear-gradient(0deg, rgba(110, 90, 60, .06) 0 1px, transparent 1px 4px),
    repeating-linear-gradient(90deg, rgba(110, 90, 60, .05) 0 1px, transparent 1px 4px);
}
.trazos-espera { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .3; }
.trazos-espera path { transition: stroke-dashoffset 2.8s cubic-bezier(.4, 0, .2, 1); }
.texto-espera { position: relative; }
.titulo-espera { font-size: var(--t3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 16px; }
.lienzo-espera .pasos { margin: 0; gap: 9px; }
.lienzo-espera .pasos li { font-size: 15px; }
.lienzo-espera .barra-progreso { margin-top: 18px; background: rgba(60, 45, 25, .12); }
.tus-fotos { left: -14px; bottom: -20px; width: 28%; transform: rotate(-3deg); }
.aviso-panel { font-weight: 600; }
.estado .boton { margin-top: 14px; }
@media (max-width: 359px) { .tus-fotos { display: none; } }

/* Formulario por pasos: el paso que toca se resalta y la página baja sola al siguiente */
.formulario .paso {
  margin: 0; min-width: 0; border: 0; padding: clamp(18px, 3vw, 28px); background: var(--fondo);
  border-radius: calc(var(--radio) + 4px); scroll-margin-top: 84px;
  box-shadow: inset 0 0 0 2px var(--superficie-2); /* taste-skill-ignore: borde del paso */
  transition: opacity .3s, box-shadow .3s; /* taste-skill-ignore: borde del paso */
}
.formulario .paso.activo { box-shadow: inset 0 0 0 3px var(--acento); } /* taste-skill-ignore: paso que toca */
.formulario .paso.falta { opacity: .5; }
.formulario .paso.falta:hover, .formulario .paso.falta:focus-within { opacity: .85; }
.formulario .paso-titulo {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px; padding: 0;
  font-size: var(--t3); font-weight: 700; letter-spacing: -0.01em; line-height: 1.2;
}
.formulario legend.paso-titulo { float: left; width: 100%; }
.formulario legend.paso-titulo + * { clear: both; }
.paso-numero {
  position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  font-size: var(--t4); font-weight: 700; background: var(--superficie-2); color: var(--tinta); transition: background-color .3s, color .3s;
}
.paso.activo .paso-numero { background: var(--acento); color: var(--sobre-acento); animation: llamar 1.6s ease-in-out infinite; }
.paso.hecho .paso-numero { background: var(--acento); color: transparent; }
.paso.hecho .paso-numero::after {
  content: ""; position: absolute; left: 13px; top: 8px; width: 7px; height: 14px; box-sizing: border-box; transform: rotate(45deg);
  border-right: 3px solid #ffffff; border-bottom: 3px solid #ffffff; /* taste-skill-ignore: visto del paso */
}
@keyframes llamar { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
.paso.recien { animation: asomar .7s var(--sale); }
@keyframes asomar { 0% { transform: translateY(14px); opacity: .6; } 100% { transform: none; opacity: 1; } }
.boton.listo { animation: latido 1.2s ease-in-out 3; }
@keyframes latido { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.paso .campo { margin-bottom: 20px; }
.paso .casilla { margin-bottom: 22px; }

/* Fecha límite de Navidad y promociones de diciembre */
.promos { margin: 0 0 34px; padding: clamp(18px, 3vw, 26px); background: #fcf0f2; border-radius: calc(var(--radio) / 1.5 + 6px); max-width: 36em; }
.promos h3 { font-size: var(--t4); letter-spacing: 0; margin-bottom: 10px; }
.promos ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; font-size: var(--t4); line-height: 1.4; }
.promos .enlace { font-size: var(--t5); }

/* Logo en celulares angostos: que entren el logo, la nota musical y el botón */
.barra .boton { white-space: nowrap; }
@media (max-width: 420px) {
  .barra .envoltura { gap: 10px; }
  .marca { font-size: var(--t4); gap: 7px; }
  .marca-simbolo { width: 24px; height: 25px; }
  .barra .boton { padding: 0 14px; font-size: var(--t5); }
}
@media (max-width: 370px) {
  .barra .envoltura { gap: 8px; }
  .marca { font-size: var(--t5); gap: 6px; }
  .marca-simbolo { width: 22px; height: 23px; }
  .barra .boton { padding: 0 12px; font-size: var(--t5); }
}
@media (max-width: 340px) { .marca span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
