:root {
    --iexe-navy: #071a42;
    --iexe-blue: #254393;
    --iexe-cyan: #55cff5;
    --iexe-white: #ffffff;
    --font-body: "Nunito Sans", Arial, sans-serif;
    --font-display: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body {
    margin: 0;
    min-width: 320px;
    background: transparent;
}
body {
    font-family: var(--font-body);
    color: var(--iexe-white);
}
img { max-width: 100%; }
.referral-page { width: 100%; }
.how-it-works {
    min-height: 430px;
    padding: 54px 0 70px;
    background: #fff;
    color: var(--iexe-navy);
}
/*********************************
 * Grid responsive con Bootstrap:
 * container > row > col-*
*********************************/
#section-como_funciona .how-it-works__inner {
    width: calc(100% - clamp(32px, 6vw, 96px));
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
}
.how-it-works__title {
    margin: 0 0 22px;
    color: var(--iexe-navy);
    font-family: var(--font-display);
    font-size: clamp(38px, 3.8vw, 62px);
    font-style: italic;
    font-weight: 800;
    line-height: .95;
    text-transform: uppercase;
}
.how-it-works__grid { align-items: stretch; }
.how-it-works__grid>[class*="col-"] { display: flex; }
.how-step {
    position: relative;
    width: 100%;
    min-height: 256px;
    border: 1.5px solid #a4c4f1;
    border-radius: 23px;
    background: #fff;
    text-align: center;
}
.how-step--small {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 26px 22px 20px;
}
.how-step__number {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #31559f;
    color: #fff;
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 800;
    line-height: 1;
}
.how-step__icon {
    display: grid;
    place-items: center;
    width: 102px;
    height: 102px;
    margin: 0 auto 13px;
    border-radius: 50%;
    background: #e8eef9;
    color: #31559f;
    flex: 0 0 auto;
}
.how-step__icon img, .how-step__icon svg {
    display: block;
    width: 64px;
    height: 64px;
}
.how-step__icon img { object-fit: contain; }
.how-step__icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.5;
}
.how-step h3 {
    margin: 0;
    color: var(--iexe-navy);
    font-size: clamp(20px, 1.7vw, 29px);
    font-weight: 900;
    line-height: 1.08;
}
.how-step p {
    margin: 7px 0 0;
    color: #162b58;
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 500;
    line-height: 1.2;
}
.how-step--small p { max-width: 330px; }
/* La tarjeta 03 usa un segundo row de Bootstrap. */
.how-step--wide { padding: 0; }
.how-step__wide-row { min-height: 100%; }
.how-step__main, .how-step__details { min-width: 0; }
.how-step__main { padding: 12px 28px; }
.how-step--wide .how-step__icon { margin-bottom: 13px; }
.how-step__details { padding: 12px 30px; }
.how-step__details p {
    margin: 0 auto;
    max-width: 510px;
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.25;
}
.how-step__details p+p { margin-top: 38px; }
.how-step__details strong { font-weight: 900; }
/* MD en adelante: tarjeta 03 dividida 5/7. */
@media (min-width: 768px) {
    .how-step__main { border-right: 1.5px solid #415d99; }
}
/* LG intermedio: conserva 3/3/6 sin forzar anchos manuales. */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .how-step { min-height: 245px; }
    .how-step__icon {
        width: 88px;
        height: 88px;
    }
    .how-step__icon img, .how-step__icon svg {
        width: 56px;
        height: 56px;
    }
    .how-step h3 { font-size: 22px; }
    .how-step p, .how-step__details p { font-size: 16px; }
    .how-step__main {
        padding-right: 18px;
        padding-left: 18px;
    }
    .how-step__details {
        padding-right: 20px;
        padding-left: 20px;
    }
}
/* MD: 01 y 02 en 6 columnas; 03 en 12. */
@media (min-width: 768px) and (max-width: 991.98px) {
    .how-it-works { padding: 46px 0 58px; }
    .how-step { min-height: 240px; }
    .how-step--wide { min-height: 230px; }
    .how-step__details {
        padding-right: 24px;
        padding-left: 24px;
    }
}
/* XS / SM: todas las tarjetas son col-12 y la tarjeta 03 se apila. */
@media (max-width: 767.98px) {
    .how-it-works {
        min-height: 0;
        padding: 38px 0 46px;
    }
    .how-it-works__title {
        margin-bottom: 18px;
        font-size: clamp(36px, 11vw, 48px);
        line-height: 1;
    }
    .how-step {
        min-height: 0;
        border-radius: 18px;
    }
    .how-step--small {
        min-height: 235px;
        padding: 28px 24px 24px;
    }
    .how-step__number {
        top: 14px;
        left: 14px;
        width: 32px;
        height: 32px;
        font-size: 18px;
    }
    .how-step__icon {
        width: 88px;
        height: 88px;
        margin-bottom: 12px;
    }
    .how-step__icon img, .how-step__icon svg {
        width: 56px;
        height: 56px;
    }
    .how-step h3 { font-size: 24px; }
    .how-step p { font-size: 17px; }
    .how-step__main {
        padding: 34px 22px 24px;
        border-right: 0;
        border-bottom: 1.5px solid #415d99;
    }
    .how-step__details { padding: 24px 22px 28px; }
    .how-step__details p {
        max-width: 520px;
        font-size: 16px;
    }
    .how-step__details p+p { margin-top: 22px; }
}
@media (max-width: 399.98px) {
    .how-it-works__title { font-size: 36px; }
    .how-step--small { min-height: 225px; }
    .how-step h3 { font-size: 22px; }
    .how-step p, .how-step__details p { font-size: 15.5px; }
}
/*
 ==================================================
 FORMULARIO: QUIERO REFERIR
 ==================================================
 */
.referral-sections {
    /* padding: 72px 0; */
    /* background: #f4f8fd; */
    padding: 0 0 72px 0;
    background: #fff;
}
.referral-sections > .container {
    width: calc(100% - clamp(32px, 6vw, 96px));
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
}
.referral-forms {
    position: sticky;
    top: 3%;
    width: 100%;
    padding: 0;
    background: transparent;
}
.referral-form-card {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--iexe-cyan);
    border-radius: 38px;
    background: #06114f;
    box-shadow: 0 0 0 6px rgba(37, 67, 147, .95), 0 0 0 8px rgba(85, 207, 245, .5), 0 18px 44px rgba(7, 26, 66, .2), inset 0 0 26px rgba(85, 207, 245, .2);
}
.referral-form-card::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/galery_form/bg-form.webp") center / cover no-repeat;
    content: "";
    opacity: .95;
    pointer-events: none;
}
.referral-form-card::after {
    position: absolute;
    inset: 5px;
    z-index: 0;
    /* border: 1px solid rgba(85, 207, 245, .42); */
    border-radius: 14px;
    content: "";
    pointer-events: none;
}
.referral-form-tabs, .referral-form {
    position: relative;
    z-index: 1;
}
.referral-form-tabs {
    display: grid;
    grid-template-columns: 72% minmax(0, 1fr);
    /* height: 58px; */
    height: 0px;
    overflow: hidden;
    /* border-bottom: 1px solid rgba(53, 94, 177, .85); */
}
.referral-form-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 58px;
    min-width: 0;
    padding: 8px 26px;
    border: 1px solid #2857a8;
    /* border-bottom: 1px; */
    border-radius: clamp(13px, 3vw, 34px) clamp(13px, 3vw, 34px) 0 0;
    background: #012c7a;
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    text-align: left;
    transition: background-color .2s ease, border-color .2s ease;
}
.referral-form-tab img {
    width: auto;
    height: 32px;
    flex: 0 0 auto;
    filter: brightness(0) invert(1);
    object-fit: contain;
}
.referral-form-tab--active {
    background: transparent;
    border-color: #2aaee0;
    border-bottom: 0;
}
.line-blue {
    grid-column: 2 / -1;
    border-bottom: 1px solid #2857a8;
}
.referral-form-tab:focus-visible {
    z-index: 1;
    outline: 3px solid rgba(255, 255, 255, .72);
    outline-offset: -4px;
}
.referral-form {
    display: flex;
    flex-direction: column;
    padding: 34px 40px 38px;
}
.referral-form.is-measuring {
    position: absolute;
    inset-inline: 0;
    visibility: hidden;
    pointer-events: none;
}
.referral-form__header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}
.referral-form__header-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    flex: 0 0 62px;
    border-radius: 50%;
}
.referral-form__header-icon img {
    width: 58px;
    height: 58px;
    object-fit: contain;
}
.referral-form__eyebrow, .referral-form__title, .referral-form__subtitle { margin: 0; }
.referral-form__eyebrow {
    color: var(--iexe-cyan);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}
.referral-form__title {
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 800;
    line-height: 1.1;
}
.referral-form__subtitle {
    margin-top: 3px;
    color: rgba(255, 255, 255, .9);
    font-size: 14px;
    font-weight: 500;
}
.referral-form__grid {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 18px;
}
.referral-form__actions { padding-top: 30px; }
.referral-form__actions .referral-form__submit { margin-top: 0; }
.referral-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--iexe-white);
    font-size: 14px;
    font-weight: 500;
}
.referral-field__control {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 54px;
    padding: 8px 16px;
    border: 1px solid rgba(96, 151, 230, .7);
    border-radius: 18px;
    background: rgba(1, 3, 43, .94);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.referral-field__control:focus-within {
    border-color: var(--iexe-cyan);
    box-shadow: 0 0 0 3px rgba(85, 207, 245, .18);
}
.referral-field__control.is-loading { border-color: var(--iexe-cyan); }
.referral-field__control.is-valid {
    border-color: #45d69b;
    box-shadow: 0 0 0 3px rgba(69, 214, 155, .14);
}
.referral-field__control.is-invalid {
    border-color: #ff8795;
    box-shadow: 0 0 0 3px rgba(255, 135, 149, .14);
}
.referral-field__control.is-warning {
    border-color: #ffd166;
    box-shadow: 0 0 0 3px rgba(255, 209, 102, .16);
}
.referral-field__control img {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    object-fit: contain;
}
.referral-field__control input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: rgba(1, 3, 43, .94) !important;
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
}
.referral-field__control input::placeholder {
    color: #6578b5;
    opacity: 1;
}
.referral-field__control input[readonly] { cursor: default; }
.referral-field__control--select select {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    background: #01032b;
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 500;
}
.referral-field__control--select option {
    background: #01032b;
    color: var(--iexe-white);
}
.referral-field__control--phone {
    gap: 0;
    padding-right: 0;
    padding-top: 0;
    padding-bottom: 0;
    background: #01032b;
}
.referral-field__control--phone .iti {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    align-self: stretch;
    flex: 1;
}
.referral-field__control--phone .iti__tel-input {
    width: 100%;
    min-height: 52px;
    border-radius: 0 17px 17px 0;
    background: #01032b !important;
    color: var(--iexe-white);
}
.referral-field__control--phone .iti__country-container {
    height: 100%;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #01032b;
}
.referral-field__control--phone .iti__selected-country {
    height: 100%;
    border: 0;
    outline: 0;
    background: #01032b;
    color: var(--iexe-white);
    box-shadow: none;
}
.referral-field__control--phone .iti__selected-country:hover, .referral-field__control--phone .iti__selected-country:focus-visible { background: #06114f; }
.referral-field__control--phone .iti__selected-dial-code {
    color: rgba(255, 255, 255, .9);
    font-weight: 700;
}
.iti__dropdown-content {
    z-index: 1100;
    overflow: hidden;
    border: 1px solid rgba(96, 151, 230, .7);
    border-radius: 18px;
    background: rgba(1, 3, 43, .98);
    color: var(--iexe-white);
    font-family: var(--font-body);
    box-shadow: 0 14px 32px rgba(1, 3, 43, .4);
}
.iti__search-input-container, .iti__search-input-wrapper {
    overflow: hidden;
    border-radius: 17px 17px 0 0;
    background: rgba(1, 3, 43, .98);
}
.iti__search-input {
    display: block;
    width: 100%;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(96, 151, 230, .7);
    border-radius: 0;
    outline: 0;
    background: #06114f;
    color: var(--iexe-white);
    font-family: var(--font-body);
}
.iti__search-input:focus {
    border-bottom-color: rgba(96, 151, 230, .7);
    outline: 0;
    box-shadow: none;
}
.iti__search-input::placeholder { color: #91a5df; }
.iti__country-list {
    margin: 0;
    border: 0;
    border-radius: 0 0 17px 17px;
    background: rgba(1, 3, 43, .98);
    scrollbar-color: #31559f #06114f;
    scrollbar-width: thin;
}
.iti__search-input+.iti__country-list { border-top: 0; }
.iti__country-list::-webkit-scrollbar { width: 8px; }
.iti__country-list::-webkit-scrollbar-track { background: #06114f; }
.iti__country-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #31559f;
}
.iti__country { color: var(--iexe-white); }
.iti__country:hover, .iti__country.iti__highlight, .iti__country[aria-selected="true"] { background: #012c7a; }
.iti__dial-code { color: #91a5df; }
.iti__country[id$="__item-us"] {
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(96, 151, 230, .7);
    padding-bottom: 12px;
}
.referral-field__search {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 54px;
    margin-top: 0;
    padding: 8px 18px;
    border: 1px solid #3286d5;
    border-radius: 10px;
    background: rgba(5, 37, 135, .9);
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 800;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, opacity .2s ease;
}
@media (min-width: 768px) {
    .referral-field__search-column { padding-top: 27px; }
}
.referral-field__search-icon {
    position: relative;
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    border: 2px solid currentColor;
    border-radius: 50%;
}
.referral-field__search-icon::after {
    position: absolute;
    right: -6px;
    bottom: -3px;
    width: 8px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    content: "";
    transform: rotate(45deg);
    transform-origin: left center;
}
.referral-field__search.is-loading .referral-field__search-icon { display: none; }
.referral-field__search:not(:disabled):hover, .referral-field__search:not(:disabled):focus-visible {
    border-color: var(--iexe-cyan);
    background: #163fac;
    box-shadow: 0 0 0 3px rgba(85, 207, 245, .2);
}
.referral-field__search:disabled {
    cursor: not-allowed;
    opacity: .55;
}
.referral-field__search-loader {
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, .35);
    border-top-color: var(--iexe-white);
    border-radius: 50%;
    animation: referral-form-spin .75s linear infinite;
}
.referral-field__message {
    min-height: 18px;
    margin: 6px 6px 0;
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.referral-field__message:empty {
    min-height: 0;
    margin: 0;
}
.referral-field__message.is-valid { color: #7ce5bb; }
.referral-field__message.is-invalid { color: #ffabb5; }
.referral-field__message.is-warning { color: #ffd166; }
.referral-code-consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 8px 6px 0;
    color: #ffd166;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}
.referral-code-consent[hidden] { display: none; }
.referral-code-consent input {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    margin: 0;
    accent-color: #55cff5;
}
.referral-code-consent label {
    display: inline;
    margin: 0;
    color: inherit;
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
}
.referral-code-consent.is-shaking { animation: referral-consent-shake .42s ease-in-out; }
@keyframes referral-consent-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}
.referral-field__message.is-loading {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--iexe-cyan);
}
.referral-field__message.is-loading::before {
    content: "";
    flex: 0 0 12px;
    width: 12px;
    height: 12px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: referral-form-spin .75s linear infinite;
}
.referral-form__section-title {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 7px 0 -2px;
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 19px;
    font-weight: 800;
}
.referral-form__section-title::after {
    height: 1px;
    flex: 1;
    background: rgba(85, 207, 245, .35);
    content: "";
}
.referral-sheets { min-width: 0; }
.referral-sheets__tabs {
    display: flex;
    align-items: flex-end;
    width: 100%;
    overflow-x: auto;
    border-bottom: 1px solid rgba(85, 207, 245, .7);
    scrollbar-width: thin;
    scrollbar-color: #55cff5 transparent;
}
.referral-sheets__tabs::-webkit-scrollbar { height: 7px; }
.referral-sheets__tabs::-webkit-scrollbar-track { background: transparent; }
.referral-sheets__tabs::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #55cff5;
}
.referral-sheets__tab, .referral-people__add {
    min-width: max-content;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid rgba(85, 207, 245, .48);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: rgba(1, 3, 43, .72);
    color: rgba(255, 255, 255, .76);
    font-size: 13px;
    font-weight: 700;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.referral-sheets__tab-wrap {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    align-items: flex-end;
}
.referral-sheets__tab-wrap + .referral-sheets__tab-wrap { margin-left: 3px; }
.referral-sheets__tab.is-active {
    background: #fff;
    color: #0c378f;
}
.referral-sheets__tab-remove {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 7px;
    display: grid;
    width: 18px;
    height: 18px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: #f35567;
    color: #071344;
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition: opacity .16s ease, background-color .16s ease;
}
.referral-sheets__tab-wrap:hover .referral-sheets__tab-remove, .referral-sheets__tab-wrap:focus-within .referral-sheets__tab-remove {
    opacity: 1;
    pointer-events: auto;
}
/* .referral-sheets__tab-remove:hover, .referral-sheets__tab-remove:focus-visible { background: #ffabb5; } */
.referral-people__add {
    margin-left: 5px;
    border-radius: 8px 8px 0 0;
    min-width: 40px;
    width: auto;
    color: var(--iexe-white);
}
.referral-people__add:hover, .referral-people__add:focus-visible {
    background: #163fac;
    color: var(--iexe-white);
}
.referral-people__add.is-compact {
    min-width: 40px;
    width: 40px;
    padding: 0;
    /* border-radius: 50%; */
    font-size: 18px;
}
.referral-people__add[hidden] { display: none; }
.referral-people { display: block; }
.referral-person[hidden] { display: none !important; }
.referral-person__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--iexe-white);
    font-size: 14px;
}
.referral-form__submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    margin-top: 12px;
    padding: 8px 48px;
    border: 2px solid #3286d5;
    border-radius: 9px;
    background: rgba(5, 37, 135, .9);
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: clamp(18px, 2.2vw, 24px);
    font-weight: 500;
    line-height: 1;
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.referral-form__submit:not(:disabled):hover, .referral-form__submit:not(:disabled):focus-visible {
    border-color: var(--iexe-cyan);
    background: #163fac;
    box-shadow: 0 0 0 3px rgba(85, 207, 245, .2);
}
.referral-form__submit:disabled {
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}
.referral-form__submit-arrow {
    position: absolute;
    right: 18px;
    width: 13px;
    height: 13px;
    border-top: 4px solid currentColor;
    border-right: 4px solid currentColor;
    transform: rotate(45deg);
}
.referral-form__loader {
    width: 21px;
    height: 21px;
    margin-left: 12px;
    border: 3px solid rgba(255, 255, 255, .35);
    border-top-color: var(--iexe-white);
    border-radius: 50%;
    animation: referral-form-spin .75s linear infinite;
}
.referral-form__submit.is-loading .referral-form__submit-arrow { display: none; }
.referral-form__submit[hidden] { display: none; }
.referral-form__offer-link { text-decoration: none; }
.referral-form__offer-link:hover, .referral-form__offer-link:focus-visible { color: var(--iexe-white); }
.referral-form__offer-link[hidden] { display: none; }
.referral-form__message {
    margin-top: 14px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 12px;
    color: var(--iexe-white);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
}
.referral-form__message--success {
    border-color: rgba(69, 214, 155, .75);
    background: rgba(18, 105, 76, .72);
}
.referral-form__message--error {
    border-color: rgba(255, 135, 149, .75);
    background: rgba(125, 23, 46, .72);
}
@keyframes referral-form-spin {
    to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
    .referral-form__loader, .referral-field__search-loader { animation-duration: 1.5s; }
}
@media (max-width: 767.98px) {
    .referral-sections { padding: 28px 0; }
    .referral-forms { position: static; }
    .referral-form-tabs { 
        /* height: 50px; */
        height: 0px;
        overflow: hidden;
     }
    .referral-form-tab {
        justify-content: center;
        padding: 8px 10px;
        font-size: 13px;
        height: 50px;
    }
    .referral-form-tab img {
        width: auto;
        height: 24px;
        flex-basis: auto;
    }
    .referral-form { padding: 18px 14px 20px; }
    .referral-form__header {
        align-items: center;
        gap: 10px;
        margin-bottom: 14px;
    }
    .referral-form__header-icon {
        width: 50px;
        height: 50px;
        flex-basis: 50px;
    }
    .referral-form__header-icon img {
        width: 46px;
        height: 46px;
    }
    .referral-form__eyebrow, .referral-form__subtitle { font-size: 12px; }
    .referral-form__title { font-size: 22px; }
    .referral-form__grid { --bs-gutter-y: 12px; }
    .referral-field label {
        margin-bottom: 4px;
        font-size: 13px;
    }
    .referral-field__control {
        min-height: 48px;
        padding: 6px 12px;
    }
    .referral-field__control img {
        width: 26px;
        height: 26px;
        flex-basis: 26px;
    }
    .referral-field__control--phone { padding: 0 0 0 12px; }
    .referral-field__control--phone .iti, .referral-field__control--phone .iti__tel-input { min-height: 46px; }
    .referral-field__search {
        min-height: 48px;
        padding: 6px 14px;
    }
    .referral-form__section-title {
        gap: 10px;
        margin: 2px 0 -2px;
        font-size: 16px;
    }
    .referral-form__actions { padding-top: 18px; }
}
@media (max-width: 399.98px) {
    .referral-form-card { border-radius: 16px; }
    .referral-form { padding: 16px 12px 18px; }
    .referral-form__header-icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
    }
    .referral-form__header-icon img {
        width: 42px;
        height: 42px;
    }
    .referral-field__control { padding: 8px 13px; }
}
/*
 ==================================================
 HERO REFERIDOS
 Bootstrap: container > row > col
 ==================================================
 */
.referral-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    aspect-ratio: 1920 / 852;
    overflow: hidden;
    isolation: isolate;
    /* background: #071a42; */
    color: #fff;
}
/*
 ==================================================
 FONDO
 ==================================================
 */
.referral-hero__media, .referral-hero__media picture {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.referral-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    object-fit: contain;
    object-position: center center;
}
/*
 ==================================================
 CONTAINER
 ==================================================
 */
#section-home .referral-hero__container {
    position: relative;
    z-index: 1;
    width: calc(100% - clamp(32px, 6vw, 96px));
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
}
/*
 ==================================================
 CONTENIDO
 ==================================================
 */
.referral-hero__content {
    width: 100%;
    padding-top: 200px;
    padding-bottom: 52px;
}
.referral-hero__content--referred { padding-top: 180px; }
/*
 ==================================================
 IEXE IMPULSA
 ==================================================
 */
.referral-brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* gap: 5px; */
    width: 341px;
    max-width: 100%;
    height: 75px;
    /* padding: 0 22px 1px 26px; */
    /* border: 2px solid #5bd3f7; */
    border-radius: 15px;
    /* background: rgba(4, 23, 54, .26); */
    /* box-shadow: 0 0 15px rgba(74, 204, 246, .38), inset 0 0 0 1px rgba(103, 211, 247, .11); */
    color: #fff;
    font-size: 38px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -.018em;
    white-space: nowrap;
}
.referral-brand-badge__mark {
    width: 36px;
    height: 25px;
    flex: 0 0 auto;
    color: #fff;
    transform: translateY(-1px);
}
/*
 ==================================================
 PROGRAMA REFERIDOS
 ==================================================
 */
.referral-program-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 338px;
    max-width: 100%;
    height: 51px;
    margin-top: 25px;
    border: 1.5px solid #5bd3f7;
    border-radius: 15px;
    background: rgba(4, 23, 54, .16);
    box-shadow: 0 0 10px rgba(74, 204, 246, .16);
    color: #fff;
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.025em;
    white-space: nowrap;
}
/*
 ==================================================
 TÍTULO
 ==================================================
 */
.referral-hero__title {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 14px;
    margin: 20px 0 0;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(58px, 5vw, 82px);
    font-weight: 800;
    line-height: .93;
    letter-spacing: .002em;
    text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}
.referral-hero__title-accent {
    color: var(--iexe-cyan);
    text-shadow: 0 0 12px rgba(83, 207, 245, .3);
}
/*
 ==================================================
 INTRO
 ==================================================
 */
.referral-hero__intro {
    margin: 17px 0 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(18px, 1.4vw, 24px);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: -.021em;
}
.referral-hero__intro--limited { max-width: 80%; }
/*
 ==================================================
 GRID DE ACCIONES
 ==================================================
 */
.referral-actions {
    margin-top: 20px;
    align-items: flex-start;
}
/*
 ==================================================
 TARJETA BENEFICIO
 ==================================================
 */
.referral-offer-wrap {
    width: 100%;
    max-width: 364px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}
.referral-offer {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 183px;
    padding: 0 12px;
    border: 2px solid #5bd3f7;
    border-radius: 15px;
    background: rgba(4, 22, 54, .23);
    box-shadow: 0 0 11px rgba(70, 205, 249, .24), inset 0 0 0 1px rgba(91, 211, 247, .08);
}
/*
 ==================================================
 CANTIDAD
 ==================================================
 */
.referral-offer__amount {
    position: absolute;
    top: 4px;
    left: 0;
    right: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    height: 105px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: .88;
    letter-spacing: -.035em;
    transform: scaleX(1.04) scaleY(1.21);
    transform-origin: center top;
}
.referral-offer__currency {
    margin: 15px 3px 0 0;
    font-size: 52px;
    line-height: 1;
}
.referral-offer__number {
    font-size: 96px;
    line-height: .94;
}
.referral-offer__amount sup {
    margin: 5% 0 0 2px;
    color: var(--iexe-cyan);
    font-family: var(--font-body);
    font-size: 29px;
    font-weight: 900;
    line-height: 1;
}
.referral-offer__unit {
    position: relative;
    top: -16px;
    align-self: flex-end;
    margin: 0 0 8px 2px;
    font-size: 39px;
    line-height: 1;
    letter-spacing: -.02em;
}
/*
 ==================================================
 ETIQUETA
 ==================================================
 */
.referral-offer__label {
    position: absolute;
    top: 124px;
    left: 0;
    right: 0;
    margin: 0;
    color: #55cef4;
    font-family: var(--font-display);
    font-size: 36px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(83, 207, 245, .38);
    transform: scaleX(.86);
    transform-origin: center;
}
/*
 ==================================================
 LEGALES
 ==================================================
 */
.referral-offer__terms-link, .referral-offer__legal {
    display: block;
    color: rgba(255, 255, 255, .94);
    text-align: center;
}
.referral-offer__terms-link {
    width: max-content;
    max-width: 100%;
    margin: 6px auto 0;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    text-decoration: none;
}
.referral-offer__legal {
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.15;
}
/*
 ==================================================
 ACCIONES
 ==================================================
 */
.referral-action {
    width: 100%;
    max-width: 364px;
    margin-right: auto;
    margin-left: auto;
    padding-top: 54px;
    text-align: center;
}
/*
 ==================================================
 BOTONES
 ==================================================
 */
.referral-button {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
    height: 86px;
    padding: 0 14px 0 18px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: clamp(19px, 1.35vw, 26px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.03em;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}
.referral-button:hover, .referral-button:focus-visible {
    transform: translateY(-2px);
    filter: brightness(1.04);
}
.referral-button:focus-visible {
    outline: 3px solid rgba(83, 207, 245, .9);
    outline-offset: 3px;
}
.referral-button--referred {
    border: 1.5px solid #75c8f2;
    background: linear-gradient(90deg, rgba(36, 67, 147, .95) 0%, rgba(42, 79, 165, .96) 100%);
    box-shadow: 0 0 10px rgba(88, 202, 246, .25);
    color: #fff;
}
.referral-button--refer {
    border: 1.5px solid #75c8f2;
    background: #fff;
    box-shadow: 0 0 10px rgba(88, 202, 246, .17);
    color: #254393;
}
/*
 ==================================================
 ICONOS BOTONES
 ==================================================
 */
.referral-button__icon {
    display: block;
    object-fit: contain;
}
.referral-button__icon--person {
    width: 31px;
    height: 33px;
    margin-right: 8px;
}
.referral-button__icon--people {
    width: 50px;
    height: 34px;
    margin-right: 4px;
}
.referral-button__arrow {
    display: block;
    width: 13px;
    height: 24px;
    margin-left: 8px;
    object-fit: contain;
}
.referral-button--referred .referral-button__arrow { filter: brightness(0) invert(1); }
/*
 ==================================================
 COPYS BOTONES
 ==================================================
 */
.referral-action__copy {
    margin: 10px 0 0;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -.02em;
}
/*
 ==================================================
 ESCRITORIO COMPACTO
 ==================================================
 */
@media (min-width: 1200px) and (max-width: 1439.98px) {
    .referral-hero__content {
        padding-top: 160px;
        padding-bottom: 20px;
    }
    .referral-actions { margin-top: 16px; }
    .referral-action { padding-top: 0; }
}
/*
 ==================================================
 XL
 ==================================================
 */
@media (max-width: 1360px) {
    .referral-hero {
        min-height: 760px;
        aspect-ratio: auto;
    }
    .referral-hero__image {
        object-fit: cover;
        object-position: 65% center;
    }
    .referral-hero__content {
        padding-top: 208px;
        padding-bottom: 48px;
    }
    .referral-program-badge { margin-top: 32px; }
    .referral-hero__title { font-size: clamp(58px, 7vw, 76px); }
    .referral-action { padding-top: 0; }
}
/*
 ==================================================
 TABLET
 ==================================================
 */
@media (max-width: 991.98px) {
    .referral-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }
    .referral-hero__content {
        padding-top: 208px;
        padding-bottom: 46px;
    }
    .referral-hero__intro br { display: none; }
    .referral-actions { margin-top: 28px; }
}
/*
 ==================================================
 MOBILE
 ==================================================
 */
@media (max-width: 767.98px) {
    .referral-hero {
        min-height: 0;
        aspect-ratio: auto;
    }
    .referral-hero::before { content: none; }
    .referral-hero__image {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
    }
    .referral-hero__content {
        padding-top: 160px;
        padding-bottom: 38px;
    }
    .referral-brand-badge {
        height: 62px;
        font-size: 31px;
    }
    .referral-program-badge {
        height: 46px;
        margin-top: 26px;
        font-size: 17px;
    }
    .referral-hero__title {
        gap: 2px 10px;
        margin-top: 20px;
        font-size: clamp(48px, 13vw, 68px);
        line-height: .88;
    }
    .referral-hero__title-end { flex-basis: 100%; }
    .referral-hero__intro {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.28;
    }
    .referral-actions { margin-top: 28px; }
    .referral-action {
        max-width: 364px;
        padding-top: 0;
    }
    .referral-button { font-size: clamp(16px, 4vw, 21px); }
    .referral-action__copy br { display: none; }
}
/*
 ==================================================
 MOBILE PEQUEÑO
 ==================================================
 */
@media (max-width: 399.98px) {
    .referral-brand-badge { font-size: 28px; }
    .referral-program-badge { font-size: 15px; }
    .referral-offer__amount { transform: scaleX(.92) scaleY(1.12); }
    .referral-offer__number { font-size: 82px; }
    .referral-offer__currency { font-size: 46px; }
    .referral-offer__unit {
        top: -10px;
        font-size: 34px;
    }
    .referral-offer__label { font-size: 30px; }
    .referral-button { font-size: clamp(13px, 4vw, 19px); }
}
/*
 ==================================================
 BANNER PROGRAMAS
 ==================================================
 */
#section-banner, .site-footer {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-image: url("../img/1x/image_.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #061a46;
    color: #fff;
}
.site-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    padding: 24px 20px;
    background-size: cover;
}
.site-footer p {
    margin: 0;
    color: var(--iexe-white);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
}
.site-footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}
/* Container propio del banner */
#section-banner .programs-banner__container {
    width: calc(100% - clamp(32px, 6vw, 96px));
    max-width: 1600px;
    margin-right: auto;
    margin-left: auto;
}
/* Contenido */
.programs-banner__content {
    display: grid;
    align-items: center;
    grid-template-columns: clamp(92px, 21vw, 260px) minmax(0, 1fr);
    width: 100%;
    min-height: clamp(110px, 18vw, 250px);
}
/*
 ==============================
 TÍTULO
 ==============================
 */
.programs-banner__heading {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: clamp(70px, 10.5vw, 145px);
    padding-right: clamp(10px, 3vw, 45px);
    border-right: clamp(1px, .15vw, 2px) solid #4fc4f0;
}
.programs-banner__heading h2 {
    margin: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(12px, 2.4vw, 34px);
    font-weight: 500;
    line-height: 1.1;
}
/*
 ==============================
 PROGRAMAS
 ==============================
 */
.programs-banner__nav {
    display: grid;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: clamp(4px, 1.5vw, 24px);
    min-width: 0;
    padding-left: clamp(10px, 5vw, 72px);
}
.programs-banner__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 1vw, 12px);
    min-width: 0;
    color: #fff;
    font-family: var(--font-body);
    font-size: clamp(10px, 2vw, 28px);
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: color .2s ease, transform .2s ease;
}
.programs-banner__link:hover, .programs-banner__link:focus-visible {
    color: #55cff5;
    transform: translateY(-2px);
}
/* Icono */
.programs-banner__icon {
    display: block;
    width: clamp(24px, 3.6vw, 50px);
    height: auto;
    flex: 0 0 auto;
    object-fit: contain;
}
/* Puntos */
.programs-banner__dot {
    display: block;
    width: clamp(5px, 1.15vw, 16px);
    height: clamp(5px, 1.15vw, 16px);
    border-radius: 50%;
    background: #fff;
}
/*
 ==================================================
 FAQS
 ==================================================
 */
.referral-faqs {
    position: relative;
    width: 100%;
    padding: 0;
    background: transparent;
    color: var(--iexe-navy);
}
/*
 ==================================================
 PANEL PRINCIPAL
 ==================================================
 */
.referral-faqs__panel {
    position: relative;
    width: 100%;
    padding: 52px 40px 48px;
    overflow: hidden;
    border: 1px solid #d9e5f3;
    border-radius: 32px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .98) 0%, rgba(247, 249, 253, .94) 100%);
    box-shadow: 0 0 18px rgba(46, 78, 143, .04), inset 0 0 0 1px rgba(255, 255, 255, .4);
}
/*
 ==================================================
 HEADER
 ==================================================
 */
.referral-faqs__header { margin-bottom: 42px; }
/* Etiqueta */
.referral-faqs__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    min-height: 38px;
    padding: 7px 16px;
    border: 1.5px solid #31559f;
    border-radius: 6px;
    color: #28211e;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}
/*
 ==================================================
 TÍTULO
 ==================================================
 */
.referral-faqs__title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin: 34px 0 16px;
    color: #211817;
    font-family: var(--font-display);
    font-size: clamp(42px, 4vw, 62px);
    font-style: italic;
    font-weight: 800;
    line-height: .95;
    letter-spacing: -.025em;
    text-transform: uppercase;
}
.referral-faqs__title-accent { color: #3153a0; }
.referral-hero__benefit-title {
    margin: 24px 0 0;
    color: #fff;
    font-size: clamp(30px, 3vw, 48px);
}
.referral-hero__benefit-title .referral-faqs__title-accent { color: var(--iexe-cyan); }
/* Intro */
.referral-faqs__intro {
    margin: 0;
    color: #122e80;
    font-family: var(--font-body);
    font-size: clamp(18px, 1.55vw, 25px);
    font-weight: 500;
    line-height: 1.25;
}
/*
 ==================================================
 LISTA FAQ
 ==================================================
 */
.referral-faqs__list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
/*
 ==================================================
 ITEM
 ==================================================
 */
.referral-faq {
    position: relative;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
    border: 1.5px solid #9bc0ee;
    border-radius: 23px;
    background: rgba(239, 243, 250, .72);
    transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.referral-faq::before {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: url("../img/galery_form/bg-faq.webp") center / cover no-repeat;
    content: "";
    opacity: 0;
    pointer-events: none;
    transition: opacity .32s cubic-bezier(.4, 0, .2, 1);
}
.referral-faq[open]:not(.is-closing) {
    border-color: #254393;
    box-shadow: 0 12px 28px rgba(7, 26, 66, .18);
}
.referral-faq[open]:not(.is-closing)::before { opacity: 1; }
.referral-faq.is-closing::before { opacity: 0; }
/*
 ==================================================
 SUMMARY
 ==================================================
 */
.referral-faq__summary {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 32px;
    align-items: center;
    column-gap: 28px;
    min-height: 98px;
    padding: 16px 26px;
    cursor: pointer;
    list-style: none;
}
.referral-faq__summary::-webkit-details-marker { display: none; }
.referral-faq__summary::marker { content: ""; }
/*
 ==================================================
 ICONO + / -
 ==================================================
 */
.referral-faq__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: 50%;
    background: #273f9d;
    transition: background-color .32s ease;
}
.referral-faq[open]:not(.is-closing) .referral-faq__icon { background: var(--iexe-white); }
.referral-faq__icon img {
    position: absolute;
    inset: 50% auto auto 50%;
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: filter .32s ease, opacity .32s ease;
}
.referral-faq[open]:not(.is-closing) .referral-faq__icon img { filter: brightness(0) saturate(100%) invert(25%) sepia(32%) saturate(2741%) hue-rotate(199deg) brightness(80%) contrast(92%); }
/* Por defecto + */
.referral-faq__icon-plus { opacity: 1; }
.referral-faq__icon-minus { opacity: 0; }
/* Abierto = - */
.referral-faq[open]:not(.is-closing) .referral-faq__icon-plus { opacity: 0; }
.referral-faq[open]:not(.is-closing) .referral-faq__icon-minus { opacity: 1; }
/*
 ==================================================
 PREGUNTA
 ==================================================
 */
.referral-faq__question {
    color: #221918;
    font-family: var(--font-body);
    font-size: clamp(20px, 1.5vw, 25px);
    font-weight: 800;
    line-height: 1.15;
    transition: color .32s ease;
}
.referral-faq[open]:not(.is-closing) .referral-faq__question { color: var(--iexe-white); }
/*
 ==================================================
 RESPUESTA
 ==================================================
 */
.referral-faq__answer {
    position: relative;
    z-index: 1;
    padding: 0 86px 22px 122px;
}
.referral-faq__answer p {
    margin: 0;
    color: #3153a0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.05vw, 18px);
    font-weight: 500;
    line-height: 1.35;
    transition: color .32s ease;
}
.referral-faq[open]:not(.is-closing) .referral-faq__answer p { color: var(--iexe-white); }
/*
 ==================================================
 FLECHA DERECHA
 ==================================================
 */
.referral-faq__arrow {
    position: relative;
    display: block;
    width: 18px;
    height: 18px;
    justify-self: end;
    border-top: 3px solid #19358e;
    border-right: 3px solid #19358e;
    transform: rotate(45deg);
    transition: border-color .32s ease, transform .32s ease;
}
/* Opcional: gira ligeramente al abrir */
.referral-faq[open]:not(.is-closing) .referral-faq__arrow {
    border-color: var(--iexe-white);
    transform: rotate(135deg);
}
/*
 ==================================================
 HOVER / FOCUS
 ==================================================
 */
.referral-faq:hover { border-color: #6d9fdf; }
.referral-faq[open]:not(.is-closing):hover { border-color: #55cff5; }
.referral-faq[open]:not(.is-closing) .referral-faq__summary:focus-visible { outline-color: rgba(255, 255, 255, .72); }
.referral-faq__summary:focus-visible {
    outline: 3px solid rgba(49, 85, 159, .28);
    outline-offset: -3px;
    border-radius: 21px;
}
/*
 ==================================================
 TABLET
 ==================================================
 */
@media (max-width: 991.98px) {
    .referral-faqs__panel { padding: 40px 28px; }
    .referral-faqs__header { margin-bottom: 34px; }
    .referral-faqs__list { gap: 22px; }
    .referral-faq__summary {
        grid-template-columns: 60px minmax(0, 1fr) 26px;
        column-gap: 20px;
        min-height: 88px;
        padding: 14px 22px;
    }
    .referral-faq__icon {
        width: 58px;
        height: 58px;
    }
    .referral-faq__answer { padding: 0 70px 20px 102px; }
}
/*
 ==================================================
 MOBILE
 ==================================================
 */
@media (max-width: 767.98px) {
    .referral-faqs__panel {
        padding: 28px 16px 28px;
        border-radius: 22px;
    }
    .referral-faqs__eyebrow {
        min-width: 0;
        min-height: 34px;
        padding: 7px 13px;
        font-size: 14px;
    }
    .referral-faqs__title {
        gap: 5px;
        margin: 26px 0 14px;
        font-size: clamp(37px, 11vw, 50px);
        line-height: .94;
    }
    .referral-faqs__intro {
        font-size: 17px;
        line-height: 1.35;
    }
    .referral-faqs__header { margin-bottom: 28px; }
    .referral-faqs__list { gap: 16px; }
    .referral-faq { border-radius: 18px; }
    .referral-faq__summary {
        grid-template-columns: 48px minmax(0, 1fr) 18px;
        column-gap: 14px;
        min-height: 78px;
        padding: 13px 15px;
    }
    .referral-faq__icon {
        width: 46px;
        height: 46px;
    }
    .referral-faq__icon img {
        width: 24px;
        height: 24px;
    }
    .referral-faq__question { font-size: 18px; }
    .referral-faq__answer { padding: 0 18px 18px 77px; }
    .referral-faq__answer p { font-size: 15px; }
    .referral-faq__arrow {
        width: 14px;
        height: 14px;
        border-width: 2px;
    }
}
/*
 ==================================================
 MOBILE PEQUEÑO
 ==================================================
 */
@media (max-width: 399.98px) {
    .referral-faqs__panel { padding: 24px 12px 24px; }
    .referral-faq__summary {
        grid-template-columns: 42px minmax(0, 1fr) 16px;
        column-gap: 11px;
        padding: 12px;
    }
    .referral-faq__icon {
        width: 42px;
        height: 42px;
    }
    .referral-faq__question { font-size: 17px; }
    .referral-faq__answer { padding: 0 15px 17px 65px; }
}
.iti--inline-country-selector .iti__country-selector {
    border: 1px solid rgba(96, 151, 230, .7);
    border-radius: 18px;
}
/*
 ==================================================
 BENEFICIO COMPACTO — TODAS LAS RESOLUCIONES DESDE 300PX
 ==================================================
 */
@media (min-width: 300px) {
    #terminos.referral-offer-wrap {
        width: 100%;
        max-width: 364px;
        margin-right: auto;
        margin-left: auto;
        text-align: center;
    }
    /* Tarjeta principal */
    #terminos .referral-offer {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        width: 100%;
        height: 86px;
        min-height: 86px;
        padding: 0 10px;
        border: 2px solid #5bd3f7;
        border-radius: 12px;
        background: rgba(4, 22, 54, .23);
        box-shadow: 0 0 8px rgba(70, 205, 249, .24), inset 0 0 0 1px rgba(91, 211, 247, .08);
    }
    /* 3,000 puntos */
    #terminos .referral-offer__amount {
        position: static;
        height: auto;
        color: #fff;
        font-family: var(--font-display);
        font-weight: 800;
        line-height: 1;
        letter-spacing: -.03em;
        transform: none;
    }
    #terminos .referral-offer__number {
        font-size: clamp(28px, 8vw, 34px);
        line-height: .95;
        white-space: nowrap;
    }
    /* EN TARJETA DE REGALO */
    #terminos .referral-offer__label {
        position: static;
        margin: 0;
        color: #55cef4;
        font-family: var(--font-display);
        font-size: clamp(15px, 4vw, 18px);
        font-style: italic;
        font-weight: 700;
        line-height: 1;
        letter-spacing: .01em;
        text-transform: uppercase;
        text-shadow: 0 0 6px rgba(83, 207, 245, .38);
        transform: none;
        white-space: nowrap;
    }
    #terminos .referral-offer__equivalence {
        margin: 0;
        color: rgba(255, 255, 255, .94);
        font-size: clamp(10.5px, 3vw, 12px);
        font-weight: 600;
        line-height: 1.5;
        white-space: nowrap;
    }
    /* Consulta términos y condiciones */
    #terminos .referral-offer__terms-link {
        display: block;
        width: max-content;
        max-width: 100%;
        margin: 10px auto 0;
        border-bottom: 1px solid rgba(255, 255, 255, .55);
        color: rgba(255, 255, 255, .94);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.05;
        text-align: center;
        text-decoration: none;
    }
    /* Texto legal inferior */
    #terminos .referral-offer__legal {
        display: block;
        margin-top: 1px;
        color: rgba(255, 255, 255, .9);
        font-size: 12px;
        font-weight: 400;
        line-height: 1.05;
        text-align: center;
    }
    /* Quitar espacio superior de los botones */
    .referral-action { padding-top: 0; }
}
@media (max-width: 425px) {
    .referral-button__icon--people { max-width: 30px; }
    .how-step--small { padding: clamp(6px, 2.35vw, 10px) clamp(6px, 2.35vw, 10px); }
    .how-step h3 { font-size: clamp(13px, 3.75vw, 16px); }
    .how-step p { font-size: clamp(9px, 2.6vw, 11px); }
    .referral-hero__intro { font-size: 12px; }
    .referral-actions { margin-top: 0px; }
}
