/* ==========================================================================
   ERP Development service page
   Scoped under .erp. Theme: dark blue #273f44 / #1b2d30, light neutrals,
   DM Sans (Manrope for kickers), h2 30px, p 16px, headings line-height 1.2.
   Orange (#f2691c) is kept to tiny accents only: kickers and one status dot.
   ========================================================================== */

.erp {
    --erp-teal: #1b2d30;
    --erp-teal-2: #273f44;
    --erp-ink: #14201f;
    --erp-muted: #5d6b6a;          /* body text on light */
    --erp-muted-dark: #b9c2d0;     /* body text on dark */
    --erp-soft: #8a9695;           /* grey closing phrase in headings */
    --erp-sea: #8db7bd;            /* light accent on dark */
    --erp-sea-deep: #3f6a70;       /* accent on light */
    --erp-orange: #f2691c;         /* sparingly */
    --erp-grey: #e9ebea;
    --erp-sand: #ecede8;
    --erp-line: #e1e5e4;

    --erp-ease: cubic-bezier(.2, .8, .2, 1);

    position: relative;
    overflow-x: clip;
    background: #fff;
    color: var(--erp-ink);
    font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
section{
	padding: 20px;	
}
.erp *,
.erp *::before,
.erp *::after { box-sizing: border-box; }
.erp h1, .erp h2, .erp h3, .erp p, .erp ul, .erp ol, .erp figure { margin: 0; padding: 0; }
.erp ul, .erp ol { list-style: none; }
.erp button { font-family: inherit; }
.erp img { display: block; max-width: 100%; }
.erp-light { background: #fff; }
.erp-grey  { background: var(--erp-grey); }
.erp-sand  {
    background-color: var(--erp-sand);
    background-image:
        linear-gradient(rgba(20, 32, 31, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 32, 31, .06) 1px, transparent 1px);
    background-size: 75px 75px;
}
.erp em { font-style: normal; font-weight: inherit; color: var(--erp-soft); }
/* ---------- buttons (square, like .service-btn) ---------- */
.erp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 26px;
    border: 1px solid #fff;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.erp-btn svg,
.erp-cta-btn svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s var(--erp-ease);
}
.erp-btn:hover svg,
.erp-cta-btn:hover svg { transform: translateX(5px); }
.erp-btn:hover { transform: translateY(-3px); }
.erp-btn--primary { background: #fff; color: var(--erp-teal); }
.erp-btn--primary:hover { background: var(--erp-grey); }
.erp-btn--ghost { background: transparent; }
.erp-btn--ghost:hover { background: rgba(255, 255, 255, .1); }
.erp a:focus-visible,
.erp button:focus-visible,
.erp-panel:focus-visible { outline: 2px solid var(--erp-sea); outline-offset: 4px; }
/* HERO: copy + image mosaic with status chips */
.erp-hero {
    position: relative;
    color: #fff;
    background:
        radial-gradient(circle at 78% 40%, rgba(141, 183, 189, .22), transparent 40%),
        radial-gradient(circle at 8% 100%, rgba(242, 105, 28, .08), transparent 30%),
        linear-gradient(160deg, var(--erp-teal-2) 0%, var(--erp-teal) 100%);
    overflow: hidden;
}
.erp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 70px 70px;
    -webkit-mask-image: radial-gradient(70% 80% at 72% 45%, #000, transparent 80%);
            mask-image: radial-gradient(70% 80% at 72% 45%, #000, transparent 80%);
    pointer-events: none;
}
.erp-hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
	align-items: center;
}
.erp-eyebrow::before { content: ''; width: 30px; height: 2px; background: var(--erp-orange); }
.erp-h1 {
    margin-top: 20px;
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.25rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.03em;
}

.erp-line { display: block; overflow: hidden; padding-bottom: .1em; }

.erp-line > span {
    display: block;
    transform: translateY(115%);
    animation: erp-line-up 1s var(--erp-ease) .12s forwards;
}

.erp-lead { max-width: 44ch; margin-top: 18px; color: var(--erp-muted-dark); font-size: 1rem; }

.erp-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.erp-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.erp-tags li {
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    color: var(--erp-muted-dark);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.erp-fade { opacity: 0; transform: translateY(14px); animation: erp-fade .9s var(--erp-ease) forwards; animation-delay: var(--d, 0s); }

/* ---------- mosaic ---------- */

.erp-mosaic {
    position: relative;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
}
.erp-col { display: flex; flex: 1 1 0; flex-direction: column; gap: 16px; min-width: 0; }
.erp-col--a { flex-grow: 1.1; padding-top: 64px; animation: erp-bob 8s ease-in-out 1.4s infinite alternate; }
.erp-col--b { flex-grow: .9; animation: erp-bob 9s ease-in-out 1.4s infinite alternate-reverse; }
.erp-shot {
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: #e9efee;
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .65);
    overflow: hidden;
    opacity: 0;
    transform: translateY(44px);
    animation: erp-rise .9s var(--erp-ease) forwards;
    animation-delay: var(--d, 0s);
}
.erp-shot img { width: 100%; height: auto; }
.erp-chip {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px 12px 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .97);
    color: var(--erp-ink);
    box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5);
    opacity: 0;
    animation: erp-fade .8s var(--erp-ease) forwards, erp-float 6s ease-in-out infinite alternate;
}
.erp-chip b { display: block; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.erp-chip small { display: block; margin-top: 2px; color: var(--erp-muted); font-size: 12px; line-height: 1.3; white-space: nowrap; }
.erp-chip-ico {
    display: grid;
    flex: none;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: var(--erp-teal-2);
}
.erp-chip-ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.erp-chip--1 { left: -26px; top: 30px;   animation-delay: 1.2s, 1.2s; }
.erp-chip--2 { right: -22px; top: 44%;   animation-delay: 1.4s, 2.4s; }
.erp-chip--3 { left: -10px; bottom: 28px; animation-delay: 1.6s, .6s; }
/* INTRO: image + three numbered points */
.erp-intro {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: clamp(32px, 6vw, 90px);
    align-items: center;
}
.erp-intro-media {
    position: relative;
    border: 1px solid var(--erp-line);
    border-radius: 22px;
    background: #eef2f1;
    box-shadow: 0 24px 60px -30px rgba(18, 24, 32, .35);
    overflow: hidden;
}
.erp-intro-media img { width: 100%; height: auto; }
.erp-cap {
    position: absolute;
    left: 18px;
    bottom: 18px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    box-shadow: 0 10px 24px -10px rgba(18, 24, 32, .35);
    color: var(--erp-ink);
    font-size: 13px;
    font-weight: 700;
}
.erp-cap span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.erp-points { margin-top: 30px; border-bottom: 1px solid var(--erp-line); }
.erp-point {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 14px;
    padding: 22px 0;
    border-top: 1px solid var(--erp-line);
}
.erp-point-no { padding-top: 3px; color: var(--erp-sea-deep); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.erp-point p { color: var(--erp-muted); font-size: 1rem; }
.erp-point strong { color: var(--erp-ink); font-weight: 700; }
/* CAPABILITIES: ledger sheet */
.erp-sheet {
    margin-top: clamp(28px, 4vw, 44px);
    padding: 6px clamp(22px, 3vw, 44px);
    border: 1px solid var(--erp-line);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(18, 24, 32, .07);
}
.erp-ledger {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    column-gap: clamp(36px, 6vw, 84px);
}
.erp-ledger li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e8ebea;
}
.erp-ledger li:nth-child(5),
.erp-ledger li:nth-child(10) { border-bottom: 0; }
.erp-ledger li::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    width: 3px;
    height: 0;
    background: var(--erp-sea-deep);
    transform: translateY(-50%);
    transition: height .3s var(--erp-ease);
}
.erp-ledger li:hover::before { height: 56%; }
.erp-l-no { min-width: 24px; color: var(--erp-sea-deep); font-size: 13px; font-weight: 800; letter-spacing: .04em; }
.erp-l-name { flex: 1; color: var(--erp-ink); font-size: 1rem; font-weight: 500; transition: transform .3s var(--erp-ease); }
.erp-ledger li:hover .erp-l-name { transform: translateX(6px); }
.erp-l-arrow {
    width: 18px;
    height: 18px;
    flex: none;
    fill: none;
    stroke: var(--erp-sea-deep);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity .3s, transform .3s var(--erp-ease);
}
.erp-ledger li:hover .erp-l-arrow { opacity: 1; transform: none; }
/* PROCESS: expanding panels, each with an illustration */
.erp-process {
    --erp-soft: #8fa3a6;
    color: #fff;
    background-color: var(--erp-teal);
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 75px 75px;
}
.erp-panels { display: flex; gap: 14px; height: 400px; margin-top: clamp(28px, 4vw, 48px); }
.erp-panel {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 26px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .04);
    cursor: pointer;
    overflow: hidden;
    transition: flex-grow .7s var(--erp-ease), background .5s, border-color .5s;
}
.erp-panel.is-active {
    flex-grow: 4;
    border-color: rgba(141, 183, 189, .55);
    background: linear-gradient(160deg, rgba(141, 183, 189, .16), rgba(255, 255, 255, .04) 60%);
}
.erp-p-no { color: var(--erp-sea); font-size: 13px; font-weight: 800; letter-spacing: .06em; }
.erp-p-body { position: relative; z-index: 1; }
.erp-panel.is-active .erp-p-body { max-width: 50%; }
.erp-p-body h3 { color: #fff; font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; white-space: nowrap; }
.erp-p-body p {
    max-height: 0;
    margin-top: 0;
    color: var(--erp-muted-dark);
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    overflow: hidden;
    transition: opacity .4s ease, transform .5s var(--erp-ease), max-height .6s var(--erp-ease), margin-top .5s;
}
.erp-panel.is-active .erp-p-body p {
    max-height: 160px;
    margin-top: 12px;
    opacity: 1;
    transform: none;
    transition-delay: .2s;
}
.erp-p-media {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 46%;
    aspect-ratio: 560 / 440;
    border-radius: 14px;
    background: #e9efee;
    box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
    overflow: hidden;
    opacity: 0;
    transform: translateX(28px) scale(.97);
    pointer-events: none;
    transition: opacity .45s ease, transform .7s var(--erp-ease);
}
.erp-p-media img { width: 100%; height: 100%; object-fit: cover; }
.erp-panel.is-active .erp-p-media { opacity: 1; transform: none; transition-delay: .25s; }
.erp-p-bar { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--erp-sea); }
.erp-panel.is-active .erp-p-bar { width: 100%; }
.erp-panels.is-auto .erp-panel.is-active .erp-p-bar { width: 0; animation: erp-fill 4.2s linear forwards; }
/* MODULES: live dashboard window */
.erp-dash {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 16px;
    background: var(--erp-teal);
    box-shadow: 0 40px 80px -34px rgba(10, 16, 32, .55);
    overflow: hidden;
}
.erp-dash-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    background: #16262a;
}
.erp-dash-top span { width: 10px; height: 10px; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.erp-dash-top span:first-child { background: var(--erp-orange); }
.erp-dash-top b { margin-left: 12px; color: #aeb8c8; font-size: 13px; font-weight: 700; }
.erp .erp-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    color: #fff;
    font-size: 12px;
    font-style: normal;
    font-weight: 700;
}
.erp-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: erp-blink 1.6s ease-in-out infinite; }
.erp-dash-body { display: grid; grid-template-columns: 220px 1fr; min-height: 440px; }
.erp-modules {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border-right: 1px solid rgba(255, 255, 255, .1);
    background: #16262a;
}
.erp-modules button {
    width: 100%;
    padding: 12px 16px;
    border: 0;
    border-left: 3px solid transparent;
    background: transparent;
    color: #aeb8c8;
    font-size: .95rem;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color .3s, background .3s, border-color .3s;
}
.erp-modules button:hover { color: #fff; }
.erp-modules button.is-active { border-left-color: var(--erp-sea); background: rgba(141, 183, 189, .14); color: #fff; font-weight: 700; }
.erp-view { display: flex; flex-direction: column; gap: 22px; padding: clamp(18px, 3vw, 30px); }
.erp-view-head h3 { color: #fff; font-size: 1.25rem; font-weight: 500; line-height: 1.2; letter-spacing: -.02em; }
.erp-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.erp-kpi {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}
.erp-kpi i { width: 42%; height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .2); }
.erp-kpi b { display: block; width: var(--w); height: 20px; border-radius: 8px; background: linear-gradient(90deg, #5f8f96, var(--erp-sea)); transition: width .7s var(--erp-ease); }
.erp-kpi span { width: 30%; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.erp-chart {
    display: flex;
    flex: 1;
    align-items: flex-end;
    gap: 12px;
    min-height: 150px;
    padding: 18px 18px 0;
    border-radius: 12px;
    background:
        repeating-linear-gradient(180deg, transparent 0 37px, rgba(255, 255, 255, .06) 37px 38px),
        rgba(255, 255, 255, .04);
}
.erp-bar {
    flex: 1;
    height: var(--h);
    border-radius: 6px 6px 0 0;
    background: linear-gradient(180deg, #b6d6da, var(--erp-sea));
    transition: height .7s var(--erp-ease);
}
.erp-bar:nth-child(even) { background: rgba(255, 255, 255, .26); }
.erp-table { display: flex; flex-direction: column; gap: 10px; }
.erp-table li {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .04);
}
.erp-table span { height: 8px; border-radius: 8px; background: rgba(255, 255, 255, .18); }
.erp-table span + span { background: rgba(255, 255, 255, .09); }
.erp .erp-table em { width: 48px; height: 18px; border-radius: 12px; background: rgba(141, 183, 189, .4); }
/* CTA*/
.erp-cta-sec {
    --erp-soft: #8fa3a6;
    color: #fff;
    background:
        radial-gradient(50% 90% at 90% 50%, rgba(141, 183, 189, .18), transparent 70%),
        radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1.2px) 0 0 / 22px 22px,
        var(--erp-teal);
}
.erp-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; }
.erp-cta-copy { flex: 1 1 480px; }
.erp-cta .erp-h2 { max-width: 24ch; }
.erp-cta-copy p { max-width: 46ch; margin-top: 16px; color: #aeb8c8; font-size: 1rem; }
.erp-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 30px;
    border: 1px solid #fff;
    background: linear-gradient(#fff, #fff) no-repeat left center / 0% 100%;
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background-size .5s var(--erp-ease), color .4s;
}
.erp-cta-btn:hover { background-size: 100% 100%; color: var(--erp-teal); }
/* REVEAL (active only after JS adds .erp-js) */
.erp-js [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .8s var(--erp-ease) var(--d, 0s), transform .8s var(--erp-ease) var(--d, 0s);
}
.erp-js [data-reveal].is-in { opacity: 1; transform: none; }
.erp-js .erp-cta-btn.is-in { transition: opacity .8s var(--erp-ease) var(--d, 0s), background-size .5s var(--erp-ease), color .4s; }
.erp-js .erp-ledger li {
    opacity: 0;
    transform: translateX(-14px);
    transition: opacity .6s ease calc(var(--i) * .06s), transform .6s var(--erp-ease) calc(var(--i) * .06s);
}
.erp-js .erp-ledger.is-in li { opacity: 1; transform: none; }
.erp-js .erp-dash { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--erp-ease), transform .8s var(--erp-ease); }
.erp-js .erp-dash.is-in { opacity: 1; transform: none; }
.erp-js .erp-dash:not(.is-in) .erp-bar { height: 4%; }
/* KEYFRAMES */

@keyframes erp-line-up { to { transform: translateY(0); } }
@keyframes erp-fade    { to { opacity: 1; transform: none; } }
@keyframes erp-rise    { to { opacity: 1; transform: none; } }
@keyframes erp-bob     { from { translate: 0 -10px; } to { translate: 0 10px; } }
@keyframes erp-float   { from { transform: translateY(-6px); } to { transform: translateY(6px); } }
@keyframes erp-fill    { to { width: 100%; } }
@keyframes erp-blink   { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
/* RESPONSIVE */
@media (max-width: 1100px) {
    .erp-chip--1 { left: -8px; }
    .erp-chip--2 { right: -8px; }
}
@media (max-width: 900px) {
    .erp-hero-grid { grid-template-columns: 1fr; }
    .erp-mosaic { max-width: 480px; }
    .erp-intro { grid-template-columns: 1fr; }
    .erp-ledger { grid-auto-flow: row; grid-template-rows: none; }
    .erp-ledger li:nth-child(5) { border-bottom: 1px solid #e8ebea; }
    .erp-ledger li::before { left: -12px; }
    /* panels stack and every step stays open */
    .erp-panels { flex-direction: column; height: auto; }
    .erp-panel { flex: none; gap: 20px; }
    .erp-panel.is-active .erp-p-body { max-width: none; }
    .erp-p-body p { max-height: none; margin-top: 12px; opacity: 1; transform: none; }
    .erp-p-media { position: relative; inset: auto; width: 100%; max-width: 420px; opacity: 1; transform: none; }
    .erp-p-bar { display: none; }
    .erp-dash-body { grid-template-columns: 1fr; }
    .erp-modules { flex-direction: row; gap: 0; overflow-x: auto; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 0 8px; }
    .erp-modules button { width: auto; border-left: 0; border-bottom: 3px solid transparent; padding: 14px 16px; white-space: nowrap; }
    .erp-modules button.is-active { border-bottom-color: var(--erp-sea); }
}
@media (max-width: 640px) {
    .erp-wrap { width: min(1280px, 100% - 30px); }
    .erp-actions { flex-direction: column; align-items: stretch; }
    .erp-col--a { padding-top: 36px; }
    .erp-chip--2 { display: none; }
    .erp-chip--1 { left: -4px; top: 10px; }
    .erp-chip--3 { left: -4px; bottom: 10px; }
    .erp-kpis { grid-template-columns: 1fr; }
    .erp-kpi { flex-direction: row; align-items: center; }
    .erp-kpi i { width: 22%; }
    .erp-kpi b { flex: 1; width: auto; max-width: var(--w); }
    .erp-kpi span { display: none; }
    .erp-cta-btn { width: 100%; justify-content: center; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    .erp *,
    .erp *::before,
    .erp *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        animation-delay: 0s !important;
        transition-duration: .01ms !important;
        transition-delay: 0s !important;
    }
    .erp-js [data-reveal],
    .erp-js .erp-ledger li,
    .erp-js .erp-dash { opacity: 1; transform: none; }
}