/* ============================================================
   CRM DEBUGZONE — Estimation Calculator page revamp
   Scoped under .est-revamp so it never leaks into the shared
   header/footer. Preserves every functional hook/ID/class the
   calculator JS and controller-injected HTML rely on.
   ============================================================ */

.est-revamp {
    --e-navy: #0a2540;
    --e-navy-2: #0d2c4d;
    --e-blue: #2563eb;
    --e-blue-2: #1d4ed8;
    --e-cyan: #06b6d4;
    --e-cyan-2: #22d3ee;
    --e-orange: #f97316;
    --e-orange-2: #ea6a0c;
    --e-ink: #14243b;
    --e-muted: #5c6b82;
    --e-bg: #f5f9fe;
    --e-line: #e6edf6;
    --e-card: #ffffff;
    --e-radius: 18px;
    --e-radius-sm: 12px;
    --e-shadow: 0 18px 48px rgba(10, 37, 64, .10);
    --e-shadow-sm: 0 8px 24px rgba(10, 37, 64, .07);
    --e-font: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--e-ink);
    font-family: var(--e-font);
    background: var(--e-bg);
    overflow-x: hidden;
}

.est-revamp p { color: var(--e-muted); line-height: 1.7; }
.est-revamp .est-container { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.est-revamp .est-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--e-blue); background: rgba(37, 99, 235, .09);
    padding: 7px 16px; border-radius: 999px; margin-bottom: 18px;
}
.est-revamp .est-eyebrow.on-dark { color: var(--e-cyan-2); background: rgba(34, 211, 238, .12); }
.est-revamp .est-section-title {
    font-size: clamp(26px, 3.4vw, 40px); font-weight: 800; line-height: 1.15;
    color: var(--e-navy); margin: 0 0 14px;
}
.est-revamp .est-section-sub { font-size: 17px; max-width: 720px; }
.est-revamp .est-center { text-align: center; }
.est-revamp .est-center .est-section-sub { margin-left: auto; margin-right: auto; }
.est-revamp .est-highlight { color: var(--e-orange); }

/* ---------------- Hero ---------------- */
.est-revamp .est-hero {
    position: relative;
    background:
        radial-gradient(1100px 480px at 82% -8%, rgba(34, 211, 238, .22), transparent 60%),
        radial-gradient(760px 420px at 8% 110%, rgba(249, 115, 22, .16), transparent 60%),
        linear-gradient(135deg, var(--e-navy) 0%, var(--e-navy-2) 55%, #113a67 100%);
    color: #fff; padding: 88px 0 96px; overflow: hidden;
}
.est-revamp .est-hero::after {
    content: ""; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px);
    background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.est-revamp .est-hero > .est-container { position: relative; z-index: 2; }
.est-revamp .est-hero h1 {
    font-size: clamp(32px, 4.8vw, 58px); font-weight: 800; line-height: 1.08;
    letter-spacing: -.5px; margin: 0 0 20px; color: #fff;
}
.est-revamp .est-hero h1 .grad {
    background: linear-gradient(90deg, var(--e-cyan-2), #7dd3fc);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.est-revamp .est-hero .est-hero-sub { color: #cfe0f2; font-size: 18px; max-width: 620px; margin-bottom: 32px; }
.est-revamp .est-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.est-revamp .est-btn {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
    font-weight: 700; font-size: 16px; padding: 15px 30px; border-radius: 999px;
    border: none; text-decoration: none; transition: transform .15s ease, box-shadow .18s ease, background .18s ease;
}
.est-revamp .est-btn-primary { background: var(--e-orange); color: #fff; box-shadow: 0 12px 26px rgba(249, 115, 22, .34); }
.est-revamp .est-btn-primary:hover { background: var(--e-orange-2); color: #fff; transform: translateY(-2px); }
.est-revamp .est-btn-ghost { background: rgba(255, 255, 255, .08); color: #fff; border: 1px solid rgba(255, 255, 255, .25); }
.est-revamp .est-btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; }

.est-revamp .est-trustbar {
    display: flex; flex-wrap: wrap; gap: 14px; margin-top: 46px;
}
.est-revamp .est-trust {
    display: flex; align-items: center; gap: 12px;
    background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px; padding: 14px 20px; backdrop-filter: blur(6px);
}
.est-revamp .est-trust .num { font-size: 24px; font-weight: 800; color: #fff; line-height: 1; }
.est-revamp .est-trust .lbl { font-size: 12.5px; color: #b9cbe0; line-height: 1.3; }

/* ---------------- Section shell ---------------- */
.est-revamp .est-section { padding: 78px 0; }
.est-revamp .est-section.alt { background: #fff; }
.est-revamp .est-head { margin-bottom: 46px; }

/* ---------------- "What you'll see" feature grid ---------------- */
.est-revamp .est-features {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.est-revamp .est-feature {
    background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-radius);
    padding: 30px 24px; box-shadow: var(--e-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease; position: relative; overflow: hidden;
}
.est-revamp .est-feature::before {
    content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--e-blue), var(--e-cyan));
    transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.est-revamp .est-feature:hover { transform: translateY(-6px); box-shadow: var(--e-shadow); }
.est-revamp .est-feature:hover::before { transform: scaleX(1); }
.est-revamp .est-feature .ico {
    width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
    font-size: 24px; color: #fff; margin-bottom: 18px;
    background: linear-gradient(135deg, var(--e-navy), var(--e-blue));
}
.est-revamp .est-feature:nth-child(2) .ico { background: linear-gradient(135deg, var(--e-blue), var(--e-cyan)); }
.est-revamp .est-feature:nth-child(3) .ico { background: linear-gradient(135deg, var(--e-cyan), #0891b2); }
.est-revamp .est-feature:nth-child(4) .ico { background: linear-gradient(135deg, var(--e-orange), #fb923c); }
.est-revamp .est-feature h3 { font-size: 19px; font-weight: 700; color: var(--e-navy); margin: 0 0 10px; }
.est-revamp .est-feature p { font-size: 14.5px; margin: 0; }

/* ---------------- Process stepper ---------------- */
.est-revamp .est-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.est-revamp .est-step {
    position: relative; background: #fff; border: 1px solid var(--e-line);
    border-radius: var(--e-radius); padding: 30px 26px 28px; box-shadow: var(--e-shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease;
}
.est-revamp .est-step:hover { transform: translateY(-5px); box-shadow: var(--e-shadow); }
.est-revamp .est-step .num {
    position: absolute; top: -18px; left: 26px;
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    font-weight: 800; font-size: 18px; color: #fff;
    background: linear-gradient(135deg, var(--e-navy), var(--e-blue));
    box-shadow: 0 10px 20px rgba(37, 99, 235, .3);
}
.est-revamp .est-step h3 { font-size: 18px; font-weight: 700; color: var(--e-navy); margin: 22px 0 10px; }
.est-revamp .est-step p { font-size: 14.5px; margin: 0; }

/* ============================================================
   CALCULATOR TOOL  (#processwar) — keeps all functional hooks
   ============================================================ */
.est-revamp .est-tool { padding: 78px 0 90px; background: var(--e-bg); }
.est-revamp .est-tool .est-head { text-align: center; }

.est-revamp .est-panel {
    background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-radius);
    box-shadow: var(--e-shadow); padding: 26px; margin-bottom: 30px;
}
.est-revamp .est-panel__bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 20px; align-items: end;
    padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px dashed var(--e-line);
}
.est-revamp .est-panel__bar label {
    display: block; font-weight: 700; font-size: 13px; color: var(--e-navy);
    text-transform: uppercase; letter-spacing: .6px; margin-bottom: 8px;
}
.est-revamp #txtSearch {
    width: 100%; border: 1.5px solid var(--e-line); border-radius: 12px;
    padding: 13px 16px; font-size: 15px; color: var(--e-ink); background: #fff; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.est-revamp #txtSearch:focus { border-color: var(--e-cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, .14); }

/* bootstrap-select — dark navy control with WHITE value text (always readable) */
.est-revamp .est-panel .bootstrap-select button.dropdown-toggle,
.est-revamp .bootstrap-select .dropdown-toggle,
.est-revamp .bootstrap-select > button,
.est-revamp .bootstrap-select button.btn {
    background: var(--e-navy) !important; background-color: var(--e-navy) !important;
    color: #fff !important;
    border: 1.5px solid rgba(255, 255, 255, .16) !important; border-radius: 12px !important;
    padding: 12px 16px !important; height: auto !important;
    box-shadow: none !important; font-size: 15px !important; text-shadow: none !important;
}
.est-revamp .est-panel .bootstrap-select button.dropdown-toggle:hover,
.est-revamp .est-panel .bootstrap-select button.dropdown-toggle:focus,
.est-revamp .bootstrap-select .dropdown-toggle:hover,
.est-revamp .bootstrap-select .dropdown-toggle:focus,
.est-revamp .bootstrap-select .dropdown-toggle:active,
.est-revamp .bootstrap-select.show > .dropdown-toggle {
    background: var(--e-navy) !important; background-color: var(--e-navy) !important; color: #fff !important;
    border-color: var(--e-cyan) !important; box-shadow: 0 0 0 4px rgba(6, 182, 212, .25) !important; outline: none !important;
}
/* selected value + placeholder -> white, all the time */
.est-revamp .bootstrap-select .filter-option,
.est-revamp .bootstrap-select .filter-option-inner,
.est-revamp .bootstrap-select .filter-option-inner-inner,
.est-revamp .est-panel .bootstrap-select .filter-option-inner-inner { color: #fff !important; }
.est-revamp .bootstrap-select .dropdown-toggle.bs-placeholder,
.est-revamp .bootstrap-select .dropdown-toggle.bs-placeholder .filter-option-inner-inner { color: rgba(255, 255, 255, .70) !important; }
/* caret -> white */
.est-revamp .bootstrap-select .dropdown-toggle::after { color: #fff !important; border-top-color: #fff !important; opacity: .9; }
/* the OPEN menu stays light + readable (dark text on white) */
.est-revamp .bootstrap-select .dropdown-menu { background: #fff !important; border: 1px solid var(--e-line); border-radius: 12px; box-shadow: var(--e-shadow-sm); }
.est-revamp .bootstrap-select .dropdown-menu li a,
.est-revamp .bootstrap-select .dropdown-menu li a span.text { color: var(--e-ink) !important; }
.est-revamp .bootstrap-select .dropdown-menu li a.active,
.est-revamp .bootstrap-select .dropdown-menu li a:hover { background: rgba(37, 99, 235, .08) !important; color: var(--e-navy) !important; }
.est-revamp .bootstrap-select.show-tick .dropdown-menu li a span.check-mark { color: var(--e-blue) !important; }
.est-revamp .bootstrap-select .bs-searchbox input { border: 1px solid var(--e-line) !important; border-radius: 8px; color: var(--e-ink) !important; background: #fff !important; }
.est-revamp .dropdown.bootstrap-select .dropdown-menu { border: 1px solid var(--e-line); border-radius: 12px; box-shadow: var(--e-shadow-sm); }
.est-revamp .dropdown.bootstrap-select .dropdown-menu li a.active,
.est-revamp .dropdown.bootstrap-select .dropdown-menu li a:hover { background: rgba(37, 99, 235, .08); color: var(--e-navy); }
.est-revamp .dropdown.bootstrap-select.show-tick .dropdown-menu li a span.check-mark { color: var(--e-blue); }

/* results grid (injected #showMatchCategory cards) */
.est-revamp #showMatchCategory {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 18px; margin-top: 24px;
}
.est-revamp #showMatchCategory.whenNoData { min-height: 60px; }
.est-revamp #showMatchCategory > .col-lg-12 { width: auto; max-width: none; flex: none; padding: 0; }
.est-revamp #showMatchCategory > nav,
.est-revamp #showMatchCategory > .pagination { grid-column: 1 / -1; }

/* injected service card (controller HTML: .pricing__box-two) */
.est-revamp .pricing__box.pricing__box-two {
    border: 1px solid var(--e-line); border-radius: 16px; background: #fff;
    padding: 22px; height: 100%; display: flex; flex-direction: column;
    box-shadow: var(--e-shadow-sm); transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
}
.est-revamp .pricing__box.pricing__box-two:hover { transform: translateY(-4px); box-shadow: var(--e-shadow); border-color: #cfe0f5; z-index: 200; }
.est-revamp .pricing__box-two .pricing__head { border: none; padding: 0 0 12px; margin-bottom: 12px; border-bottom: 1px solid var(--e-line); }
.est-revamp .pricing__box-two .pricing__head .title { font-size: 18px; font-weight: 800; color: var(--e-navy); margin: 0; }
.est-revamp .pricing__box-two .pricing__list { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.est-revamp .pricing__box-two .detailcard { font-size: 13.5px; }
.est-revamp .pricing__box-two .detailcard p { margin: 0; color: var(--e-muted); }
.est-revamp .pricing__box-two .detailcard strong { color: var(--e-navy); }
.est-revamp .pricing__box-two .salesforceimg { margin: 12px 0; }
.est-revamp .pricing__box-two .salesforceimg img { max-height: 90px; width: auto; border-radius: 10px; }
.est-revamp .pricing__box-two .hover-target { color: var(--e-blue); font-weight: 700; font-size: 13px; cursor: pointer; display: inline-block; margin-top: 2px; }
.est-revamp .pricing__box-two .hover-container { position: relative; }
.est-revamp .pricing__box-two .hover-popup {
    display: none; position: absolute; z-index: 500; left: -6px; right: -6px; top: calc(100% + 6px);
    background: var(--e-navy); color: #eaf2fb; padding: 14px 16px; border-radius: 12px;
    font-size: 13px; line-height: 1.6; box-shadow: 0 20px 46px rgba(10, 37, 64, .34);
    max-height: 240px; overflow: auto;
}
.est-revamp .pricing__box-two .hover-popup::before {
    content: ""; position: absolute; top: -7px; left: 22px; width: 14px; height: 14px;
    background: var(--e-navy); transform: rotate(45deg); border-radius: 2px;
}
.est-revamp .pricing__box-two .hover-container:hover .hover-popup { display: block; animation: estPopupIn .18s ease; }
@keyframes estPopupIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.est-revamp .pricing__box-two .pricing__btn2 { margin-top: 16px; }
/* Add / Remove button (a.addtocart) — JS toggles bg-success/bg-danger + text */
.est-revamp .addtocart {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
    padding: 12px 18px; border-radius: 12px; font-weight: 700; font-size: 15px; cursor: pointer;
    text-decoration: none; color: #fff !important;
    background: linear-gradient(135deg, var(--e-blue), var(--e-cyan)); border: none;
    transition: filter .15s ease, transform .12s ease;
}
.est-revamp .addtocart:hover { filter: brightness(1.05); transform: translateY(-1px); }
.est-revamp .addtocart.bg-danger { background: var(--e-orange) !important; }
.est-revamp .addtocart.bg-success { background: linear-gradient(135deg, var(--e-blue), var(--e-cyan)) !important; }

/* No-data card */
.est-revamp .CardNoData h2 { color: var(--e-muted) !important; font-weight: 700; }

/* pagination */
.est-revamp .pagination { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 22px; padding: 0; list-style: none; }
.est-revamp .pagination .page-item .page-link,
.est-revamp .pagination li a, .est-revamp .pagination li span {
    border: 1px solid var(--e-line); border-radius: 10px; padding: 8px 14px; color: var(--e-navy);
    text-decoration: none; font-weight: 600; background: #fff;
}
.est-revamp .pagination .active .page-link,
.est-revamp .pagination li.active span { background: var(--e-navy); border-color: var(--e-navy); color: #fff; }

/* ---------------- Selected services summary (#mytable) ---------------- */
.est-revamp .est-summary-wrap { }
.est-revamp .tablerrea { background: transparent; }
.est-revamp .tablerrea .backsgrung {
    background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-radius);
    box-shadow: var(--e-shadow-sm); padding: 8px; overflow: auto;
}
.est-revamp #mytable { width: 100%; margin: 0; color: var(--e-ink); border-collapse: separate; border-spacing: 0; }
.est-revamp #mytable thead th {
    background: var(--e-navy); color: #fff; font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: .5px; padding: 14px 14px; border: none; white-space: nowrap;
}
.est-revamp #mytable thead th:first-child { border-radius: 12px 0 0 0; }
.est-revamp #mytable thead th:last-child { border-radius: 0 12px 0 0; }
.est-revamp #mytable tbody td { padding: 13px 14px; border-top: 1px solid var(--e-line); vertical-align: middle; font-size: 14px; }
.est-revamp #mytable tbody td p { margin: 0; font-size: 13px; color: var(--e-muted); max-width: 260px; }
.est-revamp #mytable tbody tr:hover { background: #f7fbff; }
.est-revamp #mytable tbody .data-not-found td { text-align: center; color: var(--e-muted); padding: 26px; }
.est-revamp #mytable .removeclass { width: 26px; height: 26px; cursor: pointer; opacity: .85; transition: opacity .15s ease, transform .15s ease; }
.est-revamp #mytable .removeclass:hover { opacity: 1; transform: scale(1.12); }
.est-revamp #mytable tfoot.footertablesska td {
    background: #f2f7fe; font-weight: 800; color: var(--e-navy) !important; padding: 16px 14px; font-size: 15px; border-top: 2px solid var(--e-line); white-space: nowrap;
}
.est-revamp #mytable tfoot #TotalHours,
.est-revamp #mytable tfoot #finalSum { color: var(--e-navy) !important; font-size: 17px; }
.est-revamp .est-total-cost { display: inline-flex; align-items: baseline; gap: 2px; white-space: nowrap; color: var(--e-navy); font-size: 17px; font-weight: 800; }
.est-revamp .est-total-cost #finalSum { color: var(--e-navy) !important; }
.est-revamp .est-summary-empty { color: var(--e-muted); font-size: 14px; padding: 6px 4px 0; }

/* ---------------- Estimate contact form ---------------- */
.est-revamp .estmaionwalaform { padding: 0; }
.est-revamp .est-formcard {
    background: linear-gradient(150deg, var(--e-navy), var(--e-navy-2)); color: #fff;
    border-radius: var(--e-radius); padding: 32px; box-shadow: var(--e-shadow); height: 100%;
    position: relative; overflow: hidden;
}
.est-revamp .est-formcard::after {
    content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -60px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .25), transparent 70%);
}
.est-revamp .est-formcard .est-eyebrow { position: relative; z-index: 2; }
.est-revamp .est-formcard h3 { font-size: 24px; font-weight: 800; margin: 0 0 10px; color: #fff; position: relative; z-index: 2; }
.est-revamp .est-formcard > p { color: #cfe0f2; font-size: 14.5px; position: relative; z-index: 2; }
.est-revamp .est-formcard form { position: relative; z-index: 2; margin-top: 18px; }
.est-revamp .est-formcard .form-control {
    background: rgba(255, 255, 255, .96); border: 1.5px solid transparent; border-radius: 12px;
    padding: 13px 16px; font-size: 15px; color: var(--e-ink); width: 100%;
}
.est-revamp .est-formcard .form-control:focus { outline: none; border-color: var(--e-cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, .22); }
.est-revamp .est-formcard textarea.form-control { min-height: 110px; resize: vertical; }
.est-revamp .est-formcard .form-grp { margin-bottom: 14px; }
.est-revamp .est-formcard .iti { width: 100%; }
.est-revamp .est-formcard label.error { color: #ffd0d0 !important; font-size: 13px; }
.est-revamp .estimationbtnform {
    width: 100%; background: var(--e-orange); color: #fff; border: none; border-radius: 12px;
    padding: 15px; font-weight: 800; font-size: 16px; cursor: pointer; margin-top: 4px;
    box-shadow: 0 12px 26px rgba(249, 115, 22, .32); transition: background .15s ease, transform .12s ease;
}
.est-revamp .estimationbtnform:hover { background: var(--e-orange-2); transform: translateY(-2px); }
.est-revamp #loaderest { color: #fff; display: block; text-align: center; margin-top: 10px; }

/* ---------------- Loader overlay for AJAX (#load) ---------------- */
#load.est-loader {
    position: fixed; inset: 0; z-index: 20000; display: none; align-items: center; justify-content: center;
    background: rgba(10, 37, 64, .3); backdrop-filter: blur(2px);
}
#load.est-loader .sp { width: 46px; height: 46px; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .35); border-top-color: var(--e-orange); animation: estspin .8s linear infinite; }
@keyframes estspin { to { transform: rotate(360deg); } }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
    .est-revamp .est-features { grid-template-columns: repeat(2, 1fr); }
    .est-revamp .est-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .est-revamp .est-panel__bar { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
    .est-revamp .est-section { padding: 56px 0; }
    .est-revamp .est-hero { padding: 64px 0 70px; }
    .est-revamp .est-features, .est-revamp .est-steps { grid-template-columns: 1fr; }
    .est-revamp #showMatchCategory { grid-template-columns: 1fr; }
    .est-revamp #mytable thead { display: none; }
    .est-revamp #mytable tbody td { display: flex; justify-content: space-between; gap: 12px; border: none; border-bottom: 1px solid var(--e-line); }
    .est-revamp #mytable tbody tr { display: block; border: 1px solid var(--e-line); border-radius: 12px; margin-bottom: 12px; padding: 6px 10px; }
    .est-revamp #mytable tbody td::before { content: attr(data-label); font-weight: 700; color: var(--e-navy); }
    .est-revamp .est-formcard { margin-top: 24px; }
}

/* ============================================================
   Add-to-cart animations + live-total flash
   ============================================================ */
/* new summary row slides in when a service is added */
@keyframes estRowIn {
    0%   { opacity: 0; transform: translateY(-8px) scale(.99); background: rgba(6, 182, 212, .14); }
    100% { opacity: 1; transform: none; background: transparent; }
}
.est-revamp #mytable tbody tr { animation: estRowIn .4s cubic-bezier(.2, .8, .2, 1); }

/* the Add button pops + turns into Remove */
@keyframes estAddPop {
    0%   { transform: scale(1); }
    40%  { transform: scale(.92); }
    70%  { transform: scale(1.04); }
    100% { transform: scale(1); }
}
.est-revamp .addtocart.bg-danger { animation: estAddPop .4s ease; }

/* live totals flash when they change (triggered by tiny visual-only script) */
@keyframes estFlash {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.28); color: var(--e-orange); }
    100% { transform: scale(1); }
}
.est-revamp #finalSum.est-flash,
.est-revamp #TotalHours.est-flash { display: inline-block; animation: estFlash .5s ease; }

/* ============================================================
   "Why we share live pricing" — transparency / differentiator
   ============================================================ */
.est-revamp .est-why { background: linear-gradient(180deg, #ffffff 0%, #f4f9fe 100%); }
.est-revamp .est-compare {
    display: grid; grid-template-columns: 1fr auto 1fr; gap: 22px; margin-top: 12px; align-items: stretch;
}
@keyframes estRise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.est-revamp .est-compare__card {
    position: relative; border-radius: 22px; padding: 34px 30px; border: 1px solid var(--e-line);
    background: #fff; box-shadow: var(--e-shadow-sm); animation: estRise .55s ease both;
    transition: transform .22s ease, box-shadow .22s ease;
}
.est-revamp .est-compare__card:hover { transform: translateY(-6px); box-shadow: var(--e-shadow); }
.est-revamp .est-compare__top {
    display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding-bottom: 20px;
    border-bottom: 1px solid var(--e-line);
}
.est-revamp .est-compare__ico {
    width: 56px; height: 56px; flex: 0 0 56px; border-radius: 16px; display: grid; place-items: center; font-size: 23px;
}
.est-revamp .est-compare__top h3 { font-size: 21px; font-weight: 800; margin: 0 0 3px; line-height: 1.15; }
.est-revamp .est-compare__tag { font-size: 12px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; }
.est-revamp .est-compare__card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 15px; }
.est-revamp .est-compare__card li { display: flex; align-items: flex-start; gap: 14px; font-size: 15px; line-height: 1.55; }
.est-revamp .est-compare__card li .chip {
    flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
    font-size: 12px; margin-top: 1px;
}

/* THEM — the usual way */
.est-revamp .est-compare__them { background: #fbfcfe; }
.est-revamp .est-compare__them .est-compare__ico { background: #eef1f6; color: #97a4b6; }
.est-revamp .est-compare__them .est-compare__top h3 { color: #5b6b82; }
.est-revamp .est-compare__them .est-compare__tag { color: #9aa7ba; }
.est-revamp .est-compare__them li { color: #64748b; }
.est-revamp .est-compare__them li .chip { background: rgba(225, 29, 72, .10); color: #e11d48; }

/* US — the CRM DEBUGZONE way */
.est-revamp .est-compare__us {
    background: linear-gradient(155deg, var(--e-navy) 0%, var(--e-navy-2) 60%, #113a67 100%);
    border-color: transparent; color: #fff; overflow: hidden;
    box-shadow: 0 26px 60px rgba(8, 32, 60, .34);
}
.est-revamp .est-compare__us::after {
    content: ""; position: absolute; width: 260px; height: 260px; right: -80px; bottom: -80px; border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 211, 238, .22), transparent 70%); pointer-events: none;
}
.est-revamp .est-compare__us > * { position: relative; z-index: 2; }
.est-revamp .est-compare__us .est-compare__ico { background: linear-gradient(135deg, var(--e-cyan), #0891b2); color: #fff; }
.est-revamp .est-compare__us .est-compare__top { border-bottom-color: rgba(255, 255, 255, .12); }
.est-revamp .est-compare__us .est-compare__top h3 { color: #fff; }
.est-revamp .est-compare__us .est-compare__tag { color: var(--e-cyan-2); }
.est-revamp .est-compare__us li { color: #dbe7f6; }
.est-revamp .est-compare__us li strong { color: #fff; }
.est-revamp .est-compare__us li .chip { background: rgba(34, 211, 238, .18); color: var(--e-cyan-2); }
.est-revamp .est-compare__ribbon {
    position: absolute; top: 20px; right: 20px; z-index: 3; display: inline-flex; align-items: center; gap: 7px;
    background: var(--e-orange); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .3px;
    padding: 7px 14px; border-radius: 999px; box-shadow: 0 8px 18px rgba(249, 115, 22, .38);
}
.est-revamp .est-compare__hallmarks {
    display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.est-revamp .est-compare__hallmarks span {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #eaf2fb;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14);
    padding: 8px 14px; border-radius: 999px;
}
.est-revamp .est-compare__hallmarks span i { color: var(--e-cyan-2); }

/* VS divider */
.est-revamp .est-vs {
    align-self: center; justify-self: center; width: 62px; height: 62px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; font-size: 15px; letter-spacing: .5px;
    color: var(--e-navy); background: #fff; border: 1px solid var(--e-line); box-shadow: var(--e-shadow-sm); z-index: 4;
}

/* closing note callout */
.est-revamp .est-why__note {
    margin: 34px auto 0; max-width: 900px; text-align: center; font-size: 16.5px; line-height: 1.7; color: var(--e-muted);
    background: #fff; border: 1px solid var(--e-line); border-top: 3px solid var(--e-orange);
    border-radius: 16px; padding: 26px 30px; box-shadow: var(--e-shadow-sm);
}
.est-revamp .est-why__note strong { color: var(--e-navy); }

@media (max-width: 991px) {
    .est-revamp .est-compare { grid-template-columns: 1fr; }
    .est-revamp .est-vs { margin: -4px 0; }
}

/* ============================================================
   Option A — streamlined service card (server-rendered)
   ============================================================ */
.est-revamp .pricing__box-two.est-card-a { padding: 22px; }
.est-revamp .est-card-summary { color: var(--e-muted); font-size: 14px; line-height: 1.55; margin: 10px 0 16px; }
.est-revamp .est-card-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.est-revamp .est-stat { background: var(--e-bg); border: 1px solid var(--e-line); border-radius: 12px; padding: 11px 13px; }
.est-revamp .est-stat__label { display: block; font-size: 12px; color: var(--e-muted); font-weight: 600; margin-bottom: 3px; }
.est-revamp .est-stat__label i { color: var(--e-cyan); margin-right: 5px; }
.est-revamp .est-stat__value { font-size: 19px; font-weight: 800; color: var(--e-navy); }
.est-revamp .est-card-details { margin-bottom: 16px; border-top: 1px solid var(--e-line); }
.est-revamp .est-card-details > summary {
    list-style: none; cursor: pointer; padding: 12px 0 2px; font-size: 13.5px; font-weight: 700;
    color: var(--e-blue); display: flex; align-items: center; gap: 8px;
}
.est-revamp .est-card-details > summary::-webkit-details-marker { display: none; }
.est-revamp .est-card-details > summary::after {
    content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
    transform: rotate(45deg); margin-top: -3px; transition: transform .2s ease;
}
.est-revamp .est-card-details[open] > summary::after { transform: rotate(-135deg); margin-top: 2px; }
.est-revamp .est-card-details__body { font-size: 13.5px; color: var(--e-muted); line-height: 1.6; padding: 8px 0 4px; }
.est-revamp .est-card-details__body p { margin: 0 0 8px; }
.est-revamp .est-card-details__body p:last-child { margin-bottom: 0; }
.est-revamp .est-card-details__body strong { color: var(--e-navy); }
.est-revamp .pricing__box-two.est-card-a .pricing__btn2 { margin-top: auto; }

/* ---------------- Calendly booking section ---------------- */
.est-cal { padding: 10px 0 84px; }
.est-cal__head { text-align: center; max-width: 660px; margin: 0 auto 34px; }
.est-cal__head .est-eyebrow { margin-bottom: 14px; }
.est-cal__embed { background: #fff; border: 1px solid var(--e-line); border-radius: var(--e-radius); box-shadow: var(--e-shadow-sm); overflow: hidden; }


/* ---------------- Price gating (reveal only after submit) ---------------- */
.est-locked .est-stat--cost { display: none !important; }
.est-locked #mytable thead th:nth-child(7),
.est-locked #mytable tbody td:nth-child(7) { display: none !important; }
.est-locked #mytable tfoot td:nth-child(3) { display: none !important; }
.est-lock-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 16px 18px; background: linear-gradient(135deg, rgba(29,108,255,.07), rgba(6,182,212,.07)); border: 1px dashed #9cc0ff; border-radius: 14px; color: var(--e-ink, #16273f); font-size: 14.5px; line-height: 1.55; }
.est-lock-note strong { color: var(--e-navy, #0a2540); }
.est-lock-note__ic { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; color: #fff; font-size: 16px; background: linear-gradient(135deg, #1d6cff, #06b6d4); }
