/* =============================================================================
   EVOLVRX DIGITAL — BRAND CSS
   Loaded last — overrides Orisa defaults with EVOLVRX palette.
   Edit colors in :root only. Everything cascades from there.
   ============================================================================= */

/* ─── MASTER PALETTE — change only these 3 lines to retheme the entire site ── */
:root {
    --erx-blue:       #1063CD;   /* ★ PRIMARY BRAND BLUE   — update to retheme */
    --erx-cyan:       #00B4EB;   /* ★ SECONDARY / GRADIENT END                 */
    --erx-dark:       #242424;   /* ★ BRAND DARK / CHARCOAL                    */

    /* ── Override base theme orange — use brand cyan as accent ────────────── */
    --at-theme-primary: #00B4EB;

    /* ── Derived tokens — these auto-update when the 3 above change ─────────── */
    --erx-bg:         #181818;   /* deep dark sections  (near-black base)       */
    --erx-bg-alt:     #242424;   /* alternate dark = brand dark                 */
    --erx-bg-card:    #2d2d2d;   /* raised card surface                         */
    --erx-white:      #F8FAFF;   /* primary text on dark                        */
    --erx-muted:      #94A3B8;   /* secondary / muted text                      */
    --erx-border:     rgba(16, 99, 205, 0.18);   /* card borders               */
    --erx-gradient:   linear-gradient(135deg, var(--erx-blue) 0%, var(--erx-cyan) 100%);
}

/* ─── INLINE SVG LOGO ──────────────────────────────────────────────────────── */
/* The logo SVG has two fill classes:
   .fil0 / .fil6  = #242424 (brand charcoal — invisible on dark BG)
   .fil1–.fil5    = gradient fills (always visible)
   We swap charcoal → white when the logo is used on dark backgrounds.
   The SVG file is never modified — only CSS context classes change. */

.erx-logo {
    display: block;
    width: auto;
    flex-shrink: 0;
    /* Override the physical mm dimensions baked into the SVG */
    height: 100%;
}

/* Light context: keep SVG original colors (charcoal text + gradient mark) */
.erx-logo .fil0,
.erx-logo .fil6 {
    fill: var(--erx-dark);
}

/* Dark context: swap charcoal → white, gradient stays intact */
.erx-logo-on-dark .fil0,
.erx-logo-on-dark .fil6 {
    fill: #ffffff !important;
}

/* Header logo size */
.at-header-logo .erx-logo { height: 56px; }

/* Offcanvas logo size */
.at-offcanvas-2-area .erx-logo,
.at-offcanvas-area .erx-logo { height: 36px; }

/* Footer logo size */
.erx-footer .erx-logo { height: 44px; }

/* Preloader logo size — large and centered */
.page-loader-logo .erx-logo { height: 72px; }

/* Preloader — transparent bg, bars are the only visual layer */
.page-loader {
    background: transparent;
}
.page-loader .bar {
    background: #0a1628;
}

/* Hover glow on logo links */
.at-header-logo a:hover .erx-logo,
.erx-footer a:hover .erx-logo {
    filter: drop-shadow(0 0 10px rgba(0, 180, 235, 0.5));
    transition: filter 0.3s ease;
}

/* ─── GLOBAL COLOUR TOKENS ─────────────────────────────────────────────────── */
a                     { color: var(--erx-blue); }
a:hover               { color: var(--erx-cyan); }

/* Primary colour swap (Orisa uses bg-primary-1 — kept for non-hero dark sections) */
.bg-primary-1         { background-color: var(--erx-bg) !important; }

/* Orange SVG accent → electric blue (already done in HTML via build.py) */
.fill-primary         { fill: var(--erx-blue) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   DEMO HERO — Light theme (ported from Evolvrx---Demo Hero.tsx)
   ═══════════════════════════════════════════════════════════════════════════ */
.erx-demo-hero {
    position: relative;
    min-height: 100vh;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.erx-demo-hero-inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 80vh;
    padding: 140px 0 160px;
    position: relative;
    z-index: 10;
}

/* Heading block — pushed right on desktop, clear of floating cards */
.erx-demo-hero-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding-right: 0;
    position: relative;
    z-index: 12;
}
@media (min-width: 992px) {
    .erx-demo-hero-heading {
        align-items: center;
        padding-right: 0;
        text-align: center;
    }
}

/* Badge */
.erx-demo-hero-badge {
    color: var(--erx-blue);
    font-weight: 500;
    letter-spacing: 0.05em;
    font-size: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Title */
.erx-demo-hero-title {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.1;
    color: #0f172a;
    text-align: center;
    margin: 0;
}
@media (min-width: 992px) {
    .erx-demo-hero-title { text-align: center; }
}
.erx-demo-hero-accent {
    color: var(--erx-blue);
    padding: 4px 0;
}

/* CTA buttons */
.erx-demo-hero-ctas {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.erx-demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.erx-demo-btn:hover { transform: scale(1.05); }
.erx-demo-btn-dark {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 4px 14px rgba(15,23,42,0.2);
}
.erx-demo-btn-dark:hover { background: #1e293b; color: #fff; }
.erx-demo-btn-light {
    background: #fff;
    color: #0f172a;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.erx-demo-btn-light:hover { background: #F8FAFC; color: #0f172a; }

/* Bottom-left floating elements */
.erx-demo-hero-bottom {
    position: absolute;
    bottom: 60px;
    left: 0;
    display: flex;
    align-items: flex-end;
    gap: 24px;
    z-index: 20;
    padding-left: var(--bs-gutter-x, 12px);
    max-width: 580px;
}

/* Speech bubble — smaller */
.erx-demo-bubble {
    width: 96px; height: 96px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    text-decoration: none;
    transition: transform 0.3s;
    flex-shrink: 0;
}
.erx-demo-bubble:hover { transform: scale(1.08); }
.erx-demo-bubble span {
    font-size: 13px;
    font-weight: 500;
    color: #0f172a;
}

/* Video card — compact */
.erx-demo-video-card {
    width: 200px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid #E2E8F0;
    border-radius: 16px;
    padding: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.erx-demo-video-card:hover { border-color: var(--erx-blue); }
.erx-demo-video-thumb {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.erx-demo-video-thumb video { width: 100%; height: 100%; object-fit: cover; }
.erx-demo-video-hover {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    opacity: 0; transition: opacity 0.3s;
    display: flex; align-items: flex-end; padding: 16px;
}
.erx-demo-video-card:hover .erx-demo-video-hover { opacity: 1; }
.erx-demo-play-icon {
    width: 40px; height: 40px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.erx-demo-video-label {
    padding: 0 12px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.erx-demo-video-label span { font-weight: 500; font-size: 14px; color: #1e293b; }

/* Narrative text */
.erx-demo-hero-narrative {
    max-width: 360px;
    padding-bottom: 16px;
}
.erx-demo-hero-narrative p {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 4px;
    line-height: 1.6;
}
.erx-demo-hero-narrative strong { color: #0f172a; }
.erx-demo-brand-mark {
    width: 32px; height: 32px;
    display: flex; flex-wrap: wrap; gap: 2px;
    margin-bottom: 16px;
}
.erx-demo-brand-mark span {
    width: 14px; height: 14px;
    background: #0f172a;
    border-radius: 2px;
}
.erx-demo-brand-mark span:nth-child(3) {
    transform: translate(4px, 4px);
}

/* Vertical email — far right edge */
.erx-demo-hero-email {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 25;
}
.erx-demo-hero-email a {
    color: #94A3B8;
    font-size: 12px;
    letter-spacing: 0.1em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    text-decoration: none;
    transform: rotate(180deg);
    white-space: nowrap;
}

/* Star */
.erx-demo-hero-star {
    position: absolute;
    bottom: 48px;
    right: 48px;
}

/* Mobile hero adjustments */
@media (max-width: 991.98px) {
    .erx-demo-hero { min-height: auto; }
    .erx-demo-hero-inner { padding: 100px 0 40px; min-height: auto; }
    .erx-demo-hero-ctas { flex-direction: column; }
    .erx-demo-btn { width: 100%; justify-content: center; }
    .erx-demo-hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
}
@media (max-width: 575.98px) {
    .erx-demo-hero-inner { padding: 90px 0 32px; }
    .erx-demo-hero-ctas { margin-top: 32px; }
}

/* Hide the old Orisa hero styles */
.at-hero-area { display: none !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   HERO BACKGROUND TEXTURE — dot grid + floating orbs + glow
   ═══════════════════════════════════════════════════════════════════════════ */
.erx-hero-bg-texture {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

/* Dot matrix grid — visible subtle pattern */
.erx-hero-dots {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, #94A3B8 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.12;
}

/* Floating gradient orbs — larger and more vivid */
.erx-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}
.erx-hero-orb-1 {
    width: 600px; height: 600px;
    background: rgba(16,99,205,0.12);
    top: -15%; right: 5%;
    animation: erxOrbDrift1 50s ease-in-out infinite;
}
.erx-hero-orb-2 {
    width: 500px; height: 500px;
    background: rgba(0,180,235,0.10);
    bottom: -10%; left: 0;
    animation: erxOrbDrift2 40s ease-in-out infinite;
}
@keyframes erxOrbDrift1 {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(-60px, 40px); }
    50% { transform: translate(30px, -30px); }
    75% { transform: translate(-30px, -50px); }
}
@keyframes erxOrbDrift2 {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(60px, -40px); }
    66% { transform: translate(-40px, 50px); }
}

/* Radial glow behind heading area */
.erx-hero-glow {
    position: absolute;
    width: 700px; height: 500px;
    top: 25%; right: 10%;
    background: radial-gradient(ellipse, rgba(16,99,205,0.08) 0%, transparent 70%);
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CARDS — bigger, detailed, with repeating animations
   ═══════════════════════════════════════════════════════════════════════════ */
.erx-float-card {
    position: absolute;
    background: rgba(255,255,255,0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.07);
    z-index: 15;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.erx-float-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

/* Shared helpers */
.erx-fc-live-dot {
    width: 7px; height: 7px;
    background: #10B981;
    border-radius: 50%;
    animation: erxPulse 2s ease-in-out infinite;
}
.erx-fc-label {
    font-size: 11px; font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748B;
}
.erx-fc-green { color: #10B981 !important; }

/* ─── Card 1: Dashboard analytics (top-left) ──────────────────────────────── */
.erx-fc-dashboard {
    top: 120px; left: 40px;
    width: 280px;
    flex-direction: column;
    gap: 12px;
    animation: erxCardFloat1 7s ease-in-out infinite;
}
.erx-fc-dash-header {
    display: flex; align-items: center; gap: 8px;
}
.erx-fc-badge-live {
    font-size: 9px; font-weight: 800; letter-spacing: 0.1em;
    color: #10B981; background: #ECFDF5;
    padding: 2px 8px; border-radius: 9999px;
    margin-left: auto;
    animation: erxPulse 2s ease-in-out infinite;
}
.erx-fc-dash-stats {
    display: flex; align-items: center; gap: 16px;
}
.erx-fc-stat { display: flex; flex-direction: column; gap: 2px; }
.erx-fc-stat-val { font-size: 20px; font-weight: 800; color: #0f172a; }
.erx-fc-stat-label { font-size: 10px; font-weight: 600; color: #94A3B8; text-transform: uppercase; letter-spacing: 0.05em; }
.erx-fc-stat-divider { width: 1px; height: 28px; background: #E2E8F0; }
.erx-fc-sparkline {
    position: relative;
    height: 40px;
    width: 100%;
}
.erx-fc-sparkline svg { width: 100%; height: 100%; }
.erx-fc-spark-dot {
    position: absolute;
    top: 0; right: 0;
    width: 8px; height: 8px;
    background: var(--erx-blue);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--erx-blue);
    animation: erxSparkPulse 1.5s ease-in-out infinite;
}
@keyframes erxSparkPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 4px var(--erx-blue); }
    50% { transform: scale(1.8); box-shadow: 0 0 16px var(--erx-blue); }
}

/* ─── Card 2: Notification stack (left, staggered) ─────────────────────────── */
.erx-fc-notif-stack {
    position: absolute;
    top: 40%; left: 30px;
    z-index: 15;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.erx-fc-notif {
    position: relative;
    display: flex;
    align-items: center; gap: 12px;
    padding: 14px 20px;
    min-width: 220px;
}
.erx-fc-notif-icon {
    width: 34px; height: 34px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.erx-fc-icon-green { background: #ECFDF5; }
.erx-fc-icon-blue { background: #EFF6FF; }
.erx-fc-icon-amber { background: #FFFBEB; }
.erx-fc-notif-text { display: flex; flex-direction: column; gap: 1px; }
.erx-fc-notif-title { font-size: 11px; color: #64748B; font-weight: 500; }
.erx-fc-notif-val { font-size: 16px; font-weight: 800; }

/* Staggered slide-in-out animations for each notification */
.erx-fc-notif-1 { animation: erxNotifSlide 6s ease-in-out infinite 0s; }
.erx-fc-notif-2 { animation: erxNotifSlide 6s ease-in-out infinite 2s; }
.erx-fc-notif-3 { animation: erxNotifSlide 6s ease-in-out infinite 4s; }

@keyframes erxNotifSlide {
    0%   { transform: translateX(-30px); opacity: 0; }
    10%  { transform: translateX(0); opacity: 1; }
    40%  { transform: translateX(0); opacity: 1; }
    50%  { transform: translateX(0) translateY(-4px); }
    60%  { transform: translateX(0); opacity: 1; }
    90%  { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(-30px); opacity: 0; }
}

/* ─── Card 3: ROI result card (right side) ─────────────────────────────────── */
.erx-fc-roi-card {
    top: 35%; right: 50px;
    width: 220px;
    flex-direction: column;
    gap: 10px;
    animation: erxCardFloat2 8s ease-in-out infinite;
}
.erx-fc-roi-header {
    display: flex; align-items: center; gap: 8px;
}
.erx-fc-roi-header span { font-size: 12px; font-weight: 700; color: #64748B; text-transform: uppercase; letter-spacing: 0.05em; }
.erx-fc-roi-big {
    font-size: 42px; font-weight: 900;
    color: var(--erx-blue);
    line-height: 1;
    letter-spacing: -0.03em;
}
.erx-fc-roi-sub { font-size: 11px; color: #94A3B8; }
.erx-fc-roi-bars {
    display: flex; align-items: flex-end; gap: 4px;
    height: 40px;
}
.erx-fc-roi-bar {
    flex: 1;
    background: #E2E8F0;
    border-radius: 3px 3px 0 0;
    animation: erxRoiBar 3s ease-in-out infinite;
    animation-delay: calc(var(--bh, 50%) * 0.01s);
}
.erx-fc-roi-bar-accent { background: var(--erx-blue); }
@keyframes erxRoiBar {
    0%, 100% { height: var(--bh, 50%); }
    50% { height: calc(var(--bh, 50%) + 15%); }
}

/* ─── Float animations — different speeds for visual variety ───────────────── */
@keyframes erxCardFloat1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(0.3deg); }
    50% { transform: translateY(-5px) rotate(-0.2deg); }
    75% { transform: translateY(-14px) rotate(0.1deg); }
}
@keyframes erxCardFloat2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    30% { transform: translateY(-12px) rotate(-0.3deg); }
    60% { transform: translateY(-6px) rotate(0.2deg); }
}
@keyframes erxFloatBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   FLOATING CARDS — RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1399.98px) {
    .erx-fc-dashboard { width: 250px; left: 30px; }
    .erx-fc-roi-card { right: 30px; width: 200px; }
    .erx-fc-roi-big { font-size: 36px; }
}
@media (max-width: 1199.98px) {
    .erx-fc-dashboard { top: 100px; left: 20px; width: 230px; }
    .erx-fc-roi-card { right: 20px; top: 30%; }
}
@media (max-width: 991.98px) {
    .erx-fc-notif-stack { display: none !important; }
}
@media (max-width: 767.98px) {
    .erx-hero-orb-1 { width: 350px; height: 350px; }
    .erx-hero-orb-2 { width: 300px; height: 300px; }
}

/* ─── BUTTONS ───────────────────────────────────────────────────────────────── */
.at-btn {
    transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.at-btn.bg-white:hover {
    background: var(--erx-cyan) !important;
    color: var(--erx-bg) !important;
}
/* Primary filled button */
.at-service-btn .at-btn,
.at-btn-group .at-btn {
    background: var(--erx-blue);
    color: #fff;
    border-color: var(--erx-blue);
}
.at-service-btn .at-btn:hover,
.at-btn-group .at-btn:hover {
    background: var(--erx-cyan);
    border-color: var(--erx-cyan);
    color: var(--erx-bg);
}

/* ─── ABOUT / DARK PANEL (Section 6 testimonials bg) ───────────────────────── */
.sec-6-home-1 {
    background: #0b3d91 !important;  /* rich brand blue — derived from --erx-blue */
}

/* ─── SERVICE LIST hover accent ─────────────────────────────────────────────── */
.at-service-item .title {
    font-size: clamp(2rem, 3.5vw, 3rem) !important;
    line-height: 1.2 !important;
}
.at-service-item:hover .title,
.at-service-item:hover .number {
    color: var(--erx-cyan);
}
.at-service-item {
    border-color: var(--erx-border) !important;
}

/* ─── PORTFOLIO item title hover ────────────────────────────────────────────── */
.cs-portfolio-title a:hover {
    color: var(--erx-blue) !important;
}
.cs-portfolio-tag ul li a:hover {
    color: var(--erx-cyan) !important;
}

/* ─── PROGRESS / COUNTER accent ─────────────────────────────────────────────── */
.at-about-subtitle .fill-primary,
.mg-portfolio-title-wrap .fill-primary {
    fill: var(--erx-blue) !important;
}
.odometer { color: var(--erx-blue); }

/* ─── SWIPER nav buttons ────────────────────────────────────────────────────── */
.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    color: var(--erx-cyan) !important;
    border-color: var(--erx-cyan) !important;
}

/* ─── BLOG BENTO GRID ───────────────────────────────────────────────────────── */
.erx-bento-blog {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 320px 280px;
    gap: 16px;
}
/* Card 1: large featured — spans 2 cols, 2 rows */
.erx-bento-card--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
/* Card 2: tall right — 1 col, 2 rows */
.erx-bento-card--2 { grid-column: 3; grid-row: 1 / 3; }
/* Card 3: bottom-right small */
.erx-bento-card--3 { grid-column: 4; grid-row: 1; }
/* Card 4: bottom-right small */
.erx-bento-card--4 { grid-column: 4; grid-row: 2; }

@media (max-width: 991px) {
    .erx-bento-blog {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 300px 260px;
    }
    .erx-bento-card--1 { grid-column: 1 / 3; grid-row: 1; }
    .erx-bento-card--2 { grid-column: 1; grid-row: 2; }
    .erx-bento-card--3 { grid-column: 2; grid-row: 2; }
    .erx-bento-card--4 { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 575px) {
    .erx-bento-blog {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .erx-bento-card--1,
    .erx-bento-card--2,
    .erx-bento-card--3,
    .erx-bento-card--4 {
        grid-column: 1;
        grid-row: auto;
        min-height: 260px;
    }
}

.erx-bento-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.erx-bento-card__img {
    position: absolute;
    inset: 0;
}
.erx-bento-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.erx-bento-card:hover .erx-bento-card__img img {
    transform: scale(1.06);
}
.erx-bento-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: background 0.35s ease;
}
.erx-bento-card:hover .erx-bento-card__overlay {
    background: linear-gradient(0deg, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.1) 60%);
}
.erx-bento-card__cat {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 12px;
    width: fit-content;
}
.erx-bento-card__title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 8px;
}
.erx-bento-card--1 .erx-bento-card__title { font-size: 24px; }
.erx-bento-card__meta {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    font-weight: 500;
}

/* ─── FOOTER ────────────────────────────────────────────────────────────────── */
footer a:hover               { color: var(--erx-cyan) !important; }
.at-footer-social a:hover    { color: var(--erx-blue) !important; }

/* ─── LOGO — img fallback (if ever used) ───────────────────────────────────── */
.at-header-logo img,
.at-offcanvas-logo img,
.at-search-logo img {
    width: auto !important;
    max-width: none !important;
    height: 72px !important;
    object-fit: contain !important;
    filter: none !important;
}

/* ─── OFFCANVAS / SIDEBAR ───────────────────────────────────────────────────── */
.at-offcanvas-area .at-header-logo a:hover,
.at-offcanvas-2-area .at-header-logo a:hover {
    opacity: 0.8;
}

/* EVOLVRX offcanvas overrides — calm down the theme's 48px-70px menu fonts
   and enable submenu disclosure without relying on main.js. */
.at-offcanvas-2-wrapper { padding: 48px 56px 32px !important; }
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li > a,
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li:nth-child(2) > a,
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li:nth-child(3) > a,
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li:nth-child(4) > a,
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li:nth-child(5) > a {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    letter-spacing: -0.01em !important;
    padding: 8px 0 !important;
    color: var(--erx-dark, #242424) !important;
}
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li.has-dropdown > a::after {
    content: '+';
    display: inline-block;
    margin-left: 12px;
    font-size: 22px;
    color: var(--erx-blue);
    transition: transform 0.3s ease;
    vertical-align: middle;
}
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li.active.has-dropdown > a::after,
.at-offcanvas-2-wrapper .at-offcanvas-menu > nav > ul > li.open.has-dropdown > a::after {
    transform: rotate(45deg);
}
/* Reveal submenu when parent gets active/open (added by our vanilla JS toggle) */
.at-offcanvas-menu ul li.active > .at-submenu,
.at-offcanvas-menu ul li.open > .at-submenu {
    display: block !important;
    margin: 6px 0 18px 8px;
    padding-left: 14px;
    border-left: 2px solid rgba(16, 99, 205, 0.2);
}
.at-offcanvas-menu .at-submenu > li { margin: 2px 0; }
.at-offcanvas-menu .at-submenu > li > a {
    font-size: 15.5px !important;
    font-weight: 500;
    color: var(--erx-muted, #64748B) !important;
    padding: 6px 12px !important;
}
.at-offcanvas-menu .at-submenu > li > a:hover {
    color: var(--erx-blue) !important;
    background-color: rgba(16,99,205,0.05) !important;
}
.at-offcanvas-menu .at-submenu .at-submenu > li > a {
    font-size: 14.5px !important;
}
.at-offcanvas-menu ul li.has-dropdown > a {
    cursor: pointer;
}

/* ─── TICKER / MARQUEE ──────────────────────────────────────────────────────── */
.carouselTicker { border-color: var(--erx-border); }

/* ─── POSITIONING SECTION ───────────────────────────────────────────────────── */
.erx-pillar-num {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--erx-cyan);
}
.sec-2-home-5__card--list {
    transition: border-color 0.3s, transform 0.3s;
    border: 1px solid transparent;
}
.sec-2-home-5__card--list:hover {
    border-color: var(--erx-blue);
    transform: translateY(-3px);
}

/* Bento section — extra bottom room so cards don't clip, horizon overlaps */
.erx-bento-section {
    position: relative;
    z-index: 2;
    padding-bottom: 160px !important;
}

/* ─── MINIMUM FONT SIZE — 16px floor on all body copy ──────────────────────── */
body, p, li, span, a, blockquote, td, th, label, input, textarea, select {
    font-size: max(17px, 1em);
}
/* Preserve intentionally small labels (e.g. pillar numbers) */
.erx-pillar-num,
.small,
.fz-font-sm {
    font-size: max(13px, 0.85em) !important;
}

/* ─── MISC UTILITY ──────────────────────────────────────────────────────────── */
/* Eyebrow labels that were orange (#F0460E) — for non-hero sections */
.at-hero-subtitle   { color: var(--erx-cyan) !important; }
.at-btn.common-black { color: inherit; }

/* Thin top-border accent line used in about/service sections */
.at-about-border    { border-color: var(--erx-border) !important; }

/* ═══════════════════════════════════════════════════════════════════════════
   PILL NAV + MEGA MENU (React demo port)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Pill Nav Container ─────────────────────────────────────────────────── */
.erx-pill-nav {
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(226,232,240,0.6);
    border-radius: 9999px;
    padding: 5px 6px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.erx-pill-nav .at-mobile-menu-active { display: flex; }
.erx-pill-nav__list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 2px;
}
.erx-pill-nav__list > li { position: relative; }
.erx-pill-nav__list > li > a {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 20px;
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    border-radius: 9999px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}
.erx-pill-nav__list > li > a:hover,
.erx-pill-nav__list > li > a:focus {
    color: #0f172a;
    background: rgba(241,245,249,0.5);
}
.erx-chevron { transition: transform 0.3s ease; }

/* Services trigger active state */
.erx-has-mega:hover > a.erx-services-trigger {
    background: #0f172a;
    color: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}
.erx-has-mega:hover .erx-chevron {
    transform: rotate(180deg);
}

/* ─── Mega Dropdown ──────────────────────────────────────────────────────── */
.erx-mega-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding-top: 24px;
    width: 900px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}
.erx-has-mega:hover .erx-mega-dropdown {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.erx-mega-panel {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(226,232,240,0.8);
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(0,0,0,0.1);
    padding: 24px;
    display: flex;
    gap: 24px;
    position: relative;
    overflow: hidden;
    min-height: 420px;
}
.erx-mega-blur {
    position: absolute;
    top: 0; right: 0;
    width: 256px; height: 256px;
    background: rgba(239,246,255,0.5);
    border-radius: 50%;
    filter: blur(48px);
    transform: translate(50%, -50%);
    pointer-events: none;
}

/* ─── Left Column: Categories ────────────────────────────────────────────── */
.erx-mega-categories {
    width: 33.33%;
    border-right: 1px solid #f1f5f9;
    padding-right: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    z-index: 10;
}
.erx-mega-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
    padding: 0 16px;
}
.erx-mega-cat-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}
.erx-mega-cat-btn:hover {
    background: #f8fafc;
    color: #0f172a;
}
.erx-mega-cat-btn.active {
    background: #eff6ff;
    color: #1d4ed8;
    border-color: rgba(191,219,254,0.5);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.erx-mega-cat-btn svg {
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s ease;
    color: transparent;
}
.erx-mega-cat-btn:hover svg { opacity: 1; color: #94a3b8; transform: translateX(0); }
.erx-mega-cat-btn.active svg { opacity: 1; color: #3b82f6; transform: translateX(4px); }

/* ─── Center Column: Links ───────────────────────────────────────────────── */
.erx-mega-links {
    width: 33.33%;
    padding: 0 8px;
    position: relative;
    z-index: 10;
}
.erx-mega-link-group {
    display: none;
    flex-direction: column;
}
.erx-mega-link-group.active { display: flex; }
.erx-mega-link-group ul { list-style: none; padding: 0; margin: 0; }
.erx-mega-link-group ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.erx-mega-link-group ul li a:hover {
    color: #2563eb;
    background: rgba(239,246,255,0.5);
    transform: translateX(4px);
}

/* ─── Right Column: Preview ──────────────────────────────────────────────── */
.erx-mega-preview {
    width: 33.33%;
    padding-left: 16px;
    position: relative;
    z-index: 10;
}
.erx-mega-preview-card {
    display: none;
    flex-direction: column;
    height: 100%;
}
.erx-mega-preview-card.active { display: flex; }
.erx-mega-preview-img {
    position: relative;
    width: 100%;
    height: 192px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    background: #f1f5f9;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.erx-mega-preview-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}
.erx-mega-preview-img:hover img { transform: scale(1.05); }
.erx-mega-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,0.6), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}
.erx-mega-preview-img:hover .erx-mega-preview-overlay { opacity: 1; }
.erx-mega-preview-overlay span {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}
.erx-mega-preview-card h5 {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    font-size: 16px;
}
.erx-mega-preview-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
}
.erx-mega-cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 16px;
    color: #2563eb;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}
.erx-mega-cta:hover { gap: 8px; color: #1d4ed8; }

/* ─── Header Right Buttons ───────────────────────────────────────────────── */
.erx-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    background: transparent;
    border: none;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.erx-icon-btn:hover {
    color: #0f172a;
    background: rgba(241,245,249,0.8);
}
.erx-nav-divider {
    width: 1px;
    height: 16px;
    background: #e2e8f0;
    margin: 0 8px;
}
.erx-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    color: #0f172a;
    border: none;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}
.erx-menu-btn:hover { background: #e2e8f0; }

/* Header CTA Button */
.erx-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--erx-dark);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.35s ease, box-shadow 0.35s ease;
}
.erx-header-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--erx-gradient);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.erx-header-cta svg {
    transition: transform 0.35s ease;
}
.erx-header-cta:hover {
    color: #fff;
    box-shadow: 0 4px 20px rgba(16, 99, 205, 0.35);
}
.erx-header-cta:hover::before {
    opacity: 1;
}
.erx-header-cta:hover svg {
    transform: translateX(3px);
}

/* Pulsing dot (demo: animate-pulse blue dot) */
.erx-pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--erx-blue);
    display: inline-block;
    animation: erxPulse 2s ease-in-out infinite;
}
@keyframes erxPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

/* "Let's Talk" bubble pulse */
.erx-hero-pulse { animation: erxBadgePulse 3s ease-in-out infinite; }
@keyframes erxBadgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Spinning star decoration */
.erx-star-spin { animation: erxStarSpin 20s linear infinite; }
@keyframes erxStarSpin {
    to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════════════════════
   BENTO GRID — Services Capability Grid (clean rewrite)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── Top area: main card (left) + service rows (right) ──────────────────── */
.erx-bento-top {
    display: grid;
    grid-template-columns: 4fr 8fr;
    gap: 16px;
    margin-bottom: 16px;
}
.erx-bento-main-col {
    display: contents;
}
.erx-bento-services-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}
.erx-bento-svc-row {
    display: flex;
    gap: 16px;
    flex: 1;
    min-height: 240px;
}

/* ─── Bottom row: 06, 07, 08 ─────────────────────────────────────────────── */
.erx-bento-bottom {
    display: flex;
    gap: 16px;
    min-height: 220px;
}

/* ─── Card proportions ───────────────────────────────────────────────────── */
.erx-bento-c01 { flex: 3; }
.erx-bento-c02 { flex: 3; }
.erx-bento-c03 { flex: 2; }
.erx-bento-c04 { flex: 1; }
.erx-bento-c05 { flex: 1; }
.erx-bento-c06 { flex: 3; }
.erx-bento-c07 { flex: 4; }
.erx-bento-c08 { flex: 5; }

/* ─── Main hero card ─────────────────────────────────────────────────────── */
.erx-bento-main {
    background: #0b1121;
    border-radius: 20px;
    padding: 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-sizing: border-box;
    margin-bottom: -40px;
}

/* animated background */
.erx-bento-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.erx-bento-circle {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(0,180,235,0.25);
    transform: translate(-50%, -50%);
}
.erx-bento-circle-1 { width: 260px; height: 260px; animation: bentoPulse 4s ease-in-out infinite; }
.erx-bento-circle-2 { width: 190px; height: 190px; border-style: dashed; border-color: rgba(0,180,235,0.15); animation: bentoSpin 20s linear infinite; }
.erx-bento-circle-3 { width: 120px; height: 120px; border-width: 2px; border-color: rgba(0,180,235,0.35); animation: bentoPulse 3s ease-in-out infinite 1s; }
.erx-bento-gridlines {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(6,182,212,0.07) 1px, transparent 1px),
                linear-gradient(90deg, rgba(6,182,212,0.07) 1px, transparent 1px);
    background-size: 20px 20px;
}
@keyframes bentoPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; }
    50%     { transform: translate(-50%,-50%) scale(1.06); opacity: 0.8; }
}
@keyframes bentoSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }

/* ─── Service cards — shared base ───────────────────────────────────────── */
.erx-bento-card {
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    min-height: 240px;
    transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}
.erx-bento-card:hover { transform: translateY(-8px) scale(1.02); z-index: 2; }

.erx-bento-light {
    background: #fff;
    border: 1px solid #E2E8F0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.erx-bento-light:hover {
    box-shadow: 0 20px 40px rgba(0,86,210,0.14), 0 0 0 1px var(--erx-blue);
    border-color: var(--erx-blue);
}
.erx-bento-dark { color: #fff; }
.erx-bento-dark:hover {
    box-shadow: 0 20px 40px rgba(0,180,255,0.18), 0 0 0 1px var(--erx-cyan);
}
.erx-bento-accent {
    background: linear-gradient(135deg, #0056d2 0%, #1e3a5f 100%);
    color: #fff;
}
.erx-bento-accent-glow {
    position: absolute; top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(96,165,250,0.18);
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
}
.erx-bento-accent:hover { box-shadow: 0 20px 40px rgba(0,86,210,0.35); filter: brightness(1.08); }

/* ─── Illustration area ──────────────────────────────────────────────────── */
.erx-bento-illust {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
    min-height: 90px;
    position: relative;
    opacity: 0.72;
    transition: opacity 0.3s, transform 0.3s;
}
.erx-bento-card:hover .erx-bento-illust { opacity: 1; transform: scale(1.06); }

/* ─── Pillar number ──────────────────────────────────────────────────────── */
.erx-num {
    display: block;
    font-size: 11px !important;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* ─── Card 01: Funnel + falling dots ─────────────────────────────────────── */
.erx-dot {
    position: absolute;
    width: 7px; height: 7px;
    border-radius: 50%;
    animation: bentoDotFall 2.2s ease-in infinite;
}
.erx-dot-a { background: var(--erx-cyan); animation-delay: 0s;   left: calc(50% - 4px); }
.erx-dot-b { background: var(--erx-blue); animation-delay: 0.7s; left: calc(50% - 14px); }
.erx-dot-c { background: #818CF8;         animation-delay: 1.4s; left: calc(50% + 6px); }
@keyframes bentoDotFall {
    0%   { top: 4px;  opacity: 0; }
    25%  { opacity: 1; }
    100% { top: 72px; opacity: 0; transform: scale(0.4); }
}

/* ─── Card 02: Float + ping row ──────────────────────────────────────────── */
.erx-float { animation: bentoFloat 4s ease-in-out infinite; }
.erx-pulse { animation: bentoPulseIcon 2s ease-in-out infinite; }
.erx-ping-row { display: flex; gap: 5px; align-items: center; }
.erx-ping-row span {
    width: 5px; height: 5px;
    background: var(--erx-cyan);
    border-radius: 50%;
    animation: bentoPingDot 1.6s ease-in-out infinite;
}
.erx-ping-row span:nth-child(2) { animation-delay: 0.2s; }
.erx-ping-row span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bentoFloat     { 0%,100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
@keyframes bentoPulseIcon { 0%,100% { transform: scale(1); }        50% { transform: scale(1.12); } }
@keyframes bentoPingDot   { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.2; transform: scale(1.5); } }

/* ─── Card 03: Scan line ─────────────────────────────────────────────────── */
.erx-scan {
    position: absolute;
    width: 56px; height: 2px;
    background: var(--erx-cyan);
    box-shadow: 0 0 8px rgba(0,180,235,0.8);
    animation: bentoScanLine 2s linear infinite;
}
@keyframes bentoScanLine {
    0%   { top: calc(50% - 24px); opacity: 0; }
    20%  { opacity: 1; }
    80%  { opacity: 1; }
    100% { top: calc(50% + 24px); opacity: 0; }
}

/* ─── Card 04: Spinning gears ───────────────────────────────────────────── */
.erx-gears-row { flex-direction: row; }
.erx-gear-a { animation: bentoGear 4s linear infinite; }
.erx-gear-b { animation: bentoGear 6s linear infinite reverse; }
.erx-gear-c { animation: bentoGear 3s linear infinite; }
@keyframes bentoGear { to { transform: rotate(360deg); } }
.erx-gear-line {
    width: 28px; height: 2px;
    background: #E2E8F0;
    align-self: center;
    position: relative; overflow: hidden; flex-shrink: 0;
}
.erx-gear-line::after {
    content: '';
    position: absolute; top: 0; left: -14px;
    width: 14px; height: 100%;
    background: var(--erx-cyan);
    animation: bentoGearPulse 1.4s linear infinite;
}
@keyframes bentoGearPulse { to { left: 28px; } }

/* ─── Card 05: Isometric blocks ─────────────────────────────────────────── */
.erx-iso {
    width: 44px; height: 44px;
    border: 1px solid rgba(147,197,253,0.5);
    border-radius: 4px;
    position: absolute;
    transform: rotate(45deg) skewX(10deg) skewY(10deg);
}
.erx-iso-a { background: rgba(96,165,250,0.4);  top: 6px;  left: calc(50% - 36px); animation: bentoIso 3.2s ease-in-out infinite; }
.erx-iso-b { background: rgba(34,211,238,0.4);  top: 22px; left: calc(50% - 18px); animation: bentoIso 3.2s ease-in-out infinite 1.1s; backdrop-filter: blur(2px); }
.erx-iso-c { background: rgba(168,85,247,0.4);  top: 38px; left: 50%;              animation: bentoIso 3.2s ease-in-out infinite 2.1s; backdrop-filter: blur(2px); }
@keyframes bentoIso {
    0%,100% { transform: rotate(45deg) skewX(10deg) skewY(10deg) translateY(-5px); }
    50%     { transform: rotate(45deg) skewX(10deg) skewY(10deg) translateY(5px); }
}

/* ─── Card 06: Mini dashboard + animated bars ───────────────────────────── */
.erx-dash {
    width: 138px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 8px;
}
.erx-dash-dots { display: flex; gap: 4px; margin-bottom: 8px; }
.erx-dash-dots span { width: 6px; height: 6px; border-radius: 50%; background: #CBD5E1; }
.erx-dash-row { display: flex; gap: 8px; margin-bottom: 8px; }
.erx-dash-cell { height: 28px; flex: 1; border-radius: 4px; animation: bentoDashBlink 2s ease-in-out infinite; }
.erx-dash-blue  { background: #DBEAFE; border: 1px solid #BFDBFE; }
.erx-dash-green { background: #D1FAE5; border: 1px solid #A7F3D0; animation-delay: 0.5s; }
@keyframes bentoDashBlink { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.erx-dash-bars {
    height: 44px;
    background: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 4px;
    display: flex;
    align-items: flex-end;
    padding: 4px;
    gap: 4px;
}
.erx-bar {
    flex: 1;
    background: var(--erx-blue);
    border-radius: 2px 2px 0 0;
    animation: bentoBarGrow 3s ease-in-out infinite var(--bar-delay, 0s);
}
@keyframes bentoBarGrow {
    0%,100% { height: var(--bar-h, 50%); }
    50%     { height: calc(100% - var(--bar-h, 50%)); }
}

/* ─── Card 07: Connected screens ────────────────────────────────────────── */
.erx-screens-row { flex-direction: row; }
.erx-screen {
    width: 46px; height: 60px;
    border: 1px solid rgba(0,180,235,0.4);
    border-radius: 6px;
    padding: 4px;
    display: flex; flex-direction: column; gap: 3px;
    position: relative; overflow: hidden;
}
.erx-screen-bar  { height: 14px; background: rgba(0,180,235,0.2); border-radius: 3px; }
.erx-screen-body { flex: 1; background: rgba(0,180,235,0.1); border-radius: 3px; }
.erx-screen::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(34,211,238,0.25), transparent);
    animation: bentoScanScreen 1.6s linear infinite;
}
.erx-screen:nth-child(3)::after { animation-delay: 0.4s; }
.erx-screen:nth-child(5)::after { animation-delay: 0.8s; }
@keyframes bentoScanScreen { 0% { transform: translateY(-100%); } 100% { transform: translateY(200%); } }
.erx-screen-conn {
    width: 28px; height: 1px;
    background: rgba(0,180,235,0.2);
    align-self: center;
    position: relative; overflow: hidden;
}
.erx-screen-conn::after {
    content: '';
    position: absolute; top: 0; left: -8px;
    width: 8px; height: 100%;
    background: var(--erx-cyan);
    box-shadow: 0 0 5px rgba(34,211,238,0.8);
    animation: bentoConnPulse 1s linear infinite;
}
@keyframes bentoConnPulse { to { left: 28px; } }

/* ─── Card 08: Comparison ───────────────────────────────────────────────── */
.erx-compare-row { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.erx-compare-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 12px;
}
.erx-compare-item--old { border: 1px solid #E2E8F0; background: #F8FAFF; }
.erx-compare-item--new {
    border: 1px solid rgba(191,219,254,0.5);
    background: #EFF6FF;
    box-shadow: 0 0 16px rgba(59,130,246,0.1);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .erx-bento-top { grid-template-columns: 1fr; }
    .erx-bento-main { min-height: 280px; margin-bottom: 0; }
    .erx-bento-svc-row { flex-wrap: wrap; }
    .erx-bento-c01, .erx-bento-c02, .erx-bento-c03,
    .erx-bento-c04, .erx-bento-c05 { flex: 1 1 calc(50% - 8px); min-height: 200px; }
    .erx-bento-bottom { flex-wrap: wrap; }
    .erx-bento-c06, .erx-bento-c07 { flex: 1 1 calc(50% - 8px); }
    .erx-bento-c08 { flex: 1 1 100%; }
}
@media (max-width: 575.98px) {
    .erx-bento-top, .erx-bento-bottom, .erx-bento-svc-row { gap: 12px; }
    .erx-bento-c01, .erx-bento-c02, .erx-bento-c03,
    .erx-bento-c04, .erx-bento-c05,
    .erx-bento-c06, .erx-bento-c07, .erx-bento-c08 { flex: 1 1 100%; min-height: 200px; }
    .erx-bento-main { min-height: 260px; margin-bottom: 0; }
}

/* ─── FOOTER — bg + "Let's Engineer Your Growth" text sizing ─────────────── */
.at-footer-area.mp-footer-style {
    background: #f8fafc url('../../assets/imgs/evolvrx/footer-bg.webp') center/cover no-repeat !important;
    box-shadow: 0 -4px 40px rgba(0,0,0,.08), 0 -1px 0 rgba(0,0,0,.04);
}
.at-footer-area .footer-2-connect-title {
    font-size: clamp(3rem, 8vw, 120px);
    letter-spacing: -3px;
    line-height: 1.05;
}

/* =============================================================================
   GROWTH ENGINE SECTION
   ============================================================================= */
.erx-growth-engine {
    position: relative;
    padding: 100px 0 120px;
    background: #f8fafc;
    overflow: hidden;
}
.erx-ge-grid-bg {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: .5;
    pointer-events: none;
}
.erx-ge-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px; height: 500px;
    background: rgba(59,130,246,.1);
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
/* Header */
.erx-ge-header { margin-bottom: 60px; }

/* Cards */
.erx-ge-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255,255,255,.5);
    backdrop-filter: blur(8px);
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(226,232,240,.5);
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    transition: box-shadow .3s;
    height: 100%;
}
.erx-ge-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.erx-ge-card-icon {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: #fff;
    border: 2px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    margin-bottom: 28px;
    color: #2563eb;
}
.erx-ge-phase {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 10px;
}
.erx-ge-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}
.erx-ge-card-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.erx-ge-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
}
.erx-ge-tags span {
    padding: 5px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}

/* Visual Cards inside GE cards */
.erx-ge-visual {
    width: 100%;
    height: 180px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    display: flex;
    align-items: flex-end;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    margin-bottom: 28px;
}
.erx-ge-visual-label {
    position: absolute;
    top: 14px; left: 16px;
    font-size: 10px;
    font-family: monospace;
    text-transform: uppercase;
    color: #94a3b8;
}

/* Bar chart visual */
.erx-ge-bars {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    width: 100%;
    height: 100%;
    padding-top: 30px;
}
.erx-ge-bar {
    flex: 1;
    background: linear-gradient(to top, #3b82f6, #22d3ee);
    border-radius: 6px 6px 0 0;
    opacity: .9;
    height: 0;
    animation: erx-bar-grow .7s ease-out forwards;
}
.erx-ge-bar:nth-child(1) { animation-delay: .0s; --bar-target: var(--bar-h); }
.erx-ge-bar:nth-child(2) { animation-delay: .1s; }
.erx-ge-bar:nth-child(3) { animation-delay: .2s; }
.erx-ge-bar:nth-child(4) { animation-delay: .3s; }
.erx-ge-bar:nth-child(5) { animation-delay: .4s; }
.erx-ge-bar:nth-child(6) { animation-delay: .5s; }
.erx-ge-bar:nth-child(7) { animation-delay: .6s; }
@keyframes erx-bar-grow {
    to { height: var(--bar-h); }
}

/* Orbit visual */
.erx-ge-orbit {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.erx-ge-orbit-center {
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 24px rgba(59,130,246,.3);
    z-index: 2;
    position: relative;
}
.erx-ge-orbit-center::after {
    content: '';
    position: absolute; inset: -6px;
    border: 2px solid rgba(59,130,246,.4);
    border-radius: 50%;
    animation: erx-pulse 2s infinite;
}
@keyframes erx-pulse {
    0%,100% { transform: scale(1); opacity: .5; }
    50% { transform: scale(1.4); opacity: 0; }
}
.erx-ge-orbit-icon {
    position: absolute;
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--oi-bg);
    border: 1px solid var(--oi-border);
    color: var(--oi-color);
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.erx-ge-oi-1 { top: 8px; right: 20px; animation: erx-float1 4s ease-in-out infinite; }
.erx-ge-oi-2 { bottom: 8px; left: 16px; animation: erx-float2 3.5s ease-in-out .5s infinite; }
.erx-ge-oi-3 { bottom: 6px; right: 30px; animation: erx-float1 4.5s ease-in-out 1s infinite; }
.erx-ge-oi-4 { top: 12px; left: 24px; animation: erx-float2 4s ease-in-out 1.5s infinite; }
@keyframes erx-float1 {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(8px,-8px); }
}
@keyframes erx-float2 {
    0%,100% { transform: translate(0,0); }
    50% { transform: translate(-8px,8px); }
}

/* A/B visual */
.erx-ge-ab {
    display: flex;
    gap: 14px;
    width: 100%; height: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}
.erx-ge-ab-card {
    width: 48%;
    height: 90%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: transform .25s, box-shadow .25s;
}
.erx-ge-ab-card:hover { transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,.08); }
.erx-ge-ab-a { background: #f8fafc; border: 1px solid #e2e8f0; }
.erx-ge-ab-b { background: #eff6ff; border: 1px solid #bfdbfe; box-shadow: 0 1px 4px rgba(0,0,0,.04); }
.erx-ge-ab-letter { font-size: 30px; font-weight: 900; }
.erx-ge-ab-a .erx-ge-ab-letter { color: #94a3b8; }
.erx-ge-ab-b .erx-ge-ab-letter { color: #2563eb; }
.erx-ge-ab-cr { font-size: 12px; font-family: monospace; color: #64748b; }
.erx-ge-ab-win { color: #059669 !important; font-weight: 700; }

/* Automation flow visual */
.erx-ge-auto-flow {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
    justify-content: center;
    padding-top: 20px;
}
.erx-ge-auto-node {
    width: 48px; height: 48px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    animation: erx-bob 2s ease-in-out infinite;
}
.erx-ge-auto-node-blue { background: #dbeafe; border: 1px solid #bfdbfe; color: #2563eb; }
.erx-ge-auto-node-green { background: #d1fae5; border: 1px solid #a7f3d0; color: #059669; animation-delay: .2s; }
.erx-ge-auto-connector {
    width: 48px; height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.erx-ge-auto-pulse {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    animation: erx-slide 1.5s linear infinite;
}
@keyframes erx-bob {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes erx-slide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* =============================================================================
   EVENT HORIZON MARQUEE — Perspective Floor Crawl
   ============================================================================= */
.erx-horizon-section {
    position: relative;
    background: transparent;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    margin-top: -160px;
    z-index: 1;
}
.erx-horizon-viewport {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    perspective: 1000px;
}
.erx-horizon-floor {
    position: absolute;
    bottom: -50%;
    width: 300%;
    left: -100%;
    height: 200%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 24px;
    padding-bottom: 80px;
    transform: rotateX(60deg);
    transform-origin: bottom center;
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
    mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 100%);
}
.erx-horizon-row {
    display: flex;
    width: max-content;
    white-space: nowrap;
}
.erx-horizon-row span {
    flex-shrink: 0;
    margin: 0 32px;
    font-size: clamp(48px, 8vw, 96px);
    font-weight: 900;
    color: rgba(37, 99, 235, 0.75);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.erx-horizon-left {
    animation: erx-horizon-scroll-left var(--row-speed, 20s) linear infinite;
}
.erx-horizon-right {
    animation: erx-horizon-scroll-right var(--row-speed, 20s) linear infinite;
}
@keyframes erx-horizon-scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes erx-horizon-scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Responsive: reduce height on mobile */
@media (max-width: 768px) {
    .erx-horizon-viewport { height: 350px; }
    .erx-horizon-row span { margin: 0 16px; }
}

/* =============================================================================
   TECH STACK MARQUEE
   ============================================================================= */
.erx-marquee-section {
    position: relative;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    padding: 40px 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.erx-marquee-fade {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 10%, transparent 90%, #fff 100%);
    z-index: 2;
    pointer-events: none;
}
.erx-marquee-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 28px;
    text-align: center;
}
.erx-marquee-track {
    width: 100%;
    overflow: hidden;
}
.erx-marquee-inner {
    display: flex;
    width: max-content;
    animation: erx-scroll 30s linear infinite;
}
.erx-marquee-inner span {
    flex-shrink: 0;
    padding: 0 40px;
    font-size: 20px;
    font-weight: 700;
    color: #94a3b8;
    cursor: default;
    transition: color .3s;
    white-space: nowrap;
}
.erx-marquee-inner span:hover { color: #2563eb; }
@keyframes erx-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================================================
   THE PROOF — ENGINEERED RESULTS
   ============================================================================= */
.erx-proof-section {
    position: relative;
    padding: 120px 0;
    background: #fff;
    overflow: hidden;
}
.erx-proof-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}
.erx-proof-glow-r { top: -10%; right: -5%; background: rgba(219,234,254,.5); }
.erx-proof-glow-l { bottom: -10%; left: -5%; background: rgba(207,250,254,.5); }

/* Header */
.erx-proof-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 60px;
}
.erx-proof-subtitle {
    max-width: 420px;
    color: #64748b;
    font-size: 17px;
    line-height: 1.6;
}

/* Accordion */
.erx-proof-accordion {
    display: flex;
    gap: 16px;
    height: 600px;
}
.erx-proof-card {
    position: relative;
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
    transition: flex .5s cubic-bezier(.25,1,.5,1);
}
.erx-proof-card.active { flex: 3; }
.erx-proof-card-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .7s ease-out;
}
.erx-proof-card:not(.active) .erx-proof-card-img { transform: scale(1.1); }
.erx-proof-card-overlay {
    position: absolute; inset: 0;
    transition: background .5s;
}
.erx-proof-card:not(.active) .erx-proof-card-overlay {
    background: linear-gradient(to top, rgba(2,6,18,.85) 0%, rgba(15,23,42,.5) 50%, rgba(15,23,42,.3) 100%);
}
.erx-proof-card.active .erx-proof-card-overlay {
    background: linear-gradient(to top, rgba(2,6,18,.95) 0%, rgba(10,20,50,.85) 40%, rgba(15,23,42,.4) 70%, transparent 100%);
}
.erx-proof-card-content {
    position: absolute; inset: 0;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
/* Vertical title when collapsed */
.erx-proof-card-client-v {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .05em;
    white-space: nowrap;
    transition: opacity .3s;
    margin: 0;
}
.erx-proof-card.active .erx-proof-card-client-v { opacity: 0; pointer-events: none; }
/* Expanded content */
.erx-proof-card-expanded {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .4s .1s, transform .4s .1s;
    max-width: 600px;
}
.erx-proof-card.active .erx-proof-card-expanded {
    opacity: 1;
    transform: translateY(0);
}
.erx-proof-card-cat {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #22d3ee;
    margin-bottom: 8px;
}
.erx-proof-card-client {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}
.erx-proof-card-desc {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 28px;
}
.erx-proof-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 28px;
}
.erx-proof-metric {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(12px);
    padding: 12px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
}
.erx-proof-metric-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(59,130,246,.2);
    display: flex; align-items: center; justify-content: center;
    color: #60a5fa;
}
.erx-proof-metric-val {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.erx-proof-metric-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #94a3b8;
    font-weight: 500;
}
.erx-proof-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #0f172a;
    padding: 12px 24px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.erx-proof-cta:hover {
    background: #eff6ff;
    color: #0f172a;
}
.erx-proof-cta svg { transition: transform .2s; }
.erx-proof-cta:hover svg { transform: translate(2px,-2px); }

/* Mobile: stack accordion vertically */
@media (max-width: 767.98px) {
    .erx-proof-accordion {
        flex-direction: column;
        height: auto;
    }
    .erx-proof-card { min-height: 120px; }
    .erx-proof-card.active { min-height: 480px; }
    .erx-proof-card-client-v {
        bottom: auto; top: 50%; left: 50%;
        transform: translate(-50%, -50%);
        writing-mode: horizontal-tb;
    }
    .erx-proof-header { flex-direction: column; align-items: flex-start; margin-bottom: 24px; }
    .erx-proof-subtitle { max-width: 100%; font-size: 16px; }
    /* Growth Engine visual tweaks */
    .erx-ge-visual { height: 160px; }
}

/* Footer text color fix for light bg */
.at-footer-area.mp-footer-style,
.at-footer-area.mp-footer-style h2,
.at-footer-area.mp-footer-style h3,
.at-footer-area.mp-footer-style h4,
.at-footer-area.mp-footer-style h5,
.at-footer-area.mp-footer-style p,
.at-footer-area.mp-footer-style a,
.at-footer-area.mp-footer-style span,
.at-footer-area.mp-footer-style li {
    color: #0f172a !important;
}
.at-footer-area.mp-footer-style a:hover {
    color: var(--erx-blue) !important;
}
.at-footer-area.mp-footer-style .at-hero-social a {
    color: #475569 !important;
}
.at-footer-area.mp-footer-style .at-hero-social a:hover {
    color: var(--erx-blue) !important;
}
.at-footer-area.mp-footer-style .opacity-50 {
    color: #64748b !important;
}
/* =============================================================================
   HEADING ACCENT — blue highlight for specific words
   ============================================================================= */
.erx-accent {
    color: var(--erx-blue) !important;
}

/* =============================================================================
   CTA — FREE STRATEGY SESSION
   ============================================================================= */
.erx-cta-section {
    position: relative;
    padding: 80px 0 100px;
    overflow: hidden;
}
.erx-cta-video {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 260px;
    object-fit: cover;
}
.erx-cta-video-fade {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 260px;
    background: linear-gradient(to bottom, transparent 0%, #F8FAFC 90%);
    z-index: 1;
}

/* Main card */
.erx-cta-card {
    position: relative; z-index: 2;
    background: #fff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 40px rgba(0,0,0,.06);
    padding: 48px 44px;
    margin-top: 100px;
}

/* Badge */
.erx-cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    background: #dbeafe;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

/* Heading */
.erx-cta-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 16px;
}

/* Description */
.erx-cta-desc {
    color: #64748b;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 460px;
}

/* Checklist */
.erx-cta-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.erx-cta-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 500;
}

/* Booking card (right) */
.erx-cta-booking {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 32px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.erx-cta-booking-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    margin-bottom: 28px;
}
.erx-cta-booking-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: var(--erx-blue);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(16,99,205,.3);
}
.erx-cta-booking-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}
.erx-cta-booking-meta {
    display: flex;
    gap: 14px;
    color: #64748b;
    font-size: 13px;
}
.erx-cta-booking-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* CTA Button */
.erx-cta-booking-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    background: var(--erx-blue);
    color: #fff !important;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(16,99,205,.3);
}
.erx-cta-booking-btn:hover {
    background: var(--erx-cyan);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,180,235,.3);
}

.erx-cta-booking-note {
    color: #94a3b8;
    font-size: 12px;
    margin: 16px 0 0;
}

@media (max-width: 767.98px) {
    .erx-cta-card { padding: 28px 20px; margin-top: 60px; border-radius: 14px; }
    .erx-cta-booking { margin-top: 32px; height: auto; }
}

/* Footer "Let's Engineer Your Growth" heading */
.erx-footer-heading {
    color: #0f172a !important;
    transition: color .3s;
}
.erx-footer-heading:hover {
    color: var(--erx-blue) !important;
}
.erx-footer-heading-accent {
    color: var(--erx-blue) !important;
}

/* =============================================================================
   TESTIMONIALS — GLASSMORPHISM on brand dark (not black)
   ============================================================================= */
.erx-testimonials-glass {
    background: #0b3d91 !important;  /* rich brand blue */
}
/* Glass cards */
.erx-testimonials-glass .testimonial-cart-wrap {
    background: rgba(255,255,255,.06) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.1) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.06);
}
.erx-testimonials-glass .testimonial-cart-wrap:hover {
    background: rgba(255,255,255,.1) !important;
    border-color: rgba(16,99,205,.3) !important;
}
/* Kill the orange glow from base theme — all states */
.erx-testimonials-glass .testimonial-cart-wrap .rectangular,
.erx-testimonials-glass .testimonial-cart-wrap .rectangular::after,
.erx-testimonials-glass .swiper-slide-active .testimonial-cart-wrap .rectangular,
.erx-testimonials-glass .swiper-slide-active .testimonial-cart-wrap .rectangular::after,
.erx-testimonials-glass .testimonial-cart-wrap:hover .rectangular,
.erx-testimonials-glass .testimonial-cart-wrap:hover .rectangular::after {
    background: transparent !important;
    border-color: transparent !important;
    filter: none !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}
/* Override the author underline from orange to brand blue */
.erx-testimonials-glass .testimonial-cart-wrap:hover .testimonial-content-author::before {
    background: var(--erx-blue) !important;
}

/* =============================================================================
   SERVICES TEXT MARQUEE — BG FIX
   ============================================================================= */
.at-brand-area {
    background: #F8FAFC;
}

/* =============================================================================
   CORE CAPABILITIES STACKING CARDS — pastel tints on #F8FAFC bg
   ============================================================================= */
.sec-4-home-3 .scroll-section .list > .item:nth-child(1) .bg-neutral-50 {
    background-color: #EFF6FF !important;  /* soft blue */
    box-shadow: 0 2px 16px rgba(16,99,205,.08);
    border: 1px solid rgba(16,99,205,.1);
}
.sec-4-home-3 .scroll-section .list > .item:nth-child(2) .bg-neutral-50 {
    background-color: #ECFDF5 !important;  /* soft mint */
    box-shadow: 0 2px 16px rgba(0,180,135,.08);
    border: 1px solid rgba(0,180,135,.1);
}
.sec-4-home-3 .scroll-section .list > .item:nth-child(3) .bg-neutral-50 {
    background-color: #F0F9FF !important;  /* soft cyan */
    box-shadow: 0 2px 16px rgba(0,180,235,.08);
    border: 1px solid rgba(0,180,235,.1);
}
.sec-4-home-3 .scroll-section .list > .item:nth-child(4) .bg-neutral-50 {
    background-color: #FDF4FF !important;  /* soft lavender */
    box-shadow: 0 2px 16px rgba(168,85,247,.08);
    border: 1px solid rgba(168,85,247,.1);
}
.sec-4-home-3 .scroll-section .list > .item:nth-child(5) .bg-neutral-50 {
    background-color: #FFF7ED !important;  /* soft amber */
    box-shadow: 0 2px 16px rgba(245,158,11,.08);
    border: 1px solid rgba(245,158,11,.1);
}
.sec-4-home-3 .scroll-section .list > .item:nth-child(6) .bg-neutral-50 {
    background-color: #EFF6FF !important;  /* soft blue (repeat) */
    box-shadow: 0 2px 16px rgba(16,99,205,.08);
    border: 1px solid rgba(16,99,205,.1);
}

/* =============================================================================
   FAQ SECTION — BG FIX
   ============================================================================= */
.alt-faq-area {
    background: #F8FAFC;
}
.at-faq-item {
    background: #ffffff !important;
    border: 1px solid rgba(0,0,0,.04);
}

/* =============================================================================
   STATS BAR (at-sec8) — BG FIX
   ============================================================================= */
.at-sec8-area.bg-neutral-50 {
    background-color: #F8FAFC !important;
}

/* =============================================================================
   ABOUT PAGE — HERO (Dark, matches home hero language)
   ============================================================================= */
.erx-about-hero {
    position: relative;
    padding: 180px 0 80px;
    background: #F8FAFC;
    overflow: hidden;
}
.erx-about-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.erx-about-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(16,99,205,.08);
    border: 1px solid rgba(16,99,205,.18);
    color: var(--erx-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.erx-about-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 20px;
}
.erx-about-hero-sub {
    font-size: 18px;
    color: #64748b;
    line-height: 1.7;
    max-width: 540px;
}

@media (max-width: 991.98px) {
    .erx-about-hero { padding: 140px 0 60px; }
    .erx-about-hero-title { margin-bottom: 24px; }
}
@media (max-width: 767.98px) {
    .erx-about-hero { padding: 120px 0 40px; }
    .erx-about-hero-sub { font-size: 16px; }
}

/* =============================================================================
   ABOUT PAGE — TEAM CARDS
   ============================================================================= */
/* =============================================================================
   ABOUT — PROCESS CARDS (unique visual per card)
   ============================================================================= */
.erx-process-section {
    background: #fff;
}
.erx-proc-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 0 24px 28px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform .35s, box-shadow .35s;
    overflow: hidden;
}
.erx-proc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(16,99,205,.12);
}
.erx-proc-phase {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--erx-blue);
    margin-bottom: 10px;
}
.erx-proc-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}
.erx-proc-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}
.erx-proc-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    margin-top: auto;
}
.erx-proc-tags span {
    padding: 4px 12px;
    border-radius: 8px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    font-size: 11px;
    font-weight: 500;
    color: #64748b;
}

/* Shared visual container */
.erx-proc-visual {
    width: calc(100% + 48px);
    margin-left: -24px;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

/* ── VISUAL 1: Radar Scan (Discovery) ── */
.erx-proc-v-scan {
    background: radial-gradient(circle at center, rgba(16,99,205,.03) 0%, #f8fafc 70%);
}
.erx-scan-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(16,99,205,.12);
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
}
.erx-scan-ring-1 { width: 140px; height: 140px; }
.erx-scan-ring-2 { width: 100px; height: 100px; border-color: rgba(16,99,205,.18); }
.erx-scan-ring-3 { width: 60px; height: 60px; border-color: rgba(16,99,205,.25); }
.erx-scan-sweep {
    position: absolute;
    top: 50%; left: 50%;
    width: 70px; height: 70px;
    transform-origin: 0 0;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(16,99,205,.15) 60deg, transparent 60deg);
    animation: erxScanSweep 3s linear infinite;
}
.erx-scan-dot {
    position: absolute;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--erx-blue);
    animation: erxScanPing 3s ease-in-out infinite;
}
.erx-scan-dot-1 { top: 25%; left: 62%; animation-delay: 0s; }
.erx-scan-dot-2 { top: 58%; left: 30%; animation-delay: 1s; }
.erx-scan-dot-3 { top: 35%; left: 72%; animation-delay: 2s; width: 6px; height: 6px; background: var(--erx-cyan); }
.erx-scan-center {
    position: relative;
    z-index: 2;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(16,99,205,.2);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 12px rgba(16,99,205,.15);
}
@keyframes erxScanSweep { to { transform: rotate(360deg); } }
@keyframes erxScanPing {
    0%, 100% { opacity: .3; transform: scale(.8); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* ── VISUAL 2: Roadmap Path (Strategy) ── */
.erx-proc-v-roadmap { background: #f8fafc; }
.erx-road-path {
    position: relative;
    width: 100%;
    height: 100%;
}
.erx-road-path svg {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
}
.erx-road-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation: erxRoadDraw 2.5s ease-out forwards;
}
.erx-road-line-bg { opacity: 1; }
.erx-road-node {
    position: absolute;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--erx-blue);
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 700; color: var(--erx-blue);
    box-shadow: 0 2px 8px rgba(16,99,205,.2);
    opacity: 0;
    animation: erxNodePop .4s ease-out forwards;
}
.erx-road-node span { position: relative; z-index: 1; }
.erx-road-node-1 { bottom: 22%; left: 12%; animation-delay: .8s; }
.erx-road-node-2 { top: 45%; left: 45%; animation-delay: 1.4s; }
.erx-road-node-3 { top: 22%; right: 25%; animation-delay: 2s; }
.erx-road-flag {
    position: absolute;
    top: 10%; right: 8%;
    opacity: 0;
    animation: erxFlagWave .5s ease-out 2.4s forwards;
}
@keyframes erxRoadDraw {
    to { stroke-dashoffset: 0; }
}
@keyframes erxNodePop {
    0% { opacity: 0; transform: scale(0); }
    70% { transform: scale(1.3); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes erxFlagWave {
    0% { opacity: 0; transform: translateY(8px) rotate(-15deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ── VISUAL 3: Pulse Grid (Implementation) ── */
.erx-proc-v-pulse {
    background: #f8fafc;
}
.erx-pulse-grid {
    display: grid;
    grid-template-columns: repeat(3, 36px);
    grid-template-rows: repeat(3, 36px);
    gap: 8px;
    position: relative;
}
.erx-pulse-cell {
    border-radius: 10px;
    background: rgba(16,99,205,.06);
    border: 1px solid rgba(16,99,205,.1);
    animation: erxCellPulse 2.4s ease-in-out infinite;
    animation-delay: var(--pc-delay);
}
.erx-pulse-cell:hover {
    background: var(--pc-color);
    border-color: var(--pc-color);
    box-shadow: 0 0 16px rgba(16,99,205,.3);
}
.erx-pulse-bolt {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 48px; height: 48px;
    background: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 20px rgba(16,99,205,.15);
    z-index: 2;
    animation: erxBoltPulse 2s ease-in-out infinite;
}
@keyframes erxCellPulse {
    0%, 100% { opacity: .4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); background: var(--pc-color); border-color: var(--pc-color); }
}
@keyframes erxBoltPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(16,99,205,.15); }
    50% { box-shadow: 0 4px 30px rgba(16,99,205,.35); }
}

/* ── VISUAL 4: Growth Chart (Performance) ── */
.erx-proc-v-chart {
    background: #f8fafc;
    padding: 20px;
    align-items: flex-end;
}
.erx-chart-svg {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    padding: 16px;
}
.erx-chart-line {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: erxChartDraw 2s ease-out forwards;
}
.erx-chart-area {
    opacity: 0;
    animation: erxChartFade .8s ease-out 1.8s forwards;
}
.erx-chart-dot {
    position: absolute;
    top: 14%; right: 16%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--erx-blue);
    box-shadow: 0 0 0 4px rgba(16,99,205,.2);
    opacity: 0;
    animation: erxDotAppear .4s ease-out 2s forwards;
}
.erx-chart-badge {
    position: absolute;
    top: 8%; right: 6%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: erxBadgePop .5s ease-out 2.2s forwards;
}
.erx-chart-badge-val {
    font-size: 18px;
    font-weight: 800;
    color: var(--erx-blue);
    line-height: 1;
}
.erx-chart-badge-label {
    font-size: 9px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .1em;
}
@keyframes erxChartDraw { to { stroke-dashoffset: 0; } }
@keyframes erxChartFade { to { opacity: 1; } }
@keyframes erxDotAppear {
    0% { opacity: 0; transform: scale(0); }
    100% { opacity: 1; transform: scale(1); }
}
@keyframes erxBadgePop {
    0% { opacity: 0; transform: translateY(10px) scale(.8); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* =============================================================================
   ABOUT PAGE — TEAM CARDS
   ============================================================================= */
/* 3D Flip Card Container */
.erx-flip-card {
    perspective: 800px;
    height: 280px;
    cursor: pointer;
}
.erx-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform .7s cubic-bezier(.4,.2,.2,1);
    transform-style: preserve-3d;
}
.erx-flip-card:hover .erx-flip-inner {
    transform: rotateY(180deg);
}

/* Front & Back shared */
.erx-flip-front,
.erx-flip-back {
    position: absolute;
    inset: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 20px;
    text-align: center;
}

/* Front face */
.erx-flip-front {
    background: #fff;
    border: 1px solid rgba(16,99,205,.1);
    box-shadow: 0 2px 12px rgba(16,99,205,.06);
}
.erx-flip-hint {
    font-size: 11px;
    color: var(--erx-muted);
    margin-top: auto;
    letter-spacing: .05em;
    opacity: .6;
}

/* Back face */
.erx-flip-back {
    background: linear-gradient(135deg, var(--erx-blue) 0%, #0b3d91 100%);
    transform: rotateY(180deg);
    box-shadow: 0 8px 32px rgba(16,99,205,.3);
}
.erx-flip-back-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--erx-cyan);
    margin-bottom: 16px;
}
.erx-flip-back-name {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 2px;
}
.erx-flip-back-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--erx-cyan);
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 14px;
}
.erx-flip-back-desc {
    font-size: 14px;
    color: rgba(255,255,255,.75);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Avatar (shared with front) */
.erx-team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--erx-blue), var(--erx-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 16px rgba(16,99,205,.25);
}
.erx-team-avatar span {
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .05em;
}
.erx-team-name {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}
.erx-team-role {
    font-size: 14px;
    color: var(--erx-muted);
    margin-bottom: 0;
}

/* Mobile: tap instead of hover */
@media (max-width: 767.98px) {
    .erx-flip-card { height: 260px; }
    .erx-flip-back-desc { font-size: 13px; }
}

/* =============================================================================
   CONTACT PAGE
   ============================================================================= */

/* ─── CONTACT HERO — Light, centered, minimal ─────────────────────────────── */
.erx-contact-hero {
    position: relative;
    padding: 180px 0 60px;
    background: #F8FAFC;
    overflow: hidden;
}
.erx-contact-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.erx-contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 9999px;
    background: rgba(16, 99, 205, 0.06);
    border: 1px solid rgba(16, 99, 205, 0.12);
    color: var(--erx-blue);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.erx-contact-hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin-bottom: 20px;
}
.erx-contact-hero-sub {
    font-size: 17px;
    color: #64748B;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto;
}

/* ─── CONTACT FORM ─────────────────────────────────────────────────────────── */
.erx-contact-main {
    background: #fff;
}
.erx-contact-form-wrap {
    background: #F8FAFC;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 40px 36px;
}
.erx-contact-form-header {
    margin-bottom: 32px;
}
.erx-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Field wrapper */
.erx-field {
    position: relative;
}
.erx-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.erx-required {
    color: var(--erx-blue);
}
.erx-field input,
.erx-field select,
.erx-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #fff;
    font-size: 16px;
    color: #0f172a;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
    font-family: inherit;
}
.erx-field input::placeholder,
.erx-field textarea::placeholder {
    color: #94A3B8;
}
.erx-field select {
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2364748B' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

/* Animated underline on focus */
.erx-field-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--erx-gradient);
    border-radius: 2px;
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), left 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
.erx-field-focus .erx-field-line {
    width: 100%;
    left: 0;
}
.erx-field-focus input,
.erx-field-focus select,
.erx-field-focus textarea {
    border-color: var(--erx-blue);
    box-shadow: 0 0 0 3px rgba(16, 99, 205, 0.08);
}
.erx-field-filled label {
    color: var(--erx-blue);
}

/* ─── CHIP GRID (services multi-select) ────────────────────────────────────── */
.erx-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.erx-chip {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    margin: 0;
}
.erx-chip input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
    pointer-events: none;
}
.erx-chip-label {
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    background: #fff;
    font-size: 14px;
    font-weight: 500;
    color: #475569;
    transition: all 0.25s ease;
    user-select: none;
}
.erx-chip input:checked + .erx-chip-label {
    background: var(--erx-blue);
    border-color: var(--erx-blue);
    color: #fff;
    box-shadow: 0 2px 10px rgba(16, 99, 205, 0.25);
    transform: scale(1.03);
}
.erx-chip:hover .erx-chip-label {
    border-color: var(--erx-blue);
    color: var(--erx-blue);
}
.erx-chip input:checked + .erx-chip-label:hover {
    color: #fff;
}
/* Ripple on chip click */
.erx-chip-ripple {
    position: absolute;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(16, 99, 205, 0.15);
    transform: translate(-50%, -50%) scale(0);
    animation: erxChipRipple 0.5s ease-out forwards;
    pointer-events: none;
}
@keyframes erxChipRipple {
    to { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* ─── CHECKBOX ─────────────────────────────────────────────────────────────── */
.erx-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #64748B;
}
.erx-checkbox-wrap input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.erx-checkmark {
    width: 20px; height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.25s ease;
    margin-top: 1px;
}
.erx-checkbox-wrap input:checked + .erx-checkmark {
    background: var(--erx-blue);
    border-color: var(--erx-blue);
}
.erx-checkbox-wrap input:checked + .erx-checkmark::after {
    content: '';
    position: absolute;
    left: 5px; top: 1px;
    width: 6px; height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.erx-checkbox-text a {
    color: var(--erx-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ─── SUBMIT BUTTON ────────────────────────────────────────────────────────── */
.erx-form-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.erx-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    background: var(--erx-blue);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(16, 99, 205, 0.3);
    position: relative;
    overflow: hidden;
    align-self: flex-start;
}
.erx-submit-btn:hover {
    background: var(--erx-cyan);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 180, 235, 0.3);
}
.erx-submit-btn:hover .erx-submit-icon svg {
    transform: translateX(4px);
}
.erx-submit-icon svg {
    transition: transform 0.3s ease;
}
.erx-submit-sending svg {
    animation: erxSpinSubmit 0.8s linear infinite;
}
@keyframes erxSpinSubmit {
    to { transform: rotate(360deg); }
}
.erx-submit-btn.erx-sent {
    background: #10B981;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}

/* ─── CONTACT CARDS (right sidebar) ────────────────────────────────────────── */
.erx-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 120px;
}
.erx-contact-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 28px 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.erx-contact-card:hover {
    border-color: var(--erx-blue);
    box-shadow: 0 8px 32px rgba(16, 99, 205, 0.08);
    transform: translateY(-3px);
}

/* Mouse-tracking glow */
.erx-contact-card-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 99, 205, 0.08) 0%, transparent 70%);
    pointer-events: none;
    top: var(--glow-y, 50%);
    left: var(--glow-x, 50%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
}
.erx-contact-card:hover .erx-contact-card-glow {
    opacity: 1;
}

.erx-contact-card-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: rgba(16, 99, 205, 0.06);
    border: 1px solid rgba(16, 99, 205, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--erx-blue);
    transition: background 0.3s, color 0.3s;
}
.erx-contact-card:hover .erx-contact-card-icon {
    background: var(--erx-blue);
    color: #fff;
}
.erx-contact-card-body {
    flex: 1;
    min-width: 0;
}
.erx-contact-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 8px;
}
.erx-contact-card-primary {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
}
.erx-contact-card-meta {
    font-size: 14px;
    color: #94A3B8;
    margin: 0;
    line-height: 1.5;
}

/* ─── OFFICE HOURS BADGE ───────────────────────────────────────────────────── */
.erx-office-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    background: linear-gradient(135deg, rgba(16, 99, 205, 0.04) 0%, rgba(0, 180, 235, 0.04) 100%);
    border: 1px solid rgba(16, 99, 205, 0.1);
    border-radius: 12px;
    margin-top: 8px;
}
.erx-office-badge-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #10B981;
    flex-shrink: 0;
    animation: erxPulse 2s ease-in-out infinite;
}
.erx-office-badge-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748B;
    margin-bottom: 2px;
}
.erx-office-badge-time {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

/* ─── MAP SECTION ──────────────────────────────────────────────────────────── */
.erx-contact-map {
    padding: 0 0 100px;
    background: #fff;
}
.erx-map-wrap {
    background: #F8FAFC;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 36px 36px 8px;
    overflow: hidden;
}
.erx-map-header {
    margin-bottom: 28px;
}
.erx-map-frame {
    border-radius: 16px;
    overflow: hidden;
    margin: 0 -36px -8px;
}
.erx-map-frame iframe {
    display: block;
    width: 100%;
    min-height: 400px;
}

/* ─── CONTACT PAGE — RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .erx-contact-hero { padding: 140px 0 40px; }
    .erx-contact-sidebar { position: static; margin-top: 40px; }
    .erx-contact-form-wrap { padding: 28px 22px; }
}
@media (max-width: 767.98px) {
    .erx-contact-hero { padding: 120px 0 32px; }
    .erx-contact-hero-title { font-size: clamp(2rem, 8vw, 3rem); }
    .erx-map-wrap { padding: 20px 16px 4px; }
    .erx-map-frame { margin: 0 -16px -4px; }
    .erx-map-frame iframe { min-height: 280px; }
    .erx-contact-card { padding: 20px 18px; }
}
@media (max-width: 575.98px) {
    .erx-contact-form-wrap { padding: 22px 16px; border-radius: 14px; }
    .erx-chip-label { font-size: 13px; padding: 6px 12px; }
    .erx-submit-btn { width: 100%; }
}


/* =============================================================================
   DIGITAL MARKETING PAGE — Award-Level Redesign
   ============================================================================= */

/* ─── HERO: Floating Cards + Split Layout ──────────────────────────────── */
.erx-dm-hero {
    position: relative;
    background: #F8FAFC;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
}
.erx-dm-hero-bg { position: absolute; inset: 0; pointer-events: none; }
.erx-dm-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(128,128,128,.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(128,128,128,.03) 1px, transparent 1px);
    background-size: 24px 24px;
}
.erx-dm-hero-fade {
    position: absolute; top: 0; left: 0; right: 0; height: 500px;
    background: linear-gradient(to bottom, #fff, transparent);
    opacity: .8;
}
.erx-dm-hero-orb {
    position: absolute; border-radius: 50%; filter: blur(120px); pointer-events: none;
}
.erx-dm-hero-orb-1 {
    width: 600px; height: 600px;
    background: rgba(96,165,250,.15);
    top: 15%; right: 20%;
    animation: erxDmOrbPulse1 8s ease-in-out infinite;
}
.erx-dm-hero-orb-2 {
    width: 500px; height: 500px;
    background: rgba(6,182,212,.12);
    bottom: -5%; left: 20%;
    animation: erxDmOrbPulse2 10s ease-in-out infinite 1s;
}
@keyframes erxDmOrbPulse1 {
    0%, 100% { transform: scale(1); opacity: .15; }
    50% { transform: scale(1.2); opacity: .25; }
}
@keyframes erxDmOrbPulse2 {
    0%, 100% { transform: scale(1); opacity: .12; }
    50% { transform: scale(1.4); opacity: .22; }
}

.erx-dm-hero-row { min-height: auto; }

/* Left column */
.erx-dm-hero-left { max-width: 580px; }
.erx-dm-hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 18px; border-radius: 9999px;
    background: #fff; border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
    color: #475569; font-size: 12px; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    margin-bottom: 32px;
}
.erx-dm-hero-title {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800; letter-spacing: -.03em;
    line-height: 1.05; color: #0f172a;
    margin-bottom: 24px;
}
.erx-dm-hero-gradient {
    background: linear-gradient(135deg, var(--erx-blue), var(--erx-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.erx-dm-hero-sub {
    font-size: 18px; color: #64748B; line-height: 1.7;
    max-width: 520px; margin-bottom: 36px;
}
.erx-dm-hero-ctas {
    display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 0;
}

/* Trust stats bar */
.erx-dm-hero-stats {
    display: flex; align-items: center; gap: 32px;
    margin-top: 56px; padding-top: 32px;
    border-top: 1px solid rgba(226,232,240,.6);
}
.erx-dm-hero-stat-val {
    display: block; font-size: 24px; font-weight: 900; color: #0f172a;
}
.erx-dm-hero-stat-lbl {
    display: block; font-size: 11px; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: #94A3B8; margin-top: 4px;
}
.erx-dm-hero-stat-div {
    width: 1px; height: 32px; background: #e2e8f0;
}

/* ─── Right column: Floating service cards ─────────────────────────────── */
.erx-dm-hero-cards {
    position: relative; height: 480px;
}
.erx-dm-hero-cards-glow {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; height: 140px;
    background: rgba(96,165,250,.1);
    border-radius: 50%; filter: blur(40px);
}

/* Individual floating card */
.erx-dm-fcard {
    position: absolute;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid #fff;
    box-shadow: 0 30px 60px -15px rgba(0,0,0,.12);
    border-radius: 20px;
    padding: 12px;
    width: 260px;
    cursor: pointer;
    transition: border-color .3s;
}
.erx-dm-fcard:hover { border-color: rgba(96,165,250,.3); }

/* Card positions */
.erx-dm-fcard-1 { top: 3%; right: 8%; z-index: 30; }
.erx-dm-fcard-2 { top: 35%; left: 0; z-index: 20; }
.erx-dm-fcard-3 { bottom: 5%; right: 15%; z-index: 40; }

/* Entrance + continuous bob */
.erx-dm-fcard-1 { animation: erxDmFcardIn 1s cubic-bezier(.34,1.56,.64,1) .2s both, erxDmBob1 6s ease-in-out 1.2s infinite; }
.erx-dm-fcard-2 { animation: erxDmFcardIn 1s cubic-bezier(.34,1.56,.64,1) .4s both, erxDmBob2 7s ease-in-out 1.4s infinite; }
.erx-dm-fcard-3 { animation: erxDmFcardIn 1s cubic-bezier(.34,1.56,.64,1) .6s both, erxDmBob3 5.5s ease-in-out 1.6s infinite; }

@keyframes erxDmFcardIn {
    0% { opacity: 0; transform: translateY(80px) rotate(-8deg); }
    100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes erxDmBob1 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes erxDmBob2 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(14px); } }
@keyframes erxDmBob3 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* Card image */
.erx-dm-fcard-img {
    position: relative; height: 150px;
    border-radius: 14px; overflow: hidden; margin-bottom: 14px;
}
.erx-dm-fcard-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .7s;
}
.erx-dm-fcard:hover .erx-dm-fcard-img img { transform: scale(1.1); }
.erx-dm-fcard-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.6) 0%, rgba(15,23,42,.1) 50%, transparent);
    opacity: .5; transition: opacity .3s;
}
.erx-dm-fcard:hover .erx-dm-fcard-overlay { opacity: .7; }
.erx-dm-fcard-icon {
    position: absolute; bottom: 10px; left: 10px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,.2);
    backdrop-filter: blur(8px);
    border-radius: 50%; border: 1px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
}

/* Card body */
.erx-dm-fcard-body { padding: 0 8px 6px; }
.erx-dm-fcard-body h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.erx-dm-fcard-body p { font-size: 13px; font-weight: 500; color: #94A3B8; margin: 0; }

/* Connecting SVG lines */
.erx-dm-hero-lines {
    position: absolute; inset: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 10;
    filter: drop-shadow(0 0 8px rgba(59,130,246,.15));
}
.erx-dm-hero-line {
    stroke-dashoffset: 400;
    animation: erxDmLineDraw 2s ease-in-out 1s forwards;
}
.erx-dm-hero-line-2 { animation-delay: 1.2s; }
@keyframes erxDmLineDraw {
    0% { stroke-dashoffset: 400; opacity: 0; }
    10% { opacity: .3; }
    100% { stroke-dashoffset: 0; opacity: .3; }
}

/* Hero responsive */
@media (max-width: 991.98px) {
    .erx-dm-hero { min-height: auto; padding: 130px 0 60px; }
    .erx-dm-hero-row { min-height: auto; }
    .erx-dm-hero-left { text-align: center; margin: 0 auto; }
    .erx-dm-hero-ctas { justify-content: center; }
    .erx-dm-hero-stats { justify-content: center; }
}
@media (max-width: 575.98px) {
    .erx-dm-hero { padding: 110px 0 50px; }
    .erx-dm-hero-title { font-size: clamp(2.5rem, 10vw, 4rem); }
    .erx-dm-hero-ctas { flex-direction: column; }
    .erx-dm-hero-ctas .erx-demo-btn { width: 100%; justify-content: center; }
    .erx-dm-hero-stats { flex-direction: column; gap: 16px; }
    .erx-dm-hero-stat-div { width: 40px; height: 1px; }
}

/* ─── ABOUT: "Typewriter Reveal + Margin Annotations" ──────────────────── */
.erx-dm-about { background: #fff; }
.erx-dm-editorial {
    border-left: 2px solid rgba(16,99,205,.12);
    padding-left: 40px; position: relative;
}
.erx-dm-ed-kicker {
    display: block; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--erx-blue); margin-bottom: 12px;
}
.erx-dm-ed-title { margin-bottom: 32px; }

/* Paragraph reveal via clip-path */
.erx-dm-ed-para {
    position: relative; margin-bottom: 20px; padding-left: 0;
}
.erx-dm-ed-text {
    font-size: 17px; color: #475569; line-height: 1.8; margin: 0;
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.2s cubic-bezier(.22,1,.36,1);
}
.erx-dm-ed-para.revealed .erx-dm-ed-text {
    clip-path: inset(0 0% 0 0);
}

/* Margin annotations */
.erx-dm-ed-mark {
    position: absolute; left: -52px; top: 4px;
    opacity: 0; transition: opacity .4s ease .8s;
}
.erx-dm-ed-para.revealed .erx-dm-ed-mark { opacity: 1; }
.erx-mark-draw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0.6s ease 1s;
}
.erx-dm-ed-para.revealed .erx-mark-draw {
    stroke-dashoffset: 0;
}

/* Stats row */
.erx-dm-stats-row {
    display: flex; justify-content: space-between; gap: 24px;
    margin-top: 60px; padding-top: 40px; position: relative;
}
.erx-dm-stats-line {
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: var(--erx-gradient);
    transform: scaleX(0); transform-origin: left;
    animation: erxLineExtend 1.5s ease forwards paused;
}
.erx-dm-stats-row.revealed .erx-dm-stats-line { animation-play-state: running; }
@keyframes erxLineExtend {
    to { transform: scaleX(1); }
}
.erx-dm-stat-item { text-align: center; flex: 1; }
.erx-dm-stat-num { display: block; margin-bottom: 6px; }
.erx-dm-stat-num .odometer { font-size: 40px; font-weight: 800; color: var(--erx-blue); }
.erx-dm-stat-sfx { font-size: 26px; font-weight: 700; color: var(--erx-cyan); }
.erx-dm-stat-lbl {
    font-size: 13px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .06em; color: #64748B;
}

@media (max-width: 767.98px) {
    .erx-dm-editorial { padding-left: 20px; }
    .erx-dm-ed-mark { display: none; }
    .erx-dm-stats-row { flex-wrap: wrap; gap: 16px; }
    .erx-dm-stat-item { flex: 0 0 calc(50% - 8px); }
    .erx-dm-stat-num .odometer { font-size: 32px; }
}

/* ─── SERVICE GROUPS: Orisa at-service-item with expandable sub-services ── */

/* Brand overrides for the service list on light bg */
.at-service-area { background: #F8FAFC; }
.at-service-item .title { color: #0f172a !important; }
.at-service-item .number { color: var(--erx-blue) !important; }

/* Expandable sub-services panel */
.erx-dm-svc-row { cursor: pointer; position: relative; }
.erx-dm-svc-expand {
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .5s cubic-bezier(.22,1,.36,1), opacity .4s ease .1s;
}
.erx-dm-svc-row.expanded .erx-dm-svc-expand {
    max-height: 400px; opacity: 1;
}
.erx-dm-svc-expand-inner {
    padding: 20px 0 32px 80px;
}
.erx-dm-svc-expand-desc {
    font-size: 17px; color: #64748B; line-height: 1.7;
    margin-bottom: 20px; max-width: 520px;
}
.erx-dm-svc-expand-links {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.erx-dm-svc-link {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 10px 20px; border-radius: 9999px;
    border: 1px solid #e2e8f0; background: #fff;
    color: #475569; font-size: 15px; font-weight: 500;
    text-decoration: none; transition: all .3s;
}
.erx-dm-svc-link:hover {
    background: var(--erx-blue); border-color: var(--erx-blue);
    color: #fff; transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16,99,205,.2);
}
.erx-dm-svc-link:hover svg { transform: translate(2px, -2px); }
.erx-dm-svc-link svg { opacity: .4; transition: all .3s; }
.erx-dm-svc-link:hover svg { opacity: 1; }

/* Expanded state visual — left accent bar */
.erx-dm-svc-row::before {
    content: ''; position: absolute; left: 0; top: 0; bottom: 0;
    width: 3px; background: var(--erx-gradient);
    border-radius: 3px; opacity: 0; transition: opacity .3s;
}
.erx-dm-svc-row.expanded::before { opacity: 1; }

/* Hover accent on service items — use brand blue */
.at-service-item:hover .number { color: var(--erx-cyan) !important; }
.at-service-item:hover .title { color: var(--erx-blue) !important; }

@media (max-width: 767.98px) {
    .erx-dm-svc-expand-inner { padding: 16px 0 24px 0; }
    .erx-dm-svc-link { font-size: 13px; padding: 8px 14px; }
}

/* ─── BENEFITS: Asymmetric Bento Grid ──────────────────────────────────── */
.erx-dm-ben { background: #F8FAFC; }
.erx-dm-ben-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 16px;
}
/* Card 1 & 2: large — span 1.5 cols visually via spanning */
.erx-dm-ben-card-1 { grid-column: 1 / 2; }
.erx-dm-ben-card-2 { grid-column: 2 / 4; }
.erx-dm-ben-card-3 { grid-column: 1 / 2; }
.erx-dm-ben-card-4 { grid-column: 2 / 3; }
.erx-dm-ben-card-5 { grid-column: 3 / 4; }
.erx-dm-ben-card-6 { grid-column: 1 / 4; }

.erx-dm-ben-card {
    position: relative; background: #fff;
    border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 36px 32px; overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.erx-dm-ben-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(16,99,205,.08);
    border-color: rgba(16,99,205,.2);
}
/* Large number watermark */
.erx-dm-ben-num {
    position: absolute; top: -8px; right: 16px;
    font-size: 100px; font-weight: 900; line-height: 1;
    color: rgba(16,99,205,.04); pointer-events: none;
    letter-spacing: -.04em;
    transition: color .3s;
}
.erx-dm-ben-card:hover .erx-dm-ben-num {
    color: rgba(16,99,205,.08);
}
.erx-dm-ben-icon {
    width: 52px; height: 52px; border-radius: 14px;
    background: rgba(16,99,205,.06); border: 1px solid rgba(16,99,205,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--erx-blue); margin-bottom: 16px;
    transition: background .3s, color .3s, transform .3s;
}
.erx-dm-ben-card:hover .erx-dm-ben-icon {
    background: var(--erx-blue); color: #fff;
    transform: scale(1.08);
}
.erx-dm-ben-tag {
    display: inline-block; padding: 4px 14px; border-radius: 9999px;
    background: rgba(16,99,205,.06); color: var(--erx-blue);
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; margin-bottom: 14px;
}
.erx-dm-ben-title {
    font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 10px;
}
.erx-dm-ben-desc {
    font-size: 17px; color: #64748B; line-height: 1.7; margin: 0;
    max-width: 480px;
}
/* Hover glow orb in corner */
.erx-dm-ben-glow {
    position: absolute; bottom: -40px; right: -40px;
    width: 120px; height: 120px; border-radius: 50%;
    background: radial-gradient(circle, rgba(16,99,205,.06) 0%, transparent 70%);
    opacity: 0; transition: opacity .4s;
    pointer-events: none;
}
.erx-dm-ben-card:hover .erx-dm-ben-glow { opacity: 1; }

/* Card 6 (full-width): horizontal layout */
.erx-dm-ben-card-6 {
    display: flex; align-items: center; gap: 24px;
    background: linear-gradient(135deg, rgba(16,99,205,.03) 0%, rgba(0,180,235,.03) 100%);
    border-color: rgba(16,99,205,.1);
}
.erx-dm-ben-card-6 .erx-dm-ben-num {
    position: static; font-size: 64px; color: rgba(16,99,205,.08);
    flex-shrink: 0;
}
.erx-dm-ben-card-6:hover .erx-dm-ben-num { color: rgba(16,99,205,.15); }

@media (max-width: 991.98px) {
    .erx-dm-ben-grid { grid-template-columns: 1fr 1fr; }
    .erx-dm-ben-card-1,
    .erx-dm-ben-card-2,
    .erx-dm-ben-card-3,
    .erx-dm-ben-card-4,
    .erx-dm-ben-card-5 { grid-column: auto; }
    .erx-dm-ben-card-6 { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .erx-dm-ben-grid { grid-template-columns: 1fr; }
    .erx-dm-ben-card-6 { flex-direction: column; text-align: center; }
    .erx-dm-ben-card-6 .erx-dm-ben-num { font-size: 48px; }
    .erx-dm-ben-card { padding: 28px 24px; }
    .erx-dm-ben-num { font-size: 72px; }
}

/* ─── INDUSTRIES: Interactive Cards with hover line ─────────────────────── */
.erx-dm-ind-section { background: #fff; }
.erx-dm-ind-card {
    position: relative; background: #F8FAFC;
    border: 1px solid #e2e8f0; border-radius: 20px;
    padding: 32px 28px; height: 100%;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    overflow: hidden;
}
.erx-dm-ind-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(16,99,205,.1);
    border-color: rgba(16,99,205,.2);
}
.erx-dm-ind-card-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 20px;
}
.erx-dm-ind-icon-wrap {
    width: 52px; height: 52px; border-radius: 14px;
    background: #EFF6FF; display: flex; align-items: center;
    justify-content: center; color: var(--erx-blue);
    transition: background .3s, color .3s;
}
.erx-dm-ind-card:hover .erx-dm-ind-icon-wrap {
    background: var(--erx-blue); color: #fff;
}
.erx-dm-ind-num {
    font-size: 32px; font-weight: 800;
    color: rgba(16,99,205,.08); letter-spacing: -.02em;
}
.erx-dm-ind-title {
    font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 12px;
}
.erx-dm-ind-desc {
    font-size: 17px; color: #64748B; line-height: 1.7; margin: 0;
}
/* Animated bottom line that extends on hover */
.erx-dm-ind-hover-line {
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--erx-gradient);
    border-radius: 0 0 20px 20px;
    transition: width .4s cubic-bezier(.22,1,.36,1);
}
.erx-dm-ind-card:hover .erx-dm-ind-hover-line {
    width: 100%;
}

/* ─── CREATIVE GALLERY: Parallax Masonry ───────────────────────────────── */
.erx-dm-gallery { background: #F8FAFC; }
.erx-dm-gallery .at-gallery-item img {
    border-radius: 16px;
    transition: transform .5s ease, box-shadow .3s;
}
.erx-dm-gallery .at-gallery-item:hover img {
    transform: scale(1.03);
    box-shadow: 0 16px 48px rgba(16,99,205,.12);
}

/* ─── FAQ: "Liquid Fill Accordion" ─────────────────────────────────────── */
.erx-dm-faq { background: #F8FAFC; }
.erx-dm-faq-list { display: flex; flex-direction: column; gap: 10px; }
.erx-dm-faq-item {
    background: #fff; border-radius: 14px;
    border: 1px solid #e2e8f0; overflow: hidden;
    position: relative; transition: border-color .3s;
    border-left: 0px solid transparent;
}
.erx-dm-faq-item.open {
    border-left: 3px solid var(--erx-blue);
    border-color: rgba(16,99,205,.2);
}
/* Liquid fill */
.erx-dm-faq-item::before {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0;
    height: 0%; z-index: 0;
    background: linear-gradient(135deg, rgba(16,99,205,.03) 0%, rgba(0,180,235,.04) 100%);
    border-radius: inherit;
    transition: height .5s cubic-bezier(.34,1.56,.64,1);
}
.erx-dm-faq-item.open::before { height: 100%; }

.erx-dm-faq-question {
    display: flex; align-items: center; gap: 14px;
    width: 100%; padding: 20px 24px;
    background: none; border: none; cursor: pointer;
    text-align: left; position: relative; z-index: 1;
}
.erx-dm-faq-q-text {
    font-size: 16px; font-weight: 600; color: #0f172a; flex: 1;
}
.erx-dm-faq-indicator {
    width: 28px; height: 28px; border-radius: 50%;
    border: 2px solid var(--erx-blue); flex-shrink: 0;
    position: relative; transition: background .3s, border-radius .3s;
}
.erx-dm-faq-item.open .erx-dm-faq-indicator {
    background: var(--erx-blue); border-radius: 8px;
}
/* Plus to minus morph */
.erx-dm-faq-plus {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
}
.erx-dm-faq-plus::before, .erx-dm-faq-plus::after {
    content: ''; position: absolute;
    background: var(--erx-blue); border-radius: 2px;
    transition: transform .3s, background .3s;
}
.erx-dm-faq-plus::before { width: 12px; height: 2px; }
.erx-dm-faq-plus::after { width: 2px; height: 12px; }
.erx-dm-faq-item.open .erx-dm-faq-plus::before { background: #fff; }
.erx-dm-faq-item.open .erx-dm-faq-plus::after { background: #fff; transform: rotate(90deg); opacity: 0; }

.erx-dm-faq-answer {
    max-height: 0; opacity: 0; overflow: hidden;
    position: relative; z-index: 1;
    transition: max-height .5s ease, opacity .4s ease .15s;
}
.erx-dm-faq-item.open .erx-dm-faq-answer {
    max-height: 300px; opacity: 1;
}
.erx-dm-faq-answer p {
    padding: 0 24px 24px 66px;
    font-size: 17px; color: #64748B; line-height: 1.7; margin: 0;
}

/* ─── CTA: "Magnetic Particle Field" ───────────────────────────────────── */
.erx-dm-field-cta {
    position: relative; background: #080814;
    padding: 120px 0; overflow: hidden;
}
.erx-dm-field {
    position: absolute; inset: 0;
    display: grid;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(12, 1fr);
    pointer-events: auto;
}
.erx-dm-fdot {
    width: 4px; height: 4px; border-radius: 50%;
    background: rgba(16,99,205,.15);
    place-self: center;
    transform: translate(var(--mx, 0), var(--my, 0));
    transition: transform .4s ease-out, opacity .3s;
    animation: erxFieldWave 4s ease-in-out infinite;
    animation-delay: calc(var(--r, 0) * 0.12s + var(--c, 0) * 0.09s);
}
@keyframes erxFieldWave {
    0%, 100% { opacity: .12; transform: translate(var(--mx, 0), var(--my, 0)) scale(1); }
    50%      { opacity: .28; transform: translate(var(--mx, 0), var(--my, 0)) scale(1.4); }
}

.erx-dm-field-content {
    position: relative; z-index: 2;
    background: rgba(255,255,255,.02); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 24px; padding: 56px 48px; max-width: 640px; margin: 0 auto;
}
.erx-dm-field-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 16px; border-radius: 999px;
    background: rgba(16,99,205,.1); border: 1px solid rgba(16,99,205,.15);
    color: var(--erx-cyan); font-size: 12px; font-weight: 700;
    letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px;
}
.erx-dm-field-heading {
    font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800;
    color: #fff; line-height: 1.2; margin-bottom: 16px;
}
.erx-dm-field-sub {
    font-size: 17px; color: var(--erx-muted); line-height: 1.7; margin-bottom: 32px;
}
.erx-dm-field-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 36px; border-radius: 12px;
    background: var(--erx-blue); color: #fff !important;
    font-size: 16px; font-weight: 700; text-decoration: none;
    transition: all .3s; box-shadow: 0 4px 20px rgba(16,99,205,.35);
}
.erx-dm-field-btn:hover {
    background: var(--erx-cyan); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,180,235,.35); color: #fff !important;
}
.erx-dm-field-btn:hover svg { transform: translateX(4px); }
.erx-dm-field-btn svg { transition: transform .3s; }
.erx-dm-field-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.erx-dm-field-note { font-size: 13px; color: rgba(255,255,255,.25); }

@media (max-width: 767.98px) {
    .erx-dm-field-content { padding: 36px 24px; }
    .erx-dm-field { grid-template-columns: repeat(12, 1fr); grid-template-rows: repeat(8, 1fr); }
}


/* =============================================================================
   SERVICE DETAIL PAGES — erx-svc-*
   Template styles for all individual service pages (SEO, Content Marketing, etc.)
   ============================================================================= */

/* ─── CATEGORY NAVIGATION: Pill tabs for sibling services ─────────────── */
.erx-svc-catnav {
    position: relative; z-index: 10;
    background: #fff; border-bottom: 1px solid #e2e8f0;
    padding: 0;
}
.erx-svc-catnav-inner {
    display: flex; align-items: center; gap: 20px;
    padding: 14px 0; overflow-x: auto;
    scrollbar-width: none; -ms-overflow-style: none;
}
.erx-svc-catnav-inner::-webkit-scrollbar { display: none; }
.erx-svc-catnav-label {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--erx-muted); white-space: nowrap;
    flex-shrink: 0;
}
.erx-svc-catnav-pills {
    display: flex; gap: 6px; flex-shrink: 0;
}
.erx-svc-catnav-pill {
    display: inline-flex; align-items: center;
    padding: 8px 18px; border-radius: 999px;
    font-size: 14px; font-weight: 600; white-space: nowrap;
    color: #475569; background: #F1F5F9;
    border: 1px solid transparent;
    text-decoration: none;
    transition: all .25s;
}
.erx-svc-catnav-pill:hover {
    color: var(--erx-blue); background: #EFF6FF;
    border-color: rgba(16,99,205,.15);
}
.erx-svc-catnav-pill.active {
    color: #fff; background: var(--erx-blue);
    border-color: var(--erx-blue);
    box-shadow: 0 2px 8px rgba(16,99,205,.25);
}

/* ─── HERO: Service detail hero ────────────────────────────────────────── */
.erx-svc-hero {
    position: relative; overflow: hidden;
    padding: 160px 0 100px;
    background: linear-gradient(170deg, #ffffff 0%, #f4f8ff 45%, #eaf3ff 100%);
}
.erx-svc-hero-bg {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
}
.erx-svc-hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(16,99,205,.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,99,205,.08) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}
.erx-svc-hero-fade {
    position: absolute; bottom: 0; left: 0; right: 0; height: 200px;
    background: linear-gradient(to top, #ffffff, transparent);
}
.erx-svc-hero-orb {
    position: absolute; border-radius: 50%; filter: blur(110px); opacity: .22;
    pointer-events: none;
}
.erx-svc-hero-orb-1 {
    width: 500px; height: 500px; top: -120px; right: -100px;
    background: var(--erx-blue);
    animation: erxOrbDrift1 40s ease-in-out infinite alternate;
}
.erx-svc-hero-orb-2 {
    width: 350px; height: 350px; bottom: -60px; left: 8%;
    background: var(--erx-cyan);
    animation: erxOrbDrift2 45s ease-in-out infinite alternate;
}
.erx-svc-hero-row { min-height: 420px; }
.erx-svc-hero-left { max-width: 620px; }
.erx-svc-hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 18px; border-radius: 999px;
    background: rgba(16,99,205,.08); border: 1px solid rgba(16,99,205,.18);
    color: var(--erx-blue); font-size: 13px; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 28px;
}
.erx-svc-hero-title {
    font-size: clamp(2rem, 4.5vw, 3.2rem); font-weight: 800;
    color: #0F172A; line-height: 1.15; margin-bottom: 24px;
    letter-spacing: -.02em;
}
.erx-svc-hero-sub {
    font-size: 18px; color: #475569; line-height: 1.7;
    margin-bottom: 36px; max-width: 540px;
}
.erx-svc-hero-ctas {
    display: flex; flex-wrap: wrap; gap: 12px;
}

/* ─── SERP MOCKUP: Animated search results visual ─────────────────────── */
.erx-svc-serp {
    background: rgba(255,255,255,.04); backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.08); border-radius: 16px;
    overflow: hidden; max-width: 420px; margin-left: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,.3);
}
.erx-svc-serp-bar {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.03);
}
.erx-svc-serp-dots { display: flex; gap: 6px; }
.erx-svc-serp-dots span {
    width: 10px; height: 10px; border-radius: 50%;
}
.erx-svc-serp-dots span:nth-child(1) { background: #ff5f57; }
.erx-svc-serp-dots span:nth-child(2) { background: #febc2e; }
.erx-svc-serp-dots span:nth-child(3) { background: #28c840; }
.erx-svc-serp-url {
    font-size: 12px; color: var(--erx-muted); font-family: monospace;
    opacity: .6;
}
.erx-svc-serp-results { padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.erx-svc-serp-result {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.06);
    background: rgba(255,255,255,.02);
    transition: all .8s cubic-bezier(.4,0,.2,1);
}
.erx-svc-serp-pos {
    font-size: 13px; font-weight: 800; color: var(--erx-muted);
    width: 28px; flex-shrink: 0; text-align: center;
}
.erx-svc-serp-meta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.erx-svc-serp-domain { font-size: 11px; color: var(--erx-muted); opacity: .6; }
.erx-svc-serp-title-text {
    font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.erx-svc-serp-result-you {
    border-color: rgba(16,99,205,.3);
    background: rgba(16,99,205,.08);
    position: relative;
}
.erx-svc-serp-result-you .erx-svc-serp-pos { color: var(--erx-blue); }
.erx-svc-serp-result-you .erx-svc-serp-title-text { color: #fff; }
.erx-svc-serp-tag {
    font-size: 10px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: var(--erx-cyan);
    padding: 3px 8px; border-radius: 4px;
    background: rgba(0,180,235,.1); white-space: nowrap; flex-shrink: 0;
}
/* Animation: "you" result slides up to #1 */
.erx-svc-serp-animate .erx-svc-serp-result-you {
    order: -1;
    border-color: rgba(16,255,100,.3);
    background: rgba(16,185,129,.08);
    box-shadow: 0 0 20px rgba(16,185,129,.15);
}
.erx-svc-serp-animate .erx-svc-serp-result-you .erx-svc-serp-pos {
    color: #10B981;
}
.erx-svc-serp-animate .erx-svc-serp-result-you .erx-svc-serp-pos::after {
    content: '#1'; position: absolute;
}
.erx-svc-serp-animate .erx-svc-serp-result-you .erx-svc-serp-tag {
    background: rgba(16,185,129,.15); color: #10B981;
}

.erx-svc-serp-arrow {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    padding: 12px 0 18px; opacity: 0;
    transition: opacity .6s .5s;
}
.erx-svc-serp-animate .erx-svc-serp-arrow { opacity: 1; }
.erx-svc-serp-arrow-label {
    font-size: 11px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .1em; color: var(--erx-blue);
}

/* ─── PROBLEM: Pain/reality flip cards ─────────────────────────────────── */
.erx-svc-pain-card {
    position: relative; height: 260px;
    perspective: 800px; cursor: pointer;
}
.erx-svc-pain-front,
.erx-svc-pain-back {
    position: absolute; inset: 0;
    border-radius: 20px; padding: 28px 24px;
    display: flex; flex-direction: column; justify-content: center;
    align-items: center; text-align: center; gap: 16px;
    backface-visibility: hidden; -webkit-backface-visibility: hidden;
    transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.erx-svc-pain-front {
    background: #fff; border: 1px solid #e2e8f0;
    transform: rotateY(0deg);
}
.erx-svc-pain-back {
    background: linear-gradient(135deg, #EFF6FF, #F0FEFF);
    border: 1px solid rgba(16,99,205,.15);
    transform: rotateY(180deg);
}
.erx-svc-pain-card.flipped .erx-svc-pain-front { transform: rotateY(-180deg); }
.erx-svc-pain-card.flipped .erx-svc-pain-back { transform: rotateY(0deg); }
.erx-svc-pain-icon {
    width: 48px; height: 48px; border-radius: 14px;
    background: #FEF2F2; color: #EF4444;
    display: flex; align-items: center; justify-content: center;
}
.erx-svc-pain-icon-fix {
    background: #ECFDF5; color: #10B981;
}
.erx-svc-pain-text {
    font-size: 17px; font-weight: 600; color: #0f172a;
    line-height: 1.5; margin: 0;
}
.erx-svc-pain-back .erx-svc-pain-text {
    font-weight: 500; color: #334155;
}
.erx-svc-pain-glow {
    position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%);
    width: 60%; height: 40px; border-radius: 50%;
    background: rgba(16,99,205,.06); filter: blur(20px);
    opacity: 0; transition: opacity .3s;
}
.erx-svc-pain-card.flipped .erx-svc-pain-glow { opacity: 1; }

/* ─── CAPABILITIES: Image cards with hover overlay ─────────────────────── */
.erx-svc-capabilities { background: #fff; }
.erx-svc-imgcard {
    position: relative; border-radius: 20px;
    overflow: hidden; height: 100%;
    background: #F8FAFC; border: 1px solid #e2e8f0;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.erx-svc-imgcard:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 56px rgba(16,99,205,.12);
    border-color: rgba(16,99,205,.25);
}
.erx-svc-imgcard-visual {
    position: relative; overflow: hidden;
    aspect-ratio: 4 / 3;
}
.erx-svc-imgcard-visual img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
.erx-svc-imgcard:hover .erx-svc-imgcard-visual img {
    transform: scale(1.06);
}
/* Hover overlay */
.erx-svc-imgcard-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(170deg, rgba(10,10,26,.88) 0%, rgba(16,99,205,.82) 100%);
    display: flex; align-items: center; justify-content: center;
    padding: 24px 20px;
    opacity: 0;
    transition: opacity .4s cubic-bezier(.4,0,.2,1);
}
.erx-svc-imgcard:hover .erx-svc-imgcard-overlay { opacity: 1; }
.erx-svc-imgcard-desc {
    font-size: 17px; color: rgba(255,255,255,.95);
    line-height: 1.65; margin: 0; text-align: center;
    transform: translateY(12px);
    transition: transform .4s cubic-bezier(.4,0,.2,1) .05s;
}
.erx-svc-imgcard:hover .erx-svc-imgcard-desc {
    transform: translateY(0);
}
/* Footer: number + title */
.erx-svc-imgcard-footer {
    padding: 18px 20px; display: flex; align-items: center; gap: 12px;
}
.erx-svc-imgcard-num {
    font-size: 13px; font-weight: 800; color: var(--erx-blue);
    background: #EFF6FF; width: 32px; height: 32px;
    border-radius: 8px; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
    letter-spacing: -.02em;
}
.erx-svc-imgcard-title {
    font-size: 17px; font-weight: 700; color: #0f172a;
    margin: 0; line-height: 1.3;
}

/* ─── PROCESS: Orisa-style sticky left + scrollable cards right ────────── */
.erx-svc-proc-sticky {
    position: sticky; top: 120px;
}
.erx-svc-proc-progress {
    width: 100%; height: 3px; border-radius: 2px;
    background: #e2e8f0; overflow: hidden;
}
.erx-svc-proc-progress-bar {
    height: 100%; width: 20%; border-radius: 2px;
    background: linear-gradient(90deg, var(--erx-blue), var(--erx-cyan));
    transition: width .4s cubic-bezier(.4,0,.2,1);
}
.erx-svc-proc-counter {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--erx-muted); letter-spacing: .05em;
}
.erx-svc-proc-counter span { color: var(--erx-blue); }
.erx-svc-proc-cards {
    display: flex; flex-direction: column; gap: 16px;
}
.erx-svc-proc-card {
    position: relative;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 28px 28px 28px 32px;
    display: flex; gap: 20px; align-items: flex-start;
    cursor: pointer; overflow: hidden;
    transition: border-color .3s, box-shadow .3s, background .3s;
}
.erx-svc-proc-card.active {
    border-color: rgba(16,99,205,.25);
    box-shadow: 0 8px 32px rgba(16,99,205,.08);
    background: #FAFCFF;
}
.erx-svc-proc-card-num {
    font-size: 28px; font-weight: 900; color: rgba(16,99,205,.1);
    line-height: 1; flex-shrink: 0; min-width: 40px;
    transition: color .3s;
}
.erx-svc-proc-card.active .erx-svc-proc-card-num {
    color: var(--erx-blue);
}
.erx-svc-proc-card-body { flex: 1; }
.erx-svc-proc-card-title {
    font-size: 18px; font-weight: 700; color: #0f172a;
    margin-bottom: 8px;
}
.erx-svc-proc-card-desc {
    font-size: 17px; color: #64748B; line-height: 1.7; margin: 0;
    max-height: 0; opacity: 0; overflow: hidden;
    transition: max-height .5s cubic-bezier(.4,0,.2,1), opacity .3s .1s;
}
.erx-svc-proc-card.active .erx-svc-proc-card-desc {
    max-height: 200px; opacity: 1;
}
/* Left accent line */
.erx-svc-proc-card-line {
    position: absolute; left: 0; top: 0;
    width: 3px; height: 0;
    background: linear-gradient(180deg, var(--erx-blue), var(--erx-cyan));
    border-radius: 16px 0 0 16px;
    transition: height .4s cubic-bezier(.22,1,.36,1);
}
.erx-svc-proc-card.active .erx-svc-proc-card-line {
    height: 100%;
}

/* ─── RESULTS: Benefit cards with checkmarks ───────────────────────────── */
.erx-svc-results { background: #fff; }
.erx-svc-result-card {
    background: #F8FAFC; border: 1px solid #e2e8f0;
    border-radius: 20px; padding: 32px 28px; height: 100%;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.erx-svc-result-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(16,99,205,.1);
    border-color: rgba(16,99,205,.2);
}
.erx-svc-result-check {
    width: 44px; height: 44px; border-radius: 12px;
    background: #ECFDF5; color: #10B981;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: background .3s, color .3s;
}
.erx-svc-result-card:hover .erx-svc-result-check {
    background: #10B981; color: #fff;
}
.erx-svc-result-title {
    font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 12px;
}
.erx-svc-result-desc {
    font-size: 17px; color: #64748B; line-height: 1.7; margin: 0;
}

/* ─── TOOLS: Tool cards with initial avatar ────────────────────────────── */
.erx-svc-tool-card {
    display: flex; align-items: center; gap: 18px;
    background: #fff; border: 1px solid #e2e8f0;
    border-radius: 16px; padding: 22px 24px;
    transition: transform .3s, box-shadow .3s, border-color .3s;
}
.erx-svc-tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(16,99,205,.08);
    border-color: rgba(16,99,205,.2);
}
.erx-svc-tool-initial {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, var(--erx-blue), var(--erx-cyan));
    color: #fff; font-size: 20px; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.erx-svc-tool-info { flex: 1; min-width: 0; }
.erx-svc-tool-name {
    font-size: 17px; font-weight: 700; color: #0f172a; margin: 0 0 4px;
}
.erx-svc-tool-use {
    font-size: 15px; color: #64748B; line-height: 1.5; margin: 0;
}

/* ─── FAQ override for service pages ───────────────────────────────────── */
.erx-svc-faq { background: #fff !important; }

/* ─── RESPONSIVE: Service detail pages ─────────────────────────────────── */
@media (max-width: 991.98px) {
    .erx-svc-hero { padding: 140px 0 80px; }
    .erx-svc-hero-title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
    .erx-svc-hero-sub { font-size: 17px; }
    .erx-svc-proc-sticky { position: relative; top: auto; margin-bottom: 40px; }
}
@media (max-width: 767.98px) {
    .erx-svc-hero { padding: 120px 0 60px; }
    .erx-svc-hero-title { font-size: 1.7rem; }
    .erx-svc-hero-sub { font-size: 16px; margin-bottom: 24px; }
    .erx-svc-hero-ctas { flex-direction: column; }
    .erx-svc-catnav-inner { gap: 12px; }
    .erx-svc-pain-card { height: 220px; }
    .erx-svc-pain-text { font-size: 16px; }
    .erx-svc-imgcard-footer { padding: 14px 16px; }
    .erx-svc-imgcard-title { font-size: 16px; }
    .erx-svc-imgcard-desc { font-size: 16px; }
    .erx-svc-proc-card { padding: 20px 20px 20px 24px; gap: 14px; }
    .erx-svc-proc-card-num { font-size: 22px; min-width: 32px; }
    .erx-svc-proc-card-title { font-size: 17px; }
    .erx-svc-proc-card-desc { font-size: 16px; }
    .erx-svc-result-card { padding: 24px 20px; }
    .erx-svc-tool-card { padding: 18px 20px; }
}
@media (max-width: 575.98px) {
    .erx-svc-catnav-pill { padding: 6px 14px; font-size: 13px; }
    .erx-svc-pain-card { height: 200px; }
    .erx-svc-imgcard-visual { aspect-ratio: 16 / 10; }
}
