/* ==========================================================================
   Gasomarshal · Rewards · Programa de fidelización
   Hoja de estilos exclusiva para rewards-fidelizacion.html.
   Reutiliza variables base de partner-odoo.css. La página debe enlazar
   AMBAS: partner-odoo.css y rewards-fidelizacion.css.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Paleta Rewards (dorado / púrpura) inyectada para esta página
   -------------------------------------------------------------------------- */
.po-page.rw-page {
    --rw-gold:        #f59e0b;
    --rw-gold-soft:   #fef3c7;
    --rw-gold-dark:   #b45309;
    --rw-purple:      #7c3aed;
    --rw-purple-soft: #ede9fe;
    --rw-purple-dark: #5b21b6;
    --rw-pink:        #ec4899;
    --rw-pink-soft:   #fce7f3;
    --rw-bronze:      #b45309;
    --rw-silver:      #94a3b8;
    --rw-platinum:    #6366f1;
    --rw-ink:         #1e293b;
    --rw-slate:       #475569;
    --rw-cream:       #fffbeb;
}

/* --------------------------------------------------------------------------
   Hero · banner dorado/púrpura
   -------------------------------------------------------------------------- */
.rw-page .rw-hero-banner {
    background:
        radial-gradient(closest-side at 92% 0%, rgba(245, 158, 11, 0.30), transparent 70%),
        linear-gradient(135deg, #5b21b6 0%, #7c3aed 65%, #a855f7 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 40px 36px;
    margin-top: 14px;
    position: relative;
    overflow: hidden;
}
.rw-page .rw-hero-banner .rw-hero-eyebrow {
    color: #fbbf24;
    font-weight: 700;
    letter-spacing: 4px;
    font-size: 13px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 10px;
}
.rw-page .rw-hero-banner h2 {
    color: #ffffff;
    font-size: 36px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
}
.rw-page .rw-hero-banner h2 b {
    color: #fbbf24;
    font-weight: 800;
}
.rw-page .rw-hero-banner p {
    color: #e9d5ff;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    max-width: 720px;
}
.rw-page .rw-hero-banner .rw-hero-pills {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.rw-page .rw-hero-banner .rw-hero-pill {
    background: rgba(251, 191, 36, 0.18);
    color: #fde68a;
    border: 1px solid rgba(251, 191, 36, 0.5);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Stats de retención (banda con números grandes)
   -------------------------------------------------------------------------- */
.rw-page .rw-retention-band {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 18px;
    padding: 28px 24px;
    border-left: 6px solid var(--rw-gold);
}
.rw-page .rw-retention-stat {
    text-align: center;
    padding: 14px 8px;
}
.rw-page .rw-retention-stat .rw-retention-num {
    font-size: 44px;
    font-weight: 800;
    color: var(--rw-purple);
    line-height: 1;
    letter-spacing: 1px;
}
.rw-page .rw-retention-stat--gold   .rw-retention-num { color: var(--rw-gold-dark); }
.rw-page .rw-retention-stat--pink   .rw-retention-num { color: var(--rw-pink); }
.rw-page .rw-retention-stat--green  .rw-retention-num { color: #15803d; }
.rw-page .rw-retention-stat .rw-retention-lbl {
    color: var(--rw-ink);
    font-size: 13px;
    line-height: 1.45;
    margin-top: 12px;
    display: block;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   Frases comerciales (taglines de programas inspiradores)
   -------------------------------------------------------------------------- */
.rw-page .rw-tagline {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 24px;
    height: 100%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    border-top: 5px solid var(--rw-gold);
    position: relative;
    transition: transform .25s ease, box-shadow .25s ease;
}
.rw-page .rw-tagline:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(124, 58, 237, 0.14);
}
.rw-page .rw-tagline.rw-tagline--purple { border-top-color: var(--rw-purple); }
.rw-page .rw-tagline.rw-tagline--pink   { border-top-color: var(--rw-pink); }
.rw-page .rw-tagline.rw-tagline--blue   { border-top-color: #2e70c9; }
.rw-page .rw-tagline.rw-tagline--green  { border-top-color: #16a34a; }
.rw-page .rw-tagline .rw-tagline-quote {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 18px;
    color: var(--rw-purple-dark);
    line-height: 1.4;
    margin: 0 0 14px;
    position: relative;
    padding-left: 22px;
}
.rw-page .rw-tagline .rw-tagline-quote:before {
    content: "“";
    position: absolute;
    left: -2px;
    top: -8px;
    font-size: 36px;
    color: var(--rw-gold);
    line-height: 1;
}
.rw-page .rw-tagline.rw-tagline--purple .rw-tagline-quote { color: var(--rw-purple-dark); }
.rw-page .rw-tagline.rw-tagline--pink .rw-tagline-quote   { color: #9d174d; }
.rw-page .rw-tagline.rw-tagline--blue .rw-tagline-quote   { color: #1e3a8a; }
.rw-page .rw-tagline.rw-tagline--green .rw-tagline-quote  { color: #166534; }
.rw-page .rw-tagline .rw-tagline-source {
    color: var(--rw-slate);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
}

/* --------------------------------------------------------------------------
   Pasos del programa (numerados con imagen)
   -------------------------------------------------------------------------- */
.rw-page .rw-step-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
}
.rw-page .rw-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}
.rw-page .rw-step-card .rw-step-img {
    background: linear-gradient(180deg, var(--rw-cream) 0%, var(--rw-purple-soft) 100%);
    aspect-ratio: 16 / 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.rw-page .rw-step-card .rw-step-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.rw-page .rw-step-card .rw-step-num {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--rw-purple);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.30);
    z-index: 2;
}
.rw-page .rw-step-card .rw-step-body {
    padding: 18px 22px 22px;
    flex: 1;
}
.rw-page .rw-step-card .rw-step-eyebrow {
    color: var(--rw-gold-dark);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}
.rw-page .rw-step-card h4 {
    font-size: 19px;
    font-weight: 800;
    color: var(--rw-ink);
    margin: 0 0 10px;
}
.rw-page .rw-step-card p {
    color: var(--rw-slate);
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Niveles de membresía (Bronce, Plata, Oro, Platino)
   -------------------------------------------------------------------------- */
.rw-page .rw-tier {
    background: #ffffff;
    border-radius: 16px;
    padding: 26px 22px;
    height: 100%;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
    border-top: 6px solid var(--rw-bronze);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
}
.rw-page .rw-tier:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.10);
}
.rw-page .rw-tier.rw-tier--silver   { border-top-color: var(--rw-silver); }
.rw-page .rw-tier.rw-tier--gold     { border-top-color: var(--rw-gold); }
.rw-page .rw-tier.rw-tier--platinum { border-top-color: var(--rw-platinum); }
.rw-page .rw-tier .rw-tier-medal {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--rw-bronze) 0%, #92400e 100%);
    box-shadow: 0 10px 22px rgba(180, 83, 9, 0.30);
}
.rw-page .rw-tier.rw-tier--silver   .rw-tier-medal { background: linear-gradient(135deg, #cbd5e1 0%, #64748b 100%); box-shadow: 0 10px 22px rgba(100, 116, 139, 0.30); }
.rw-page .rw-tier.rw-tier--gold     .rw-tier-medal { background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%); box-shadow: 0 10px 22px rgba(217, 119, 6, 0.34); }
.rw-page .rw-tier.rw-tier--platinum .rw-tier-medal { background: linear-gradient(135deg, #818cf8 0%, #4f46e5 100%); box-shadow: 0 10px 22px rgba(79, 70, 229, 0.30); }
.rw-page .rw-tier h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--rw-ink);
    margin: 0 0 4px;
    letter-spacing: 2px;
}
.rw-page .rw-tier .rw-tier-range {
    font-size: 12px;
    color: var(--rw-slate);
    font-weight: 600;
    margin-bottom: 14px;
    display: block;
}
.rw-page .rw-tier ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.rw-page .rw-tier ul li {
    padding: 8px 0 8px 26px;
    position: relative;
    font-size: 13px;
    color: var(--rw-ink);
    line-height: 1.45;
    border-top: 1px solid #f1f5f9;
}
.rw-page .rw-tier ul li:first-child { border-top: none; }
.rw-page .rw-tier ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--rw-bronze);
    font-weight: 800;
    font-size: 14px;
}
.rw-page .rw-tier.rw-tier--silver   ul li:before { color: #475569; }
.rw-page .rw-tier.rw-tier--gold     ul li:before { color: var(--rw-gold-dark); }
.rw-page .rw-tier.rw-tier--platinum ul li:before { color: var(--rw-platinum); }

/* --------------------------------------------------------------------------
   Beneficios para el negocio
   -------------------------------------------------------------------------- */
.rw-page .rw-benefit {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 22px 20px;
    height: 100%;
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: transform .2s ease;
}
.rw-page .rw-benefit:hover { transform: translateY(-3px); }
.rw-page .rw-benefit .rw-benefit-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--rw-purple);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
    box-shadow: 0 8px 18px rgba(124, 58, 237, 0.28);
}
.rw-page .rw-benefit.rw-benefit--gold  .rw-benefit-icon { background: var(--rw-gold); box-shadow: 0 8px 18px rgba(245, 158, 11, 0.30); }
.rw-page .rw-benefit.rw-benefit--pink  .rw-benefit-icon { background: var(--rw-pink); box-shadow: 0 8px 18px rgba(236, 72, 153, 0.28); }
.rw-page .rw-benefit.rw-benefit--blue  .rw-benefit-icon { background: #2e70c9; box-shadow: 0 8px 18px rgba(46, 112, 201, 0.28); }
.rw-page .rw-benefit.rw-benefit--green .rw-benefit-icon { background: #16a34a; box-shadow: 0 8px 18px rgba(22, 163, 74, 0.28); }
.rw-page .rw-benefit.rw-benefit--ink   .rw-benefit-icon { background: var(--rw-ink); box-shadow: 0 8px 18px rgba(30, 41, 59, 0.30); }
.rw-page .rw-benefit h5 {
    font-size: 16px;
    font-weight: 800;
    color: var(--rw-ink);
    margin: 0 0 8px;
}
.rw-page .rw-benefit p {
    color: var(--rw-slate);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Casos de uso por industria (chips iconos)
   -------------------------------------------------------------------------- */
.rw-page .rw-industry {
    background: #ffffff;
    border-radius: 14px;
    padding: 22px 18px;
    height: 100%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: transform .2s ease, border-color .2s ease;
}
.rw-page .rw-industry:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.4);
}
.rw-page .rw-industry .rw-industry-ico {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--rw-gold-soft);
    color: var(--rw-gold-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 12px;
}
.rw-page .rw-industry h5 {
    font-size: 15px;
    font-weight: 800;
    color: var(--rw-ink);
    margin: 0 0 6px;
}
.rw-page .rw-industry p {
    color: var(--rw-slate);
    font-size: 12.5px;
    line-height: 1.5;
    margin: 0;
}

/* --------------------------------------------------------------------------
   Banner cita comercial (frase grande + atribución)
   -------------------------------------------------------------------------- */
.rw-page .rw-quote-band {
    background: linear-gradient(135deg, var(--rw-purple-dark) 0%, var(--rw-purple) 100%);
    color: #ffffff;
    border-radius: 18px;
    padding: 40px 28px;
    text-align: center;
    box-shadow: 0 14px 30px rgba(91, 33, 182, 0.20);
}
.rw-page .rw-quote-band .rw-quote-text {
    font-family: Georgia, "Times New Roman", serif;
    font-style: italic;
    font-size: 24px;
    line-height: 1.4;
    color: #ffffff;
    margin: 0 auto;
    max-width: 760px;
}
.rw-page .rw-quote-band .rw-quote-text b {
    color: #fbbf24;
    font-weight: 800;
}
.rw-page .rw-quote-band .rw-quote-attr {
    margin-top: 16px;
    color: #e9d5ff;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   CTA con paleta dorado/púrpura
   -------------------------------------------------------------------------- */
.rw-page .rw-cta-band {
    background: linear-gradient(135deg, var(--rw-gold) 0%, var(--rw-gold-dark) 100%);
    border-radius: 18px;
    padding: 36px 30px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 12px 32px rgba(245, 158, 11, 0.30);
    position: relative;
    z-index: 2;
}
.rw-page .rw-cta-band h3 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 10px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}
.rw-page .rw-cta-band p {
    color: #fff7ed;
    font-size: 15px;
    margin: 0 auto 22px;
    max-width: 720px;
    line-height: 1.55;
}
.rw-page .rw-cta-band p b { color: #ffffff; font-weight: 800; }
.rw-page .rw-cta-band .po-btn {
/*     background: #ffffff;
    color: var(--rw-gold-dark);
    border-color: #ffffff; */
    display: inline-block;
    background: #ffffff;
    color: var(--rw-gold-dark);
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 999px;
    text-decoration: none;
    letter-spacing: 1px;
    margin: 0 6px 8px;
    transition: transform .2s ease, background-color .2s ease;
    border: 2px solid #ffffff;
    cursor: pointer;
    position: relative;
    z-index: 3;
}
.rw-page .rw-cta-band .po-btn:hover {
    background: #fef3c7;
    color: var(--rw-gold-dark);
}
.rw-page .rw-cta-band .po-btn.po-btn--outline {
    background: transparent;
    color: #ffffff;
}
.rw-page .rw-cta-band .po-btn.po-btn--outline:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    .rw-page .rw-hero-banner { padding: 28px 22px; }
    .rw-page .rw-hero-banner h2 { font-size: 26px; }
    .rw-page .rw-quote-band .rw-quote-text { font-size: 18px; }
    .rw-page .rw-retention-stat .rw-retention-num { font-size: 32px; }
}
