/* Aula Virtual — formulario público de inscripción. Hereda la tipografía del tema. */
.av-reg-page { --av-brand: #1d4ed8; --av-ink: #111827; --av-muted: #6b7280; --av-line: #e5e7eb; --av-soft: #f9fafb; box-sizing: border-box; width: 100%; max-width: 1080px; flex: 1 1 100%; margin: 48px auto 72px; padding: 0 20px; color: var(--av-ink); }
.av-reg-page *, .av-reg-page *::before, .av-reg-page *::after { box-sizing: border-box; }
.av-reg { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); border: 1px solid var(--av-line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(17, 24, 39, .06); }

.av-reg__info { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 40px; background: var(--av-brand); color: #fff; }
.av-reg__info::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(0,0,0,.25)); pointer-events: none; }
.av-reg__info > * { position: relative; z-index: 1; }
.av-reg__cover { margin: -40px -40px 8px; aspect-ratio: 16 / 9; overflow: hidden; }
.av-reg__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.av-reg__eyebrow { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.av-reg__title { margin: 0; color: #fff; font-size: clamp(26px, 3vw, 34px); line-height: 1.2; font-weight: 500; }
.av-reg__facts { display: grid; gap: 12px; margin: 8px 0 0; padding: 0; list-style: none; }
.av-reg__facts li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.2); font-size: 15px; }
.av-reg__facts span { opacity: .75; font-size: 13px; }
.av-reg__price { margin: 8px 0 0; font-size: 28px; font-weight: 600; }
.av-reg__note { margin: auto 0 0; padding: 14px 16px; border-radius: 10px; background: rgba(255,255,255,.14); font-size: 14px; line-height: 1.5; }

.av-reg__main { padding: 40px; }
.av-reg__main h2 { margin: 0 0 6px; font-size: 22px; font-weight: 500; color: var(--av-ink); }
.av-reg__lead { margin: 0 0 24px; color: var(--av-muted); font-size: 15px; }
.av-reg__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: end; }
.av-reg__field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.av-reg__field--full { grid-column: 1 / -1; }
.av-reg__field label { font-size: 14px; font-weight: 500; color: var(--av-ink); }
.av-reg__field label small { color: var(--av-muted); font-weight: 400; }
.av-reg__field input { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: var(--av-ink); font: inherit; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.av-reg__field input:focus { outline: none; border-color: var(--av-brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--av-brand) 20%, transparent); }
.av-reg__submit { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin-top: 24px; padding: 12px 24px; border: 0; border-radius: 10px; background: var(--av-brand); color: #fff; font: inherit; font-size: 16px; font-weight: 600; cursor: pointer; transition: filter .15s, transform .05s; }
.av-reg__submit:hover { filter: brightness(1.08); }
.av-reg__submit:active { transform: translateY(1px); }
.av-reg__submit:focus-visible { outline: 3px solid color-mix(in srgb, var(--av-brand) 40%, transparent); outline-offset: 2px; }
.av-reg__privacy { margin: 14px 0 0; color: var(--av-muted); font-size: 13px; line-height: 1.5; text-align: center; }
.av-reg__error { margin: 0 0 20px; padding: 12px 16px; border: 1px solid #fecaca; border-radius: 10px; background: #fef2f2; color: #991b1b; font-size: 14px; }
.av-reg__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* Páginas de resultado */
.av-reg-result { max-width: 560px; margin: 0 auto; padding: 48px 40px; border: 1px solid var(--av-line); border-radius: 16px; background: #fff; text-align: center; box-shadow: 0 10px 30px rgba(17, 24, 39, .06); }
.av-reg-result__icon { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 16px; border-radius: 50%; background: color-mix(in srgb, var(--av-brand) 12%, #fff); color: var(--av-brand); }
.av-reg-result__icon svg { width: 32px; height: 32px; }
.av-reg-result--closed .av-reg-result__icon { background: #f3f4f6; color: #6b7280; }
.av-reg-result h1 { margin: 0 0 12px; font-size: 26px; font-weight: 500; color: var(--av-ink); }
.av-reg-result p { margin: 0 0 12px; color: var(--av-muted); font-size: 16px; line-height: 1.6; }
.av-reg-result a.av-reg__link { display: inline-block; margin-top: 12px; color: var(--av-brand); font-weight: 600; text-decoration: none; }
.av-reg-result a.av-reg__link:hover { text-decoration: underline; }

@media (max-width: 860px) {
	.av-reg { grid-template-columns: 1fr; }
	.av-reg__info, .av-reg__main { padding: 28px 22px; }
	.av-reg__cover { margin: -28px -22px 8px; }
	.av-reg__note { margin-top: 8px; }
}
@media (max-width: 520px) {
	.av-reg-page { margin: 24px auto 48px; padding: 0 12px; }
	.av-reg__grid { grid-template-columns: 1fr; }
	.av-reg__facts li { grid-template-columns: 1fr; gap: 2px; }
	.av-reg-result { padding: 36px 22px; }
}
