/* ==========================================================
   Avro Pay - extra sections for Mobile, DTH & Data recharge
   All classes are prefixed with "rx-" so they never clash
   with the theme's style.css
   ========================================================== */

:root {
    --rx-purple: #552885;
    --rx-purple-2: #7638ba;
    --rx-navy: #0c0d24;
    --rx-sky: #48ade5;
    --rx-sky-soft: #e6f5fd;
    --rx-lilac: #efe7f8;
    --rx-coral: #f45b4f;
    --rx-green: #2bb673;
    --rx-muted: #5d6178;
    --rx-line: #e4e7f0;
}

.rx-section {
    position: relative;
    padding: 90px 0;
    font-family: 'Lato', sans-serif;
    color: var(--rx-muted);
}

.rx-section.rx-tint { background: #f8f5fc; }
.rx-section.rx-sky { background: var(--rx-sky-soft); }

.rx-head { max-width: 640px; margin-bottom: 50px; }
.rx-head.rx-center { margin-left: auto; margin-right: auto; text-align: center; }

.rx-kicker {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: var(--rx-purple);
    margin-bottom: 10px;
}

.rx-head h2,
.rx-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    line-height: 1.25;
    font-weight: 700;
    color: var(--rx-navy);
    margin: 0 0 14px;
}

.rx-head p { font-size: 17px; line-height: 1.7; margin: 0; }

/* ---------- How it works (a real sequence, so numbered) ---------- */
.rx-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    counter-reset: rxstep;
    position: relative;
}

.rx-steps::before {
    content: "";
    position: absolute;
    top: 38px;
    left: 12%;
    right: 12%;
    border-top: 2px dashed #cdb9e6;
}

.rx-step { position: relative; text-align: center; padding: 0 6px; }

.rx-step-icon {
    position: relative;
    width: 78px;
    height: 78px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--rx-purple);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-step-icon svg { width: 34px; height: 34px; }

.rx-step-icon::after {
    counter-increment: rxstep;
    content: counter(rxstep);
    position: absolute;
    top: -6px;
    right: -6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--rx-coral);
    color: #fff;
    font: 700 13px/26px 'Montserrat', sans-serif;
}

.rx-step h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--rx-navy);
    margin-bottom: 8px;
}

.rx-step p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Service detail rows (illustration + content) ---------- */
.rx-service-row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 90px;
}

.rx-service-row:last-child { margin-bottom: 0; }
.rx-service-row.rx-flip { flex-direction: row-reverse; }

.rx-service-art { flex: 0 0 46%; }
.rx-service-art img { width: 100%; height: auto; display: block; }

.rx-service-body { flex: 1; }

.rx-service-body h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: var(--rx-navy);
    margin: 0 0 14px;
}

.rx-service-body > p { font-size: 16px; line-height: 1.75; margin-bottom: 22px; }

.rx-checks { list-style: none; padding: 0; margin: 0 0 24px; }

.rx-checks li {
    position: relative;
    padding: 10px 0 10px 36px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--rx-navy);
    border-bottom: 1px solid var(--rx-line);
}

.rx-checks li:last-child { border-bottom: 0; }

.rx-checks li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--rx-lilac) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='%23552885' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}

.rx-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.rx-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #d9c7ef;
    color: var(--rx-purple);
    font: 600 13px/1.4 'Montserrat', sans-serif;
}

/* ---------- Why choose (icon list, no boxed cards) ---------- */
.rx-why {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.rx-why-intro { flex: 0 0 34%; position: sticky; top: 120px; }
.rx-why-intro p { font-size: 17px; line-height: 1.7; margin-bottom: 26px; }

.rx-why-grid {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
}

.rx-why-item {
    display: flex;
    gap: 18px;
    padding: 26px 0;
    border-top: 1px solid var(--rx-line);
}

.rx-why-icon {
    flex: 0 0 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--rx-lilac);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rx-why-icon svg { width: 26px; height: 26px; }

.rx-why-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--rx-navy);
    margin: 2px 0 6px;
}

.rx-why-item p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Operators ---------- */
.rx-operators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rx-op-col {
    background: #fff;
    border-radius: 18px;
    padding: 30px 28px;
    border-top: 4px solid var(--rx-purple);
}

.rx-op-col.rx-c2 { border-top-color: var(--rx-sky); }
.rx-op-col.rx-c3 { border-top-color: var(--rx-coral); }

.rx-op-col h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: var(--rx-navy);
    margin-bottom: 18px;
}

.rx-op-col h4 svg { width: 26px; height: 26px; }

.rx-op-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }

.rx-op-list li {
    padding: 8px 14px;
    border-radius: 10px;
    background: #f5f6fa;
    color: var(--rx-navy);
    font: 600 14px/1.3 'Montserrat', sans-serif;
}

.rx-note { text-align: center; font-size: 14px; margin-top: 26px; }

/* ---------- Plan types ---------- */
.rx-plans {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--rx-line);
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.rx-plan {
    padding: 32px 30px;
    border-right: 1px solid var(--rx-line);
    border-bottom: 1px solid var(--rx-line);
}

.rx-plan:nth-child(3n) { border-right: 0; }
.rx-plan:nth-last-child(-n+3) { border-bottom: 0; }

.rx-plan-for {
    display: inline-block;
    font: 700 12px/1 'Montserrat', sans-serif;
    padding: 6px 10px;
    border-radius: 6px;
    margin-bottom: 14px;
    background: var(--rx-lilac);
    color: var(--rx-purple);
}

.rx-plan-for.rx-c2 { background: var(--rx-sky-soft); color: #1d7fb5; }
.rx-plan-for.rx-c3 { background: #fde9e7; color: #c4392e; }

.rx-plan h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--rx-navy);
    margin-bottom: 8px;
}

.rx-plan p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ---------- Mission / vision / promise ---------- */
.rx-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rx-pillar { padding: 34px 30px; border-radius: 20px; background: #fff; }
.rx-pillar.rx-feature { background: var(--rx-purple); color: #e6d8f5; }
.rx-pillar.rx-feature h3 { color: #fff; }

.rx-pillar-icon { width: 48px; height: 48px; margin-bottom: 20px; }

.rx-pillar h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--rx-navy);
    margin-bottom: 10px;
}

.rx-pillar p { font-size: 16px; line-height: 1.7; margin: 0; }

/* ---------- Service mini cards (about page) ---------- */
.rx-mini-services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.rx-mini {
    display: block;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--rx-line);
    color: inherit;
    transition: border-color .2s ease;
}

.rx-mini:hover,
.rx-mini:focus-visible { border-color: var(--rx-purple); color: inherit; text-decoration: none; }

.rx-mini-art { background: #faf8fd; padding: 10px 20px 0; }
.rx-mini-art img { width: 100%; height: auto; display: block; }
.rx-mini-body { padding: 24px 26px 28px; }

.rx-mini-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--rx-navy);
    margin-bottom: 8px;
}

.rx-mini-body p { font-size: 15px; line-height: 1.6; margin-bottom: 14px; }
.rx-mini-link { font: 700 14px 'Montserrat', sans-serif; color: var(--rx-purple); }

/* ---------- App / partner CTA band ---------- */
.rx-cta {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: var(--rx-purple);
    padding: 56px 60px;
    display: flex;
    align-items: center;
    gap: 40px;
    color: #e6d8f5;
}

.rx-cta::before {
    content: "";
    position: absolute;
    right: -120px;
    top: -120px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    border: 60px solid rgba(255, 255, 255, .06);
}

.rx-cta-body { flex: 1; position: relative; }

.rx-cta h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.rx-cta p { font-size: 17px; line-height: 1.7; margin-bottom: 26px; max-width: 520px; }

.rx-cta-art { flex: 0 0 300px; position: relative; }
.rx-cta-art img { width: 100%; height: auto; display: block; }

.rx-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 40px;
    font: 700 15px/1 'Montserrat', sans-serif;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease;
}

.rx-btn svg { width: 18px; height: 18px; }

.rx-btn-light { background: #fff; color: var(--rx-purple); }
.rx-btn-light:hover, .rx-btn-light:focus-visible { background: #f1e9fb; color: var(--rx-purple); text-decoration: none; }

.rx-btn-ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .5); margin-left: 10px; }
.rx-btn-ghost:hover, .rx-btn-ghost:focus-visible { border-color: #fff; color: #fff; text-decoration: none; }

.rx-btn-solid { background: var(--rx-purple); color: #fff; }
.rx-btn-solid:hover, .rx-btn-solid:focus-visible { background: var(--rx-purple-2); color: #fff; text-decoration: none; }

.rx-btn:focus-visible, .rx-mini:focus-visible { outline: 3px solid var(--rx-sky); outline-offset: 3px; }

/* ---------- Partner benefits (about) ---------- */
.rx-split { display: flex; align-items: center; gap: 60px; }
.rx-split-art { flex: 0 0 44%; }
.rx-split-art img { width: 100%; height: auto; display: block; }
.rx-split-body { flex: 1; }
.rx-split-body > p { font-size: 17px; line-height: 1.7; margin-bottom: 20px; }

/* ---------- Trust strip ---------- */
.rx-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.rx-trust-item { display: flex; gap: 14px; align-items: flex-start; }
.rx-trust-item svg { flex: 0 0 32px; width: 32px; height: 32px; }

.rx-trust-item h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--rx-navy);
    margin: 4px 0 4px;
}

.rx-trust-item p { font-size: 14px; line-height: 1.55; margin: 0; }

/* ---------- FAQ ---------- */
.rx-faq .accordion-box .block .acc-btn { font-size: 17px; }

/* ---------- Footer registration line ---------- */
.rx-reg {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--rx-navy);
    margin: 4px 0 2px;
}

.rx-reg strong { color: var(--rx-purple); letter-spacing: .5px; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .rx-section { padding: 70px 0; }
    .rx-head h2, .rx-title { font-size: 30px; }
    .rx-steps { grid-template-columns: 1fr 1fr; row-gap: 40px; }
    .rx-steps::before { display: none; }
    .rx-service-row, .rx-service-row.rx-flip, .rx-split { flex-direction: column; gap: 30px; margin-bottom: 70px; }
    .rx-service-art, .rx-split-art { flex-basis: auto; width: 100%; max-width: 480px; }
    .rx-why { flex-direction: column; gap: 20px; }
    .rx-why-intro { position: static; }
    .rx-operators, .rx-pillars, .rx-mini-services { grid-template-columns: 1fr; }
    .rx-plans { grid-template-columns: 1fr 1fr; }
    .rx-plan:nth-child(3n) { border-right: 1px solid var(--rx-line); }
    .rx-plan:nth-child(2n) { border-right: 0; }
    .rx-plan:nth-last-child(-n+3) { border-bottom: 1px solid var(--rx-line); }
    .rx-plan:nth-last-child(-n+2) { border-bottom: 0; }
    .rx-trust { grid-template-columns: 1fr 1fr; }
    .rx-cta { flex-direction: column; padding: 44px 30px; text-align: center; }
    .rx-cta p { margin-left: auto; margin-right: auto; }
    .rx-cta-art { flex-basis: auto; width: 240px; }
}

@media (max-width: 575px) {
    .rx-head h2, .rx-title { font-size: 26px; }
    .rx-cta h2 { font-size: 26px; }
    .rx-steps, .rx-why-grid, .rx-plans, .rx-trust { grid-template-columns: 1fr; }
    .rx-plan, .rx-plan:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--rx-line); }
    .rx-plan:last-child { border-bottom: 0; }
    .rx-btn-ghost { margin: 12px 0 0; }
    .rx-service-body h3 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
    .rx-btn, .rx-mini { transition: none; }
}

/* ---------- Fixes for theme overrides ---------- */
.rx-section + .consult-section { padding-top: 90px; }
.rx-cta .rx-cta-body p { color: #e6d8f5; }
.rx-pillars .rx-pillar.rx-feature p { color: #e6d8f5; }
.rx-acc-img { float: left; width: 150px; max-width: 40%; margin: 0 16px 8px 0; }

/* Login button in navbar (now a link) */
a.button-cus-1, a.button-cus-1:hover, a.button-cus-1:focus { color: #fff; text-decoration: none; }
a.button-cus-1:hover { background: #7638ba; }

/* ==========================================================
   Services grid, categories and extras (v3)
   ========================================================== */
.rx-svc-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.rx-svc {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--rx-line);
    border-radius: 18px;
    padding: 24px 20px 22px;
    color: inherit;
    transition: border-color .2s ease, transform .2s ease;
}

.rx-svc:hover, .rx-svc:focus-visible {
    border-color: var(--rx-purple);
    color: inherit;
    text-decoration: none;
    transform: translateY(-3px);
}

.rx-svc:focus-visible { outline: 3px solid var(--rx-sky); outline-offset: 3px; }

.rx-svc-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.rx-svc-icon svg { width: 26px; height: 26px; }

.rx-svc h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--rx-navy);
    margin: 0 0 4px;
}

.rx-svc-full { font: 600 12px/1.4 'Montserrat', sans-serif; color: var(--rx-purple); margin-bottom: 6px; }
.rx-svc p { font-size: 14px; line-height: 1.55; margin: 6px 0 0; }

.rx-svc-section { background: #fbfaff; }

.rx-cat-label {
    display: inline-block;
    font: 700 12px/1 'Montserrat', sans-serif;
    padding: 7px 12px;
    border-radius: 6px;
    margin-bottom: 14px;
}

.rx-service-body h3 small { display: block; font-size: 16px; font-weight: 600; color: var(--rx-purple); margin-top: 6px; }

.rx-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: -20px auto 70px;
    max-width: 900px;
}

.rx-jump a {
    padding: 9px 16px;
    border-radius: 30px;
    background: #f4f1f9;
    color: var(--rx-purple);
    font: 600 14px/1.2 'Montserrat', sans-serif;
    text-decoration: none;
}

.rx-jump a:hover, .rx-jump a:focus-visible { background: var(--rx-purple); color: #fff; }

.rx-service-row { scroll-margin-top: 110px; }

.rx-mini-services.rx-four { grid-template-columns: repeat(4, 1fr); }

.rx-hero-svg { width: 100%; max-width: 420px; height: auto; }

@media (max-width: 1199px) {
    .rx-svc-grid { grid-template-columns: repeat(3, 1fr); }
    .rx-mini-services.rx-four { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .rx-svc-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .rx-svc { padding: 18px 16px; }
    .rx-mini-services.rx-four { grid-template-columns: 1fr; }
    .rx-hero-svg { max-width: 200px; }
}

@media (prefers-reduced-motion: reduce) {
    .rx-svc { transition: none; }
    .rx-svc:hover { transform: none; }
}
