/**
 * Reyvamp — Premium Upgrade Layer  (Hybrid / Stripe-style)
 * Loaded LAST, so it cascades over the base theme. Fully additive & reversible:
 * delete this file + its enqueue + premium.js to revert.
 *
 * @package Reyvamp
 */

/* =========================================================
   1. DESIGN TOKENS
   ========================================================= */
:root {
    --rv-blue:      #0356A3;
    --rv-blue-2:    #1a73e8;
    --rv-cyan:      #22d3ee;
    --rv-violet:    #7c5cff;

    --rv-ink:       #0a1124;   /* deep navy for immersive sections */
    --rv-ink-2:     #0d1730;
    --rv-ink-soft:  #e7ecf6;   /* light text on ink */

    --rv-grad:      linear-gradient(120deg, #0356A3 0%, #1a73e8 45%, #22d3ee 100%);
    --rv-grad-soft: linear-gradient(120deg, #1a73e8, #22d3ee);

    --rv-ease:      cubic-bezier(.22, 1, .36, 1);
    --rv-ease-out:  cubic-bezier(.16, 1, .3, 1);

    --rv-radius:    18px;
    --rv-shadow-sm: 0 10px 30px rgba(13, 23, 48, .06);
    --rv-shadow-md: 0 20px 45px rgba(13, 23, 48, .12);
    --rv-shadow-glow: 0 18px 50px rgba(26, 115, 232, .35);
}

/* ---- UNIFIED TYPOGRAPHY (Space Grotesk headings + Inter body, no serif) ---- */
:root {
    --rv-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --rv-display: 'Space Grotesk', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Headings everywhere → Space Grotesk (overrides the base serif on ~44 selectors) */
h1, h2, h3, h4, h5, h6,
.section-title, .hero-text h1, .page-header h1,
.about-story h2, .founder-bio h2, .founder-bio h3, .highlight-box h3,
.team-card h3, .info-card h3, .service-detail-text h2, .service-detail-text h3,
.model-card h4, .voyager8-content h2, .voyager8-content h3, .case-study-content h3,
.modules h4, .contact-detail-card h3, .unified-contact-wrapper h2, .contact-form-wrapper h2,
.contact-details h3, .faq-item h3, .service-title-wrap h2, .cta-content h2,
.service-card h3, .service-card h4, .module-card h3, .why-card h3,
.ssa-form h2, .ssa-form h3 {
    font-family: var(--rv-display) !important;
    letter-spacing: -0.03em;
    font-weight: 600;
}

/* Everything → Space Grotesk (the futuristic font) for ONE consistent look.
   The footer is the deliberate exception — kept in Inter for small-text readability. */
body, p, li, a, span, button, label,
input, select, textarea,
.btn, .hero-subtitle, .intro-text, .nav-menu a {
    font-family: var(--rv-display) !important;
}
.footer, .footer * { font-family: var(--rv-sans) !important; }
.ssa-form input, .ssa-form textarea, .ssa-form label,
.wpcf7-form, .wpcf7-form input, .wpcf7-form select, .wpcf7-form textarea, .wpcf7-form label {
    font-family: var(--rv-sans) !important;
}

html { scroll-behavior: smooth; }

::selection { background: rgba(34, 211, 238, .25); }

/* Refined scrollbar (desktop) */
@media (pointer: fine) {
    html { scrollbar-width: thin; scrollbar-color: var(--rv-blue-2) transparent; }
    ::-webkit-scrollbar { width: 10px; }
    ::-webkit-scrollbar-thumb {
        background: linear-gradient(var(--rv-blue), var(--rv-blue-2));
        border-radius: 10px; border: 2px solid #fff;
    }
}

/* =========================================================
   2. SCROLL PROGRESS BAR  (element injected by premium.js)
   ========================================================= */
.rv-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: var(--rv-grad); z-index: 2000;
    box-shadow: 0 0 12px rgba(34, 211, 238, .7);
    transition: width .1s linear;
}

/* =========================================================
   3. HEADER — light frosted glass (matches the light sections), original logo
   ========================================================= */
.header {
    background: rgba(238, 244, 253, .82) !important;
    backdrop-filter: blur(18px) !important; -webkit-backdrop-filter: blur(18px) !important;
    border-bottom: 1px solid rgba(3, 86, 163, .08) !important;
    box-shadow: 0 4px 24px rgba(31, 38, 135, .08) !important;
}
.header.scrolled {
    background: rgba(244, 248, 255, .96) !important;
    box-shadow: 0 8px 30px rgba(31, 38, 135, .12) !important;
}
.header .nav-menu a { color: var(--text-dark) !important; }
.header .nav-menu a:hover, .header .nav-menu a.active { color: var(--rv-blue) !important; }
.header .logo img, .header .logo .custom-logo { filter: none !important; }  /* keep the original colour logo */
.mobile-toggle span { background: var(--text-dark) !important; }
.nav-menu a::after { height: 2px; background: var(--rv-grad) !important; }

/* =========================================================
   4. BUTTONS — gradient, glow, shimmer, arrow
   ========================================================= */
.btn-primary {
    background: var(--rv-grad) !important;
    border-radius: 12px !important;
    box-shadow: var(--rv-shadow-glow);
    position: relative; overflow: hidden;
    transition: transform .35s var(--rv-ease), box-shadow .35s var(--rv-ease);
    will-change: transform;
}
.btn-primary::after {                 /* shimmer sweep */
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
    transform: translateX(-120%); transition: transform .7s var(--rv-ease);
}
.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 26px 60px rgba(26, 115, 232, .5);
}
.btn-primary:hover::after { transform: translateX(120%); }

.btn-white { border-radius: 12px !important; transition: transform .3s var(--rv-ease), box-shadow .3s var(--rv-ease); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(0, 0, 0, .18); }

/* =========================================================
   5. HERO — dark immersive aurora
   ========================================================= */
.hero {
    background:
        radial-gradient(1100px 620px at 78% -8%, rgba(34, 211, 238, .20), transparent 60%),
        radial-gradient(820px 520px at 8% 6%, rgba(124, 92, 255, .18), transparent 55%),
        linear-gradient(165deg, var(--rv-ink) 0%, var(--rv-ink-2) 55%, var(--rv-ink) 100%) !important;
    color: var(--rv-ink-soft);
    padding-top: 150px !important;
    isolation: isolate;
}

/* Reuse the existing orb/curve DOM but recolor for the dark canvas */
.hero .animated-bg-container { background: transparent !important; }
.hero .grid-overlay {
    background-image:
        linear-gradient(rgba(120, 170, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(120, 170, 255, .07) 1px, transparent 1px) !important;
    opacity: .5;
    -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
            mask-image: radial-gradient(70% 60% at 50% 30%, #000 0%, transparent 75%);
}
.hero .bg-orb-1 { background: radial-gradient(circle, rgba(34, 211, 238, .55), transparent 70%) !important; opacity: .5 !important; }
.hero .bg-orb-2 { background: radial-gradient(circle, rgba(124, 92, 255, .5), transparent 70%) !important;  opacity: .5 !important; }
.hero .bg-orb-3 { background: radial-gradient(circle, rgba(26, 115, 232, .5), transparent 70%) !important;  opacity: .45 !important; }
.hero .curve-line { background: linear-gradient(90deg, transparent, rgba(34, 211, 238, .8), rgba(124, 92, 255, .6), transparent) !important; }
.hero .flowing-curves-layer { opacity: .35 !important; }

/* particle canvas injected by premium.js */
.rv-particles {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}

.hero-content { z-index: 2 !important; }

.hero-text h1 {
    color: #fff !important;
    font-size: clamp(40px, 5.2vw, 66px) !important;
    line-height: 1.05 !important;
    letter-spacing: -.04em !important;
    text-shadow: 0 0 40px rgba(34, 211, 238, .15);
}
.hero-subtitle { color: rgba(231, 236, 246, .72) !important; }
.hero-subtitle:first-of-type { color: rgba(231, 236, 246, .92) !important; }

/* gradient eyebrow badge (injected by premium.js) */
.rv-eyebrow {
    display: inline-flex; align-items: center; gap: .55em;
    padding: 7px 16px; margin-bottom: 22px;
    font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 500;
    letter-spacing: .02em; color: #cfe2ff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.rv-eyebrow .rv-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--rv-cyan); box-shadow: 0 0 10px var(--rv-cyan);
    animation: rvPulse 2.2s var(--rv-ease) infinite;
}
@keyframes rvPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.7); } }

/* image: brand-tint + edge-blend into the dark canvas so it reads curated, not stock */
.hero-image { position: relative; isolation: isolate; }
.hero-image img {
    /* cooler + slightly darker so it belongs to the navy/cyan palette */
    filter: saturate(.62) brightness(.9) contrast(1.1) drop-shadow(0 30px 60px rgba(0, 0, 0, .5)) !important;
    border-radius: 16px;
    /* fade the left + bottom edges so the photo melts into the hero instead of sitting as a hard rectangle */
    -webkit-mask-image: linear-gradient(to left, #000 74%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
            mask-image: linear-gradient(to left, #000 74%, transparent 100%), linear-gradient(to bottom, #000 80%, transparent 100%);
    -webkit-mask-composite: source-in; mask-composite: intersect;
}
/* brand-colour wash over the photo (navy → cyan), matching the same left fade */
.hero-image::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 16px;
    background: linear-gradient(125deg, rgba(3, 86, 163, .55) 0%, rgba(13, 23, 48, .22) 48%, rgba(34, 211, 238, .22) 100%);
    mix-blend-mode: overlay;
    -webkit-mask-image: linear-gradient(to left, #000 74%, transparent 100%);
            mask-image: linear-gradient(to left, #000 74%, transparent 100%);
}

/* =========================================================
   6. SERVICE / WHY CARDS — premium light cards w/ spotlight + accent
   ========================================================= */
.service-card, .why-card {
    border-radius: var(--rv-radius);
    position: relative; overflow: hidden;
    transition: transform .45s var(--rv-ease), box-shadow .45s var(--rv-ease), border-color .45s var(--rv-ease);
}
/* Solid white cards don't need glass blur (it forced a composited layer that blurred text) */
.service-card { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
/* Light cards (services) — on the white section */
.service-card {
    background: #fff;
    border: 1px solid rgba(3, 86, 163, .10);
    box-shadow: var(--rv-shadow-sm);
}
/* Dark glass cards (why-reyvamp) — on the dark photo section; keep white text readable */
.why-card {
    background: rgba(255, 255, 255, .07) !important;
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .30);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
/* gradient accent line on top */
.service-card::before, .why-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: var(--rv-grad);
    transform: scaleX(0); transform-origin: left; transition: transform .5s var(--rv-ease);
}
/* cursor spotlight glow (vars set by premium.js) */
.service-card::after, .why-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(34, 211, 238, .12), transparent 42%);
    opacity: 0; transition: opacity .4s var(--rv-ease);
}
.service-card:hover, .why-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--rv-shadow-md);
}
.service-card:hover { border-color: rgba(26, 115, 232, .35); }
.why-card:hover { border-color: rgba(255, 255, 255, .34); box-shadow: 0 18px 46px rgba(0, 0, 0, .42); }
.service-card:hover::before, .why-card:hover::before { transform: scaleX(1); }
.service-card:hover::after, .why-card:hover::after { opacity: 1; }

/* icon chips get the gradient treatment */
.service-icon, .why-icon, .icon-inner {
    transition: transform .45s var(--rv-ease), box-shadow .45s var(--rv-ease);
}
.service-card:hover .service-icon,
.why-card:hover .why-icon { transform: translateY(-2px) scale(1.06); }

.service-icon svg, .why-icon svg, .icon-inner svg { transition: stroke .4s var(--rv-ease); }

/* CTA card stands out with the dark treatment */
.service-card-cta {
    background: linear-gradient(165deg, var(--rv-ink), var(--rv-ink-2)) !important;
    border-color: transparent !important;
}
.service-card-cta h3, .service-card-cta p { color: #fff !important; }
.service-card-cta p { color: rgba(231, 236, 246, .7) !important; }
.service-card-cta .service-icon { color: var(--rv-cyan) !important; }
.service-card-cta::after {
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(124, 92, 255, .25), transparent 45%);
}

/* =========================================================
   7. SECTION TITLES — modern, with gradient accent underline
   ========================================================= */
.section-title { position: relative; }
.section-title::after {
    content: ''; display: block; width: 64px; height: 4px; margin: 18px auto 0;
    background: var(--rv-grad); border-radius: 4px;
}

/* =========================================================
   8. REVEAL — smoother easing + stagger (delay set inline by JS)
   ========================================================= */
.fade-in-up, .fade-in-left, .fade-in-right, .fade-in {
    transform: none;   /* no resting transform → text keeps crisp subpixel AA; reveal is a clean fade */
    transition: opacity .7s var(--rv-ease-out), transform .45s var(--rv-ease) !important;
}
/* Crisper text rendering hint */
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }

/* =========================================================
   9. "LET'S TALK" CTA BAND — dark immersive
   ========================================================= */
.lets-talk-cta {
    background: linear-gradient(135deg, #f3f8ff 0%, #e9f1fc 50%, #f5f9ff 100%) !important;
    color: var(--text-dark);
    position: relative; overflow: hidden;
    padding: 96px 0 !important;
}
.lets-talk-cta .lets-talk-content {
    display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center;
    position: relative; z-index: 1;
}
.lets-talk-cta .lets-talk-text h2 { color: var(--text-dark) !important; font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.lets-talk-cta .lets-talk-text p  { color: var(--text-light) !important; font-size: 18px; margin-bottom: 28px; }
/* people photo: brand DUOTONE — fully desaturate, then recolour cool grey/blue with a
   'color' blend so the warm tones are neutralised and it matches the site theme */
.lets-talk-cta .lets-talk-image { position: relative; isolation: isolate; }
.lets-talk-cta .lets-talk-image img {
    display: block; border-radius: 18px; position: relative; z-index: 0;
    filter: grayscale(1) contrast(1.06) brightness(1.06);
    box-shadow: 0 26px 60px rgba(13, 23, 48, .22);
}
/* grey/blue recolour: 'color' blend takes the photo's light/dark but the brand hue */
.lets-talk-cta .lets-talk-image::after {
    content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 18px;
    background: linear-gradient(150deg, #243b56 0%, #2d4d6e 52%, #1f5067 100%);
    mix-blend-mode: color; opacity: .9;
}
/* thin gradient frame so it reads designed, not dropped-in */
.lets-talk-cta .lets-talk-image::before {
    content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: 18px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(3, 86, 163, .55), rgba(34, 211, 238, .5));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
}
/* the markup uses .btn-white here — restyle it as a gradient button for the light bg */
.lets-talk-cta .btn-white {
    background: var(--rv-grad) !important; color: #fff !important; border: none !important;
    box-shadow: var(--rv-shadow-glow);
}
.lets-talk-cta .btn-white:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(26, 115, 232, .45); }
@media (max-width: 860px) { .lets-talk-cta .lets-talk-content { grid-template-columns: 1fr; gap: 34px; } }

/* =========================================================
   10. PREMIUM FOOTER — dark, refined
   ========================================================= */
.footer {
    background: linear-gradient(180deg, var(--rv-ink-2) 0%, var(--rv-ink) 100%) !important;
    color: rgba(231, 236, 246, .68) !important;
    position: relative; padding-top: 64px !important;
}
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--rv-grad); }
.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 { font-family: var(--rv-display) !important; }
.footer h3 { color: #fff !important; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer p, .footer li { color: rgba(231, 236, 246, .68) !important; }
.footer a { color: rgba(231, 236, 246, .68) !important; transition: color .3s var(--rv-ease); }
.footer a:hover { color: var(--rv-cyan) !important; }
.footer .footer-tagline { color: var(--rv-cyan) !important; font-weight: 500; }
.footer-logo img, .footer-logo .custom-logo { filter: brightness(0) invert(1); opacity: .95; height: 50px !important; width: auto !important; margin-bottom: 15px; }
.footer-logo .custom-logo-link { display: inline-block; line-height: 0; pointer-events: none; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 18px; }
.footer-bottom p { color: rgba(231, 236, 246, .5) !important; }

/* =========================================================
   11. INTRO SECTION — richer
   ========================================================= */
.intro-section {
    background: linear-gradient(135deg, #eef4fd 0%, #e3edfa 50%, #f1f6ff 100%) !important;
    position: relative !important;   /* was sticky — caused it to overlap later sections */
    top: auto !important;
}
.intro-text { color: var(--text-dark) !important; letter-spacing: -.01em; }
.intro-section::before { display: none; }   /* hide the white world-map; constellation lines are the motif now */
/* Intro CTA — gradient button on the light background */
.intro-section .btn-white {
    background: var(--rv-grad) !important; color: #fff !important; border: none !important;
    box-shadow: var(--rv-shadow-glow);
}
.intro-section .btn-white:hover { transform: translateY(-3px); box-shadow: 0 24px 54px rgba(26, 115, 232, .45); }

/* =========================================================
   12. STATS / CREDIBILITY BAND
   ========================================================= */
.rv-stats {
    background: linear-gradient(160deg, var(--rv-ink), var(--rv-ink-2));
    color: var(--rv-ink-soft); padding: 54px 0; position: relative; overflow: hidden;
    box-shadow: inset 0 60px 70px -60px rgba(0, 0, 0, .5);
}
.rv-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; position: relative; z-index: 1; }
.rv-stat-num {
    font-family: var(--rv-display); font-size: clamp(34px, 4vw, 52px); font-weight: 700; line-height: 1;
    background: var(--rv-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.rv-stat-label { margin-top: 12px; font-size: 14px; color: rgba(231, 236, 246, .72); letter-spacing: .02em; }
.rv-stats .rv-stat + .rv-stat,
.rv-stats .rv-stat { border-left: 1px solid rgba(255, 255, 255, .07); }
.rv-stats .rv-stat:first-child { border-left: none; }
@media (max-width: 760px) {
    .rv-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 18px; }
    .rv-stats .rv-stat:nth-child(odd) { border-left: none; }
}

/* =========================================================
   13. "HOW WE WORK" PROCESS TIMELINE
   ========================================================= */
.rv-process { padding: 96px 0; background: #fff; position: relative; }
.rv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.rv-steps::before {
    content: ''; position: absolute; top: 34px; left: 12.5%; right: 12.5%; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(26, 115, 232, .35), rgba(34, 211, 238, .45), rgba(26, 115, 232, .35), transparent);
}
.rv-step { text-align: center; position: relative; }
.rv-step-num {
    width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--rv-display); font-weight: 700; font-size: 24px; color: #fff;
    background: var(--rv-grad); box-shadow: 0 14px 32px rgba(26, 115, 232, .35);
    position: relative; z-index: 1; border: 4px solid #fff;
}
.rv-step h3 { font-size: 19px; margin-bottom: 8px; color: var(--text-dark); }
.rv-step p  { color: var(--text-light); font-size: 15px; line-height: 1.55; }
@media (max-width: 760px) {
    .rv-steps { grid-template-columns: 1fr 1fr; gap: 36px 22px; }
    .rv-steps::before { display: none; }
}

/* =========================================================
   14. TESTIMONIALS — dark glass slider
   ========================================================= */
.rv-testimonials {
    padding: 96px 0 110px; position: relative; overflow: hidden;
    background: linear-gradient(165deg, var(--rv-ink), var(--rv-ink-2));
    color: var(--rv-ink-soft);
    box-shadow: inset 0 60px 70px -60px rgba(0, 0, 0, .5);
}
.rv-testimonials .section-title { color: #fff; }
.rv-testimonials .section-title::after { background: var(--rv-grad); }
.rv-testimonials-swiper { padding: 8px 4px 12px; }
.rv-testimonials-swiper .swiper-slide { height: auto; display: flex; }
.rv-tcard {
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px; padding: 34px; width: 100%;
    display: flex; flex-direction: column;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.rv-tcard .rv-quote { flex: 1 0 auto; }
.rv-tcard .rv-quote { font-size: 17px; line-height: 1.65; color: rgba(231, 236, 246, .92); position: relative; }
.rv-tcard .rv-quote::before {
    content: '\201C'; font-family: Georgia, serif; font-size: 56px; line-height: 0;
    color: var(--rv-cyan); opacity: .5; position: absolute; left: -6px; top: 18px;
}
.rv-tauthor { margin-top: 24px; display: flex; align-items: center; gap: 13px; }
.rv-tavatar {
    width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
    background: var(--rv-grad); color: #fff; font-family: var(--rv-display); font-weight: 600;
}
.rv-tname { font-weight: 600; color: #fff; }
.rv-trole { font-size: 13px; color: rgba(231, 236, 246, .6); }
.rv-tnote { text-align: center; margin-top: 26px; font-size: 12.5px; color: rgba(231, 236, 246, .4); }

/* =========================================================
   15. BACK-TO-TOP (element injected by premium.js)
   ========================================================= */
.rv-totop {
    position: fixed; right: 26px; bottom: 26px; width: 48px; height: 48px; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer; z-index: 1500;
    background: var(--rv-grad); color: #fff; border: 1px solid rgba(255, 255, 255, .25);
    box-shadow: var(--rv-shadow-glow);
    opacity: 0; transform: translateY(16px); pointer-events: none;
    transition: opacity .35s var(--rv-ease), transform .35s var(--rv-ease);
}
.rv-totop.show { opacity: 1; transform: none; pointer-events: auto; }
.rv-totop:hover { transform: translateY(-3px); }
.rv-totop svg { width: 20px; height: 20px; }

/* =========================================================
   16. UNIFIED SECTION BACKGROUND — one animated line-network everywhere
       (.rv-secbg injected by premium.js; canvas draws the constellation,
        + a faint tech grid and soft depth glow). Same motif as the hero,
        colour-adapted per skin, for a fully consistent look across sections.
   ========================================================= */
/* Retire the old, inconsistent per-section auroras for the single motif */
.animated-bg-container { display: none !important; }

.rv-secbg { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.rv-secbg canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.rv-secbg::before {            /* subtle tech grid (fades toward the bottom) */
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(var(--rv-grid) 1px, transparent 1px),
                      linear-gradient(90deg, var(--rv-grid) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(135% 100% at 50% 0%, #000 0%, transparent 78%);
            mask-image: radial-gradient(135% 100% at 50% 0%, #000 0%, transparent 78%);
}
.rv-secbg::after { content: ''; position: absolute; inset: 0; background: var(--rv-secglow); }

.rv-secbg-dark  { --rv-grid: rgba(125, 175, 255, .09);
                  --rv-secglow: radial-gradient(60% 65% at 82% 6%, rgba(34, 211, 238, .12), transparent 60%),
                                radial-gradient(55% 65% at 6% 96%, rgba(124, 92, 255, .12), transparent 58%); }
.rv-secbg-light { --rv-grid: rgba(3, 86, 163, .11);
                  --rv-secglow: radial-gradient(55% 65% at 86% 6%, rgba(26, 115, 232, .13), transparent 60%),
                                radial-gradient(50% 60% at 6% 97%, rgba(124, 92, 255, .10), transparent 58%); }

/* Light sections share a soft blue-tinted gradient — the "light twin" of the dark
   hero — so the lines/grid read and the section has the same depth (not flat white). */
.rv-process, .lets-talk-cta {
    background: linear-gradient(135deg, #eef4fd 0%, #e3edfa 50%, #f1f6ff 100%) !important;
}
/* "How We Help" is now a DARK section (for the alternating dark/light rhythm) */
.services-overview { background: linear-gradient(160deg, var(--rv-ink), var(--rv-ink-2)) !important; }
.services-overview .section-title { color: #fff !important; }
.services-overview .service-card-cta { background: var(--rv-grad) !important; border: none !important; }
/* Show all services + CTA (8 tiles): flex so an incomplete last row stays centered */
.services-overview .services-grid {
    display: flex !important; flex-wrap: wrap; justify-content: center; gap: 30px;
}
.services-overview .services-grid > * {
    flex: 0 0 calc(33.333% - 20px); max-width: calc(33.333% - 20px);
}
@media (max-width: 900px) {
    .services-overview .services-grid > * { flex-basis: calc(50% - 15px); max-width: calc(50% - 15px); }
}
@media (max-width: 600px) {
    .services-overview .services-grid > * { flex-basis: 100%; max-width: 100%; }
}
.rv-secbg-blue  { --rv-grid: rgba(255, 255, 255, .07);
                  --rv-secglow: radial-gradient(60% 65% at 80% 6%, rgba(150, 225, 255, .16), transparent 60%); }

/* Keep section content above the background layer */
.rv-stats > .container, .rv-process > .container, .rv-testimonials > .container,
.lets-talk-cta > .container, .footer > .container, .intro-section > .container,
.services-overview > .container, .why-section > .container { position: relative; z-index: 1; }

/* Prevent the testimonials slider from causing horizontal overflow */
.rv-testimonials, .rv-testimonials .container, .rv-testimonials-swiper { overflow: hidden; max-width: 100%; }

/* Consistent vertical rhythm across the main content sections
   (hero/stats/footer keep their special spacing; Why keeps extra top for its angled edge) */
.intro-section, .services-overview, .rv-process, .rv-testimonials, .lets-talk-cta {
    padding-top: 100px !important; padding-bottom: 100px !important;
}
.why-section { padding-top: 120px !important; padding-bottom: 100px !important; }

/* =========================================================
   18. INNER PAGES — Services / About / Contact
       Same premium system as Home: a dark immersive constellation
       banner, an alternating dark/light section rhythm, and premium
       cards. (The constellation .rv-secbg layers are injected by
       premium.js for each selector listed there.)
   ========================================================= */

/* ---- Shared dark immersive page banner (replaces the flat blue block) ---- */
.page-header {
    background:
        radial-gradient(1000px 460px at 80% -30%, rgba(34, 211, 238, .16), transparent 60%),
        radial-gradient(760px 420px at 5% 8%, rgba(124, 92, 255, .15), transparent 55%),
        linear-gradient(165deg, var(--rv-ink) 0%, var(--rv-ink-2) 60%, var(--rv-ink) 100%) !important;
    color: var(--rv-ink-soft);
    position: relative; isolation: isolate; overflow: hidden;
    padding: 168px 0 96px !important;
}
.page-header::before { display: none !important; }   /* drop the base frosted-white overlay */
.page-header h1 {
    color: #fff !important;
    font-size: clamp(34px, 4.6vw, 58px) !important;
    line-height: 1.06 !important; letter-spacing: -.035em !important;
    text-shadow: 0 0 40px rgba(34, 211, 238, .14);
}
.page-header p {
    color: rgba(231, 236, 246, .74) !important;
    font-size: clamp(16px, 1.6vw, 19px) !important; margin-top: 14px;
}

/* ---- Light body sections — soft blue-tinted depth (the light twin of the hero) ---- */
.about-content, .founder-section, .contact-section {
    background: linear-gradient(135deg, #eef4fd 0%, #e3edfa 50%, #f1f6ff 100%) !important;
    position: relative; overflow: hidden;
}

/* ---- Dark body sections — immersive navy bands with white text ---- */
.how-we-work, .business-info { color: var(--rv-ink-soft); position: relative; overflow: hidden; }
.how-we-work  { background: linear-gradient(160deg, var(--rv-ink), var(--rv-ink-2)) !important; }
.business-info { background: linear-gradient(160deg, var(--rv-ink-2), var(--rv-ink)) !important; }
.how-we-work .section-title, .how-we-work .work-content .emphasis { color: #fff !important; }
.how-we-work .work-content p { color: rgba(231, 236, 246, .82) !important; }
.business-info .info-card h3 { color: #fff !important; }
.business-info .info-card p  { color: rgba(231, 236, 246, .74) !important; }
.business-info .operating-info { color: var(--rv-cyan) !important; }

/* ---- Premium cards across the inner pages ---- */
/* About — "Our Approach" highlight box: accent card on the light section */
.highlight-box {
    background: #fff !important;
    border: 1px solid rgba(3, 86, 163, .10) !important;
    border-left: 4px solid var(--rv-blue-2) !important;
    border-radius: var(--rv-radius) !important;
    box-shadow: var(--rv-shadow-sm) !important;
}
/* About — founder glass panel → clean solid card on the light section */
.founder-section .founder-content {
    background: #fff !important;
    border: 1px solid rgba(3, 86, 163, .10) !important;
    box-shadow: var(--rv-shadow-md) !important;
    border-radius: var(--rv-radius) !important;
}
/* About — business-info → dark glass cards (matches the why-cards) */
.business-info .info-card {
    background: rgba(255, 255, 255, .06) !important;
    border: 1px solid rgba(255, 255, 255, .14) !important;
    border-radius: var(--rv-radius) !important;
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, .30) !important;
    transition: transform .4s var(--rv-ease), box-shadow .4s var(--rv-ease), border-color .4s var(--rv-ease);
}
.business-info .info-card:hover {
    transform: translateY(-6px); border-color: rgba(255, 255, 255, .30) !important;
    box-shadow: 0 18px 46px rgba(0, 0, 0, .42) !important;
}
/* Contact — detail cards → clean solid white cards on the light section */
.contact-detail-card {
    background: #fff !important;
    border: 1px solid rgba(3, 86, 163, .10) !important;
    border-radius: var(--rv-radius) !important;
    box-shadow: var(--rv-shadow-sm) !important;
}
.contact-detail-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--rv-shadow-md) !important;
    border-color: rgba(26, 115, 232, .30) !important;
}
.contact-detail-card .detail-icon { background: var(--rv-grad) !important; box-shadow: var(--rv-shadow-glow); }
/* Contact — form wrapper → clean solid card on the light section */
.unified-contact-wrapper {
    background: #fff !important;
    border: 1px solid rgba(3, 86, 163, .10) !important;
    box-shadow: var(--rv-shadow-md) !important;
    border-radius: var(--rv-radius) !important;
}
/* Contact — submit button → premium gradient (matches the site buttons) */
.wpcf7-form input[type="submit"], .wpcf7-form button[type="submit"] {
    background: var(--rv-grad) !important; border-radius: 12px !important;
    box-shadow: var(--rv-shadow-glow) !important; padding: 14px 38px !important;
}
.wpcf7-form input[type="submit"]:hover, .wpcf7-form button[type="submit"]:hover {
    transform: translateY(-3px); box-shadow: 0 24px 54px rgba(26, 115, 232, .45) !important;
}

/* About — LinkedIn chip → brand gradient (base used an off-brand gold) */
.linkedin-icon, .linkedin-icon:hover {
    background: var(--rv-grad) !important;
    box-shadow: 0 6px 18px rgba(26, 115, 232, .35) !important;
}
.linkedin-icon:hover { transform: translateY(-3px); }

/* ---- Keep inner-page content above the injected constellation layer ---- */
.page-header > .container, .about-content > .container, .how-we-work > .container,
.founder-section > .container, .business-info > .container, .contact-section > .container {
    position: relative; z-index: 1;
}

/* ---- Consistent vertical rhythm on the inner-page body sections ---- */
.about-content, .how-we-work, .founder-section, .business-info, .contact-section {
    padding-top: 100px !important; padding-bottom: 100px !important;
}

/* ---- Services page — premium feature rows (Option 1) ----
   Full-width alternating rows on the light section. Large, dark, easily
   readable type; plain text (no transforms/filters) so it stays razor-sharp;
   a soft gradient separator between rows. */
.rv-service-rows {
    background: linear-gradient(135deg, #eef4fd 0%, #e3edfa 50%, #f1f6ff 100%) !important;
    position: relative; overflow: hidden;
    padding: 92px 0 100px !important;
}
.rv-service-rows > .container { position: relative; z-index: 1; }
.rv-service-rows .srows { max-width: 1080px; margin: 0 auto; }
.rv-service-rows .srow {
    display: grid; grid-template-columns: 1.02fr 1.2fr; gap: 58px; align-items: center;
    padding: 56px 0; position: relative;
}
.rv-service-rows .srow:first-child { padding-top: 8px; }
.rv-service-rows .srow:nth-child(even) .srow-head { order: 2; }   /* alternate the icon/text side */
/* separator between rows (gradient hairline that fades at the edges) */
.rv-service-rows .srow + .srow::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, rgba(3, 86, 163, .38) 16%, rgba(34, 211, 238, .45) 50%, rgba(3, 86, 163, .38) 84%, transparent);
    border-radius: 2px;
}
.rv-service-rows .srow-icon {
    width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; flex: none;
    background: var(--rv-grad); color: #fff; box-shadow: var(--rv-shadow-glow); margin-bottom: 22px;
}
.rv-service-rows .srow-icon svg { width: 29px; height: 29px; }
.rv-service-rows .srow-head h3 {
    font-family: var(--rv-display); font-size: clamp(26px, 2.5vw, 32px);
    letter-spacing: -.02em; line-height: 1.15; margin: 0 0 10px; color: var(--text-dark);
}
.rv-service-rows .srow-hl { color: var(--rv-blue); font-weight: 600; font-size: 18px; line-height: 1.45; }
.rv-service-rows .srow-body > p {
    color: var(--text-dark); font-size: 18px; line-height: 1.78; margin: 0 0 24px;
}
.rv-service-rows .service-details > strong {
    display: block; font-size: 13px; font-weight: 700; letter-spacing: .07em;
    text-transform: uppercase; color: var(--rv-blue-2); margin-bottom: 16px;
}
.rv-service-rows .service-details ul {
    list-style: none; margin: 0 0 8px; padding: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 14px 30px;
}
.rv-service-rows .service-details li {
    position: relative; padding-left: 29px; font-size: 16px; line-height: 1.55; color: var(--text-dark);
}
.rv-service-rows .service-details li::before {
    content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a73e8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (max-width: 880px) {
    .rv-service-rows .srow { grid-template-columns: 1fr; gap: 26px; }
    .rv-service-rows .srow:nth-child(even) .srow-head { order: 0; }
    .rv-service-rows .service-details ul { grid-template-columns: 1fr; }
}

/* ---- FAQ (homepage) — accessible accordion on a light section ---- */
.rv-faq {
    background: linear-gradient(135deg, #eef4fd 0%, #e3edfa 50%, #f1f6ff 100%) !important;
    position: relative; overflow: hidden; padding: 96px 0 100px !important;
}
.rv-faq > .container { position: relative; z-index: 1; max-width: 880px; }
.rv-faq .section-title { margin-bottom: 44px; }
.rv-faq-item {
    background: #fff; border: 1px solid rgba(3, 86, 163, .10); border-radius: 16px;
    margin-bottom: 14px; overflow: hidden; box-shadow: var(--rv-shadow-sm);
    transition: box-shadow .35s var(--rv-ease);
}
.rv-faq-item.open { box-shadow: var(--rv-shadow-md); }
.rv-faq-q {
    width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
    padding: 22px 26px; cursor: pointer; background: none; border: 0; text-align: left;
    font-family: var(--rv-display); font-size: 17px; font-weight: 600; color: var(--text-dark);
    letter-spacing: -.01em;
}
.rv-faq-chev { width: 22px; height: 22px; color: var(--rv-blue-2); flex: none; transition: transform .4s var(--rv-ease); }
.rv-faq-item.open .rv-faq-chev { transform: rotate(180deg); }
.rv-faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--rv-ease); }
.rv-faq-item.open .rv-faq-a { max-height: 320px; }
.rv-faq-a-in { padding: 0 26px 24px; }
.rv-faq-a-in p { margin: 0; color: var(--text-light); font-size: 16px; line-height: 1.7; }

/* =========================================================
   17. REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .rv-eyebrow .rv-dot, .rv-orb { animation: none; }
    .btn-primary::after, .service-card, .why-card, .rv-totop { transition: none !important; }
}
