/* Estilo EllaPlus (projects/reels/estilos/ellaplus/Reglas-de-estilo.md): crema 60 %, borgoña 30 %, coral 10 %.
   En la web, Georgia y Avenir Next no se pueden incrustar (licencia) y Android no las trae: se usan Lora y Nunito Sans,
   de Google Fonts (licencia libre), que se parecen. */
:root {
  --crema: #F6EBDD;
  --crema-2: #F0E2D3;
  --borgona: #3A1420;
  --borgona-70: rgba(58, 20, 32, .7);
  --coral: #FF7A59;
  --coral-osc: #e9603f;
  --vela: #FFC46B;
  --blanco: #fff;
  --titulo: "Lora", Georgia, serif;
  --texto: "Nunito Sans", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--crema); color: var(--borgona); font-family: var(--texto); font-size: 18px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }

.barra { position: sticky; top: 0; z-index: 5; background: var(--crema); padding: 12px 16px 10px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.logo { height: 22px; width: auto; }
.avance { width: 100%; max-width: 520px; height: 8px; border-radius: 4px; background: var(--crema-2); overflow: hidden; }
.avance-lleno { height: 100%; width: 0; background: var(--coral); border-radius: 4px; transition: width .35s ease; }

main { max-width: 560px; margin: 0 auto; padding: 8px 16px 48px; }
.pantalla { animation: entra .35s ease both; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

h1, h2, h3 { font-family: var(--titulo); font-weight: 700; line-height: 1.15; margin: 0 0 12px; }
h1 { font-size: 32px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
.coral { color: var(--coral); }
.chico { font-size: 15px; color: var(--borgona-70); }
.fuente { font-size: 13px; color: var(--borgona-70); margin-top: 8px; }
.centro { text-align: center; }

.avatar { width: 72px; height: 72px; border-radius: 50%; margin: 6px auto 4px; }
.avatar.grande { width: 150px; height: 150px; margin: 8px auto 14px; }
.pregunta { font-family: var(--titulo); font-size: 25px; font-weight: 700; line-height: 1.2; margin: 18px 0 6px; }
.ayuda { color: var(--borgona-70); font-size: 16px; margin: 0 0 16px; }

.opciones { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 18px; }
.opcion { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; font: 600 18px/1.3 var(--texto); color: var(--borgona); background: var(--blanco); border: 2px solid var(--crema-2); border-radius: 18px; padding: 15px 16px; cursor: pointer; transition: border-color .15s, background .15s; -webkit-tap-highlight-color: transparent; }
.opcion:active { transform: scale(.99); }
.opcion .marca { flex: 0 0 26px; height: 26px; border-radius: 50%; border: 2px solid var(--borgona-70); display: flex; align-items: center; justify-content: center; color: var(--blanco); font-size: 15px; }
.opcion.multi .marca { border-radius: 8px; }
.opcion.sel { border-color: var(--coral); background: #fff4ef; }
.opcion.sel .marca { background: var(--coral); border-color: var(--coral); }

.escala { display: grid; grid-template-columns: repeat(11, 1fr); gap: 5px; margin: 18px 0 6px; }
.escala button { font: 700 16px var(--texto); padding: 12px 0; border-radius: 10px; border: 2px solid var(--crema-2); background: var(--blanco); color: var(--borgona); cursor: pointer; }
.escala button.sel { background: var(--coral); border-color: var(--coral); color: var(--blanco); }
.escala-txt { display: flex; justify-content: space-between; font-size: 14px; color: var(--borgona-70); }

.boton { display: block; width: 100%; text-align: center; font: 800 19px var(--texto); color: var(--blanco); background: var(--coral); border: 0; border-radius: 40px; padding: 18px 20px; cursor: pointer; text-decoration: none; box-shadow: 0 10px 24px -12px rgba(233, 96, 63, .8); }
.boton:disabled { opacity: .45; box-shadow: none; cursor: default; }
.boton-sec { display: block; width: 100%; text-align: center; font: 700 17px var(--texto); color: var(--borgona); background: transparent; border: 2px solid var(--borgona); border-radius: 40px; padding: 14px 20px; margin-top: 12px; cursor: pointer; text-decoration: none; }
.pie-boton { text-align: center; font-size: 14px; color: var(--borgona-70); margin-top: 10px; }

.tarjeta { background: var(--blanco); border: 3px solid var(--borgona); border-radius: 26px; padding: 22px 20px; margin: 16px 0; box-shadow: 0 24px 60px -34px rgba(58, 20, 32, .45); }
.tarjeta.suave { border: 0; background: var(--crema-2); box-shadow: none; }
.dato { font-family: var(--titulo); font-size: 44px; color: var(--coral); line-height: 1; margin: 6px 0; }

.cargando { text-align: center; padding-top: 30px; }
.cargando li { list-style: none; font-weight: 700; margin: 12px 0; opacity: .35; transition: opacity .3s; }
.cargando li.ok { opacity: 1; }
.cargando li.ok::before { content: "✓ "; color: var(--coral); }

.campo { display: flex; gap: 8px; margin: 14px 0; }
.campo select, .campo input { font: 600 18px var(--texto); color: var(--borgona); border: 2px solid var(--crema-2); border-radius: 14px; padding: 14px 12px; background: var(--blanco); }
.campo select { flex: 0 0 108px; }
.campo input { flex: 1; min-width: 0; }
.campo input:focus, .campo select:focus { outline: none; border-color: var(--coral); }
.permiso { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--borgona-70); margin: 6px 0 18px; }
.permiso input { width: 22px; height: 22px; margin-top: 2px; accent-color: var(--coral); flex: 0 0 22px; }
.permiso a { color: var(--borgona); }
.error { color: #b3261e; font-size: 15px; font-weight: 700; min-height: 20px; }

/* resultado */
.perfil { display: inline-block; background: var(--borgona); color: var(--crema); font-weight: 800; font-size: 14px; letter-spacing: .5px; border-radius: 20px; padding: 6px 14px; margin-bottom: 10px; }
.espejo { font-size: 19px; }
.linea { position: relative; margin: 8px 0 0; padding-left: 26px; }
.linea::before { content: ""; position: absolute; left: 8px; top: 8px; bottom: 8px; width: 3px; background: var(--crema-2); border-radius: 2px; }
.hito { position: relative; margin-bottom: 16px; }
.hito::before { content: ""; position: absolute; left: -24px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: var(--coral); border: 3px solid var(--crema); }
.hito > b { display: block; }
.video { position: relative; border-radius: 22px; overflow: hidden; background: var(--borgona); margin: 12px 0; aspect-ratio: 9 / 16; max-height: 78vh; margin-left: auto; margin-right: auto; }
.video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.valor { list-style: none; padding: 0; margin: 10px 0 0; }
.valor li { padding: 10px 0 10px 34px; position: relative; border-bottom: 1px solid var(--crema-2); }
.valor li:last-child { border-bottom: 0; }
.valor li::before { content: "✓"; position: absolute; left: 0; top: 9px; width: 24px; height: 24px; border-radius: 50%; background: var(--coral); color: var(--blanco); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.precio { text-align: center; margin: 6px 0 14px; }
.precio .grande { font-family: var(--titulo); font-size: 52px; font-weight: 700; line-height: 1; }
.garantia { display: flex; gap: 14px; align-items: center; }
.sello { flex: 0 0 74px; height: 74px; border-radius: 50%; background: var(--vela); color: var(--borgona); font-family: var(--titulo); font-weight: 700; font-size: 15px; line-height: 1.05; display: flex; align-items: center; justify-content: center; text-align: center; border: 3px dashed var(--borgona); }
details { background: var(--blanco); border-radius: 16px; padding: 14px 16px; margin: 10px 0; }
summary { font-weight: 800; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: right; color: var(--coral); font-size: 22px; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; }
.legal { text-align: center; font-size: 13px; color: var(--borgona-70); margin-top: 28px; }
.legal a { color: var(--borgona-70); }
.ctas { margin: 18px 0 26px; }

.precio .promo { display: inline-block; background: var(--borgona); color: var(--vela); font-weight: 800; font-size: 15px; letter-spacing: .3px; border-radius: 20px; padding: 6px 14px; margin-bottom: 8px; }
.precio .antes { font-size: 20px; color: var(--borgona-70); text-decoration: line-through; margin-bottom: 2px; }
