@font-face { font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap; src: url('./fonts/inter-latin-variable.woff2') format('woff2'); }
.public-app { font-family: Inter,system-ui,-apple-system,'Segoe UI',sans-serif; color: #1a1a2e; background: #f6f8fc; margin: 0; line-height: 1.7; }
.public-app *, .public-app *::before, .public-app *::after { box-sizing: border-box; }
.public-app a { color: #0a58ca; text-underline-offset: 3px; overflow-wrap: anywhere; }
.public-app :focus-visible { outline: 3px solid #0d6efd; outline-offset: 4px; }
.public-brand { display: block; padding: 24px max(24px,calc((100vw - 1000px)/2)); background: #fff; border-bottom: 1px solid #e6ebf2; font-size: 1.2rem; font-weight: 700; color: #1a1a2e !important; letter-spacing: -.055em; text-decoration: none; }
.public-brand span { color: #0d6efd; }
.legal-header { background: #edf4ff; padding: 46px 24px 54px; border-bottom: 1px solid #dce8fa; }
.legal-header > .container { max-width: 900px; padding: 0; }
.legal-header h1 { font-size: clamp(1.8rem,4vw,2.5rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.15; margin: 20px 0 16px; }
.legal-header .text-secondary { color: #54647a !important; }
.legal-body { max-width: 900px; margin: 32px auto 48px; padding: 34px 42px; background: #fff; border: 1px solid #e6ebf2; border-radius: 16px; }
.legal-body h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.5; margin: 34px 0 16px; padding-top: 24px; border-top: 1px solid #e6ebf2; color: #1a1a2e; }
.legal-body h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.legal-body h3 { font-size: 1rem; font-weight: 600; margin: 26px 0 14px; }
.legal-body p, .legal-body li, .legal-body dd { color: #475467; font-size: .9rem; line-height: 1.85; }
.legal-body dt { font-weight: 600; }
.legal-body dd { margin-bottom: 12px; }
.legal-body table { font-size: .8rem; --bs-table-color: #475467; --bs-table-border-color: #e6ebf2; }
.legal-body th { background: #f6f8fc; }
.legal-body td, .legal-body th { padding: 12px; }
.legal-footer { background: #fff; border-top: 1px solid #e6ebf2; padding: 28px 20px; color: #667085; font-size: .75rem; }
.legal-footer a { color: #54647a; display: inline-block; margin-bottom: 8px; }
.cookie-type { display: inline-block; padding: 3px 8px; border-radius: 6px; font-size: .7rem; font-weight: 600; }
.cookie-type-necesaria { background: #e5f5eb; color: #166534; }
.cookie-type-analitica { background: #eaf2ff; color: #0a58ca; }
.cookie-type-funcional { background: #fff5db; color: #805800; }
.payment-page { min-height: 100dvh; display: flex; flex-direction: column; align-items: center; padding: 0 20px 30px; }
.payment-page .public-brand { align-self: stretch; text-align: center; margin: 0 -20px 28px; padding: 24px; }
.payment-card { width: 100%; max-width: 480px; padding: 40px 32px 24px; margin: auto; text-align: center; background: #fff; border: 1px solid #e6ebf2; border-radius: 20px; box-shadow: 0 12px 45px #1a1a2e06; }
.public-eyebrow { color: #697586; font-size: .65rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.payment-icon { width: 76px; height: 76px; display: grid; place-items: center; border-radius: 50%; margin: 30px auto 24px; color: #166534; background: #e5f5eb; font-size: 2.3rem; }
.payment-cancelled .payment-icon { background: #fff1ed; color: #b4492c; }
.payment-card h1 { font-size: 1.6rem; letter-spacing: -.045em; line-height: 1.35; margin-bottom: 16px; }
.payment-card p { color: #697586; font-size: .9rem; line-height: 1.8; }
.payment-card .payment-footnote { margin: 32px 0 0; padding-top: 20px; border-top: 1px solid #e6ebf2; font-size: .68rem; }
.payment-card button { font: inherit; padding: 12px 20px; border: 0; border-radius: 9px; background: #0d6efd; color: #fff; cursor: pointer; }
.spinner { width: 56px; height: 56px; margin: 30px auto; border: 4px solid #eaf2ff; border-top-color: #0d6efd; border-radius: 50%; animation: public-spin 1s linear infinite; }
@keyframes public-spin { to { transform: rotate(360deg); } }
@media (max-width: 600px) {
  .legal-header { padding: 28px 20px; }
  .legal-body { margin: 20px 12px 28px; padding: 24px 18px; }
  .legal-body .table-responsive { max-width: 100%; }
  .payment-card { padding: 30px 22px 20px; }
}
@media (prefers-reduced-motion: reduce) { .spinner { animation: none; } }
