@font-face { font-family: 'Manrope'; src: url('/fuente/manrope.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('/fuente/fraunces.woff2') format('woff2'); font-weight: 300 800; font-display: swap; }
:root { --pino: #132a1f; --verde: #16784a; --menta: #f1f7f3; --menta-2: #dfeee5; --sol: #ffcd3c; --suave: #4b6357; --linea: #d3e3d9; --curva: cubic-bezier(.2,.8,.2,1); --resorte: cubic-bezier(.34,1.56,.64,1); }
* { box-sizing: border-box; }
body { margin: 0; font-family: 'Manrope', system-ui, sans-serif; background: var(--menta); color: var(--pino); -webkit-font-smoothing: antialiased; }
button, textarea, input { font: inherit; }
:focus-visible { outline: 3px solid var(--verde); outline-offset: 3px; border-radius: 10px; }
.e-main { width: min(520px, 100%); margin: 0 auto; padding: 24px 18px 50px; }
.e-cab { display: flex; align-items: center; gap: 10px; font-weight: 800; }
.e-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--pino); color: var(--sol); display: grid; place-items: center; font-family: 'Fraunces', serif; font-size: 1.3rem; }
.e-paso h1, .e-paso h2, .e-fin h2 { font-family: 'Fraunces', serif; font-weight: 600; font-size: clamp(1.7rem, 7vw, 2.2rem); line-height: 1.1; margin: 26px 0 18px; }
.e-paso h2 { font-size: 1.4rem; margin-top: 24px; }
.e-estrellas { display: flex; gap: 6px; justify-content: space-between; }
.e-estrellas button { flex: 1; aspect-ratio: 1; max-width: 72px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.e-estrellas svg { width: 100%; height: 100%; transition: transform .3s var(--resorte); }
.e-estrellas path { fill: #c9dbd0; transition: fill .2s; }
.e-estrellas button.on path { fill: var(--sol); }
.e-estrellas button.on svg { animation: brinca .45s var(--resorte); }
.e-estrellas button:hover svg { transform: scale(1.1) rotate(-6deg); }
@keyframes brinca { 40% { transform: scale(1.3) rotate(10deg); } }
.e-cara { text-align: center; font-weight: 800; color: var(--suave); min-height: 1.6em; margin: 14px 0 0; }
.js .e-paso:not([hidden]), .js .e-fin:not([hidden]) { animation: entra .45s var(--curva); }
@keyframes entra { from { opacity: 0; transform: translateY(18px); } }
.e-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.e-chips button { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--linea); background: #fff; color: var(--pino); font-weight: 700; cursor: pointer; transition: transform .2s var(--resorte), background-color .2s; }
.e-chips button[aria-pressed="true"] { background: var(--verde); border-color: var(--verde); color: #fff; transform: scale(1.04); }
.e-com { display: grid; gap: 6px; font-weight: 800; margin: 18px 0; }
.e-com textarea, .e-com input { border-radius: 16px; border: 1.5px solid var(--linea); padding: 12px 14px; background: #fff; color: var(--pino); min-height: 50px; resize: vertical; }
.e-btn { width: 100%; min-height: 56px; border: 0; border-radius: 999px; background: var(--pino); color: #fff; font-weight: 800; cursor: pointer; margin-top: 4px; }
.e-btn.sec { background: transparent; color: var(--pino); border: 1.5px solid var(--pino); margin-top: 10px; }
.e-anon { text-align: center; color: var(--suave); font-size: .88rem; }
.e-fin { text-align: center; }
.e-fin p { color: var(--suave); }
.e-corazon { font-size: 4rem; color: #e5484d; margin-top: 20px; animation: late 1.2s ease-in-out infinite; }
@keyframes late { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.25); } 30% { transform: scale(1); } 45% { transform: scale(1.15); } }
.e-resumen { margin-top: 40px; background: #fff; border-radius: 24px; padding: 20px; border: 1px solid var(--linea); }
.e-resumen h2 { margin: 0 0 4px; font-size: 1.1rem; }
.e-prom { margin: 0 0 14px; color: var(--suave); } .e-prom b { font-size: 1.6rem; color: var(--pino); font-family: 'Fraunces', serif; }
.e-barras { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.e-barras li { display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; gap: 10px; font-size: .88rem; font-weight: 700; }
.e-barras i { display: block; height: 10px; border-radius: 10px; background: var(--menta-2); position: relative; overflow: hidden; }
.e-barras i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--v); background: var(--verde); border-radius: 10px; transition: width .8s var(--curva); }
.e-barras span:last-child { text-align: right; color: var(--suave); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }
