/* ==========================================================================
   RH Group — public brochure site
   Loaded AFTER theme.css and reuses its CSS variables (--ms-primary, --ms-gold,
   --ms-body-bg, --ms-shadow-lg, …). Dark-green shell page-wide, gold accents.
   Nothing here touches the panel shell.
   ========================================================================== */

body.site { background: var(--ms-body-bg); color: var(--ms-text); }

.site-anchor { scroll-margin-top: 120px; }
html { scroll-behavior: smooth; }

/* ---------------------------------------------------------- announcement */

.site-ticker {
    background: var(--ms-primary-700);
    color: rgba(255, 255, 255, .88);
    font-size: .78rem;
    padding: .4rem 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-ticker a { color: rgba(255, 255, 255, .88); }
.site-ticker a:hover { color: var(--ms-gold); }
.site-ticker__viewport { overflow: hidden; position: relative; flex: 1 1 auto; min-width: 0; }
.site-ticker__track {
    display: inline-flex;
    gap: 3rem;
    white-space: nowrap;
    padding-left: 100%;
    animation: ms-ticker 28s linear infinite;
}
.site-ticker:hover .site-ticker__track { animation-play-state: paused; }
.site-ticker__track b { color: var(--ms-gold); font-weight: 700; }
.site-ticker__meta { white-space: nowrap; font-weight: 600; }
.site-ticker__meta i { color: var(--ms-gold); }

@keyframes ms-ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    .site-ticker__track { animation: none; padding-left: 0; }
}

/* --------------------------------------------------------------- header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(10, 31, 68, .96);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--ms-border);
    transition: box-shadow .2s ease, padding .2s ease;
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(0, 0, 0, .35); }
.site-header .navbar-brand { display: flex; align-items: center; gap: .6rem; font-weight: 800; color: #fff; }
.site-header .navbar-brand img { height: 44px; width: auto; }
.site-header .navbar-brand small { display: block; font-size: .62rem; font-weight: 600; color: var(--ms-gold); letter-spacing: .3px; }
.site-header .nav-link { font-weight: 600; font-size: .88rem; color: rgba(255, 255, 255, .82); padding: .5rem .9rem; border-radius: 8px; }
.site-header .nav-link:hover { color: #fff; background: rgba(111, 207, 42, .12); }
.site-header .nav-link.active { color: var(--ms-gold); }
.site-header .navbar-toggler i { color: #fff; }

.site-offcanvas { background: var(--ms-card-bg); color: var(--ms-text); }
.site-offcanvas .navbar-brand { color: #fff; font-weight: 800; display: flex; align-items: center; gap: .6rem; }
.site-offcanvas .navbar-brand img { height: 40px; }
.site-offcanvas .offcanvas-header { border-bottom: 1px solid var(--ms-border); }
.site-offcanvas .nav-link { color: var(--ms-text); padding: .65rem .25rem; border-bottom: 1px solid var(--ms-border); border-radius: 0; }
.site-offcanvas .nav-link.active { color: var(--ms-gold); }

/* ---------------------------------------------------------------- hero */

.site-hero { position: relative; }
.site-hero .carousel-item { height: 560px; }
.site-hero__slide {
    position: relative;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.site-hero__slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(7, 30, 69, .94) 0%, rgba(11, 47, 107, .82) 45%, rgba(11, 47, 107, .35) 100%);
}
.site-hero__inner { position: relative; z-index: 2; color: #fff; max-width: 660px; padding: 2rem 0; }
.site-hero__badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(111, 207, 42, .18);
    border: 1px solid rgba(111, 207, 42, .45);
    color: var(--ms-gold);
    font-size: .76rem; font-weight: 700; letter-spacing: .3px;
    padding: .38rem .9rem; border-radius: 30px; margin-bottom: 1.1rem;
}
.site-hero__inner h1 {
    font-size: 2.9rem; font-weight: 800; line-height: 1.18;
    letter-spacing: -1px; margin-bottom: .9rem;
}
.site-hero__inner h1 span { color: var(--ms-gold); }
.site-hero__inner p { color: rgba(255, 255, 255, .82); font-size: 1rem; max-width: 520px; margin-bottom: 1.6rem; }

.site-hero .carousel-indicators { margin-bottom: 1.6rem; }
.site-hero .carousel-indicators [data-bs-target] {
    width: 30px; height: 4px; border-radius: 4px; border: 0;
    background: rgba(255, 255, 255, .4); opacity: 1;
}
.site-hero .carousel-indicators .active { background: var(--ms-gold); }
.site-hero .carousel-control-prev, .site-hero .carousel-control-next { width: 6%; opacity: .55; }
.site-hero .carousel-control-prev:hover, .site-hero .carousel-control-next:hover { opacity: 1; }

/* ---------------------------------------------------------- trust strip */

.site-trust { background: var(--ms-primary-700); padding: 1.4rem 0; border-block: 1px solid rgba(255, 255, 255, .06); }
.site-trust__item { display: flex; align-items: center; gap: .75rem; color: #fff; justify-content: center; }
.site-trust__item i { color: var(--ms-gold); font-size: 1.6rem; flex: 0 0 auto; }
.site-trust__item span { font-size: .86rem; font-weight: 600; line-height: 1.25; }

/* ------------------------------------------------------------- sections */

.site-section { padding: 4.5rem 0; }
.site-section--tint { background: var(--ms-primary-700); }

.site-eyebrow {
    display: inline-block;
    font-size: .71rem; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--ms-gold); background: rgba(111, 207, 42, .12);
    border: 1px solid rgba(111, 207, 42, .3);
    padding: .32rem .85rem; border-radius: 30px; margin-bottom: .8rem;
}
.site-title { font-size: 2.05rem; font-weight: 800; letter-spacing: -.6px; margin-bottom: .55rem; color: #fff; }
.site-title span { color: var(--ms-gold); }
.site-lead { color: var(--ms-muted); font-size: .95rem; max-width: 640px; }
.site-lead--center { margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------- products */

.product-card {
    position: relative;
    background: var(--ms-card-bg);
    border: 1px solid var(--ms-border);
    border-radius: var(--ms-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--ms-shadow-lg); border-color: rgba(111, 207, 42, .5); }

.product-card__tile {
    height: 230px;
    min-height: 230px;
    max-height: 230px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 1.4rem;
    background: radial-gradient(circle at 50% 42%, rgba(111, 207, 42, .24) 0%, rgba(14, 58, 128, .85) 62%, var(--ms-primary-700) 100%);
}
.product-card--pink .product-card__tile { background: radial-gradient(circle at 50% 42%, rgba(228, 64, 122, .22) 0%, rgba(15, 44, 92, .9) 62%, var(--ms-primary-700) 100%); }
.product-card--green .product-card__tile { background: radial-gradient(circle at 50% 42%, rgba(61, 184, 165, .24) 0%, rgba(15, 44, 92, .9) 62%, var(--ms-primary-700) 100%); }
/* The tile is a fixed-height grid track, but a grid item's default
   min-height:auto lets an oversized image's intrinsic size win over
   max-height in some browsers, spilling the image past the 230px tile
   and visually overlapping the title/price text below it. min-height:0
   plus display:block (images default to inline, which adds a few px of
   baseline gap that also contributed to the overlap) close that gap. */
.product-card__tile img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    min-height: 0;
    min-width: 0;
    object-fit: contain;
    transition: transform .25s ease;
}
.product-card:hover .product-card__tile img { transform: scale(1.06); }

.product-card__ribbon {
    position: absolute; top: 14px; left: 0; z-index: 3;
    background: var(--ms-gold); color: #0B2A05;
    font-size: .7rem; font-weight: 800; letter-spacing: .2px;
    padding: .32rem .8rem .32rem .7rem;
    border-radius: 0 20px 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .25);
}
.product-card__pack {
    position: absolute; top: 14px; right: 14px; z-index: 3;
    background: rgba(8, 37, 79, .92); color: #fff;
    border: 1px solid rgba(111, 207, 42, .35);
    font-size: .68rem; font-weight: 700;
    padding: .26rem .6rem; border-radius: 30px;
}
.product-card__body { padding: 1.15rem 1.2rem 1.35rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.product-card__body h6 { font-weight: 700; font-size: .96rem; margin-bottom: .3rem; line-height: 1.35; color: #fff; }
.product-card__body p { font-size: .82rem; color: var(--ms-muted); margin-bottom: .85rem; }
.product-card__price { display: flex; align-items: baseline; gap: .45rem; margin-bottom: 1rem; }
.product-card__price .now { font-weight: 800; font-size: 1.2rem; color: var(--ms-gold); }
.product-card__price .was { text-decoration: line-through; color: var(--ms-muted); font-size: .84rem; }
.product-card__price .off { font-size: .7rem; font-weight: 700; color: #F8A0C0; background: rgba(228, 64, 122, .16); padding: .14rem .45rem; border-radius: 20px; }
.product-card__body .btn { margin-top: auto; }

/* ------------------------------------------------------ activation band */

.site-activation {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #071E45 0%, var(--ms-primary) 50%, #0E3A80 100%);
    border-block: 1px solid rgba(111, 207, 42, .18);
    color: #fff; padding: 3.2rem 0;
}
.site-activation::before, .site-activation::after {
    content: ''; position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 207, 42, .24) 0%, transparent 70%);
}
.site-activation::before { width: 420px; height: 420px; top: -170px; right: -100px; }
.site-activation::after { width: 320px; height: 320px; bottom: -150px; left: -90px; }
.site-activation .container { position: relative; z-index: 2; }
.site-activation__ribbon {
    display: inline-block; background: var(--ms-gold); color: #0B2A05;
    font-weight: 800; font-size: .74rem; letter-spacing: 1.2px; text-transform: uppercase;
    padding: .35rem 1rem; border-radius: 4px; margin-bottom: .9rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.site-activation h3 { font-weight: 800; font-size: 2.1rem; letter-spacing: -.6px; margin-bottom: .5rem; }
.site-activation h3 span { color: var(--ms-gold); }
.site-activation p { color: rgba(255, 255, 255, .8); margin-bottom: 0; }
.site-activation__price {
    display: inline-grid; place-items: center;
    width: 148px; height: 148px; border-radius: 50%;
    border: 3px dashed rgba(111, 207, 42, .6);
    background: rgba(111, 207, 42, .12);
}
.site-activation__price b { font-size: 2.3rem; font-weight: 800; color: var(--ms-gold); line-height: 1; }
.site-activation__price small { font-size: .7rem; color: rgba(255, 255, 255, .75); letter-spacing: .6px; text-transform: uppercase; }

/* --------------------------------------------------------- income heads */

.income-card {
    height: 100%; background: var(--ms-card-bg);
    border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
    padding: 1.7rem 1.45rem; position: relative; overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.income-card:hover { transform: translateY(-5px); box-shadow: var(--ms-shadow-lg); border-color: rgba(111, 207, 42, .5); }
.income-card__no {
    position: absolute; top: .6rem; right: 1rem;
    font-size: 3rem; font-weight: 800; line-height: 1;
    color: rgba(255, 255, 255, .06); letter-spacing: -2px;
}
.income-card__icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: grid; place-items: center; font-size: 1.55rem; color: #fff;
    border: 1px solid rgba(255, 255, 255, .18);
    margin-bottom: 1.05rem; position: relative; z-index: 2;
}
.income-card h5 { font-weight: 800; font-size: 1.05rem; margin-bottom: .45rem; color: #fff; }
.income-card p { font-size: .855rem; color: var(--ms-muted); margin: 0; }

/* ----------------------------------------------------------- plan table */

.plan-wrap { border: 1px solid var(--ms-border); border-radius: var(--ms-radius); overflow: hidden; background: var(--ms-card-bg); }
.plan-table { width: 100%; margin: 0; font-size: .86rem; border-collapse: collapse; color: var(--ms-text); }
.plan-table thead th {
    background: var(--ms-primary-700); color: var(--ms-gold);
    font-size: .73rem; text-transform: uppercase; letter-spacing: .6px; font-weight: 700;
    padding: .75rem .9rem; border: 0; white-space: nowrap;
}
.plan-table tbody td { padding: .62rem .9rem; border-bottom: 1px solid var(--ms-border); white-space: nowrap; }
.plan-table tbody tr:nth-child(even) { background: rgba(255, 255, 255, .03); }
.plan-table tbody tr:hover { background: rgba(111, 207, 42, .09); }
.plan-table tfoot td { background: rgba(111, 207, 42, .16); color: var(--ms-gold); font-weight: 800; padding: .75rem .9rem; }
.plan-table .lvl {
    display: inline-grid; place-items: center;
    width: 26px; height: 26px; border-radius: 8px;
    background: rgba(111, 207, 42, .14); color: var(--ms-gold);
    font-weight: 800; font-size: .75rem;
}

/* ---------------------------------------------------------- stage cards */

.stage-card {
    border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
    overflow: hidden; height: 100%; background: var(--ms-card-bg);
    display: flex; flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.stage-card:hover { transform: translateY(-5px); box-shadow: var(--ms-shadow-lg); }
.stage-card__head {
    background: linear-gradient(135deg, #071E45 0%, var(--ms-primary) 100%);
    color: #fff; padding: 1.1rem 1.2rem; position: relative; overflow: hidden;
    border-bottom: 1px solid var(--ms-border);
}
.stage-card__head::after {
    content: ''; position: absolute; width: 170px; height: 170px; border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 207, 42, .25) 0%, transparent 70%);
    right: -60px; top: -70px;
}
.stage-card__head h5 { margin: 0; font-weight: 800; font-size: 1.02rem; color: var(--ms-gold); position: relative; z-index: 2; }
.stage-card__head small { color: rgba(255, 255, 255, .75); position: relative; z-index: 2; }
.stage-card__foot {
    margin-top: auto; background: rgba(111, 207, 42, .14);
    padding: .8rem 1.2rem; font-size: .82rem; font-weight: 700; color: var(--ms-gold);
    display: flex; justify-content: space-between; gap: .5rem; flex-wrap: wrap;
}

/* ------------------------------------------------------------- why join */

.why-item { display: flex; gap: .95rem; align-items: flex-start; }
.why-item__icon {
    flex: 0 0 46px; width: 46px; height: 46px; border-radius: 14px;
    background: rgba(111, 207, 42, .12); color: var(--ms-gold);
    border: 1px solid rgba(111, 207, 42, .28);
    display: grid; place-items: center; font-size: 1.2rem;
}
.why-item h6 { font-weight: 700; font-size: .95rem; margin-bottom: .22rem; color: #fff; }
.why-item p { font-size: .84rem; color: var(--ms-muted); margin: 0; }

/* ---------------------------------------------------------- how it works */

.step-card { text-align: center; position: relative; padding: 0 .5rem; }
.step-card__no {
    width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 1rem;
    display: grid; place-items: center;
    background: var(--ms-primary-500); color: var(--ms-gold);
    font-weight: 800; font-size: 1.3rem;
    box-shadow: 0 0 0 6px rgba(111, 207, 42, .12);
    position: relative; z-index: 2;
}
.step-card h6 { font-weight: 700; font-size: .95rem; margin-bottom: .3rem; color: #fff; }
.step-card p { font-size: .83rem; color: var(--ms-muted); margin: 0; }
.step-row { position: relative; }
.step-row::before {
    content: ''; position: absolute; top: 31px; left: 12%; right: 12%;
    border-top: 2px dashed var(--ms-border); z-index: 1;
}

/* ------------------------------------------------------------------ CTA */

.site-cta {
    background: linear-gradient(135deg, var(--ms-primary) 0%, #0E3A80 100%);
    border: 1px solid rgba(111, 207, 42, .25);
    color: #fff; border-radius: 18px; padding: 2.8rem 2.4rem;
    position: relative; overflow: hidden;
}
.site-cta::after {
    content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 207, 42, .22) 0%, transparent 70%);
    right: -110px; top: -120px;
}
.site-cta > * { position: relative; z-index: 2; }
.site-cta h3 { font-weight: 800; font-size: 1.7rem; letter-spacing: -.4px; }

/* --------------------------------------------------------------- footer */

.site-footer { background: #05142F; color: rgba(255, 255, 255, .68); padding: 3.4rem 0 0; font-size: .86rem; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer h6 { color: #fff; font-weight: 700; font-size: .88rem; margin-bottom: 1rem; letter-spacing: .3px; }
.site-footer a { color: rgba(255, 255, 255, .68); display: block; padding: .22rem 0; }
.site-footer a:hover { color: var(--ms-gold); }
.site-footer__brand img { height: 48px; margin-bottom: .9rem; }
.site-footer__social { display: flex; gap: .5rem; margin-top: 1rem; }
.site-footer__social a {
    width: 36px; height: 36px; border-radius: 50%; padding: 0;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8);
}
.site-footer__social a:hover { background: var(--ms-gold); color: #071E45; }
.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .1);
    margin-top: 2.4rem; padding: 1.1rem 0;
    font-size: .78rem; color: rgba(255, 255, 255, .5);
}

/* -------------------------------------------------------- scroll to top */

.site-totop {
    position: fixed; right: 20px; bottom: 20px; z-index: 1035;
    width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: var(--ms-gold); color: var(--ms-primary-700);
    display: grid; place-items: center; font-size: 1.1rem;
    box-shadow: var(--ms-shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all .22s ease;
}
.site-totop.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.site-totop:hover { background: var(--ms-gold-600); }

/* ---------------------------------------------------------- page header */

.site-pagehead {
    background: linear-gradient(120deg, #071E45 0%, var(--ms-primary) 100%);
    color: #fff; padding: 3rem 0; position: relative; overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.site-pagehead::after {
    content: ''; position: absolute; width: 380px; height: 380px; border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 207, 42, .2) 0%, transparent 70%);
    right: -120px; top: -140px;
}
.site-pagehead .container { position: relative; z-index: 2; }
.site-pagehead h1 { font-weight: 800; font-size: 2.1rem; letter-spacing: -.6px; margin: 0; }
.site-pagehead .breadcrumb { margin: .5rem 0 0; font-size: .82rem; }
.site-pagehead .breadcrumb a { color: var(--ms-gold); }
.site-pagehead .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .45); }
.site-pagehead .breadcrumb-item.active { color: rgba(255, 255, 255, .75); }

/* ------------------------------------------------------------- cms copy */

.site-prose { font-size: .93rem; line-height: 1.8; color: var(--ms-text); }
.site-prose h2, .site-prose h3, .site-prose h4 { font-weight: 700; margin: 1.6rem 0 .7rem; color: var(--ms-gold); }
.site-prose h2 { font-size: 1.3rem; }
.site-prose h3 { font-size: 1.1rem; }
.site-prose ul, .site-prose ol { padding-left: 1.2rem; }
.site-prose li { margin-bottom: .4rem; }

/* ---------------------------------------------------------- gallery */

.gallery-item {
    display: block; position: relative; overflow: hidden;
    border-radius: var(--ms-radius); border: 1px solid var(--ms-border);
    aspect-ratio: 3 / 4; background: var(--ms-card-bg);
}
.gallery-item img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .35s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item__caption {
    position: absolute; inset: auto 0 0 0; padding: .5rem .7rem .55rem;
    font-size: .78rem; font-weight: 600; color: #fff; text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,0));
}
.gallery-modal {
    background: var(--ms-primary-700); border: 0; border-radius: var(--ms-radius);
    padding: 2.5rem 1rem 1.2rem;
}
.gallery-modal .btn-close { position: absolute; top: .8rem; right: .8rem; }
.gallery-modal img { border-radius: 10px; max-height: 78vh; margin: 0 auto; display: block; }
.gallery-modal p { color: rgba(255, 255, 255, .85); font-weight: 600; }

/* ---------------------------------------------------------- responsive */

@media (max-width: 991.98px) {
    .site-hero .carousel-item { height: 480px; }
    .site-hero__inner h1 { font-size: 2.2rem; }
    .step-row::before { display: none; }
}

/* ==========================================================================
   RH Group white theme — public site
   White page, navy headings, logo blue/green accents. The navy bands (ticker,
   hero, trust strip, joining band, page head, CTA, footer) stay as they are.
   ========================================================================== */

.site-header { background: rgba(255, 255, 255, .97); }
.site-header.is-stuck { box-shadow: 0 4px 18px rgba(16, 37, 74, .1); }
.site-header .navbar-brand { color: var(--ms-primary); }
.site-header .navbar-brand img { height: 52px; }
.site-header .nav-link { color: #33456B; }
.site-header .nav-link:hover { color: var(--ms-primary); background: rgba(30, 136, 229, .08); }
.site-header .nav-link.active { color: var(--ms-primary-500); }
.site-header .navbar-toggler i { color: var(--ms-primary); }
.site-offcanvas .navbar-brand { color: var(--ms-primary); }

.site-hero__slide { background-color: var(--ms-primary); }

.site-section--tint { background: #EEF4FB; }
.site-title { color: var(--ms-primary); }
.site-eyebrow { background: rgba(62, 155, 18, .1); border-color: rgba(62, 155, 18, .28); }

.product-card__body h6, .income-card h5, .why-item h6, .step-card h6 { color: var(--ms-primary); }
.product-card__tile,
.product-card--pink .product-card__tile,
.product-card--green .product-card__tile { background: radial-gradient(circle at 50% 42%, #FFFFFF 0%, #EAF2FC 100%); }
.income-card { box-shadow: var(--ms-shadow); }
.income-card__no { color: rgba(16, 37, 74, .07); }
.why-item__icon { background: rgba(30, 136, 229, .1); color: var(--ms-primary-500); border-color: rgba(30, 136, 229, .22); }

.ms-table-wrap > .plan-table { background: #fff; border: 1px solid var(--ms-border); }
.plan-table thead th { background: var(--ms-primary); color: #fff; }
.plan-table tbody tr:nth-child(even) { background: #F7F9FC; }
.plan-table tbody tr:hover { background: rgba(62, 155, 18, .08); }
.plan-table tfoot td, .plan-table tfoot th {
    background: rgba(62, 155, 18, .12); color: var(--ms-primary);
    font-weight: 800; padding: .75rem .9rem; white-space: nowrap;
}

.step-card__no { background: var(--ms-primary); color: #fff; box-shadow: 0 0 0 6px rgba(30, 136, 229, .12); }
.site-totop { color: #fff; }
.site-prose h2, .site-prose h3, .site-prose h4 { color: var(--ms-primary); }
.site-footer__brand img { background: #fff; border-radius: 8px; padding: 4px; height: 64px; }

@media (max-width: 767.98px) {
    .site-section { padding: 3rem 0; }
    .site-title { font-size: 1.6rem; }
    .site-hero .carousel-item { height: 440px; }
    .site-hero__inner h1 { font-size: 1.75rem; }
    .site-hero__inner p { font-size: .9rem; }
    .site-hero .carousel-control-prev, .site-hero .carousel-control-next { display: none; }
    .site-activation h3 { font-size: 1.5rem; }
    .site-cta { padding: 2rem 1.4rem; }
    .site-cta h3 { font-size: 1.35rem; }
    .product-card__tile { height: 200px; }
}


/* ==========================================================================
   White home page — the hero, trust strip, joining band, page head and
   call-to-action are light too, so the first screen matches the logo's white.
   Only the thin top bar and the footer stay navy.
   ========================================================================== */

.site-hero, .site-trust, .site-activation, .site-cta, .site-pagehead {
    --ms-gold: #3E9B12;
    --ms-gold-600: #2F7D0C;
}

.site-hero__slide { background-color: #FFFFFF; }
.site-hero__slide:not([style]) {
    background: url('../img/logo.png') no-repeat right 9% center / auto 72%,
                linear-gradient(120deg, #FFFFFF 0%, #F3F8FE 55%, #EAF6E1 100%);
}
.site-hero__slide::before {
    background: linear-gradient(100deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 42%, rgba(255, 255, 255, 0) 72%);
}
.site-hero__inner { color: var(--ms-primary); }
.site-hero__inner p { color: #4A5B78; }
.site-hero__badge { background: rgba(62, 155, 18, .1); border-color: rgba(62, 155, 18, .35); }
.site-hero .carousel-indicators [data-bs-target] { background: rgba(16, 37, 74, .25); }
.site-hero .btn-gold, .site-activation .btn-gold, .site-cta .btn-gold { color: #fff; }
.site-hero .btn-outline-light, .site-activation .btn-outline-light {
    color: var(--ms-primary); border-color: var(--ms-primary);
}
.site-hero .btn-outline-light:hover, .site-activation .btn-outline-light:hover {
    background: var(--ms-primary); color: #fff;
}

.site-trust { background: #FFFFFF; border-block: 1px solid var(--ms-border); }
.site-trust__item { color: var(--ms-primary); }

.site-activation {
    background: linear-gradient(120deg, #EAF2FC 0%, #F4F9FF 50%, #EAF6E1 100%);
    border-block: 1px solid var(--ms-border);
    color: var(--ms-primary);
}
.site-activation::before, .site-activation::after { display: none; }
.site-activation__ribbon { color: #fff; box-shadow: none; }
.site-activation p { color: #4A5B78; }
.site-activation__price { background: #FFFFFF; }
.site-activation__price small { color: var(--ms-muted); }

.site-cta {
    background: linear-gradient(135deg, #EAF2FC 0%, #EAF6E1 100%);
    border-color: var(--ms-border);
    color: var(--ms-primary);
}
.site-cta::after { display: none; }
.site-cta p { color: #4A5B78 !important; }

.site-pagehead {
    background: linear-gradient(120deg, #EAF2FC 0%, #EAF6E1 100%);
    color: var(--ms-primary);
    border-bottom: 1px solid var(--ms-border);
}
.site-pagehead::after { display: none; }
.site-pagehead .breadcrumb-item + .breadcrumb-item::before { color: var(--ms-muted); }
.site-pagehead .breadcrumb-item.active { color: var(--ms-muted); }

@media (max-width: 991.98px) {
    .site-hero__slide:not([style]) { background: linear-gradient(120deg, #FFFFFF 0%, #F3F8FE 55%, #EAF6E1 100%); }
}

/* ---- Admin-uploaded home slider images ---------------------------------
   An uploaded slide shows its image full-bleed. With a title it gets the navy
   overlay and white text; with no title (a ready-made designed banner) it is
   shown as-is, with no overlay and no text. */
.site-hero__slide--image {
    --ms-gold: #8BE04E; --ms-gold-600: #6FCF2A;
    background-color: var(--ms-primary);
    background-size: cover; background-position: center;
}
.site-hero__slide--image::before {
    background: linear-gradient(100deg, rgba(7, 30, 69, .92) 0%, rgba(11, 47, 107, .78) 45%, rgba(11, 47, 107, .25) 100%);
}
.site-hero__slide--image .site-hero__inner { color: #fff; }
.site-hero__slide--image .site-hero__inner p { color: rgba(255, 255, 255, .85); }
.site-hero__slide--image .site-hero__badge { background: rgba(139, 224, 78, .18); border-color: rgba(139, 224, 78, .45); color: var(--ms-gold); }
.site-hero__slide--image .btn-gold { color: #0B2A05; }
.site-hero__slide--image .btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .8); }
.site-hero__slide--image .btn-outline-light:hover { background: #fff; color: var(--ms-primary); }
.site-hero__slide--plain::before { display: none; }

/* Boxed, rounded slider (reference: nilemarketplace.in) — the carousel sits inside
   the page width with rounded corners and a shadow; slide text sits at the bottom
   left over a top-to-bottom darkening so the picture stays visible. */
.site-hero--rounded { padding: 1rem 0 .25rem; background: #fff; }
.site-hero--rounded .carousel { border-radius: 18px; overflow: hidden; box-shadow: var(--ms-shadow-lg); background: var(--ms-primary); }
.site-hero--rounded .carousel-item { height: 420px; }
.site-hero--rounded .site-hero__slide { padding: 1.5rem 2.4rem; display: flex; align-items: flex-end; }
.site-hero--rounded .site-hero__slide--image::before {
    background: linear-gradient(180deg, rgba(7, 30, 69, .08) 0%, rgba(7, 30, 69, .36) 55%, rgba(7, 30, 69, .82) 100%);
}
.site-hero--rounded .site-hero__inner { max-width: 640px; padding: 0 0 .5rem; }
.site-hero--rounded .site-hero__inner h1 { font-size: 2.1rem; margin-bottom: .6rem; text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.site-hero--rounded .site-hero__inner p { font-size: .95rem; margin-bottom: 1.1rem; }
.site-hero--rounded .site-hero__badge { margin-bottom: .8rem; }
.site-hero--rounded .carousel-indicators { margin-bottom: .9rem; }
.site-hero--rounded .carousel-control-prev, .site-hero--rounded .carousel-control-next { width: 8%; opacity: .7; }

@media (max-width: 991.98px) {
    .site-hero--rounded .carousel-item { height: 340px; }
    .site-hero--rounded .site-hero__inner h1 { font-size: 1.7rem; }
}
@media (max-width: 767.98px) {
    /* phone: picture band on top, text block underneath, nothing hidden behind text */
    .site-hero--rounded .carousel { border-radius: 14px; }
    .site-hero--rounded .carousel-item { height: auto; }
    .site-hero--rounded .site-hero__slide:not(.site-hero__slide--plain) {
        display: block; height: auto; padding: 0;
        background-size: 100% 190px; background-position: top center; background-repeat: no-repeat;
        background-color: var(--ms-primary);
    }
    .site-hero--rounded .site-hero__slide:not(.site-hero__slide--plain)::before { display: none; }
    .site-hero--rounded .site-hero__slide:not(.site-hero__slide--plain) .site-hero__inner {
        margin-top: 190px; max-width: none; padding: 1rem 1.1rem 1.2rem;
        background: linear-gradient(180deg, #0B2F6B 0%, #1565C0 100%);
    }
    .site-hero--rounded .site-hero__inner h1 { font-size: 1.35rem; }
    .site-hero--rounded .site-hero__inner .btn { width: 100%; justify-content: center; }
    .site-hero--rounded .site-hero__slide--plain { height: 200px; }
    .site-hero--rounded .carousel-control-prev, .site-hero--rounded .carousel-control-next { display: none; }
}
.site-hero__slide--plain .site-hero__cover { position: absolute; inset: 0; z-index: 2; }
.site-hero .carousel-indicators [data-bs-target] { background: rgba(255, 255, 255, .55); }
.site-hero .carousel-indicators .active { background: #8BE04E; }

/* ---- Typography: Poppins headings, Inter body, Noto Sans Devanagari for Hindi --- */
body.site { font-family: 'Inter', 'Noto Sans Devanagari', 'Segoe UI', system-ui, sans-serif; }
.site-title, .site-hero__inner h1, .site-activation h3, .site-cta h3, .site-pagehead h1,
.income-card h5, .why-item h6, .step-card h6, .product-card__body h6, .site-prose h2, .site-prose h3,
.site-activation__price b, .ms-stat__value {
    font-family: 'Poppins', 'Noto Sans Devanagari', 'Inter', sans-serif;
}
.site-title { font-weight: 700; letter-spacing: -.4px; }

/* ---- Illustrated icons (site/partials/icon.blade.php) ---- */
.rh-icon { display: block; }
.why-item--card {
    background: #fff; border: 1px solid var(--ms-border); border-radius: var(--ms-radius);
    padding: 1.25rem 1.25rem 1.1rem; height: 100%; box-shadow: var(--ms-shadow);
    transition: transform .18s ease, box-shadow .18s ease;
}
.why-item--card:hover { transform: translateY(-4px); box-shadow: var(--ms-shadow-lg); }
.why-item__icon--art { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 18px; background: #F1F6FC; border: 0; }
.income-card__icon--art { width: 84px; height: 84px; border-radius: 24px; background: #F1F6FC; border: 0; }
.step-card__art {
    position: relative; width: 96px; height: 96px; margin: 0 auto 1rem; border-radius: 28px;
    background: #fff; border: 1px solid var(--ms-border); box-shadow: var(--ms-shadow);
    display: grid; place-items: center; z-index: 2;
}
.step-card__art span {
    position: absolute; right: -8px; top: -8px; width: 30px; height: 30px; border-radius: 50%;
    background: var(--ms-green, #3E9B12); color: #fff; font-weight: 800; font-size: .85rem;
    display: grid; place-items: center; box-shadow: 0 2px 6px rgba(16, 37, 74, .2);
}
.step-card--art h6 { font-size: 1.02rem; }
.step-row::before { top: 47px; }

/* ---- Animated plan illustration ---- */
.rh-anim { background: #fff; }
.rh-tree { max-width: 640px; display: block; margin: 0 auto; }
.rh-tree__links path { stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset .7s ease; }
.rh-tree__node { opacity: 0; transform: scale(.4); transform-origin: center; transform-box: fill-box; transition: opacity .45s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1); }
.rh-tree__label text { opacity: 0; transition: opacity .5s ease; }
.rh-anim.is-in .rh-tree__node.n0 { opacity: 1; transform: none; transition-delay: .1s; }
.rh-anim.is-in .rh-tree__links .l1 { stroke-dashoffset: 0; transition-delay: .45s; }
.rh-anim.is-in .rh-tree__node.n1, .rh-anim.is-in .rh-tree__label .n1 { opacity: 1; transform: none; transition-delay: .9s; }
.rh-anim.is-in .rh-tree__links .l2 { stroke-dashoffset: 0; transition-delay: 1.3s; }
.rh-anim.is-in .rh-tree__node.n2, .rh-anim.is-in .rh-tree__label .n2 { opacity: 1; transform: none; transition-delay: 1.7s; }
.rh-anim.is-in .rh-tree__links .l3 { stroke-dashoffset: 0; transition-delay: 2.1s; }
.rh-anim.is-in .rh-tree__node.n3, .rh-anim.is-in .rh-tree__label .n3 { opacity: 1; transform: none; transition-delay: 2.5s; }
.rh-counter { border: 1px solid var(--ms-border); border-radius: var(--ms-radius); padding: .9rem 1rem; background: var(--tint, #F1F6FC); background: #F1F6FC; }
.rh-counters .rh-counter b, .rh-counters .rh-counter b .rh-count { display: block; font-family: 'Poppins', 'Inter', sans-serif; font-size: 1.7rem; font-weight: 800; color: var(--ms-primary); line-height: 1.1; letter-spacing: -.3px; }
.rh-counter:nth-child(odd) b { color: var(--ms-primary); }
.rh-counters .col-6:nth-child(even) .rh-counter b { color: var(--ms-gold); }
.rh-counter span { font-size: .78rem; color: var(--ms-muted); font-weight: 600; }
@media (prefers-reduced-motion: reduce) {
    .rh-tree__links path { stroke-dashoffset: 0; }
    .rh-tree__node, .rh-tree__label text { opacity: 1; transform: none; }
}

/* ---- Counting numbers + gentle reveal on scroll ---- */
.rh-reveal { opacity: 0; transform: translateY(14px); transition: opacity .55s ease, transform .55s ease; }
.rh-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rh-reveal { opacity: 1; transform: none; transition: none; } }