/* REM Envíos — estilos de la página. Se apoya en css/style.css (misma paleta y tipografías). */

:root {
    --re-violet: #2c248d;
    --re-violet-dark: #1f1a66;
    --re-yellow: #ffca00;
    --re-mint: #00ffbc;
    --re-gray-bg: #f5f5f5;
    --re-text: #6a6a6a;
    --re-line: #e6e6ef;
    --re-ok: #1a9e6b;
    --re-warn: #c77700;
    --re-bad: #c62828;
    --re-info: #1565c0;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 80px;
}

[hidden] {
    display: none !important;
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.re-hero {
    background:
        radial-gradient(900px 420px at 85% 10%, rgba(255, 202, 0, .16), transparent 60%),
        radial-gradient(700px 400px at 0% 100%, rgba(0, 255, 188, .10), transparent 60%),
        linear-gradient(135deg, #241d78 0%, #2c248d 45%, #3a30b0 100%);
    color: #fff;
    padding: 84px 0 96px;
    overflow: hidden;
}

.re-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
}

.re-eyebrow i {
    color: var(--re-yellow);
}

.re-hero-title {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-weight: 700;
    font-size: 4.4rem;
    line-height: 1.02;
    margin-bottom: 20px;
    color: #fff;
}

.re-hero-title span {
    color: var(--re-yellow);
}

.re-hero-lead {
    font-family: 'Biryani', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #ffffff;
    opacity: .92;
    max-width: 540px;
}

.re-hero-actions {
    margin-top: 34px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* Botones del hero: alto contraste y mismo tamaño */
.re-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 30px;
    border-radius: 30px;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.re-hero-btn:hover,
.re-hero-btn:focus {
    text-decoration: none;
    transform: translateY(-2px);
}

.re-hero-btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.re-hero-btn-primary {
    background: var(--re-yellow);
    color: #1f1a66;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.re-hero-btn-primary:hover,
.re-hero-btn-primary:focus {
    background: #ffd633;
    color: #1f1a66;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
}

.re-hero-btn-outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .75);
}

.re-hero-btn-outline:hover,
.re-hero-btn-outline:focus {
    background: #fff;
    color: var(--re-violet);
    border-color: #fff;
}

/* Maqueta de teléfono */
.re-phone {
    width: 260px;
    margin: 0 auto;
    background: #12104a;
    border-radius: 38px;
    padding: 12px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    position: relative;
    transform: rotate(3deg);
}

.re-phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    width: 90px;
    height: 20px;
    margin-left: -45px;
    background: #12104a;
    border-radius: 0 0 14px 14px;
    z-index: 2;
}

.re-phone-screen {
    background: #fff;
    border-radius: 28px;
    padding: 34px 14px 16px;
    color: #333;
    font-family: 'Biryani', Arial, sans-serif;
}

.re-ph-top {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .85rem;
    margin-bottom: 10px;
}

.re-ph-top strong {
    flex: 1;
    color: var(--re-violet);
}

.re-ph-top em {
    font-style: normal;
    font-size: .7rem;
    background: #e7fff7;
    color: var(--re-ok);
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}

.re-ph-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--re-mint);
}

.re-ph-map {
    position: relative;
    height: 150px;
    border-radius: 14px;
    background:
        linear-gradient(90deg, rgba(44, 36, 141, .06) 1px, transparent 1px) 0 0 / 22px 22px,
        linear-gradient(rgba(44, 36, 141, .06) 1px, transparent 1px) 0 0 / 22px 22px,
        #f1f0fb;
    overflow: hidden;
}

.re-ph-map svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.re-ph-courier {
    position: absolute;
    left: 44%;
    top: 40%;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--re-violet);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .8rem;
    box-shadow: 0 0 0 6px rgba(44, 36, 141, .18);
}

.re-ph-card {
    margin: 12px 0 8px;
    background: var(--re-violet);
    color: #fff;
    border-radius: 12px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .8rem;
}

.re-ph-card strong {
    color: var(--re-yellow);
    font-size: 1.2rem;
}

.re-ph-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 4px;
    border-top: 1px solid var(--re-line);
    font-size: .8rem;
}

.re-ph-row i {
    color: var(--re-violet);
    width: 18px;
    text-align: center;
}

/* ── Secciones ────────────────────────────────────────────────────────────── */
.re-section {
    padding: 90px 0;
}

.re-section-gris {
    background: var(--re-gray-bg);
}

.re-title {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-weight: 700;
    font-size: 2.4rem;
    color: var(--re-violet);
    margin-bottom: 18px;
}

.re-title-light {
    color: #fff;
}

.re-text {
    font-family: 'Biryani', Arial, sans-serif;
    font-weight: 300;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--re-text);
}

.re-text-light {
    color: #e4e2ff;
}

.re-muted {
    color: #8a8a99;
}

.re-small {
    font-size: .8rem;
    margin: 14px 0 0;
}

/* Pasos */
.re-steps {
    margin-top: 50px;
}

.re-step {
    background: #fff;
    border-radius: 18px;
    padding: 30px 26px;
    height: 100%;
    margin-bottom: 20px;
    box-shadow: 0 6px 24px rgba(44, 36, 141, .07);
    font-family: 'Biryani', Arial, sans-serif;
}

.re-step-n {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--re-yellow);
    color: var(--re-violet);
    font-weight: 700;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.re-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--re-violet);
}

.re-step p {
    color: var(--re-text);
    margin: 0;
    font-weight: 300;
}

/* Features */
.re-col {
    margin-bottom: 24px;
}

.re-feature {
    height: 100%;
    padding: 28px 26px;
    border: 1px solid var(--re-line);
    border-radius: 18px;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    font-family: 'Biryani', Arial, sans-serif;
    background: #fff;
}

.re-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(44, 36, 141, .12);
    border-color: transparent;
}

.re-ico {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #efedff;
    color: var(--re-violet);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.re-feature h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--re-violet);
}

.re-feature p {
    margin: 0;
    color: var(--re-text);
    font-weight: 300;
    line-height: 1.6;
}

/* Instalar */
.re-install {
    background: var(--re-violet);
    padding: 70px 0;
}

.re-stores {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 10px;
}

.re-store {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    color: #222;
    border-radius: 16px;
    padding: 14px 22px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.re-store:hover {
    text-decoration: none;
    color: #222;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.re-store i {
    font-size: 2rem;
    color: var(--re-violet);
}

.re-store span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-family: 'PT Sans', Arial, sans-serif;
}

.re-store small {
    color: #777;
}

.re-store strong {
    font-size: 1.25rem;
}

/* ── Suscripción ──────────────────────────────────────────────────────────── */
.re-card {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 6px 24px rgba(44, 36, 141, .08);
    font-family: 'Biryani', Arial, sans-serif;
}

.re-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--re-violet);
    margin-bottom: 14px;
}

.re-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.re-card-head h3 {
    margin: 0;
}

.re-login {
    max-width: 440px;
    margin: 40px auto 0;
}

.re-or {
    text-align: center;
    margin: 18px 0 8px;
    position: relative;
    color: #9a9aa8;
    font-size: .85rem;
}

.re-or::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--re-line);
}

.re-or span {
    position: relative;
    background: #fff;
    padding: 0 12px;
}

.re-card label,
.re-modal label {
    display: block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8a8a99;
    margin: 14px 0 6px;
}

.re-input {
    width: 100%;
    border: 1.5px solid #dcdce8;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    font-family: inherit;
    color: #222;
    outline: none;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.re-input:focus,
.re-mp:focus-within {
    border-color: var(--re-violet);
    box-shadow: 0 0 0 3px rgba(44, 36, 141, .12);
}

.re-mp {
    height: 48px;
    border: 1.5px solid #dcdce8;
    border-radius: 12px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #fff;
}

.re-btn,
.re-btn-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 2rem;
    background: var(--re-violet);
    color: #fff;
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 12px 28px;
    cursor: pointer;
    transition: background .2s, transform .1s, opacity .2s;
}

.re-btn:hover {
    background: var(--re-violet-dark);
}

.re-btn:active {
    transform: scale(.98);
}

.re-btn[disabled],
.re-btn-social[disabled] {
    opacity: .55;
    cursor: not-allowed;
}

.re-btn-block,
.re-btn-social {
    width: 100%;
    margin-top: 18px;
}

.re-btn-social {
    background: #fff;
    color: #333;
    border: 1.5px solid #dcdce8;
    margin-top: 10px;
}

.re-btn-social:hover {
    border-color: var(--re-violet);
    background: #faf9ff;
}

.re-btn-ghost {
    background: #fff;
    color: var(--re-violet);
    border: 1.5px solid var(--re-violet);
}

.re-btn-ghost:hover {
    background: #efedff;
}

.re-btn-danger {
    background: #fff;
    color: var(--re-bad);
    border: 1.5px solid #f0b9b9;
}

.re-btn-danger:hover {
    background: #fdecec;
}

.re-link {
    background: none;
    border: none;
    color: var(--re-violet);
    font-weight: 700;
    padding: 8px 0 0;
    cursor: pointer;
    display: block;
    margin: 0 auto;
}

.re-link:hover {
    text-decoration: underline;
}

.re-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 30px 0 20px;
    font-family: 'Biryani', Arial, sans-serif;
}

.re-panel-head>div {
    display: flex;
    flex-direction: column;
}

.re-panel-head .re-link {
    margin: 0;
    padding: 0;
}

.re-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.re-actions .re-btn {
    flex: 1;
    padding: 10px 16px;
    font-size: .9rem;
}

/* Alertas y badges */
.re-alert {
    border-radius: 12px;
    padding: 12px 14px;
    font-size: .9rem;
    margin: 12px 0;
    background: #eef2ff;
    color: #2a3b8f;
    line-height: 1.5;
}

.re-alert-warn {
    background: #fff6e5;
    color: #8a5a00;
}

.re-alert-error {
    background: #fdecec;
    color: #9b1c1c;
}

.re-alert-ok {
    background: #e7f8f0;
    color: #0f6b47;
}

.re-badge {
    font-family: 'PT Sans', Arial, sans-serif;
    font-size: .75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    background: #eee;
    color: #666;
    white-space: nowrap;
}

.re-badge[data-tone="ok"] {
    background: #e7f8f0;
    color: var(--re-ok);
}

.re-badge[data-tone="warn"] {
    background: #fff6e5;
    color: var(--re-warn);
}

.re-badge[data-tone="bad"] {
    background: #fdecec;
    color: var(--re-bad);
}

.re-badge[data-tone="info"] {
    background: #e8f1fd;
    color: var(--re-info);
}

/* Estado: plan y uso */
.re-plan-name {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.re-meter {
    height: 10px;
    background: #ececf5;
    border-radius: 10px;
    overflow: hidden;
}

.re-meter span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--re-violet);
    border-radius: 10px;
    transition: width .5s ease;
}

.re-meter span.is-over {
    background: var(--re-bad);
}

.re-meter-text {
    margin-top: 8px;
    font-size: .95rem;
    color: #444;
    font-weight: 600;
}

.re-meter-extra {
    font-size: .85rem;
    color: var(--re-text);
}

.re-facts {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.re-facts li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--re-line);
    font-size: .9rem;
}

.re-facts span {
    color: #8a8a99;
}

/* Planes */
.re-plan {
    border: 2px solid var(--re-line);
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 16px;
    height: calc(100% - 16px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color .2s, box-shadow .2s;
}

.re-plan.is-current {
    border-color: var(--re-violet);
    box-shadow: 0 8px 24px rgba(44, 36, 141, .12);
}

.re-plan-tag {
    position: absolute;
    top: -12px;
    right: 16px;
    background: var(--re-yellow);
    color: var(--re-violet);
    font-family: 'PT Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: .7rem;
    padding: 3px 12px;
    border-radius: 12px;
}

.re-plan h4 {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-weight: 700;
    color: var(--re-violet);
    font-size: 1.3rem;
}

.re-plan-price {
    font-family: 'Titillium Web', Arial, sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #222;
    line-height: 1.1;
}

.re-plan-price small {
    font-size: .9rem;
    font-weight: 400;
    color: #8a8a99;
}

.re-plan-ars {
    font-size: .8rem;
    color: #8a8a99;
    margin-bottom: 12px;
}

.re-plan ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    font-size: .9rem;
    color: #555;
    flex: 1;
}

.re-plan li {
    padding: 4px 0;
}

.re-plan li i {
    color: var(--re-ok);
    margin-right: 8px;
}

.re-plan .re-btn {
    width: 100%;
}

/* ── Modales ──────────────────────────────────────────────────────────────── */
.re-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(18, 16, 74, .55);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-y: auto;
    padding: 40px 16px;
}

.re-modal {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 480px;
    padding: 28px;
    position: relative;
    box-shadow: 0 30px 70px rgba(0, 0, 0, .35);
    font-family: 'Biryani', Arial, sans-serif;
}

.re-modal-sm {
    max-width: 400px;
}

.re-modal h3 {
    font-weight: 700;
    color: var(--re-violet);
    font-size: 1.25rem;
    padding-right: 28px;
}

.re-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: none;
    background: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #999;
    cursor: pointer;
}

.re-modal code {
    background: rgba(0, 0, 0, .06);
    padding: 1px 5px;
    border-radius: 4px;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 991px) {
    .re-hero {
        padding: 56px 0 64px;
    }

    .re-hero-title {
        font-size: 3.2rem;
    }

    .re-section {
        padding: 60px 0;
    }
}

@media (max-width: 575px) {
    .re-hero-title {
        font-size: 2.6rem;
    }

    .re-title {
        font-size: 1.9rem;
    }

    .re-hero-btn {
        width: 100%;
    }

    .re-card {
        padding: 22px 18px;
    }

    .re-modal {
        padding: 22px 18px;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .re-feature,
    .re-step,
    .re-store,
    .re-meter span {
        transition: none;
    }

    .re-hero .container .col-lg-7>*,
    .re-phone,
    .re-ph-courier,
    .re-ph-dot {
        animation: none !important;
    }
}


/* ── Menú más fino ────────────────────────────────────────────────────────── */
#menu-margen-top {
    display: none;
}

.re-nav.navbar {
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 0;
    border-bottom: 1px solid transparent;
    box-shadow: none;
    background-color: rgba(255, 255, 255, .88) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    transition: box-shadow .25s ease, border-color .25s ease;
}

.re-nav.is-scrolled {
    border-bottom-color: var(--re-line);
    box-shadow: 0 6px 24px rgba(44, 36, 141, .08);
}

.re-nav .navbar-brand {
    padding: 0;
    margin-right: 1rem;
    line-height: 1;
}

.re-nav .navbar-brand img {
    height: 34px;
    width: auto;
    transition: transform .25s ease;
}

.re-nav .navbar-brand:hover img {
    transform: scale(1.05);
}

.re-nav .navbar-toggler {
    margin: 0;
    padding: 4px 10px;
    border-radius: 10px;
}

.re-nav .navbar-nav .nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: .92rem;
    transition: color .2s ease;
}

.re-nav .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    border-radius: 2px;
    background: var(--re-violet);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.re-nav .navbar-nav .nav-link:hover::after,
.re-nav .navbar-nav .nav-link:focus::after {
    transform: scaleX(1);
}

.re-nav .re-nav-cta {
    padding: 7px 22px;
    font-size: .92rem;
    margin-left: 8px;
    transition: background-color .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.re-nav .re-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(44, 31, 145, .22);
}

@media (max-width: 991px) {
    .re-nav.navbar {
        padding-bottom: 6px;
        box-shadow: 0 1px 0 var(--re-line);
    }

    .re-nav.is-scrolled {
        box-shadow: 0 6px 24px rgba(44, 36, 141, .1);
    }

    .re-nav .nav-item {
        padding-top: 0;
    }

    .re-nav .navbar-nav {
        padding: 8px 0 10px;
    }

    .re-nav .navbar-nav .nav-link::after {
        display: none;
    }

    .re-nav .re-nav-cta {
        display: block;
        text-align: center;
        margin: 8px 0 0;
    }
}

/* ── Animaciones ──────────────────────────────────────────────────────────── */
@keyframes re-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes re-float {

    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -12px;
    }
}

@keyframes re-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(44, 36, 141, .35);
    }

    100% {
        box-shadow: 0 0 0 14px rgba(44, 36, 141, 0);
    }
}

@keyframes re-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .35;
    }
}

/* Hero: entrada escalonada y teléfono flotando */
.re-hero .col-lg-7>* {
    animation: re-rise .7s cubic-bezier(.2, .7, .2, 1) both;
}

.re-hero .col-lg-7>:nth-child(2) {
    animation-delay: .08s;
}

.re-hero .col-lg-7>:nth-child(3) {
    animation-delay: .16s;
}

.re-hero .col-lg-7>:nth-child(4) {
    animation-delay: .24s;
}

.re-phone {
    animation: re-float 6s ease-in-out infinite;
}

.re-ph-courier {
    animation: re-pulse 1.8s ease-out infinite;
}

.re-ph-dot {
    animation: re-blink 1.6s ease-in-out infinite;
}

/* Aparición al desplazar (usa `translate` para no pisar el transform del hover) */
.re-js [data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .7s ease var(--re-delay, 0ms), translate .7s cubic-bezier(.2, .7, .2, 1) var(--re-delay, 0ms),
        transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.re-js [data-reveal].is-in {
    opacity: 1;
    translate: 0 0;
}

/* Cards: inclinación + brillo que sigue al mouse */
.re-feature,
.re-step,
.re-store {
    position: relative;
    overflow: hidden;
    transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    will-change: transform;
}

.re-feature::before,
.re-step::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(44, 36, 141, .09), transparent 70%);
    transition: opacity .3s ease;
}

.re-store::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(200px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 202, 0, .35), transparent 70%);
    transition: opacity .3s ease;
}

.re-feature:hover::before,
.re-step:hover::before,
.re-store:hover::before {
    opacity: 1;
}

.re-feature:hover,
.re-step:hover,
.re-store:hover {
    transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px);
}

.re-step {
    transition: transform .25s ease, box-shadow .25s ease;
}

.re-step:hover {
    box-shadow: 0 16px 36px rgba(44, 36, 141, .14);
}

.re-feature:hover {
    box-shadow: 0 18px 40px rgba(44, 36, 141, .16);
}

.re-feature .re-ico,
.re-step .re-step-n {
    transition: transform .3s cubic-bezier(.3, 1.6, .5, 1), background .25s ease, color .25s ease;
}

.re-feature:hover .re-ico {
    transform: scale(1.12) rotate(-6deg);
    background: var(--re-violet);
    color: #fff;
}

.re-step:hover .re-step-n {
    transform: scale(1.12) rotate(8deg);
}

/* Botones del hero: brillo al pasar */
.re-hero-btn {
    position: relative;
    overflow: hidden;
}

.re-hero-btn i {
    transition: transform .25s ease;
}

.re-hero-btn:hover i.fa-arrow-right {
    transform: translateX(4px);
}

.re-hero-btn:hover i.fa-download {
    transform: translateY(2px);
}

.re-hero-btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 40%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .6), transparent);
    transform: skewX(-20deg);
    transition: left .6s ease;
}

.re-hero-btn-primary:hover::after {
    left: 130%;
}

/* WhatsApp flotante: pulso suave */
.whatsapp-float {
    animation: re-wa 2.4s ease-out infinite;
}

@keyframes re-wa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
    }

    70%,
    100% {
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }
}

@media (prefers-reduced-motion: reduce) {

    .re-js [data-reveal] {
        opacity: 1;
        translate: none;
    }

    .re-feature,
    .re-step,
    .re-store {
        transform: none !important;
    }

    .whatsapp-float {
        animation: none;
    }
}
