/* Estudios Védicos, forgot password v2 (build 9, 26 Nov 2026): the page's own layer, on page/v2-base.css.
   A signed-out page: the header as on the login page, no belly, the footer.
   One section in the login page's formation: the photograph with its shaded foot left of the paper form sheet (the
   photograph above the sheet on phones, shorter than the login's so the field comes sooner). The sheet holds the
   steps, one at a time: ask for the link, the link is sent, a new password (the page the link opens), saved, and
   the link expired. The login form design throughout: head and foot centred, fields left (note 29); the gaps on the
   one ratio (note 28). Every colour is a token from v2-base.css. Mobile first. Class prefix rec-. */

main [hidden] { display: none !important; }

/* ---------------------------------------------------------------- The photograph and the form sheet */
.rec-main__grid { display: grid; gap: var(--s-6); }
.rec-media { position: relative; min-height: 420px; display: flex; align-items: flex-end; overflow: hidden; border-radius: var(--rm); background: var(--ink); box-shadow: var(--pop); color: var(--paper); }
.rec-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 24%; }
.rec-head { position: relative; z-index: 1; width: 100%; padding: 120px var(--s-4) var(--s-5); display: flex; flex-direction: column; align-items: center; text-align: center; background: linear-gradient(to top, color-mix(in srgb, var(--ink) 94%, transparent) 0%, color-mix(in srgb, var(--ink) 80%, transparent) 55%, transparent 100%); }
.rec-head__title { margin: 0; color: var(--paper); font-size: clamp(2.6rem, 1.9rem + 2.8vw, 4.5rem); line-height: 1.02; letter-spacing: -0.025em; font-variation-settings: "opsz" 144; text-wrap: balance; }
.rec-head__lede { margin: var(--g1) 0 0; max-width: 34rem; font-size: var(--fs-lead); line-height: 1.5; color: var(--sage-l); text-wrap: pretty; }

/* The sheet: home v2's paper, the media corner, the deep soft shadow; one step shows at a time. */
.rec-sheet { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: var(--s-4); max-width: none; margin: 0; padding: clamp(26px, 3.2vw, 44px); text-align: center; background-color: var(--paper); background-image: var(--noise), var(--surface-paper); background-blend-mode: soft-light, normal; border-radius: var(--rm); box-shadow: var(--pop); }
.rec-step { width: 100%; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--s-4); }
.rec-sheet__title { outline: none; }
.rec-sheet__title:focus-visible { outline: 2px solid var(--oliva); outline-offset: 6px; }
.rec-sheet__text { margin: 0; line-height: 1.5; color: var(--musgo); text-wrap: pretty; }
.rec-sheet__text b { font-weight: 600; color: var(--tinta); overflow-wrap: anywhere; }
.rec-form { text-align: left; }
.rec-sheet .fm-field { align-items: stretch; }
.rec-sheet .fm-field__error { flex-direction: row; align-items: flex-start; gap: var(--s-2); }
.rec-step__icon { display: flex; justify-content: center; color: var(--copper); }
.rec-step__icon svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.rec-step__acts { display: flex; flex-direction: column; gap: var(--g1); }
.rec-step__acts .btn { width: 100%; }
.rec-again { margin: 0; font-size: var(--fs-small); font-weight: 600; line-height: 1.4; color: var(--verde); }
.rec-note { align-self: center; }
@media (min-width: 900px) {
  .rec-main__grid { grid-template-columns: 7fr 5fr; gap: var(--s-7); }
  .rec-media { align-self: stretch; min-height: 620px; }
  .rec-head { align-items: flex-start; text-align: left; padding: 220px var(--s-6) var(--s-6); }
}

/* Entrance, this section's own: finding the way back. The photograph comes into focus from a soft blur, the
   headline and its line rise out of the shade, and the paper sheet is set down from just above. A new step
   (the link sent, the new password, saved) rises in place. */
.rec-media__img { transition: filter 1.2s var(--ease), transform 1.4s var(--ease); }
.js .rec-main:not(.is-in) .rec-media__img { filter: blur(14px); transform: scale(1.06); }
.js .rec-main:not(.is-in) .rec-head > *, .js .rec-main:not(.is-in) .rec-sheet { opacity: 0; }
.js .rec-main.is-in .rec-head > * { animation: rec-rise .65s var(--ease) .35s backwards; }
.js .rec-main.is-in .rec-head > :nth-child(2) { animation-delay: .48s; }
.js .rec-main.is-in .rec-sheet { animation: rec-down .8s var(--ease) .2s backwards; }
.rec-step.is-new { animation: rec-rise .45s var(--ease) backwards; }
@keyframes rec-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes rec-down { from { opacity: 0; transform: translateY(-22px); } }

/* Reduced motion: everything shows at once, nothing moves. */
@media (prefers-reduced-motion: reduce) {
  .js .rec-main * { animation: none !important; transition: none !important; }
  .js .rec-main:not(.is-in) * { opacity: 1 !important; filter: none !important; transform: none !important; }
}
