/* San Fernando: shared responsive presentation layer. */
:root { --sf-blue: #005ba9; --sf-navy: #034587; --sf-red: #e2211c; --sf-ink: #163653; --sf-muted: #586c80; --sf-line: #dce6ee; }
body { font-family: "Segoe UI", Arial, sans-serif; font-size: 1rem; line-height: 1.65; color: var(--sf-ink); background: #f4f7fa; }
img { max-width: 100%; height: auto; }
a { color: var(--sf-blue); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid #18a1fc !important; outline-offset: 4px; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 1100; padding: 12px; background: white; }
.skip-link:focus { top: 12px; }
.site-header { position: relative; min-height: 112px; overflow: hidden; color: white; background: linear-gradient(110deg, #005ba9 0%, #0868b5 100%); }
.site-header::after { content: ""; position: absolute; width: 250px; height: 250px; border: 1px solid #ffffff20; border-radius: 50%; right: -55px; top: -105px; box-shadow: 0 0 0 48px #ffffff05; pointer-events: none; }
.brand-bar { position: relative; z-index: 1; max-width: 1180px; min-height: 112px; margin: auto; display: flex; align-items: center; gap: 20px; padding: 18px 32px 28px; }
.brand-link { display: inline-flex; align-items: center; }
.brand-link img { width: 128px; max-height: 62px; object-fit: contain; }
.brand-divider { width: 1px; height: 30px; background: #ffffff45; }
.brand-service { font-size: clamp(23px, 2.5vw, 30px); font-weight: 750; line-height: 1.15; letter-spacing: -.5px; }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 2px; }
.page-shell { position: relative; max-width: 1116px; margin-top: -18px; padding: 0 24px; }
.page-shell > .row { background: transparent; }
.content-panel { padding: clamp(24px, 4vw, 48px); border: 1px solid var(--sf-line); border-radius: 22px; box-shadow: 0 14px 42px #03458709; min-width: 0; }
.welcome { text-align: center; margin-bottom: 32px; }
.welcome .eyebrow { color: var(--sf-blue); }
.welcome h1 { font-size: clamp(25px, 3vw, 34px); font-weight: 700; letter-spacing: -.8px; margin: 12px 0; }
.welcome p { color: var(--sf-muted); font-size: 15px; margin: 0; }
.voucher-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 830px; margin: auto; }
.voucher-card { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--sf-line); border-radius: 16px; background: linear-gradient(160deg, #eff7fd, white 65%); transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.voucher-card.digital { background: linear-gradient(160deg, #fff2f1, white 65%); }
.card-top { display: flex; align-items: center; justify-content: space-between; }
.card-tag { font-size: 10px; font-weight: 750; letter-spacing: 1.2px; color: var(--sf-blue); padding: 5px 10px; border-radius: 6px; background: #005ba910; }
.digital .card-tag { color: #b91c18; background: #e2211c0c; }
.card-number { font-size: 13px; color: var(--sf-muted); }
.voucher-image { display: flex; justify-content: center; align-items: center; height: 170px; margin: 10px 0; }
.voucher-image img { height: 165px; width: auto; object-fit: contain; transition: transform .25s ease; }
.voucher-card h2 { font-size: 22px; font-weight: 700; letter-spacing: -.5px; }
.voucher-card > p { font-size: 14px; color: var(--sf-muted); margin: 4px 0 24px; }
.btn { border-radius: 9px; border-bottom-width: 1px; font-family: inherit; font-weight: 600; min-height: 46px; transition: background-color .2s, box-shadow .2s, transform .2s; }
.btn-primary { background: var(--sf-blue); border-color: var(--sf-blue); }
.btn-danger { background: var(--sf-red); border-color: var(--sf-red); }
.btn-secondary { background: #edf2f6; border-color: #dce6ee; color: var(--sf-navy); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.card-action { display: flex; align-items: center; justify-content: space-between; text-align: left; font-size: 14px; padding: 12px 18px; margin-top: auto; }
.card-action span { font-size: 22px; line-height: 1; }
.help-button { align-self: center; background: none; border: 0; color: var(--sf-muted); font-size: 12px; padding: 14px 5px 0; min-height: 44px; }
.help-button:hover { color: var(--sf-blue); text-decoration: underline; }
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--sf-line); margin-top: 36px; padding-top: 28px; }
.process > div { display: flex; align-items: center; gap: 12px; }
.process > div > span { display: grid; place-items: center; flex: 0 0 32px; height: 32px; border: 1px solid var(--sf-line); border-radius: 50%; color: var(--sf-blue); font-size: 12px; font-weight: 700; }
.process p { margin: 0; font-size: 11px; color: var(--sf-muted); }
.process strong { display: block; color: var(--sf-ink); font-size: 12px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1116px; margin: auto; padding: 32px 24px; color: var(--sf-muted); font-size: 12px; }
.site-footer img { width: 115px; max-height: 50px; object-fit: contain; }
.lookup-layout { --bs-gutter-x: 2rem; align-items: start; }
.lookup-layout > :first-child > img { max-height: 240px; object-fit: contain; }
.lookup-form { min-width: 0; }
.lookup-form .row.col-12 { width: auto; }
.lookup-form .fs-2 { font-family: inherit; font-size: 24px !important; font-weight: 700; letter-spacing: -.6px; margin-bottom: 8px; }
.lookup-form .fs-5, .lookup-form .fs-3 { font-family: inherit; font-size: 15px !important; }
.form-control, .form-select { min-height: 48px; border: 1px solid #cbd8e3; border-radius: 8px; padding: 11px 13px; color: var(--sf-ink); background-color: #fbfcfe; }
.form-control:focus, .form-select:focus { border-color: var(--sf-blue); box-shadow: 0 0 0 3px #005ba915; background-color: white; }
.form-label { font-weight: 600; margin-bottom: 6px; }
.client-field { position: relative; }
.client-field--complete .form-control {
  border-color: #42a774;
}
.client-field__bubble[hidden] { display: none; }
.client-field__bubble { position: absolute; right: 0; bottom: -30px; z-index: 4; max-width: min(100%, 330px); padding: 8px 11px; border-radius: 8px; background: #173b58; color: #fff; font-size: .76rem; font-weight: 650; line-height: 1.35; box-shadow: 0 8px 22px rgba(15, 47, 73, .22); }
.client-field__bubble::before { content: ''; position: absolute; top: -6px; right: 18px; width: 12px; height: 12px; background: inherit; transform: rotate(45deg); }

/* Formulario de datos del titular digital. */
.customer-form-page { display: grid; grid-template-columns: minmax(210px, .72fr) minmax(0, 1.65fr); gap: clamp(28px, 5vw, 64px); width: min(100%, 900px); margin: 0 auto; align-items: start; }
.customer-form-page__aside { position: static; padding: 30px 24px; border-radius: 20px; background: linear-gradient(155deg, #f4f9fd, #fff); border: 1px solid #dce7f0; text-align: center; }
.customer-form-page__aside img { width: min(100%, 220px); }
.customer-form-page__aside p { margin: 22px 0 4px; color: #0871d1; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.customer-form-page__aside strong { display: block; color: #244761; font-size: .92rem; line-height: 1.5; }
.customer-form-card { padding: clamp(24px, 4vw, 38px); border: 1px solid #dce6ee; border-radius: 20px; background: #fff; box-shadow: 0 16px 38px rgba(17, 48, 78, .08); }
.customer-form-card__header { margin-bottom: 24px; }
.customer-form-card__step { color: #0871d1; font-size: .72rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.customer-form-card__header h1 { margin: 4px 0 6px; color: #123653; font-size: clamp(1.65rem, 3.5vw, 2.15rem); font-weight: 800; line-height: 1.15; }
.customer-form-card__header p { margin: 0; color: #687e90; font-size: .93rem; }
.customer-form__notice { display: flex; gap: 13px; margin-bottom: 24px; padding: 14px 16px; border: 1px solid #b9ddca; border-radius: 12px; background: #f3fbf7; color: #244d39; }
.customer-form__notice-icon { display: grid; flex: 0 0 30px; width: 30px; height: 30px; place-items: center; border-radius: 50%; background: #228653; color: #fff; font-weight: 900; }
.customer-form__notice strong { display: block; margin-bottom: 2px; font-size: .9rem; }
.customer-form__notice p { margin: 0; color: #507060; font-size: .82rem; line-height: 1.45; }
.customer-form__notice--preserved { border-color: #bdd8ef; background: #f2f8fd; color: #214d70; }
.customer-form__notice--preserved .customer-form__notice-icon { background: #0871d1; }
.customer-form__notice--preserved p { color: #55748d; }
.customer-form .client-field { margin-bottom: 17px; }
.customer-form .form-label { margin-bottom: 6px; color: #24445d; font-size: .87rem !important; font-weight: 750; }
.customer-form .form-control { min-height: 49px; border-color: #cddae4; border-radius: 10px; background: #fbfcfd; font-size: .95rem !important; }
.customer-form .form-control:focus { border-color: #0871d1; background: #fff; box-shadow: 0 0 0 4px rgba(8, 113, 209, .1); }
.customer-form__actions { display: flex; gap: 12px; margin-top: 26px; }
.customer-form__actions .btn { min-width: 130px; min-height: 48px; padding: 11px 22px; font-size: .95rem; font-weight: 750; }
.lookup-form .row:not(.physical-captcha-row):has(> div > #codigocaptcha) { display: grid; grid-template-columns: minmax(0, 1fr) 105px 44px; align-items: center; gap: 6px; margin-top: 8px; }
.lookup-form .row:not(.physical-captcha-row):has(> div > #codigocaptcha) > * { width: auto; padding-left: 0; padding-right: 0; min-width: 0; }
#captcha { border-radius: 8px; text-align: center; font-size: 26px !important; overflow: hidden; }
.captcha-refresh { border: 1px solid var(--sf-line); border-radius: 8px; height: 44px; color: var(--sf-blue); background: #eff6fc; font-size: 24px; line-height: 1; }
.lookup-layout > :last-child:not(:nth-child(2)) { color: var(--sf-muted); }
.lookup-layout > :last-child .fs-5 { font-size: 14px !important; }
.modal-content { border: 0; border-radius: 18px; box-shadow: 0 20px 70px #03458725; }
.modal-header { gap: 14px; padding: 22px; border-color: var(--sf-line); }
.modal-header img { width: 44px; object-fit: contain; }
.modal-title { font-family: inherit; font-size: 20px; font-weight: 700; }
.modal-body { padding: 24px; }
.modal-body .text-small { font-size: 14px; line-height: 1.7; }
.modal-body li { line-height: 1.7; margin-bottom: 10px; }
.modal-body ul { padding-left: 20px !important; }
.modal-footer { border-color: var(--sf-line); }
/* Condiciones y directorio de puntos de canje. */
.conditions-modal { max-width: 900px; }
.conditions-modal .modal-content { overflow: hidden; }
.conditions-modal .modal-header { align-items: center; padding: 20px 26px; background: linear-gradient(135deg, #f5faff, #fff); }
.conditions-modal .modal-header > div { min-width: 0; }
.conditions-modal .modal-title { margin: 2px 0 0; color: #123653; font-size: clamp(19px, 2.5vw, 24px); line-height: 1.2; }
.conditions-modal__icon { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 15px; background: #e5f2fc; }
.conditions-modal__icon--digital { background: #fff0ef; }
.conditions-modal__icon img, .conditions-modal .modal-header img { width: 36px; height: 36px; object-fit: contain; }
.condition-eyebrow { display: block; color: #0871d1; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.conditions-modal .modal-body { padding: 26px; background: #fff; }
.conditions-modal__intro { margin: 0 0 17px; color: #62798c; font-size: 15px; }
.condition-list { display: grid; gap: 10px; margin: 0 0 26px; padding: 0; list-style: none; counter-reset: none; }
.conditions-modal .condition-list > li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 13px; align-items: start; margin: 0; padding: 14px 16px; border: 1px solid #e0e9f0; border-radius: 12px; background: #fbfdff; line-height: 1.5; }
.condition-list > li > span { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #e7f2fc; color: #0867b8; font-size: 13px; font-weight: 800; }
.condition-list strong { display: block; margin-bottom: 2px; color: #173b58; font-size: 14px; }
.condition-list p { margin: 0; color: #5d7487; font-size: 13px; line-height: 1.55; }
.app-downloads { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.app-downloads a { display: inline-flex; }
.app-downloads img { width: auto; height: 36px; }
.store-directory { margin-top: 4px; padding: 20px; border-radius: 16px; background: #f3f8fc; }
.store-directory__heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.store-directory__heading h5 { margin: 2px 0 0; color: #153a57; font-size: 19px; font-weight: 750; }
.store-directory__total { flex: 0 0 auto; padding: 5px 10px; border-radius: 999px; background: #dfeef9; color: #175f98; font-size: 12px; font-weight: 750; }
.store-groups { display: grid; gap: 20px; }
.store-department { overflow: hidden; border: 1px solid #cfdde8; border-radius: 14px; background: #fff; box-shadow: 0 5px 14px rgba(24, 69, 103, .05); }
.store-department > summary { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto 14px; gap: 13px; align-items: center; min-height: 76px; padding: 14px 18px; color: #173b58; list-style: none; cursor: pointer; transition: background .18s, border-color .18s; }
.store-department > summary::-webkit-details-marker { display: none; }
.store-department > summary:hover, .store-department > summary:focus-visible { background: #f3f9fd; outline: 0; }
.store-department__icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 12px; background: linear-gradient(145deg, #e3f2fd, #f1f8fd); color: #0871d1; font-size: 23px; }
.location-pin { position: relative; }
.location-pin::before { content: ""; width: 14px; height: 18px; border: 2px solid #0871d1; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.location-pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #0871d1; transform: translate(-50%, -65%); }
.store-department__name { min-width: 0; }
.store-department__name strong, .store-department__name small { display: block; }
.store-department__name strong { color: #153a57; font-size: 16px; line-height: 1.25; text-transform: capitalize; }
.store-department__name small { margin-top: 3px; color: #748898; font-size: 11px; }
.store-department__count { padding: 5px 10px; border-radius: 999px; background: #e8f3fb; color: #17669f; font-size: 11px; font-weight: 750; white-space: nowrap; }
.store-department__chevron { width: 10px; height: 10px; border-right: 2px solid #1470bc; border-bottom: 2px solid #1470bc; transform: rotate(45deg); transition: transform .18s; }
.store-department[open] { border-color: #afcde3; box-shadow: 0 9px 24px rgba(24, 69, 103, .08); }
.store-department[open] > summary { border-bottom: 1px solid #d9e5ed; background: #f3f9fd; }
.store-department[open] .store-department__chevron { transform: rotate(225deg); }
.store-department__body { padding: 14px; background: #f8fbfd; }
.store-districts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.store-card { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; min-width: 0; padding: 14px; border: 1px solid #dbe6ee; border-radius: 11px; background: #fff; }
.store-card__pin { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #eaf4fc; color: #0871d1; font-size: 20px; }
.store-card strong { display: block; color: #173b58; font-size: 14px; line-height: 1.3; }
.store-card p { margin: 3px 0 8px; color: #657b8c; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.store-card a { font-size: 12px; font-weight: 750; text-decoration: none; }
.store-card a:hover { text-decoration: underline; }
.store-district { overflow: hidden; border: 1px solid #dbe6ee; border-radius: 11px; background: #fff; }
.store-district summary { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto 12px; gap: 10px; align-items: center; min-height: 62px; padding: 13px 14px; color: #173b58; list-style: none; cursor: pointer; }
.store-district summary::-webkit-details-marker { display: none; }
.store-district summary:hover, .store-district summary:focus-visible { background: #f7fbfe; outline: 0; }
.store-district summary strong { min-width: 0; font-size: 14px; }
.store-district summary small { padding: 4px 8px; border-radius: 999px; background: #eaf4fc; color: #17669f; font-size: 11px; font-weight: 750; white-space: nowrap; }
.store-district__chevron { width: 9px; height: 9px; border-right: 2px solid #1470bc; border-bottom: 2px solid #1470bc; transform: rotate(45deg); transition: transform .18s; }
.store-district[open] summary { border-bottom: 1px solid #dbe6ee; background: #f7fbfe; }
.store-district[open] .store-district__chevron { transform: rotate(225deg); }
.store-district__locations { display: grid; padding: 4px 14px 8px; }
.store-location { display: grid; grid-template-columns: 25px minmax(0, 1fr); gap: 9px; padding: 12px 0; border-bottom: 1px solid #e7eef3; }
.store-location:last-child { border-bottom: 0; }
.store-location__number { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 50%; background: #edf4f9; color: #41657e; font-size: 11px; font-weight: 750; }
.store-location p { margin: 0 0 5px; color: #5f7688; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.store-location a { font-size: 12px; font-weight: 750; text-decoration: none; }
.store-location a:hover { text-decoration: underline; }
.store-directory__empty { margin: 6px 0 0; padding: 20px; border: 1px dashed #c9d8e4; border-radius: 10px; background: #fff; color: #637a8c; font-size: 13px; text-align: center; }
.conditions-note { display: flex; gap: 12px; margin-top: 18px; padding: 13px 15px; border-left: 4px solid #e5a800; border-radius: 8px; background: #fff9e8; color: #644f14; }
.conditions-note strong { flex: 0 0 auto; font-size: 13px; }
.conditions-note p { margin: 0; font-size: 13px; }
.conditions-legal { position: absolute; left: 50%; margin: 0; color: #6a7e8e; font-size: 13px; text-align: center; transform: translateX(-50%); white-space: nowrap; }
.conditions-legal a { font-weight: 700; }
.conditions-modal .modal-footer { position: relative; justify-content: flex-end; gap: 18px; min-height: 76px; padding: 14px 26px; background: #fff; }
.conditions-modal .modal-footer .btn { min-width: 130px; padding-right: 22px; padding-left: 22px; }
.content-panel > .row { overflow-wrap: anywhere; }
@media (hover: hover) { .voucher-card:hover { transform: translateY(-5px); border-color: #aec9df; box-shadow: 0 14px 28px #03458712; } .voucher-card:hover .voucher-image img { transform: rotate(-2deg) scale(1.04); } }
@media (min-width: 768px) and (max-width: 991px) { .lookup-layout > :first-child { width: 28%; } .lookup-layout > :nth-child(2) { width: 72%; } }
@media (max-width: 767px) {
 .customer-form-page { grid-template-columns: 1fr; gap: 18px; }
 .customer-form-page__aside { position: static; display: flex; align-items: center; gap: 18px; padding: 18px; text-align: left; }
 .customer-form-page__aside img { width: 130px; }
 .customer-form-page__aside p { margin-top: 0; }
 .site-header, .brand-bar { min-height: 96px; }
 .brand-bar { padding: 14px 24px 24px; gap: 16px; }
 .brand-link img { width: 112px; max-height: 54px; }
 .brand-service { font-size: 24px; }
 .page-shell { padding: 0 24px; } .content-panel { padding: 28px 20px; border-radius: 16px; }
 .voucher-grid { gap: 16px; } .voucher-card { padding: 18px; } .voucher-card h2 { font-size: 20px; }
 .process { gap: 16px; } .process > div { flex-direction: column; text-align: center; gap: 8px; }
 .lookup-layout > :first-child { text-align: center; } .lookup-layout > :first-child > img { max-height: 135px; width: auto; margin-bottom: 12px; }
 .lookup-form .col-11 { width: 100%; } .lookup-form .row:has(> .col-1 > .help-icon) > .col-11 { width: calc(100% - 44px); } .lookup-form .col-1:has(> .help-icon) { width: 44px; padding-left: 0; }
 .site-footer { gap: 12px; flex-wrap: wrap; justify-content: center; text-align: center; } .site-footer > span { flex-basis: 100%; order: 3; }
}
@media (max-width: 575px) {
 .customer-form-page__aside { display: none; }
 .customer-form-card { padding: 22px 17px; border-radius: 15px; }
 .customer-form__actions { flex-direction: column; }
 .customer-form__actions .btn { width: 100%; }
 .voucher-grid { grid-template-columns: 1fr; } .voucher-image { height: 145px; } .voucher-image img { height: 140px; }
 .site-header, .brand-bar { min-height: 88px; }
 .brand-bar { gap: 14px; padding: 13px 20px 22px; }
 .brand-link img { width: 104px; max-height: 50px; }
 .brand-divider { height: 25px; }
 .brand-service { font-size: clamp(19px, 5.6vw, 24px); white-space: nowrap; }
 .page-shell { margin-top: -12px; padding-right: 14px; padding-left: 14px; }
 .welcome { text-align: left; } .welcome h1 { font-size: 26px; } .welcome p { font-size: 14px; }
 .lookup-form .row:not(.physical-captcha-row):has(> div > #codigocaptcha) { grid-template-columns: minmax(0, 1fr) 44px; } .lookup-form .row:not(.physical-captcha-row):has(> div > #codigocaptcha) > :first-child { grid-column: 1 / -1; }
 .lookup-form .row:not(.physical-captcha-row):has(> div > #codigocaptcha) > :nth-child(2) { max-width: 145px; }
 .process { grid-template-columns: 1fr; } .process > div { flex-direction: row; text-align: left; } .process strong { font-size: 13px; }
 .modal-body { padding: 16px; } .modal-body .px-2 { padding-left: 12px !important; padding-right: 12px !important; }
 .conditions-modal { margin: 8px; }
 .conditions-modal .modal-header { padding: 16px; }
 .conditions-modal__icon { flex-basis: 46px; width: 46px; height: 46px; border-radius: 12px; }
 .conditions-modal__icon img, .conditions-modal .modal-header img { width: 31px; height: 31px; }
 .conditions-modal .modal-body { padding: 17px; }
 .conditions-modal__intro { font-size: 14px; }
 .conditions-modal .condition-list > li { grid-template-columns: 32px minmax(0, 1fr); padding: 12px; }
 .condition-list > li > span { width: 29px; height: 29px; }
 .store-directory { margin-right: -5px; margin-left: -5px; padding: 15px; }
 .store-directory__heading { align-items: flex-start; }
 .store-directory__heading h5 { font-size: 17px; }
 .store-department > summary { grid-template-columns: 40px minmax(0, 1fr) auto 12px; gap: 10px; min-height: 68px; padding: 12px; }
 .store-department__icon { width: 38px; height: 38px; }
 .store-department__name strong { font-size: 14px; }
 .store-department__count { padding: 4px 7px; font-size: 10px; }
 .store-department__body { padding: 10px; }
 .store-districts { grid-template-columns: 1fr; }
 .conditions-note { display: block; }
 .conditions-note strong { display: block; margin-bottom: 3px; }
 .conditions-modal .modal-footer { align-items: stretch; flex-direction: column; }
 .conditions-legal { position: static; text-align: center; transform: none; white-space: normal; }
 .conditions-modal .modal-footer .btn { width: 100%; }
 .client-field__bubble { right: 0; left: 0; max-width: none; text-align: center; }
}

/* Seleccion de un unico vale cuando el correo tiene varias coincidencias vencidas. */
.voucher-selection { width: min(100%, 980px); margin: 0 auto; }
.voucher-selection__header { margin-bottom: 24px; text-align: center; }
.voucher-selection__eyebrow { margin: 0 0 5px; color: #0871d1; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.voucher-selection__header h1 { margin: 0; color: #123653; font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; line-height: 1.15; }
.voucher-selection__header > p:last-child { margin: 10px auto 0; color: #62798c; font-size: 1rem; }
.voucher-selection__form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.voucher-weight-group { margin-bottom: 14px; overflow: hidden; border: 1px solid #dce6ee; border-radius: 15px; background: #fff; box-shadow: 0 6px 18px rgba(17, 48, 78, .05); }
.voucher-weight-heading { display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 14px; padding: 16px 18px; color: #163b59; cursor: pointer; list-style: none; transition: background .16s, color .16s; }
.voucher-weight-heading::-webkit-details-marker { display: none; }
.voucher-weight-heading:hover, .voucher-weight-heading:focus-visible { background: #f1f7fc; outline: 0; }
.voucher-weight-heading__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.voucher-weight-heading__title small, .voucher-weight-heading__title strong { display: block; }
.voucher-weight-heading__title small { color: #718696; font-size: .72rem; font-weight: 700; }
.voucher-weight-heading__title strong { color: #163b59; font-size: 1.08rem; }
.voucher-weight-heading__icon { display: grid; flex: 0 0 46px; width: 46px; height: 46px; place-items: center; border-radius: 12px; background: #eaf4fd; color: #1267ac; font-size: .9rem; font-weight: 850; }
.voucher-weight-heading__count { padding: 5px 10px; border-radius: 999px; background: #f0f5f9; color: #516b7e; font-size: .76rem; font-weight: 750; white-space: nowrap; }
.voucher-weight-heading__chevron { width: 10px; height: 10px; border-right: 2px solid #1670c9; border-bottom: 2px solid #1670c9; transform: rotate(45deg); transition: transform .18s; }
.voucher-weight-group[open] .voucher-weight-heading { border-bottom: 1px solid #dce6ee; background: #f7fbfe; }
.voucher-weight-group[open] .voucher-weight-heading__chevron { transform: rotate(225deg); }
.voucher-weight-group__content { padding: 18px; }
.voucher-selection__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.selectable-voucher { position: relative; display: block; margin: 0; cursor: pointer; }
.selectable-voucher > input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.selectable-voucher__body { display: block; height: 100%; padding: 20px; border: 2px solid #dce6ee; border-radius: 17px; background: linear-gradient(150deg, #fff, #f8fbfd); box-shadow: 0 8px 22px rgba(17, 48, 78, .06); transition: border-color .16s, box-shadow .16s, transform .16s; }
.selectable-voucher:hover .selectable-voucher__body { transform: translateY(-2px); border-color: #a8c9e5; box-shadow: 0 12px 28px rgba(17, 48, 78, .1); }
.selectable-voucher > input:focus-visible + .selectable-voucher__body { outline: 3px solid rgba(8, 113, 209, .25); outline-offset: 3px; }
.selectable-voucher > input:checked + .selectable-voucher__body { border-color: #0871d1; background: linear-gradient(150deg, #fff, #eff7ff); box-shadow: 0 0 0 4px rgba(8, 113, 209, .1); }
.selectable-voucher__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.selectable-voucher__badge { padding: 5px 10px; border-radius: 999px; background: #fff0ef; color: #c92320; font-size: .72rem; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.selectable-voucher__check { display: grid; width: 28px; height: 28px; place-items: center; border: 2px solid #bdcbd6; border-radius: 50%; color: transparent; font-weight: 900; }
.selectable-voucher > input:checked + .selectable-voucher__body .selectable-voucher__check { border-color: #0871d1; background: #0871d1; color: #fff; }
.selectable-voucher__label { display: block; color: #748797; font-size: .72rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.selectable-voucher__number { display: block; margin-top: 2px; overflow-wrap: anywhere; color: #123653; font-size: 1.18rem; }
.selectable-voucher__details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; padding-top: 15px; border-top: 1px solid #e1e9ef; }
.selectable-voucher__details small, .selectable-voucher__details b { display: block; }
.selectable-voucher__details small { color: #788b9b; font-size: .68rem; }
.selectable-voucher__details b { margin-top: 2px; overflow-wrap: anywhere; color: #274963; font-size: .84rem; }
.voucher-selection__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.voucher-selection__actions .btn { min-height: 50px; padding: 11px 24px; font-size: 1rem; font-weight: 750; }
.voucher-selection__confirmation { width: fit-content; max-width: 100%; margin: 22px auto -10px; padding: 9px 15px; border: 1px solid #b9dbf7; border-radius: 999px; background: #eff8ff; color: #123653; font-size: .9rem; font-weight: 750; text-align: center; }
@media (max-width: 767px) {
 .voucher-selection__grid { grid-template-columns: 1fr; }
}
@media (max-width: 575px) {
 .voucher-weight-heading { grid-template-columns: 1fr 16px; gap: 10px; padding: 14px; }
 .voucher-weight-heading__count { grid-column: 1 / -1; justify-self: start; margin-left: 58px; }
 .voucher-weight-group__content { padding: 14px; }
 .selectable-voucher__details { grid-template-columns: 1fr 1fr; }
 .voucher-selection__actions { flex-direction: column; }
 .voucher-selection__actions .btn { width: 100%; }
}
@media (prefers-reduced-motion: no-preference) { .content-panel { animation: panel-arrive .45s ease-out; } @keyframes panel-arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.help-icon { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 0; border-radius: 8px; background: transparent; padding: 0; }
.help-icon:hover { background: #eff6fc; }
.lookup-form .row:has(#numerovale) { align-items: end; }


/* Match the digital captcha row to the other form fields. */
.captcha-controls { display: grid; grid-template-columns: minmax(0, 1fr) 96px 48px; gap: 8px; align-items: center; }
.captcha-controls > * { min-width: 0; height: 48px; }
.captcha-controls #captcha { display: grid; place-items: center; line-height: 1; background-size: cover; }
.captcha-controls .captcha-refresh { height: 48px; }
.lookup-form .row.physical-captcha-row { display: flex; gap: 0; margin-top: 0; }
.lookup-form .row.physical-captcha-row > .col-9 { width: 75%; padding-left: calc(var(--bs-gutter-x) * .5); padding-right: calc(var(--bs-gutter-x) * .5); }
.physical-captcha-challenge { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.physical-captcha-challenge #captcha { width: 105px; }
.physical-captcha-challenge .captcha-refresh { flex: 0 0 44px; }
.reactivation-review { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 34px; width: min(100%, 940px); margin: 0 auto 8px; }
.reactivation-review__brand { display: flex; flex-direction: column; align-items: center; align-self: start; gap: 16px; padding: 22px 16px; border: 1px solid #e1e9f0; border-radius: 18px; background: linear-gradient(155deg, #f7fbff, #fff); text-align: center; }
.reactivation-review__brand img { width: 170px; max-height: 105px; object-fit: contain; }
.reactivation-review__brand span { padding: 5px 11px; border-radius: 999px; background: #eaf7ef; color: #19774a; font-size: .76rem; font-weight: 800; letter-spacing: .03em; }
.reactivation-review__content { min-width: 0; }
.reactivation-review__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e2eaf0; }
.reactivation-review__eyebrow { margin: 0 0 3px; color: #0871d1; font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.reactivation-review__header h1 { margin: 0; color: #102f49; font-size: clamp(1.55rem, 3vw, 2.15rem); font-weight: 800; line-height: 1.15; letter-spacing: -.6px; }
.reactivation-review__header > div > p:last-child { max-width: 640px; margin: 9px 0 0; color: #64798b; font-size: .94rem; line-height: 1.5; }
.reactivation-review__status { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; background: #fff0ef; color: #c92320; font-size: .76rem; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.reactivation-voucher { display: grid; grid-template-columns: 1.45fr 1fr .65fr 1.15fr; margin: 20px 0 0; overflow: hidden; border: 1px solid #e0e8ef; border-radius: 13px; background: #fff; }
.reactivation-voucher > div { min-width: 0; padding: 14px 16px; }
.reactivation-voucher > div + div { border-left: 1px solid #e7edf2; }
.reactivation-voucher dt, .customer-summary dt { margin: 0 0 3px; color: #728596; font-size: .7rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.reactivation-voucher dd, .customer-summary dd { margin: 0; overflow-wrap: anywhere; color: #153955; font-size: .95rem; font-weight: 750; }
.customer-summary { margin-top: 22px; overflow: hidden; border: 1px solid #dce7f0; border-radius: 15px; background: #f8fbfd; }
.customer-summary__header { display: flex; align-items: center; gap: 12px; padding: 15px 18px; border-bottom: 1px solid #dfe8ef; background: #f1f7fb; }
.customer-summary__icon { display: grid; place-items: center; flex: 0 0 38px; height: 38px; border-radius: 50%; background: #e1f0ff; color: #0871d1; }
.customer-summary__icon svg { width: 21px; height: 21px; fill: currentColor; }
.customer-summary__header p { margin: 0; color: #708294; font-size: .69rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.customer-summary__header h2 { margin: 0; color: #173a56; font-size: 1.05rem; font-weight: 800; }
.customer-summary__grid { display: grid; grid-template-columns: 1.35fr .8fr .9fr; margin: 0; }
.customer-summary__grid > div { min-width: 0; padding: 14px 18px; border-right: 1px solid #e2eaf0; border-bottom: 1px solid #e2eaf0; }
.customer-summary__grid > div:nth-child(3) { border-right: 0; }
.customer-summary__grid > div:last-child { grid-column: 1 / -1; border-right: 0; border-bottom: 0; }
.reactivation-warning { display: flex; gap: 13px; align-items: flex-start; margin-top: 18px; padding: 14px 16px; border: 1px solid #f0d59d; border-radius: 12px; background: #fff9eb; color: #634b19; }
.reactivation-warning__icon { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #f3b733; color: #fff; font-size: 18px; font-weight: 850; line-height: 1; }
.reactivation-warning strong { display: block; margin: 1px 0 3px; color: #553f12; font-size: .94rem; }
.reactivation-warning p { margin: 0; font-size: .86rem; line-height: 1.45; }
.reactivation-warning--verified { border-color: #a9ddc5; background: #eef9f4; color: #205b43; }
.reactivation-warning--verified .reactivation-warning__icon { background: #239563; }
.reactivation-warning--verified strong { color: #174c37; }
.reactivation-review__actions-row, .reactivation-review__actions-row form { width: 100%; }
.reactivation-review__actions-row { margin-top: 8px; }
.reactivation-actions { display: flex; width: 100%; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.reactivation-actions .btn { flex: 0 1 180px; width: 180px; max-width: 100%; min-height: 48px; padding-left: 20px; padding-right: 20px; font-size: 18px !important; }
.reactivation-actions #btnactivarvale, .reactivation-actions #btnpreload { flex-basis: 230px; width: auto; min-width: 230px; white-space: nowrap; }

.success-page { width: min(100%, 980px); margin: 0 auto; }
.success-card { overflow: hidden; border: 1px solid #dfe6ed; border-radius: 24px; background: #fff; box-shadow: 0 18px 48px rgba(17, 48, 78, .10); }
.success-hero { position: relative; padding: 40px 48px 26px; text-align: center; background: linear-gradient(180deg, #f7fbff 0%, #fff 100%); }
.success-hero__brand { position: absolute; top: 26px; left: 32px; width: 150px; max-height: 64px; object-fit: contain; object-position: left center; }
.success-hero__icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 14px; border-radius: 50%; background: #e8f7ef; color: #17834c; box-shadow: 0 0 0 8px rgba(23, 131, 76, .07); }
.success-hero__icon svg { width: 34px; height: 34px; fill: currentColor; }
.success-hero__status { margin: 0 0 5px; color: #17834c; font-size: .84rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.success-hero h1 { margin: 0; color: #123653; font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 800; line-height: 1.12; }
.success-hero__copy { width: min(100%, 650px); margin: 14px auto 0; color: #556b7d; font-size: 1rem; line-height: 1.55; }
.voucher-summary { display: grid; grid-template-columns: 1.6fr 1fr .7fr; width: calc(100% - 96px); margin: 0 auto; border: 1px solid #dfe7ee; border-radius: 14px; background: #fff; box-shadow: 0 8px 22px rgba(17, 48, 78, .06); }
.voucher-summary div { min-width: 0; padding: 16px 20px; }
.voucher-summary div + div { border-left: 1px solid #e6edf3; }
.voucher-summary dt { margin-bottom: 4px; color: #6a7d8e; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.voucher-summary dd { margin: 0; overflow-wrap: anywhere; color: #0d3150; font-size: 1.08rem; font-weight: 800; }
.success-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 24px 0; color: #486075; font-size: .9rem; }
.success-note span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #e9f3ff; color: #087ef5; font-weight: 800; }
.redemption-locations { margin: 28px 48px 0; padding-top: 26px; border-top: 1px solid #e4ebf1; }
.redemption-locations__heading { display: flex; justify-content: space-between; align-items: end; gap: 18px; margin-bottom: 8px; }
.redemption-locations__heading h2 { margin: 0; color: #123653; font-size: clamp(1.35rem, 2.5vw, 1.85rem); font-weight: 800; }
.redemption-locations__eyebrow { margin: 0 0 3px; color: #e52329; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.redemption-locations__hint { color: #687d8f; font-size: .88rem; text-align: right; }
.redemption-locations__empty { margin-top: 14px; padding: 15px; border-radius: 10px; background: #fff5dc; color: #6b5200; }
.location-group { border-bottom: 1px solid #dfe7ee; background: #fff; }
.location-group:first-of-type { border-top: 1px solid #dfe7ee; }
.location-group summary { display: flex; justify-content: flex-start; align-items: center; gap: 10px; padding: 17px 4px; color: #153b5b; font-size: 1rem; font-weight: 700; cursor: pointer; list-style: none; }
.location-group summary::-webkit-details-marker { display: none; }
.location-group summary::after { content: ''; width: 9px; height: 9px; margin: -4px 7px 0 auto; border-right: 2px solid #087ef5; border-bottom: 2px solid #087ef5; transform: rotate(45deg); transition: transform .18s ease; }
.location-group[open] summary::after { margin-top: 4px; transform: rotate(225deg); }
.location-group__count { padding: 3px 9px; border-radius: 999px; background: #f0f5f9; color: #536b7d; font-size: .75rem; font-weight: 700; }
.location-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 2px 0 18px; }
.location-card { min-width: 0; padding: 13px 14px; border-radius: 9px; background: #f6f8fa; }
.location-card h3 { margin: 0 0 5px; color: #102f49; font-size: 1rem; font-weight: 700; }
.location-card p { margin: 0; color: #526779; font-size: .88rem; line-height: 1.4; }
.location-card__phone { margin-top: 6px !important; color: #243f57 !important; }
.location-card__phone span { font-weight: 700; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 28px 48px 36px; }
.success-actions .btn { min-height: 48px; padding: 11px 22px; border-radius: 9px; font-size: .98rem; font-weight: 800; }
.success-actions__primary { border: 1px solid #e52329; background: #e52329; color: #fff; }
.success-actions__primary:hover, .success-actions__primary:focus { background: #c91b21; color: #fff; }
.success-actions__continue { border: 1px solid #0871d1; background: #0871d1; color: #fff; }
.success-actions__continue:hover, .success-actions__continue:focus { border-color: #075fae; background: #075fae; color: #fff; }
.success-actions__secondary { border: 1px solid #cbd7e1; background: #fff; color: #123f67; }
.success-actions__secondary:hover, .success-actions__secondary:focus { background: #f1f5f8; color: #123f67; }

@media (max-width: 767.98px) {
  .success-card { border-radius: 16px; }
  .success-hero { padding: 24px 20px 22px; }
  .success-hero__brand { position: static; display: block; width: 130px; margin: 0 auto 24px; }
  .voucher-summary { grid-template-columns: 1fr; width: calc(100% - 32px); }
  .voucher-summary div { padding: 13px 16px; }
  .voucher-summary div + div { border-top: 1px solid #e6edf3; border-left: 0; }
  .redemption-locations { margin: 24px 16px 0; padding-top: 22px; }
  .redemption-locations__heading { display: block; }
  .redemption-locations__hint { display: block; margin-top: 5px; text-align: left; }
  .location-grid { grid-template-columns: 1fr; }
  .location-group summary { padding: 15px 3px; }
  .success-actions { flex-direction: column; padding: 24px 16px 28px; }
  .success-actions .btn { width: 100%; }
}
/* Consistent controls and readable result details at every viewport. */
.content-panel { overflow-wrap: anywhere; }
.content-panel .btn.ancho-btn-1, .content-panel .btn.ancho-btn-2 { width: auto; min-width: 120px; max-width: 100%; min-height: 48px; padding-left: 24px; padding-right: 24px; font-size: 18px !important; }
.content-panel .text-center:has(> .btn) { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.content-panel .row > * { min-width: 0; }
@media (max-width: 767px) {
 .lookup-form .form-control, .lookup-form .form-select { font-size: 16px !important; }
 .lookup-form .row:has(#numerovale) { position: relative; }
 .lookup-form .row:has(#numerovale) > .col-9,
 .lookup-form .row.physical-captcha-row > .col-9 { width: 100%; }
 .lookup-form .row:has(#numerovale) > .col-3:has(.help-icon) { position: absolute; top: -4px; right: 0; width: 44px; padding: 0 !important; }
 .content-panel .row:has(> .col-4 + .col-8) { margin-bottom: 12px; }
 .content-panel .row:has(> .col-4 + .col-8) > .col-4,
 .content-panel .row:has(> .col-4 + .col-8) > .col-8 { width: 100%; }
 .content-panel .row:has(> .col-4 + .col-8) > .col-4 { color: var(--sf-muted); font-size: 14px; }
 .reactivation-review { grid-template-columns: 1fr; gap: 22px; }
 .reactivation-review__brand { flex-direction: row; justify-content: space-between; padding: 14px 16px; }
 .reactivation-review__brand img { width: 140px; max-height: 72px; }
 .reactivation-review__header { display: block; }
 .reactivation-review__status { display: inline-block; margin-top: 14px; }
 .reactivation-voucher { grid-template-columns: 1fr 1fr; }
 .reactivation-voucher > div { border-bottom: 1px solid #e7edf2; }
 .reactivation-voucher > div:nth-child(odd) { border-left: 0; }
 .reactivation-voucher > div:nth-last-child(-n+2) { border-bottom: 0; }
 .customer-summary__grid { grid-template-columns: 1fr 1fr; }
 .customer-summary__grid > div { border-right: 0; }
 .customer-summary__grid > div:nth-child(2) { border-left: 1px solid #e2eaf0; }
 .customer-summary__grid > div:first-child, .customer-summary__grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
 .content-panel .text-center > .btn { flex: 1 1 100%; }
 .reactivation-actions .btn { flex: 1 1 100%; width: 100%; }
 .reactivation-actions #btnactivarvale, .reactivation-actions #btnpreload { flex: 1 1 100%; width: 100%; min-width: 0; }
 .reactivation-review__brand { flex-direction: column; }
 .reactivation-review__header h1 { font-size: 1.55rem; }
 .reactivation-voucher, .customer-summary__grid { grid-template-columns: 1fr; }
 .reactivation-voucher > div, .reactivation-voucher > div:nth-last-child(-n+2), .customer-summary__grid > div { border: 0; border-bottom: 1px solid #e2eaf0; }
 .reactivation-voucher > div:last-child, .customer-summary__grid > div:last-child { border-bottom: 0; }
 .customer-summary__grid > div:nth-child(2) { border-left: 0; }
}
@media (max-width: 575px) {
 .captcha-controls { grid-template-columns: minmax(0, 1fr) 48px; }
 .captcha-controls > input { grid-column: 1 / -1; }
 .captcha-controls #captcha { width: 120px; max-width: 100%; }
}

/* Verificacion OTP previa a la reactivacion digital. */
.otp-gate { width: min(100%, 680px); margin: 14px auto; padding: 42px; border: 1px solid #dce7f0; border-radius: 22px; background: #fff; box-shadow: 0 18px 48px rgba(17, 48, 78, .1); text-align: center; }
.otp-gate__icon { display: grid; width: 72px; height: 72px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: #edf5ff; color: #1268db; }
.otp-gate__icon svg { width: 36px; height: 36px; fill: currentColor; }
.otp-gate h1 { margin: 0; color: #123653; font-size: clamp(1.7rem, 4vw, 2.35rem); font-weight: 800; }
.otp-gate > p:last-of-type { margin: 12px auto 24px; color: #62798c; line-height: 1.55; }
.otp-gate form { display: flex; justify-content: center; gap: 12px; }
.otp-gate form .btn { min-width: 190px; min-height: 50px; }
.otp-gate__back { display: inline-flex; align-items: center; justify-content: center; }
body.otp-modal-open { overflow: hidden; }
.otp-modal[hidden] { display: none !important; }
.otp-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; }
.otp-modal__backdrop { position: absolute; inset: 0; background: rgba(9, 31, 51, .68); backdrop-filter: blur(3px); }
.otp-dialog { position: relative; z-index: 1; width: min(100%, 520px); padding: 38px 42px 34px; border: 1px solid #dce7f0; border-radius: 24px; background: #fff; box-shadow: 0 28px 70px rgba(3, 45, 80, .25); text-align: center; }
.otp-dialog__close { position: absolute; top: 14px; right: 18px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: #6d7f8f; font-size: 30px; line-height: 34px; }
.otp-dialog__close:hover { background: #f0f5f9; color: #173b58; }
.otp-dialog__icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; background: #edf5ff; color: #1268db; }
.otp-dialog__icon svg { width: 38px; height: 38px; fill: currentColor; }
.otp-dialog__eyebrow { margin: 0 0 5px; color: #0871d1; font-size: 12px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.otp-dialog h2 { margin: 0 0 8px; color: #102f49; font-size: clamp(26px, 5vw, 34px); font-weight: 800; letter-spacing: -.7px; }
.otp-dialog #otp-description { max-width: 390px; margin: 0 auto; color: #65798a; line-height: 1.5; }
.otp-dialog #otp-description strong { display: block; color: #193b57; overflow-wrap: anywhere; }
.otp-code { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 28px 0 14px; }
.otp-code__digit { width: 100%; min-width: 0; height: 62px; border: 1.5px solid #b8c7d3; border-radius: 11px; background: #fbfdff; color: #102f49; font-size: 29px; font-weight: 750; text-align: center; caret-color: #0871d1; transition: border-color .15s, box-shadow .15s, background .15s; }
.otp-code__digit:focus { border-color: #0871d1; background: #fff; box-shadow: 0 0 0 4px rgba(8, 113, 209, .12); outline: 0 !important; }
.otp-dialog__status { min-height: 24px; margin: 7px 0 3px; font-size: 14px; font-weight: 650; }
.otp-dialog__status--info { color: #315d7d; }
.otp-dialog__status--success { color: #18794e; }
.otp-dialog__status--error { color: #bd2525; }
.otp-dialog__timer { margin: 3px 0 19px; color: #718393; font-size: 14px; }
.otp-dialog__timer strong { color: #234863; font-variant-numeric: tabular-nums; }
.otp-dialog__verify { width: 100%; min-height: 52px; font-size: 17px; }
.otp-dialog__resend { margin: 18px 0 0; color: #6a7e8f; font-size: 14px; }
.otp-dialog__resend button { padding: 3px; border: 0; background: transparent; color: #0871d1; font-weight: 750; text-decoration: underline; }
.otp-dialog__resend button:disabled { color: #8695a2; cursor: not-allowed; text-decoration: none; }
.identity-modal__icon { background: #fff1ef; color: #d83a34; }
.identity-modal__message { max-width: 410px; margin: 0 auto 9px; color: #314e65; font-size: 16px; font-weight: 700; line-height: 1.5; }
.identity-modal__help { max-width: 390px; margin: 0 auto 24px; color: #6a7e8f; font-size: 14px; line-height: 1.5; }
.identity-modal__action { display: grid; width: 100%; min-height: 52px; place-items: center; font-size: 17px; text-decoration: none; }
.reactivation-notice-modal__icon { background: #eaf8f0; color: #218a56; font-size: 34px; font-weight: 900; }
.reactivation-notice-modal #reactivation-notice-description { max-width: 430px; margin: 0 auto 24px; color: #65798a; line-height: 1.55; }
.reactivation-notice-modal #reactivation-notice-description strong { display: block; margin-top: 4px; color: #193b57; overflow-wrap: anywhere; }
.otp-processing[hidden] { display: none !important; }
.otp-modal--processing .otp-dialog > :not(.otp-processing) { display: none !important; }
.otp-modal--processing .otp-dialog { padding-top: 46px; padding-bottom: 42px; }
.otp-processing__spinner { width: 66px; height: 66px; margin: 0 auto 22px; border: 6px solid #e3eef8; border-top-color: #0871d1; border-radius: 50%; animation: otp-spin .85s linear infinite; }
.otp-processing h2 { margin-bottom: 12px; }
.otp-processing > #otp-processing-message { min-height: 27px; margin: 0; color: #315d7d; font-size: 17px; font-weight: 700; }
.otp-processing__progress { height: 7px; margin: 25px 0 20px; overflow: hidden; border-radius: 999px; background: #e8f0f6; }
.otp-processing__progress span { display: block; width: 38%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #0871d1, #39a9ff); animation: otp-progress 1.45s ease-in-out infinite; }
.otp-processing__notice { margin: 0; color: #687d8e; font-size: 14px; line-height: 1.55; }
.otp-processing__notice strong { color: #314e65; }
@keyframes otp-spin { to { transform: rotate(360deg); } }
@keyframes otp-progress { from { transform: translateX(-110%); } to { transform: translateX(280%); } }

/* Mensaje generico para errores del flujo de consulta y reactivacion. */
.request-error { max-width: 760px; margin: 12px auto 4px; padding: 30px 34px 34px; text-align: center; }
.request-error__icon { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 28px; border-radius: 50%; background: rgba(236, 82, 82, .12); }
.request-error__icon span { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #ed5653; color: #fff; font-size: 34px; font-weight: 500; line-height: 1; box-shadow: 0 8px 18px rgba(237, 86, 83, .2); }
.request-error h1 { margin: 0; color: #123355; font-size: clamp(27px, 4vw, 38px); font-weight: 800; letter-spacing: -.6px; }
.request-error__message { margin: 10px 0 26px; color: #698096; font-size: 18px; }
.request-error__vale { max-width: 620px; margin: 0 auto 28px; padding: 14px 20px; border-radius: 10px; background: #f4f7fa; color: #6c8194; font-size: 18px; }
.request-error__vale strong { color: #183d63; }
.request-error__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 620px; margin: 0 auto; }
.request-error__actions .btn { display: grid; min-height: 54px; place-items: center; border-radius: 9px; font-size: 16px; font-weight: 750; text-decoration: none; }
.request-error__retry { border: 1px solid #1670c9; background: #1670c9; color: #fff; }
.request-error__retry:hover { background: #0e5fae; color: #fff; }
.request-error__home { border: 2px solid #1670c9; background: #fff; color: #1264b5; }
.request-error__home:hover { background: #f0f7fd; color: #0e579d; }
@media (prefers-reduced-motion: reduce) {
  .otp-processing__spinner, .otp-processing__progress span { animation-duration: 2.8s; }
}
@media (max-width: 575px) {
  .otp-gate { padding: 30px 18px; border-radius: 17px; }
  .otp-gate form { flex-direction: column; }
  .otp-gate form .btn { width: 100%; }
  .otp-modal { padding: 12px; }
  .otp-dialog { padding: 32px 18px 26px; border-radius: 19px; }
  .otp-dialog__icon { width: 66px; height: 66px; }
  .otp-code { gap: 6px; margin-top: 24px; }
  .otp-code__digit { height: 54px; border-radius: 9px; font-size: 24px; }
  .request-error { padding: 22px 2px 24px; }
  .request-error__icon { width: 82px; height: 82px; margin-bottom: 22px; }
  .request-error__icon span { width: 50px; height: 50px; font-size: 30px; }
  .request-error__message { font-size: 16px; }
  .request-error__actions { grid-template-columns: 1fr; gap: 12px; }
}
