/* ============================================================
   CRM DEBUGZONE — Services page (STATIC, modern, Litify-inspired)
   Scoped under .svc-revamp. Content is hardcoded (no CMS).
   ============================================================ */
.svc-revamp {
    --s-blue: #1d6cff; --s-blue-2: #1558d6; --s-cyan: #06b6d4; --s-cyan-2: #22d3ee;
    --s-navy: #0a2540; --s-ink: #16273f; --s-muted: #5a6b82;
    --s-bg: #f6f9fe; --s-bg-2: #eef5ff; --s-line: #e5edf7; --s-card: #fff;
    --s-radius: 18px; --s-radius-sm: 12px;
    --s-shadow: 0 22px 54px rgba(17, 66, 126, .12); --s-shadow-sm: 0 8px 24px rgba(17, 66, 126, .07);
    --s-font: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--s-ink); font-family: var(--s-font); background: #fff; overflow-x: hidden;
}
.svc-revamp p { color: var(--s-muted); line-height: 1.75; }
.svc-revamp a { text-decoration: none; }
.svc-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.svc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--s-blue); background: rgba(29, 108, 255, .08); padding: 7px 16px; border-radius: 999px; margin-bottom: 16px; }
.svc-eyebrow.on-dark { color: var(--s-cyan-2); background: rgba(34, 211, 238, .12); }
.svc-title { font-size: clamp(27px, 3.4vw, 40px); font-weight: 800; color: var(--s-navy); line-height: 1.15; margin: 0 0 14px; }
.svc-title .grad { background: linear-gradient(90deg, var(--s-blue), var(--s-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc-sub { font-size: 16.5px; max-width: 760px; }
.svc-center { text-align: center; } .svc-center .svc-sub { margin: 0 auto; }
.svc-head { margin-bottom: 44px; }
.svc-section { padding: 78px 0; }
.svc-section.tint { background: var(--s-bg); }

.svc-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15.5px; padding: 14px 28px; border-radius: 999px; transition: transform .15s ease, box-shadow .18s ease, background .18s ease; border: none; cursor: pointer; }
.svc-btn-primary { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); color: #fff; box-shadow: 0 12px 26px rgba(29, 108, 255, .30); }
.svc-btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(29, 108, 255, .38); }
.svc-btn-ghost { background: #fff; color: var(--s-navy); border: 1.5px solid var(--s-line); }
.svc-btn-ghost:hover { border-color: var(--s-blue); color: var(--s-blue); }
.svc-btn-white { background: #fff; color: var(--s-blue); } .svc-btn-white:hover { color: var(--s-blue-2); transform: translateY(-2px); }
.svc-btn-outline { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); } .svc-btn-outline:hover { background: rgba(255, 255, 255, .2); color: #fff; }

/* ---------------- Hero ---------------- */
.svc-hero { position: relative; padding: 74px 0 78px; overflow: hidden; border-bottom: 1px solid var(--s-line);
    background:
        radial-gradient(900px 460px at 92% -10%, rgba(34, 211, 238, .18), transparent 62%),
        radial-gradient(820px 440px at -5% 120%, rgba(29, 108, 255, .13), transparent 60%),
        linear-gradient(180deg, #ffffff 0%, var(--s-bg-2) 100%); }
.svc-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: radial-gradient(rgba(29, 108, 255, .05) 1px, transparent 1px); background-size: 26px 26px; }
.svc-hero > .svc-container { position: relative; z-index: 2; max-width: 860px; }
.svc-hero h1 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 800; color: var(--s-navy); line-height: 1.08; margin: 0 0 18px; }
.svc-hero h1 .grad { background: linear-gradient(90deg, var(--s-blue), var(--s-cyan)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.svc-hero-sub { font-size: 18px; max-width: 680px; margin-bottom: 28px; }
.svc-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------------- Tabbed services ---------------- */
.svc-tabs__nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.svc-tab {
    display: inline-flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--s-line);
    color: var(--s-navy); font-weight: 700; font-size: 15.5px; padding: 12px 24px; border-radius: 999px; cursor: pointer;
    transition: all .18s ease;
}
.svc-tab i { color: var(--s-blue); transition: color .18s ease; }
.svc-tab:hover { border-color: #bcd3f5; transform: translateY(-2px); }
.svc-tab.active { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); border-color: transparent; color: #fff; box-shadow: 0 12px 26px rgba(29, 108, 255, .28); }
.svc-tab.active i { color: #fff; }

.svc-panel { display: none; animation: svcFade .4s ease; }
.svc-panel.active { display: block; }
@keyframes svcFade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: 16px; padding: 28px 26px; box-shadow: var(--s-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; overflow: hidden; }
.svc-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--s-blue), var(--s-cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--s-shadow); border-color: #cfe0f5; }
.svc-card:hover::before { transform: scaleX(1); }
.svc-card .ic { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; font-size: 23px; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, var(--s-navy), var(--s-blue)); }
.svc-card:nth-child(3n+2) .ic { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); }
.svc-card:nth-child(3n) .ic { background: linear-gradient(135deg, var(--s-cyan), #0891b2); }
.svc-card h3 { font-size: 18px; font-weight: 800; color: var(--s-navy); margin: 0 0 9px; }
.svc-card p { font-size: 14px; margin: 0 0 16px; color: var(--s-muted); line-height: 1.6; flex: 1; }
.svc-card .more { font-size: 14px; font-weight: 700; color: var(--s-blue); display: inline-flex; align-items: center; gap: 7px; }
.svc-card .more i { transition: transform .15s ease; }
.svc-card:hover .more i { transform: translateX(3px); }
.svc-panel__note { text-align: center; margin-top: 34px; font-size: 15px; color: var(--s-muted); }
.svc-panel__note a { color: var(--s-blue); font-weight: 700; }

/* ---------------- Benefits / why ---------------- */
.svc-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-why { background: #fff; border: 1px solid var(--s-line); border-radius: 16px; padding: 28px 24px; box-shadow: var(--s-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.svc-why:hover { transform: translateY(-6px); box-shadow: var(--s-shadow); }
.svc-why .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, var(--s-navy), var(--s-blue)); }
.svc-why:nth-child(2) .ic { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); }
.svc-why:nth-child(3) .ic { background: linear-gradient(135deg, var(--s-cyan), #0891b2); }
.svc-why:nth-child(4) .ic { background: linear-gradient(135deg, #7c3aed, var(--s-blue)); }
.svc-why h3 { font-size: 17px; font-weight: 800; color: var(--s-navy); margin: 0 0 8px; }
.svc-why p { font-size: 14px; margin: 0; }

/* ---------------- Testimonials ---------------- */
.svc-tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-tst { background: #fff; border: 1px solid var(--s-line); border-radius: 16px; padding: 28px 26px; box-shadow: var(--s-shadow-sm); display: flex; flex-direction: column; }
.svc-tst__stars { color: #f5a623; font-size: 14px; margin-bottom: 14px; letter-spacing: 2px; }
.svc-tst__stars .off { color: #d8e0ea; }
.svc-tst__text { font-size: 15px; color: var(--s-ink); line-height: 1.7; margin: 0 0 20px; flex: 1; }
.svc-tst__who { display: flex; align-items: center; gap: 12px; }
.svc-tst__who img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; border: 2px solid var(--s-bg-2); }
.svc-tst__who .nm { font-weight: 800; color: var(--s-navy); font-size: 15px; }
.svc-tst__who .rl { font-size: 12.5px; color: var(--s-muted); }

/* ---------------- CTA ---------------- */
.svc-cta { padding: 0 0 84px; }
.svc-cta__inner { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); border-radius: 24px; padding: 52px 46px; text-align: center; color: #fff; position: relative; overflow: hidden; box-shadow: 0 26px 60px rgba(29, 108, 255, .30); }
.svc-cta__inner::after { content: ""; position: absolute; width: 320px; height: 320px; left: -90px; bottom: -140px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .16), transparent 70%); }
.svc-cta__inner h2 { color: #fff; font-size: clamp(24px, 3vw, 36px); font-weight: 800; margin: 0 0 12px; position: relative; z-index: 2; }
.svc-cta__inner p { color: #eaf4ff; font-size: 17px; max-width: 640px; margin: 0 auto 26px; position: relative; z-index: 2; }
.svc-cta__btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; position: relative; z-index: 2; }

/* ---------------- Animations ---------------- */
@keyframes svcUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.svc-hero > .svc-container > * { animation: svcUp .55s ease both; }
.svc-revamp.js-anim .svc-reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.svc-revamp.js-anim .svc-reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 991px) {
    .svc-grid, .svc-tst-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-why-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
}
@media (max-width: 767px) {
    .svc-section { padding: 54px 0; } .svc-hero { padding: 52px 0 60px; }
    .svc-grid, .svc-tst-grid, .svc-why-grid { grid-template-columns: 1fr; }
    .svc-tab { padding: 10px 18px; font-size: 14.5px; }
    .svc-cta__inner { padding: 34px 22px; }
}
@media (prefers-reduced-motion: reduce) {
    .svc-revamp *, .svc-revamp *::before, .svc-revamp *::after { animation: none !important; transition: none !important; }
    .svc-revamp.js-anim .svc-reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Overview — 3-category selector + category sections
   ============================================================ */
.svc-catcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-catcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--s-line); border-radius: 20px; padding: 32px 28px; box-shadow: var(--s-shadow-sm); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; position: relative; overflow: hidden; }
.svc-catcard::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--s-blue), var(--s-cyan)); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.svc-catcard:hover { transform: translateY(-8px); box-shadow: var(--s-shadow); border-color: #cfe0f5; }
.svc-catcard:hover::before { transform: scaleX(1); }
.svc-catcard .ic { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; font-size: 27px; color: #fff; margin-bottom: 18px; background: linear-gradient(135deg, var(--s-navy), var(--s-blue)); }
.svc-catcards a:nth-child(2) .ic { background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); }
.svc-catcards a:nth-child(3) .ic { background: linear-gradient(135deg, #7c3aed, var(--s-blue)); }
.svc-catcard .tag { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--s-blue); margin-bottom: 8px; }
.svc-catcard h3 { font-size: 22px; font-weight: 800; color: var(--s-navy); margin: 0 0 10px; }
.svc-catcard p { font-size: 14.5px; margin: 0 0 18px; flex: 1; }
.svc-catcard__foot { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--s-blue); font-size: 14px; }
.svc-catcard:hover .svc-catcard__foot i { transform: translateY(3px); }
.svc-catcard__foot i { transition: transform .2s ease; }

.svc-catsec { scroll-margin-top: 90px; }
.svc-catsec__head { display: flex; align-items: center; gap: 20px; margin-bottom: 40px; }
.svc-catsec__head .ic { width: 66px; height: 66px; flex: 0 0 66px; border-radius: 17px; display: grid; place-items: center; font-size: 27px; color: #fff; background: linear-gradient(135deg, var(--s-navy), var(--s-blue)); box-shadow: var(--s-shadow-sm); }
.svc-catsec__head h2 { margin: 4px 0 6px; }
.svc-catsec__head p { margin: 0; }
.svc-catsec__head .svc-eyebrow { margin-bottom: 6px; }

/* ============================================================
   Service detail page
   ============================================================ */
.svc-breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 14px; color: var(--s-muted); margin-bottom: 18px; }
.svc-breadcrumb a { color: var(--s-muted); } .svc-breadcrumb a:hover { color: var(--s-blue); }
.svc-breadcrumb .sep { opacity: .5; }

.svc-dgrid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: start; }
.svc-dintro { font-size: 18px; line-height: 1.8; color: var(--s-ink); margin: 0 0 8px; }
.svc-dh { font-size: 23px; font-weight: 800; color: var(--s-navy); margin: 34px 0 18px; }

.svc-includes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.svc-includes li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: var(--s-ink); }
.svc-includes .chk { flex: 0 0 24px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); margin-top: 1px; }

.svc-benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-benefit { display: flex; gap: 14px; align-items: flex-start; background: var(--s-bg); border: 1px solid var(--s-line); border-radius: 14px; padding: 18px 20px; }
.svc-benefit .ic { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 15px; background: linear-gradient(135deg, var(--s-navy), var(--s-blue)); }
.svc-benefit p { margin: 0; font-size: 14.5px; color: var(--s-ink); font-weight: 600; }

.svc-process { display: flex; flex-direction: column; gap: 14px; }
.svc-step { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--s-line); border-radius: 14px; padding: 18px 20px; box-shadow: var(--s-shadow-sm); }
.svc-step .n { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 11px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--s-blue), var(--s-cyan)); }
.svc-step h4 { font-size: 16px; font-weight: 700; color: var(--s-navy); margin: 4px 0 4px; }
.svc-step p { margin: 0; font-size: 14px; }

/* sidebar */
.svc-dside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 22px; }
.svc-side-card { background: #fff; border: 1px solid var(--s-line); border-radius: 18px; padding: 26px 24px; box-shadow: var(--s-shadow-sm); }
.svc-side-cta { background: linear-gradient(155deg, var(--s-navy), #113a67); color: #fff; border-color: transparent; }
.svc-side-cta h3 { color: #fff; font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.svc-side-cta p { color: #cfe0f2; font-size: 14px; margin: 0 0 18px; }
.svc-side-cta .svc-btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.svc-side-cta .svc-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .25); }
.svc-side-cta .svc-btn-ghost:hover { background: rgba(255, 255, 255, .18); color: #fff; }
.svc-side-title { font-size: 16px; font-weight: 800; color: var(--s-navy); margin: 0 0 8px; }
.svc-side-list { list-style: none; margin: 0; padding: 0; }
.svc-side-list li a { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 11px; color: var(--s-navy); font-weight: 600; font-size: 14.5px; transition: background .15s ease, color .15s ease; }
.svc-side-list li a > i:first-child { color: var(--s-blue); width: 18px; text-align: center; }
.svc-side-list li a .arw { margin-left: auto; color: #c2d3ea; font-size: 12px; transition: transform .15s ease, color .15s ease; }
.svc-side-list li a:hover { background: var(--s-bg); }
.svc-side-list li a:hover .arw { color: var(--s-blue); transform: translateX(3px); }

@media (max-width: 991px) {
    .svc-catcards { grid-template-columns: 1fr; }
    .svc-dgrid { grid-template-columns: 1fr; gap: 34px; }
    .svc-dside { position: static; }
}
@media (max-width: 767px) {
    .svc-catsec__head { flex-direction: column; align-items: flex-start; gap: 14px; }
    .svc-includes, .svc-benefits { grid-template-columns: 1fr; }
}
