/* =====================================================
   beroot-pricing-fix.css  — Beroot 2025 pricing UI
   Load AFTER main stylesheet on every page.
   ===================================================== */

/* ---------- plan grid ---------- */
.br-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  align-items: stretch;
}

/* ---------- single plan card ---------- */
.br-plan {
  display: flex;
  flex-direction: column;
  border: 1px solid #dde3ef;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.br-plan:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,.13);
  transform: translateY(-4px);
}

/* ---------- popular highlight ---------- */
.br-plan--popular {
  border-color: #1f6fe5;
  box-shadow: 0 6px 28px rgba(31,111,229,.20);
}
.br-plan__badge {
  background: #1f6fe5;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 0;
}

/* ---------- discount ribbon ---------- */
.br-plan__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  background: #e53e3e;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 14px 5px 20px;
  border-bottom-left-radius: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: -2px 2px 6px rgba(0,0,0,.15);
}
/* Ribbon on popular card goes below badge */
.br-plan--popular .br-plan__ribbon {
  top: 32px;
}

/* ---------- savings pill ---------- */
.br-plan__saving {
  display: inline-block;
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-top: 6px;
  letter-spacing: .03em;
}

/* ---------- original (was) price ---------- */
.br-plan__was {
  font-size: 13px;
  color: #94a3b8;
  text-decoration: line-through;
  margin-right: 6px;
}

/* ---------- card head ---------- */
.br-plan__head {
  padding: 26px 26px 0;
}
.br-plan__name {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #0f1f3d;
}
.br-plan__tagline {
  font-size: 14px;
  color: #5d7089;
  margin: 0 0 16px;
}

/* ---------- price band ---------- */
.br-plan__price-band {
  background: #1f6fe5;
  color: #fff !important;
  padding: 18px 26px 14px;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
}
.br-plan__price-band *,
.br-plan__price-band .br-plan__currency,
.br-plan__price-band .br-plan__amount,
.br-plan__price-band .br-plan__period {
  color: #fff !important;
}
.br-plan__currency { font-size: 20px; font-weight: 600; }
.br-plan__amount   { font-size: 40px; font-weight: 900; line-height: 1; }
.br-plan__period   { font-size: 14px; opacity: .85; margin-left: 2px; }
.br-plan__price-toggle { display: none; }
.br-plan__price-toggle.active { display: flex; }
.br-plan__price-band .br-was-inline {
  font-size: 14px;
  text-decoration: line-through;
  opacity: .65;
  margin-left: 6px;
  align-self: center;
}

/* ---------- features list ---------- */
.br-plan__features {
  padding: 20px 26px;
  flex: 1;
}
.br-plan__features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.br-plan__features ul li {
  padding: 7px 0 7px 26px;
  position: relative;
  font-size: 14px;
  color: #334155;
  line-height: 1.4;
  border-bottom: 1px solid #f1f5f9;
}
.br-plan__features ul li:last-child { border-bottom: 0; }
.br-plan__features ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #1f6fe5;
  font-weight: 800;
  font-size: 15px;
}

/* ---------- CTA button ---------- */
.br-plan__cta {
  padding: 0 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.br-plan__cta .btn-main,
.br-plan__cta .btn-rzp {
  display: block;
  width: 100%;
  text-align: center;
}
.btn-rzp {
  display: inline-block;
  padding: 12px 20px;
  background: #1f6fe5;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background .2s;
}
.btn-rzp:hover { background: #1558c0; }
.btn-rzp-outline {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #1f6fe5 !important;
  border: 2px solid #1f6fe5;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-rzp-outline:hover { background: #1f6fe5; color: #fff !important; }

/* ---------- monthly/yearly toggle ---------- */
.br-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}
.br-toggle-wrap .save-tag {
  background: #e8f5e9;
  color: #1b5e20;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
}
.br-toggle {
  position: relative;
  display: inline-block;
  width: 52px;
  height: 28px;
}
.br-toggle input { opacity: 0; width: 0; height: 0; }
.br-toggle .slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #cbd5e1;
  border-radius: 28px;
  transition: .3s;
}
.br-toggle .slider::before {
  content: "";
  position: absolute;
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background: #fff;
  border-radius: 50%;
  transition: .3s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.br-toggle input:checked + .slider { background: #1f6fe5; }
.br-toggle input:checked + .slider::before { transform: translateX(24px); }
.br-label { cursor: pointer; }
.br-label.active { color: #1f6fe5; }

/* ---------- plan period badge ---------- */
.br-period-badge {
  display: inline-block;
  background: rgba(255,255,255,.22);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 4px;
  align-self: flex-end;
}

/* ---------- FAQ accordion ---------- */
.br-faq { max-width: 860px; margin: 0 auto; }
.br-faq details {
  border-bottom: 1px solid #e2e8f0;
}
.br-faq details:first-child { border-top: 1px solid #e2e8f0; }
.br-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 32px 16px 0;
  font-weight: 600;
  font-size: 16px;
  color: #0f1f3d;
  position: relative;
  user-select: none;
}
.br-faq summary::-webkit-details-marker { display: none; }
.br-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #1f6fe5;
  line-height: 1;
  transition: transform .2s;
}
.br-faq details[open] summary::after { content: "−"; }
.br-faq details p {
  margin: 0 0 16px;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- mobile sticky bar ---------- */
.br-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: #0f1f3d;
  padding: 10px 12px;
  gap: 8px;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .br-mobile-bar { display: flex; }
  body { padding-bottom: 64px; }
}
.br-mobile-bar a {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.br-mobile-bar .br-mbar-call { background: #1f6fe5; }
.br-mobile-bar .br-mbar-wa   { background: #25d366; }

/* ---------- payment success/error modal ---------- */
.rzp-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.rzp-modal-overlay.open { display: flex; }
.rzp-modal-box {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
}
.rzp-modal-icon { font-size: 52px; margin-bottom: 16px; }
.rzp-modal-box h3 { font-size: 22px; font-weight: 800; margin: 0 0 10px; color: #0f1f3d; }
.rzp-modal-box p  { font-size: 15px; color: #475569; margin: 0 0 24px; }
.rzp-modal-close {
  background: #1f6fe5;
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

/* retainer price always white on featured pricing table */
.pricing-table.pricing-s1.table-featured .mid .price,
.pricing-table.pricing-s1.table-featured .mid .price * { color: #fff !important; }

/* br-was strikethrough */
.br-was { text-decoration: line-through; color: #94a3b8; font-size: .9em; }
/* Shared catalog cards and checkout */
:root{--br-blue:#1a3fd6;--br-navy:#101c3d;--br-grey:#5b6572;--br-line:#e3e8f0}
section,.section{padding:88px 0}
@media(max-width:768px){section,.section{padding:52px 0}}
.eyebrow,.section-badge,.badge-pill{display:inline-block;padding:7px 18px;border-radius:999px;background:#e8edfb;color:var(--br-blue);font-size:12.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;margin:0 0 18px}
section h2{margin:0 0 14px;line-height:1.15}
.retainer-teaser{max-width:880px;margin:48px auto 0;background:linear-gradient(135deg,#eef3ff,#e3ebff);border:1px solid #c9d6fb;border-radius:18px;padding:30px 28px;text-align:center}
.retainer-teaser p{font-size:18px;color:var(--br-navy);margin:0 0 18px}
.clients-strip{text-align:center;padding:56px 16px 8px}
.clients-strip .clients-label{font-size:12.5px;letter-spacing:.22em;color:#8a94a6;text-transform:uppercase;margin:0 0 26px}
.clients-strip .clients-names{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 44px;font-size:19px;font-weight:700;color:#33415c}
@media(max-width:640px){.clients-strip .clients-names{gap:12px 26px;font-size:16.5px}}
.testimonials{padding-top:64px}
.testimonial-card{border-radius:16px;padding:28px 26px}
.testimonial-card .stars{color:#f5a301;font-size:17px;letter-spacing:3px;margin-bottom:12px}
.br-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:24px;align-items:stretch;margin-top:28px}
.br-plan{position:relative;display:flex;flex-direction:column;height:100%;padding:32px 26px 24px;border:1px solid var(--br-line);border-radius:18px;background:#fff;box-shadow:0 12px 36px rgba(16,28,61,.07)}
.br-plan--popular{border:2px solid var(--br-blue);margin-top:12px}
.br-badge{position:absolute;top:-15px;left:50%;transform:translateX(-50%);padding:6px 17px;border-radius:99px;background:var(--br-blue);color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.br-plan__name{font-size:22px;color:var(--br-navy);margin:0 0 8px}.br-plan__tagline{color:var(--br-grey);min-height:42px}
.br-price{display:flex;align-items:baseline;gap:4px;min-height:60px;margin:16px 0;color:var(--br-navy)}
.br-price-currency{font-size:19px;color:var(--br-grey)}.br-price-amount{font-size:36px;line-height:1;font-weight:800}.br-price-period{font-size:14px;color:#788397}.br-price-prefix{font-size:18px;font-weight:700}
.br-plan-features{list-style:none;margin:0 0 24px;padding:0;flex:1}.br-plan-features li{display:flex;gap:10px;margin:0 0 11px;color:#344054;line-height:1.45}.br-plan-features li span{color:var(--br-blue);font-weight:800}
.br-plan__cta{margin-top:auto}.br-plan-cta{width:100%;display:block;border:0;border-radius:9px;background:var(--br-blue);color:#fff;text-align:center;text-decoration:none;padding:14px 18px;font-weight:700;cursor:pointer}.br-plan-cta:hover,.br-plan-cta:focus{background:#132fae;color:#fff}.br-plan-cta:disabled{opacity:.65;cursor:wait}
.br-price-note{text-align:center;color:#697386;font-size:13px;margin:18px auto 0}
.br-billing-toggle{display:flex;justify-content:center;align-items:center;gap:4px;margin:24px auto 0;padding:5px;width:max-content;max-width:100%;border:1px solid #d9e1f1;border-radius:999px;background:#f5f7fc}
.br-billing-toggle button{border:0;border-radius:999px;padding:9px 16px;background:transparent;color:#45516a;font-weight:700;cursor:pointer}.br-billing-toggle button.is-active{background:#fff;color:var(--br-blue);box-shadow:0 2px 8px #101c3d1a}.br-saving-label{font-size:11px;color:#18805b;margin-left:4px}
.br-checkout-overlay{position:fixed;inset:0;z-index:2147483000;display:none;align-items:center;justify-content:center;padding:16px;background:#101c3dcc}.br-checkout-overlay.is-open{display:flex}.br-checkout-dialog{position:relative;width:min(100%,420px);max-height:calc(100dvh - 32px);overflow:auto;background:#fff;border-radius:18px;padding:28px 24px;box-shadow:0 20px 80px #0005;color:var(--br-navy)}.br-checkout-dialog h2{font-size:24px;padding-right:26px}.br-checkout-close{position:absolute;top:10px;right:12px;width:40px;height:40px;border:0;border-radius:50%;background:#f1f3f8;font-size:28px;line-height:1;cursor:pointer}.br-summary-plan{font-size:19px;font-weight:700;margin:20px 0 4px}.br-summary-period{color:var(--br-grey);margin:0}.br-summary-total{font-size:25px;font-weight:800;margin:18px 0 8px}.br-checkout-message{min-height:22px;color:#a33;font-size:14px}.br-summary-actions{display:grid;gap:10px;margin-top:18px}.br-summary-pay,.br-summary-cancel{width:100%;border:0;border-radius:9px;padding:13px 16px;font-weight:700;cursor:pointer}.br-summary-pay{background:var(--br-blue);color:#fff}.br-summary-cancel{background:#eef1f7;color:#344054}.br-summary-pay:disabled{opacity:.65}
.br-checkout-inline{font-size:13px;margin:10px 0 0;color:#536075}.br-checkout-inline.is-error{color:#a63838}.br-checkout-inline.is-cancelled{color:#536075}.br-checkout-success{display:grid;gap:10px;color:#116149}.br-checkout-success a{color:var(--br-blue);font-weight:700}.br-spinner{display:inline-block;width:14px;height:14px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:br-spin .7s linear infinite;vertical-align:-2px;margin-right:6px}@keyframes br-spin{to{transform:rotate(360deg)}}
.br-checkout-suppressed{visibility:hidden!important;pointer-events:none!important}.br-checkout-open .sticky-bottom-bar,.br-checkout-open .mobile-sticky-bar,.br-checkout-open .whatsapp-main,.br-checkout-open .floating-whatsapp,.br-checkout-open .whatsapp-float{visibility:hidden!important;pointer-events:none!important}
/* Keep obsolete template loaders from obscuring rendered content. */
#de-loader,.de-preloader,#loader-area,.line-preloader{display:none!important;visibility:hidden!important}
.help-icon{display:inline-block;width:28px;height:28px;margin-right:9px;vertical-align:-6px;fill:none;stroke:var(--br-blue);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.de_testi blockquote:before,.de_testi blockquote:after{width:38px!important;height:38px!important;border-radius:12px!important;background:#eef3ff!important;color:#7c91d8!important;font-size:20px!important;line-height:38px!important;box-shadow:none!important}
.de_testi blockquote .stars{position:relative;z-index:1;color:#f5a301;font-size:17px;letter-spacing:3px;margin:0 0 12px}
.testimonial-quote-box .stars{color:#f5a301;font-size:17px;letter-spacing:3px;margin:0 0 12px}

.br-price-old{align-self:center;margin-left:6px;color:#8993a5;font-size:13px;text-decoration:line-through}

/* Homepage trusted-client image scroller */
.trusted-clients-viewport{overflow:hidden;position:relative;width:100%;}
.trusted-clients-track{display:flex;align-items:flex-start;gap:0;width:max-content;animation:trusted-clients-scroll var(--trusted-client-duration,30s) linear infinite;}
.trusted-clients-group{display:flex;align-items:flex-start;gap:24px;padding-right:24px;}
.trusted-clients-viewport:hover .trusted-clients-track,.trusted-clients-viewport:focus-within .trusted-clients-track{animation-play-state:paused;}
.trusted-client-card{flex:0 0 176px;text-align:center;margin:0;}
.trusted-client-image{height:112px;width:176px;display:flex;align-items:center;justify-content:center;padding:10px;background:#fff;border:1px solid #edf0f5;border-radius:12px;box-shadow:0 8px 24px rgba(20,35,65,.06);}
.trusted-client-image img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;}
.trusted-client-name{margin-top:11px;color:#33415c;font-size:15px;font-weight:700;line-height:1.35;}
@keyframes trusted-clients-scroll{to{transform:translateX(-50%);}}
@media(max-width:767px){.whatsapp-main{display:none!important}.clients-strip{padding-top:40px}.trusted-clients-group{gap:16px;padding-right:16px}.trusted-client-card{flex-basis:144px}.trusted-client-image{width:144px;height:92px}.trusted-client-name{font-size:14px;}}
@media(prefers-reduced-motion:reduce){.trusted-clients-viewport{overflow-x:auto;scrollbar-width:thin}.trusted-clients-track{animation:none}.trusted-clients-group[aria-hidden="true"]{display:none}}
