:root {
    --prf-orange: #ff6900;
    --prf-orange-light: #ff9d2e;
    --prf-orange-dark: #e79a23;
    --prf-logo-orange: #f8b018;
    --prf-cream: #f8f6fb;
    --prf-lavender: #dcd2ec;
    --prf-ink: #262626;
    --prf-charcoal: #32373c;
    --prf-white: #ffffff;
    --prf-radius: 0.65rem;
    --prf-radius-lg: 0.85rem;
    --prf-shadow: 0 12px 36px rgba(38, 38, 38, 0.06);
    --prf-shadow-hover: 0 18px 44px rgba(255, 105, 0, 0.12);
    --prf-font: "Lexend", ui-sans-serif, system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.prf-landing {
    margin: 0;
    font-family: var(--prf-font);
    color: var(--prf-ink);
    background: var(--prf-cream);
    min-height: 100vh;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

body.prf-modal-open {
    overflow: hidden;
}

.prf-grid-bg,
.prf-atmosphere {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.prf-grid-bg {
    background-image:
        linear-gradient(rgba(220, 210, 236, 0.28) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 210, 236, 0.28) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.45), transparent 95%);
}

.prf-atmosphere {
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 157, 46, 0.28), transparent 55%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(255, 105, 0, 0.12), transparent 50%),
        linear-gradient(180deg, #fff8f0 0%, var(--prf-cream) 45%, #f3efe8 100%);
}

/* Getpass: foto full-bleed visible (estilo Samadhi) + velo cálido no invasivo */
body.prf-landing--getpass {
    background: #1a120c;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

body.prf-landing--getpass .prf-atmosphere {
    background:
        url("/assets/img/landing/hero-barf.jpg") center center / cover no-repeat;
    transform: scale(1.02);
}

body.prf-landing--getpass .prf-atmosphere::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            180deg,
            rgba(38, 26, 16, 0.38) 0%,
            rgba(255, 248, 240, 0.55) 42%,
            rgba(255, 248, 240, 0.78) 100%
        );
}

body.prf-landing--getpass .prf-atmosphere::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 20%, rgba(255, 157, 46, 0.18), transparent 60%);
    opacity: 1;
    mask-image: none;
}

.prf-container {
    width: min(1140px, calc(100% - 2rem));
    margin-inline: auto;
}

.prf-header {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: blur(14px);
    background: rgba(248, 246, 251, 0.9);
    border-bottom: 1px solid rgba(220, 210, 236, 0.7);
}

.prf-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.7rem 0;
}

.prf-brand__logo {
    display: block;
    height: 2.2rem;
    width: auto;
}

.prf-header__nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.prf-link {
    color: var(--prf-charcoal);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.prf-link:hover {
    color: var(--prf-orange);
}

.prf-link--muted {
    color: #6b7280;
}

.prf-main {
    position: relative;
    z-index: 1;
    padding: 1.25rem 0 0.5rem;
}

/* —— Single-page asymmetric grid —— */
.prf-single {
    min-height: calc(100vh - 8.5rem);
    display: flex;
    align-items: center;
}

.prf-asymmetric {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4, minmax(5.5rem, auto));
    gap: 0.75rem;
    width: 100%;
}

.prf-card {
    background: var(--prf-white);
    border: 1px solid rgba(220, 210, 236, 0.85);
    border-radius: var(--prf-radius);
    padding: 1.1rem 1.2rem;
    box-shadow: var(--prf-shadow);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: prf-fade-up 0.6s ease both;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 0;
    position: relative;
    overflow: hidden;
}

.prf-card--bg {
    padding: 0;
    border-color: rgba(38, 38, 38, 0.12);
}

.prf-card--bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--prf-card-bg);
    background-size: cover;
    background-position: center;
    z-index: 0;
    transition: transform 0.35s ease;
}

.prf-card--bg::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        to top,
        rgba(38, 38, 38, 0.88) 0%,
        rgba(38, 38, 38, 0.45) 48%,
        rgba(38, 38, 38, 0.15) 100%
    );
}

.prf-card--hero.prf-card--bg::after {
    background: linear-gradient(
        105deg,
        rgba(248, 246, 251, 0.95) 42%,
        rgba(248, 246, 251, 0.72) 58%,
        rgba(38, 38, 38, 0.35) 100%
    );
}

.prf-card--accent.prf-card--bg::after {
    background: linear-gradient(
        to top,
        rgba(255, 105, 0, 0.9) 0%,
        rgba(38, 38, 38, 0.55) 55%,
        rgba(38, 38, 38, 0.2) 100%
    );
}

.prf-card--bg:hover::before {
    transform: scale(1.04);
}

.prf-card__content {
    position: relative;
    z-index: 2;
    padding: 1.1rem 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.prf-card--hero .prf-card__content {
    justify-content: center;
    padding: 1.5rem 1.6rem;
}

.prf-card--bg .prf-card__title,
.prf-card--bg .prf-card__text {
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.25);
}

.prf-card--hero.prf-card--bg .prf-card__title,
.prf-card--hero.prf-card--bg .prf-hero__title,
.prf-card--hero.prf-card--bg .prf-hero__lead {
    text-shadow: none;
}

.prf-card--bg .prf-step__num {
    color: var(--prf-orange-light);
}

.prf-card--bg .prf-card__icon {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    backdrop-filter: blur(4px);
}

.prf-card--hero.prf-card--bg .prf-card__icon {
    background: rgba(255, 105, 0, 0.1);
    color: var(--prf-orange);
}

.prf-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--prf-shadow-hover);
}

.prf-card--hero {
    grid-column: 1 / 5;
    grid-row: 1 / 3;
    animation-delay: 0s;
}

.prf-card--a {
    grid-column: 5 / 7;
    grid-row: 1 / 2;
    animation-delay: 0.05s;
}

.prf-card--b {
    grid-column: 5 / 7;
    grid-row: 2 / 3;
    animation-delay: 0.1s;
}

.prf-card--c {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    animation-delay: 0.12s;
}

.prf-card--d {
    grid-column: 3 / 5;
    grid-row: 3 / 4;
    animation-delay: 0.16s;
}

.prf-card--e {
    grid-column: 1 / 3;
    grid-row: 4 / 5;
    animation-delay: 0.2s;
}

.prf-card--f {
    grid-column: 5 / 7;
    grid-row: 3 / 5;
    animation-delay: 0.14s;
}

.prf-card--g {
    grid-column: 3 / 5;
    grid-row: 4 / 5;
    animation-delay: 0.24s;
}

.prf-card--accent {
    border-color: rgba(255, 157, 46, 0.45);
}

.prf-card--accent:not(.prf-card--bg) {
    background: linear-gradient(145deg, rgba(255, 157, 46, 0.14), rgba(255, 105, 0, 0.06));
}

.prf-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 105, 0, 0.1);
    color: var(--prf-orange-dark);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.85rem;
}

.prf-hero__title {
    margin: 0 0 0.65rem;
    font-size: clamp(1.65rem, 3.2vw, 2.5rem);
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.prf-hero__title span {
    color: var(--prf-orange);
}

.prf-hero__lead {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 300;
    color: #6b7280;
    max-width: 28rem;
}

.prf-hero__cta {
    margin-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.prf-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: rgba(255, 105, 0, 0.1);
    color: var(--prf-orange);
    font-size: 1rem;
    margin-bottom: 0.55rem;
}

.prf-card__title {
    margin: 0 0 0.25rem;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.prf-card__text {
    margin: 0;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.45;
}

.prf-step__num {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--prf-orange);
    margin-bottom: 0.35rem;
}

/* —— Modal —— */
.prf-modal {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.prf-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.prf-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(38, 38, 38, 0.45);
    backdrop-filter: blur(4px);
}

.prf-modal__panel {
    position: relative;
    z-index: 1;
    width: min(32rem, 100%);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    background: var(--prf-white);
    border: 1px solid rgba(220, 210, 236, 0.95);
    border-radius: var(--prf-radius-lg);
    box-shadow: 0 24px 64px rgba(38, 38, 38, 0.18);
    padding: 1.5rem 1.6rem 1.35rem;
    transform: translateY(12px) scale(0.98);
    transition: transform 0.25s ease;
}

.prf-modal.is-open .prf-modal__panel {
    transform: translateY(0) scale(1);
}

.prf-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.85rem;
    border: none;
    background: transparent;
    font-size: 1.5rem;
    line-height: 1;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.15rem 0.35rem;
}

.prf-modal__close:hover {
    color: var(--prf-ink);
}

.prf-modal__footer-note {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.85rem;
    color: #6b7280;
}

.prf-form-panel__title {
    margin: 0 2rem 0.35rem 0;
    font-size: 1.35rem;
    font-weight: 700;
}

.prf-form-panel__subtitle {
    margin: 0 0 1.25rem;
    color: #6b7280;
    font-weight: 300;
    font-size: 0.88rem;
}

.prf-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem 1rem;
}

.prf-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.prf-field--full {
    grid-column: 1 / -1;
}

.prf-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--prf-charcoal);
}

.prf-input,
.prf-textarea {
    width: 100%;
    border: 1px solid rgba(220, 210, 236, 1);
    border-radius: 0.55rem;
    padding: 0.65rem 0.8rem;
    font: inherit;
    font-size: 0.9rem;
    color: var(--prf-ink);
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.prf-input:focus,
.prf-textarea:focus {
    outline: none;
    border-color: var(--prf-orange-light);
    box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.12);
}

.prf-textarea {
    resize: vertical;
    min-height: 4rem;
}

.prf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.35rem;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.prf-btn--primary {
    background: linear-gradient(135deg, var(--prf-orange-light), var(--prf-orange));
    color: #fff;
    box-shadow: 0 8px 22px rgba(255, 105, 0, 0.25);
}

.prf-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(255, 105, 0, 0.32);
}

.prf-btn--ghost {
    background: transparent;
    color: var(--prf-charcoal);
    border: 1px solid rgba(220, 210, 236, 1);
}

.prf-btn--ghost:hover {
    border-color: var(--prf-orange-light);
    color: var(--prf-orange);
}

.prf-btn--dark {
    background: var(--prf-ink);
    color: #fff;
}

.prf-btn--google {
    background: #1a73e8;
    color: #fff;
}

.prf-btn--block {
    width: 100%;
}

.prf-btn--sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.78rem;
}

.prf-alert {
    border-radius: 0.55rem;
    padding: 0.75rem 0.9rem;
    font-size: 0.85rem;
    margin-bottom: 0.85rem;
}

.prf-alert--success {
    background: rgba(255, 157, 46, 0.12);
    color: #9a3412;
    border: 1px solid rgba(255, 157, 46, 0.35);
}

.prf-alert--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.prf-flash {
    position: fixed;
    top: 0.85rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1200;
    max-width: min(36rem, calc(100vw - 2rem));
    width: 100%;
    border-radius: 0.65rem;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    font-weight: 500;
    box-shadow: 0 12px 32px rgba(38, 38, 38, 0.18);
}

.prf-flash--success {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid rgba(255, 157, 46, 0.45);
}

.prf-flash--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* —— Verify / success pages —— */
.prf-section {
    padding: 2rem 0;
}

.prf-landing-narrow {
    max-width: 32rem;
    margin-inline: auto;
}

.prf-landing-center {
    text-align: center;
}

.prf-form-panel {
    background: var(--prf-white);
    border: 1px solid rgba(220, 210, 236, 0.95);
    border-radius: var(--prf-radius-lg);
    box-shadow: var(--prf-shadow);
    padding: 1.5rem;
}

.prf-qr-card {
    background: var(--prf-white);
    border: 1px solid rgba(220, 210, 236, 0.95);
    border-radius: var(--prf-radius-lg);
    padding: 1.5rem;
    box-shadow: var(--prf-shadow);
}

.prf-qr-card img {
    display: block;
    margin-inline: auto;
    border-radius: 0.55rem;
    border: 1px solid rgba(220, 210, 236, 0.9);
}

.prf-qr-code {
    margin-top: 0.75rem;
    font-family: ui-monospace, monospace;
    font-size: 0.72rem;
    color: #9ca3af;
    word-break: break-all;
}

.prf-wallet-card {
    background: #fff;
    border: 1px solid rgba(255, 157, 46, 0.25);
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: 0 8px 24px rgba(38, 38, 38, 0.06);
}

.prf-wallet-card--qr {
    text-align: center;
}

.prf-wallet-url {
    font-size: 0.78rem;
    color: #64748b;
    word-break: break-all;
    text-align: center;
    margin: 0;
}

.prf-dash-tier {
    background: linear-gradient(135deg, var(--prf-tier-color, var(--prf-orange)), #9a3412);
    color: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    box-shadow: var(--prf-shadow);
}

.prf-dash-tier--compact {
    border-radius: 0.65rem;
    padding: 0.4rem 0.7rem 0.45rem;
    box-shadow: 0 6px 14px rgba(38, 26, 16, 0.1);
}

.prf-dash-tier__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}

.prf-dash-tier__label {
    margin: 0 0 0.25rem;
    font-size: 0.78rem;
    opacity: 0.9;
}

.prf-dash-tier--compact .prf-dash-tier__label {
    margin: 0;
    font-size: 0.62rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    opacity: 0.85;
}

.prf-dash-tier__name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.prf-dash-tier--compact .prf-dash-tier__name {
    font-size: 0.95rem;
    line-height: 1.1;
}

.prf-dash-tier__points {
    margin: 0.75rem 0 0;
    font-size: 2rem;
    font-weight: 700;
}

.prf-dash-tier--compact .prf-dash-tier__points {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1;
    white-space: nowrap;
}

.prf-dash-tier__points span {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.prf-dash-tier--compact .prf-dash-tier__points span {
    font-size: 0.68rem;
}

.prf-dash-tier__bar {
    margin-top: 0.85rem;
    height: 0.45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.prf-dash-tier--compact .prf-dash-tier__bar {
    margin-top: 0.3rem;
    height: 0.22rem;
}

.prf-getpass--dashboard {
    padding: 0.35rem 0.65rem 0.15rem;
    align-items: flex-start;
}

.prf-getpass__stage--dashboard {
    width: min(21.5rem, 100%);
    padding: 0.45rem 0.7rem 0.5rem;
}

.prf-getpass__stage--dashboard .prf-getpass__brand {
    margin-bottom: 0.15rem;
}

.prf-getpass__stage--dashboard .prf-getpass__logo {
    width: min(6.75rem, 34vw);
}

.prf-getpass__stage--dashboard .prf-getpass__title {
    font-size: clamp(1rem, 3.2vw, 1.18rem);
    margin-bottom: 0.1rem;
}

.prf-getpass__stage--dashboard .prf-getpass__lead {
    margin-bottom: 0.3rem;
    font-size: 0.72rem;
}

.prf-getpass__hint--center {
    text-align: center;
    margin: 0 0 0.3rem;
}

.prf-wallet-card--compact {
    margin-top: 0.4rem;
    padding: 0.4rem 0.55rem 0.5rem;
    border-radius: 0.7rem;
    text-align: center;
}

.prf-wallet-card--compact .prf-card__text {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    line-height: 1.25;
    text-align: center;
}

.prf-getpass__dash-qr-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 0.65rem;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid rgba(220, 210, 236, 0.85);
}

.prf-getpass__dash-qr {
    display: block;
    width: min(280px, 72vw);
    height: auto;
    max-width: 280px;
    aspect-ratio: 1;
    margin: 0 auto;
    image-rendering: pixelated;
}

.prf-getpass__dash-qr-fallback {
    margin: 0.55rem 0 0;
    text-align: center;
}

.prf-getpass__dash-qr-link {
    font-size: 0.78rem;
    color: #9a3412;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.prf-getpass__dash-actions {
    margin-top: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.prf-getpass__dash-btn-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.35rem;
}

.prf-getpass__stage--dashboard .prf-alert {
    margin: 0 0 0.3rem;
    padding: 0.35rem 0.5rem;
    font-size: 0.68rem;
}

.prf-alert--dash-promo {
    margin-top: 0.3rem !important;
}

.prf-getpass__stage--dashboard .prf-btn {
    min-height: 2rem;
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
}

.prf-getpass__stage--dashboard .prf-btn--sm {
    min-height: 1.9rem;
    font-size: 0.76rem;
    padding: 0.35rem 0.55rem;
}

/* Dashboard getpass: caber tarjeta + footer (Desarrollado por) en 1 viewport */
body.prf-landing--getpass:has(.prf-getpass--dashboard) .prf-main--getpass {
    align-items: center;
    justify-content: center;
    padding-top: 0.1rem;
    padding-bottom: 0;
}

body.prf-landing--getpass:has(.prf-getpass--dashboard) .prf-footer--getpass {
    padding: 0.1rem 0 0.35rem;
}

body.prf-landing--getpass:has(.prf-getpass--dashboard) .prf-footer--getpass .prf-footer__inner {
    gap: 0.2rem;
}

body.prf-landing--getpass:has(.prf-getpass--dashboard) .prf-footer__dev-logo {
    width: 78px;
    height: auto;
}

@media (max-height: 780px) {
    .prf-getpass__stage--dashboard .prf-getpass__logo {
        width: min(5.75rem, 30vw);
    }

    .prf-getpass__dash-qr {
        width: min(240px, 68vw);
    }

    .prf-getpass__stage--dashboard .prf-getpass__lead {
        display: none;
    }
}

@media (max-height: 680px) {
    .prf-getpass__hint--center {
        display: none;
    }

    .prf-getpass__dash-qr {
        width: min(220px, 64vw);
    }

    .prf-dash-tier--compact {
        padding: 0.32rem 0.55rem 0.35rem;
    }
}

.prf-dash-tier__fill {
    height: 100%;
    border-radius: 999px;
    background: #fff;
}

/* Beneficios — mismo lenguaje visual getpass (landing / dashboard / historial) */
.prf-getpass--benefits {
    width: 100%;
}

.prf-getpass__stage--benefits {
    width: min(100%, 26rem);
    gap: 0.65rem;
}

.prf-getpass__stage--benefits .prf-getpass__logo {
    width: min(7rem, 36vw);
}

.prf-getpass__stage--benefits .prf-getpass__title {
    font-size: clamp(1.45rem, 5vw, 1.75rem);
}

.prf-getpass__stage--benefits .prf-getpass__lead {
    margin-bottom: 0.15rem;
}

.prf-benefits-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    width: 100%;
    border: 1px solid rgba(255, 157, 46, 0.28);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(38, 38, 38, 0.05);
}

.prf-benefit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.8rem 0.95rem;
    border-bottom: 1px solid rgba(255, 157, 46, 0.16);
}

.prf-benefit-row:last-child {
    border-bottom: none;
}

.prf-benefit-row__body {
    min-width: 0;
    flex: 1;
}

.prf-benefit-row__title {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #262626;
    line-height: 1.25;
}

.prf-benefit-row__text {
    margin: 0.25rem 0 0;
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 300;
    line-height: 1.35;
}

.prf-benefit-row__cost {
    margin: 0.35rem 0 0;
    font-weight: 700;
    color: var(--prf-orange, #ff6900);
    font-size: 0.88rem;
}

.prf-benefit-row__coupon {
    margin: 0.45rem 0 0;
    display: grid;
    gap: 0.2rem;
}

.prf-benefit-row__coupon-label {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.prf-benefit-row__coupon-code {
    display: inline-block;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #1f2937;
    background: #fff7ed;
    border: 1px dashed rgba(255, 105, 0, 0.45);
    border-radius: 0.45rem;
    padding: 0.35rem 0.55rem;
    user-select: all;
}

.prf-benefit-row__partner {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.prf-benefit-row--issued {
    background: linear-gradient(90deg, rgba(255, 247, 237, 0.95), rgba(255, 255, 255, 0.92));
}

.prf-benefit-row__action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.prf-benefit-row__muted {
    display: inline-block;
    margin: 0;
    padding: 0.32rem 0.55rem;
    max-width: 8.25rem;
    font-family: var(--prf-font);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    color: #6b7280;
    background: #f3f4f6;
    border-radius: 0.4rem;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

/* Non-interactive in-store redeem badge (not a button; no hover affordance) */
.prf-benefit-row__sucursal {
    display: inline-block;
    margin: 0;
    padding: 0.32rem 0.55rem;
    max-width: 8.25rem;
    font-family: var(--prf-font);
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    color: #2c1810;
    background: var(--prf-logo-orange, #f8b018);
    border-radius: 0.4rem;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.prf-getpass__stage--benefits .prf-getpass__dash-actions {
    margin-top: 0.35rem;
    width: 100%;
}

.prf-getpass__stage--benefits .prf-alert {
    width: 100%;
    margin: 0;
}

/* Legacy aliases (por si quedan referencias) */
.prf-benefits-grid {
    display: grid;
    gap: 0.85rem;
    margin-top: 1rem;
}

.prf-benefit-card {
    background: #fff;
    border: 1px solid rgba(255, 157, 46, 0.22);
    border-radius: 0.85rem;
    padding: 1rem 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    box-shadow: 0 6px 18px rgba(38, 38, 38, 0.04);
}

.prf-benefit-card__cost {
    margin: 0.25rem 0 0;
    font-weight: 700;
    color: var(--prf-orange);
    font-size: 0.95rem;
}

.prf-benefit-card__muted {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: #6b7280;
}

/* Historial — mismo lenguaje visual getpass (landing / dashboard) */
.prf-getpass--history {
    width: 100%;
}

.prf-getpass__stage--history {
    width: min(100%, 26rem);
    gap: 0.65rem;
}

.prf-getpass__stage--history .prf-getpass__logo {
    width: min(7rem, 36vw);
}

.prf-getpass__stage--history .prf-getpass__title {
    font-size: clamp(1.45rem, 5vw, 1.75rem);
}

.prf-getpass__stage--history .prf-getpass__lead {
    margin-bottom: 0.15rem;
}

.prf-history-list {
    list-style: none;
    margin: 0.35rem 0 0;
    padding: 0;
    width: 100%;
    border: 1px solid rgba(255, 157, 46, 0.28);
    border-radius: 0.85rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(38, 38, 38, 0.05);
}

.prf-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.75rem 0.9rem;
    border-bottom: 1px solid rgba(255, 157, 46, 0.16);
}

.prf-history-item:last-child {
    border-bottom: none;
}

.prf-history-item__title {
    margin: 0;
    font-weight: 600;
    font-size: 0.9rem;
    color: #262626;
}

.prf-history-item__date {
    margin: 0.2rem 0 0;
    font-size: 0.76rem;
    color: #6b7280;
    font-weight: 300;
}

.prf-history-item__amounts {
    text-align: right;
    flex-shrink: 0;
}

.prf-history-item__points {
    margin: 0;
    font-weight: 700;
    color: var(--prf-orange, #ff6900);
    font-size: 0.92rem;
}

.prf-history-item__points--neutral {
    font-weight: 600;
    color: #6b7280;
}

.prf-history-item__promo {
    display: inline-block;
    margin: 0.2rem 0 0;
    padding: 0.16rem 0.4rem;
    max-width: 9.5rem;
    font-family: var(--prf-font);
    font-size: 0.62rem;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-align: center;
    color: #4b5563;
    background: rgba(107, 114, 128, 0.12);
    border-radius: 0.35rem;
    cursor: default;
    user-select: none;
    pointer-events: none;
}

.prf-history-item__money {
    margin: 0.15rem 0 0;
    font-size: 0.76rem;
    color: #6b7280;
}

.prf-history-pager {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 0.35rem;
    font-size: 0.86rem;
}

.prf-getpass__stage--history .prf-getpass__dash-actions {
    margin-top: 0.35rem;
    width: 100%;
}

.prf-stack {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.prf-footer {
    position: relative;
    z-index: 1;
    padding: 0.85rem 0 1.25rem;
    border-top: 1px solid rgba(220, 210, 236, 0.7);
}

.prf-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.prf-footer__copy {
    margin: 0;
    font-size: 0.75rem;
    color: #9ca3af;
    font-weight: 300;
}

@keyframes prf-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 900px) {
    .prf-single {
        min-height: auto;
        align-items: stretch;
    }

    .prf-asymmetric {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .prf-card--hero,
    .prf-card--a,
    .prf-card--b,
    .prf-card--c,
    .prf-card--d,
    .prf-card--e,
    .prf-card--f,
    .prf-card--g {
        grid-column: auto;
        grid-row: auto;
    }

    .prf-card--hero {
        grid-column: 1 / -1;
    }

    .prf-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .prf-asymmetric {
        grid-template-columns: 1fr;
    }

    .prf-hero__cta .prf-btn {
        width: 100%;
    }
}

/* —— Getpass (landing minimalista, 1 viewport) —— */
.prf-main--getpass {
    padding: 0;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
}

.prf-getpass {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.55rem 0.75rem 0.35rem;
}

.prf-getpass__stage {
    width: min(24.5rem, 100%);
    margin: 0 auto;
    padding: 0.7rem 0.85rem 0.8rem;
    border-radius: 0.9rem;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 12px 32px rgba(38, 26, 16, 0.12);
    animation: prf-getpass-in 0.55s ease both;
}

.prf-getpass__brand {
    text-align: center;
    margin-bottom: 0.35rem;
}

.prf-getpass__logo {
    display: inline-block;
    width: min(8.75rem, 42vw);
    height: auto;
    filter: drop-shadow(0 6px 14px rgba(38, 38, 38, 0.08));
}

.prf-getpass__title {
    margin: 0 0 0.2rem;
    font-size: clamp(1.05rem, 3.4vw, 1.28rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--prf-ink);
}

.prf-getpass__lead {
    margin: 0 0 0.4rem;
    text-align: center;
    font-size: 0.78rem;
    color: #5b6470;
    line-height: 1.3;
}

.prf-getpass__points-link {
    margin: 0 0 0.5rem;
    text-align: center;
}

.prf-getpass__points-link a {
    color: var(--prf-orange);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.16em;
    transition: color 0.2s ease;
}

.prf-getpass__points-link a:hover {
    color: var(--prf-orange-dark);
}

.prf-getpass__hint {
    margin: 0.1rem 0 0;
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.25;
}

.prf-getpass__secondary {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.74rem;
    color: #5b6470;
}

.prf-getpass__secondary a {
    color: var(--prf-orange);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.prf-getpass__secondary a:hover {
    color: var(--prf-orange-dark);
}

.prf-getpass__stage--card {
    width: min(26rem, 100%);
}

.prf-digital-card {
    margin: 0.35rem 0 0.75rem;
    padding: 0.85rem 0.75rem 1rem;
    border-radius: 0.85rem;
    background:
        linear-gradient(160deg, rgba(255, 105, 0, 0.12) 0%, rgba(255, 255, 255, 0.95) 42%, #fff8f0 100%);
    border: 1px solid rgba(255, 105, 0, 0.22);
    box-shadow: 0 10px 28px rgba(38, 26, 16, 0.1);
    text-align: center;
    animation: prf-card-reveal 0.55s ease both;
}

.prf-digital-card__brand {
    margin: 0 0 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--prf-charcoal);
}

.prf-digital-card__meta {
    margin: 0 0 0.55rem;
    font-size: 0.72rem;
    color: #6b7280;
}

.prf-digital-card__qr {
    display: flex;
    justify-content: center;
    margin: 0 auto 0.65rem;
}

.prf-digital-card__qr img {
    display: block;
    width: min(11.5rem, 58vw);
    height: auto;
    border-radius: 0.45rem;
    background: #fff;
    padding: 0.35rem;
    box-shadow: 0 4px 14px rgba(38, 38, 38, 0.08);
}

.prf-digital-card__code {
    margin: 0 0 0.2rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    word-break: break-all;
    color: var(--prf-ink);
}

.prf-digital-card__hint {
    margin: 0;
    font-size: 0.7rem;
    color: #6b7280;
}

.prf-getpass__card-actions {
    margin-top: 0.15rem;
}

.prf-getpass__form {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.prf-getpass__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
}

.prf-getpass__form .prf-field {
    margin: 0;
    gap: 0.18rem;
}

.prf-getpass__form .prf-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--prf-charcoal);
    margin: 0;
}

.prf-getpass__form .prf-label__hint {
    font-weight: 500;
    color: #6b7280;
}

.prf-getpass__form .prf-input,
.prf-getpass__form .prf-textarea {
    border-radius: 0.55rem;
    border-color: rgba(38, 38, 38, 0.12);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.38rem 0.65rem;
    font-size: 0.84rem;
    line-height: 1.25;
    min-height: 2rem;
}

.prf-getpass__form .prf-input {
    height: 2rem;
}

.prf-getpass__form .prf-textarea {
    height: auto;
    min-height: 4.2rem;
    resize: none;
}

.prf-getpass__form .prf-alert {
    margin-bottom: 0.35rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.75rem;
}

.prf-getpass__cta {
    margin-top: 0.15rem;
    border-radius: 0.65rem;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    min-height: 2.35rem;
    animation: prf-cta-pulse 2.8s ease-in-out infinite;
}

.prf-footer--getpass {
    position: relative;
    z-index: 1;
    border-top: none;
    padding: 0.2rem 0 0.55rem;
    flex: 0 0 auto;
}

.prf-footer--getpass .prf-footer__inner {
    justify-content: center;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
}

.prf-footer__row {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
}

.prf-footer__sep {
    color: #6b7280;
    font-size: 0.75rem;
}

.prf-footer__terms {
    margin: 0;
}

.prf-footer__terms-btn {
    appearance: none;
    border: none;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--prf-ink);
    text-decoration: underline;
    text-underline-offset: 0.18em;
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.65);
}

.prf-footer__terms-btn:hover {
    color: var(--prf-orange);
}

.prf-footer__dev {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.prf-footer__dev-label {
    margin: 0;
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--prf-charcoal);
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}

.prf-footer__dev-link {
    line-height: 0;
    display: inline-block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.prf-footer__dev-link:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.prf-footer__dev-logo {
    display: block;
    width: 84px;
    height: auto;
    filter: drop-shadow(0 2px 6px rgba(38, 26, 16, 0.35));
}

.prf-footer__copy {
    margin: 0;
}

.prf-footer--getpass .prf-footer__terms-btn {
    font-size: 0.72rem;
}

.prf-footer--getpass .prf-footer__copy {
    font-size: 0.68rem;
    color: #4b5563;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

@media (max-height: 760px) {
    .prf-getpass__logo {
        width: min(7.5rem, 38vw);
    }

    .prf-getpass__title {
        font-size: clamp(0.98rem, 3vw, 1.12rem);
    }

    .prf-getpass__lead {
        display: none;
    }

    .prf-getpass__form .prf-input {
        min-height: 1.85rem;
        height: 1.85rem;
        padding: 0.28rem 0.55rem;
        font-size: 0.8rem;
    }

    .prf-getpass__form .prf-textarea {
        min-height: 3.6rem;
        padding: 0.3rem 0.55rem;
        font-size: 0.8rem;
    }

    .prf-getpass__cta {
        min-height: 2.1rem;
        padding: 0.45rem 0.9rem;
        font-size: 0.84rem;
    }
}

@media (max-width: 420px) {
    .prf-getpass__row {
        grid-template-columns: 1fr 1fr;
        gap: 0.35rem;
    }

    .prf-getpass__stage {
        padding: 0.55rem 0.7rem 0.65rem;
    }

    .prf-footer--getpass .prf-footer__inner {
        gap: 0.25rem 0.55rem;
    }
}

/* Overlay carga: validación + asignación de tarjeta digital */
.prf-card-loading {
    position: fixed;
    inset: 0;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(26, 18, 12, 0.52);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.prf-card-loading.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.prf-card-loading[hidden] {
    display: none !important;
}

.prf-card-loading.is-open[hidden] {
    display: flex !important;
}

.prf-card-loading__panel {
    width: min(20rem, 100%);
    text-align: center;
    background: rgba(255, 254, 251, 0.96);
    border: 1px solid rgba(255, 105, 0, 0.22);
    border-radius: 1rem;
    box-shadow: 0 22px 50px rgba(26, 18, 12, 0.28);
    padding: 1.35rem 1.2rem 1.45rem;
    animation: prf-getpass-in 0.28s ease both;
}

.prf-card-loading__gif {
    display: block;
    width: 7.5rem;
    height: 7.5rem;
    margin: 0 auto 0.85rem;
}

.prf-card-loading__title {
    margin: 0 0 0.4rem;
    font-family: 'Lexend', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--prf-ink, #1a120c);
}

.prf-card-loading__text {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.45;
    color: #52525b;
}

/* Modal términos */
.prf-terms-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.prf-terms-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.prf-terms-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 12, 0.55);
    backdrop-filter: blur(4px);
}

.prf-terms-modal__panel {
    position: relative;
    z-index: 1;
    width: min(34rem, 100%);
    max-height: min(78vh, 36rem);
    overflow: auto;
    background: #fffefb;
    border-radius: 1rem;
    border: 1px solid rgba(255, 157, 46, 0.25);
    box-shadow: 0 24px 60px rgba(26, 18, 12, 0.28);
    padding: 1.35rem 1.25rem 1.5rem;
    transform: translateY(12px);
    transition: transform 0.25s ease;
}

.prf-terms-modal.is-open .prf-terms-modal__panel {
    transform: translateY(0);
}

.prf-terms-modal__close {
    position: absolute;
    top: 0.55rem;
    right: 0.7rem;
    border: none;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.prf-terms-modal__close:hover {
    color: var(--prf-orange);
}

.prf-terms-modal__title {
    margin: 0 2rem 0.85rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--prf-ink);
}

.prf-terms-modal__body {
    font-size: 0.88rem;
    color: #3f3f46;
    line-height: 1.55;
}

.prf-terms-modal__body h3 {
    margin: 1rem 0 0.35rem;
    font-size: 0.95rem;
    color: var(--prf-charcoal);
}

.prf-terms-modal__body p {
    margin: 0 0 0.65rem;
}

.prf-terms-modal__body ul {
    margin: 0 0 0.75rem;
    padding-left: 1.15rem;
}

.prf-terms-modal__body li {
    margin-bottom: 0.35rem;
}

@keyframes prf-getpass-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes prf-card-reveal {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes prf-cta-pulse {
    0%,
    100% {
        box-shadow: 0 8px 22px rgba(255, 105, 0, 0.25);
    }
    50% {
        box-shadow: 0 12px 30px rgba(255, 105, 0, 0.38);
    }
}

@media (prefers-reduced-motion: reduce) {
    .prf-getpass__stage,
    .prf-getpass__cta,
    .prf-digital-card {
        animation: none;
    }
}
