/* Piezas reutilizables: botones, tarjetas, iconos, marcos de captura, listas y etiquetas. */

/* Botones */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 800; text-decoration: none; font-size: 17px; border: 2px solid transparent; transition: transform .15s, background .15s; cursor: pointer; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-strong); }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--card); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Iconos del sprite img/iconos.svg */
.ico { width: 20px; height: 20px; fill: currentColor; flex: 0 0 auto; }

/* Tarjetas */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; font-size: 17px; }

a.doc { text-decoration: none; color: var(--text); transition: transform .15s, border-color .15s; }
a.doc:hover { transform: translateY(-3px); border-color: var(--accent); }
a.doc h3::after { content: " →"; color: var(--accent); }

.icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.icon .ico { width: 34px; height: 34px; }
.icon-text { font-weight: 900; font-size: 18px; }
.icon--call { background: var(--c-call); }
.icon--whatsapp { background: var(--c-whatsapp); }
.icon--sos { background: var(--c-sos); }
.icon--incall { background: var(--c-incall); }
.icon--location { background: var(--c-location); }
.icon--kiosk { background: var(--c-kiosk); }
.icon--messages { background: var(--c-messages); }
.icon--volume { background: var(--c-call); }
.icon--battery { background: var(--c-battery); }

/* Marco de móvil para las capturas reales */
.frame { background: var(--phone); border-radius: 34px; padding: 9px; box-shadow: var(--shadow); }
.frame img { border-radius: 26px; width: 100%; }

.shot { margin: 0; }
.shot .frame { max-width: 250px; margin: 0 auto; }
.shot figcaption { text-align: center; margin-top: 14px; color: var(--muted); font-size: 16px; }
.shot figcaption strong { display: block; color: var(--text); font-size: 18px; }

/* Lista con marcas verdes */
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 26px; height: 26px; border-radius: 50%; margin-top: 2px; background: var(--accent) url("../img/check.svg") center / 18px no-repeat; }
.checks li span { display: block; }

/* Aviso destacado */
.callout { margin-top: 32px; background: var(--card); border: 1px solid var(--line); border-left: 6px solid var(--c-warning); border-radius: 14px; padding: 18px 22px; color: var(--muted); font-size: 17px; }
.callout strong { color: var(--text); }

/* Etiquetas */
.pill { background: var(--bg-alt); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 15px; font-weight: 700; color: var(--muted); }

/* Preguntas desplegables */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; }
summary { font-weight: 800; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--accent); }
details[open] summary::after { content: "–"; }
details p { color: var(--muted); margin: 12px 0 0; font-size: 17px; }
