/* ===== CHANGED 2026-09-02: GS_LANDING_MBC =====
   Scoped to .landing-mbc so templates/page-landing.php is unchanged. */

.landing-mbc .inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.landing-mbc .inner > .h2 {
  margin-bottom: 0;
}

/* Sticky form — same .form-wrapper markup, only position changes */
body.landing-mbc-page #content {
  overflow: visible;
}

html:has(body.landing-mbc-page),
body.landing-mbc-page {
  overflow-x: clip;
}

.landing-section .inner .stats-wrapper {
    margin-top: 44px;
    margin-bottom: 44px;
}

@media screen and (min-width: 768px) {
  .landing-mbc.landing-section .x-row .right {
    position: sticky;
    top: 6rem;
    align-self: flex-start;
    z-index: 2;
  }
}

/* --- Peek accordion --- */
.landing-mbc .mbc-card {
  background: #fff;
  box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.1019607843);
}

.landing-mbc .mbc-peek {
  position: relative;
  overflow: visible;
  margin-bottom: 12px;
}

.landing-mbc .mbc-peek-list {
  overflow: hidden;
}

.landing-mbc .mbc-acc-item {
  background: #fff;
  border-bottom: 1px solid #e2dcd2;
}

.landing-mbc .mbc-acc-item:last-child {
  border-bottom: 0;
}

.landing-mbc .mbc-acc-head {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 26px;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font-family: "Matter TRIAL", sans-serif;
}

.landing-mbc .mbc-acc-icon {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-mbc .mbc-acc-title {
  flex: 1;
  font-family: "Matter TRIAL", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #12100d;
}

.landing-mbc .mbc-acc-chev {
  flex: none;
  padding: 9px;
  box-sizing: content-box;
  background: #fff;
  border: 1px solid #e2dcd2;
  border-radius: 999px;
  transition: transform 0.22s ease-in-out;
}

.landing-mbc .mbc-acc-item.is-open .mbc-acc-chev {
  transform: rotate(180deg);
}

.landing-mbc .mbc-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.34s cubic-bezier(0.4, 0, 0.2, 1);
}

.landing-mbc .mbc-acc-item.is-open .mbc-acc-body {
  max-height: 640px;
}

.landing-mbc .mbc-acc-inner {
  overflow: hidden;
  display: flex;
  align-items: center;
  column-gap: 0;
  row-gap: 24px;
  padding: 4px 26px 24px 26px;
  /* flex-wrap: wrap; */
}

.mbc-acc-item.is-open {
    background-color: var(--background-color);
}

.landing-mbc .mbc-acc-copy {
  flex: 1 1 260px;
  min-width: 0;
  padding-right: 28px;
  margin: 0;
  font-family: "Matter TRIAL", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #5e403a;
}

.landing-mbc .mbc-acc-shot {
  flex: 0 1 220px;
  width: auto;
  max-width: 320px;
  min-width: 240px;
  aspect-ratio: 1 / 1;
  align-self: flex-end;
  margin: 0 0 -24px auto;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(24, 20, 14, 0.18);
  background: #fff;
}

.landing-mbc .mbc-acc-shot img,
.landing-mbc .mbc-acc-shot video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-mbc .mbc-peek-cta {
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translate(-50%, 50%);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  background: #e8eed4;
  color: #10633f;
  border: 1.5px solid #10633f;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(24, 20, 14, 0.16);
  font-family: "Matter TRIAL", sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.005em;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s, transform 0.15s;
}

.landing-mbc .mbc-peek-cta:hover {
  background: #10633f;
  color: #fff;
  transform: translate(-50%, 50%) scale(1.03);
}
/* .landing-mbc .mbc-peek-cta:hover,
.landing-mbc .mbc-peek-cta:focus {
  background: #10633f;
  color: #fff;
  transform: translate(-50%, 50%) scale(1.03);
} */

.landing-mbc .mbc-peek-cta svg {
  animation: mbcNudge 1.9s cubic-bezier(0.4, 0, 0.3, 1) infinite;
}

@keyframes mbcNudge {
  0%,
  58%,
  100% {
    transform: translateY(0);
  }
  72% {
    transform: translateY(4px);
  }
  86% {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-mbc .mbc-peek-cta svg {
    animation: none;
  }
}

/* --- Stats: existing counter + scale-in-down --- */
.landing-mbc .stats-wrapper {
  margin-bottom: 0;
}

.landing-mbc .stats-wrapper .counter {
  margin-bottom: 0;
  min-height: 92px;
  overflow: hidden;
}

.landing-mbc .stats-wrapper .counter-content {
  color: #fff;
  font-family: "Matter TRIAL", sans-serif;
  line-height: 1.5;
  letter-spacing: -0.011em;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 19px 18px;
}

.landing-mbc .stats-wrapper .counter-content h1,
.landing-mbc .stats-wrapper .counter-content h2,
.landing-mbc .stats-wrapper .counter-content h3,
.landing-mbc .stats-wrapper .counter-content .h1,
.landing-mbc .stats-wrapper .counter-content .h2,
.landing-mbc .stats-wrapper .counter-content .h3 {
  font-family: "Matter TRIAL", sans-serif;
  font-size: 2.5rem;
  line-height: 1;
  margin: 0 0 0.5rem;
  color: #fff;
}

.landing-mbc .stats-wrapper .counter-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* --- Quote card --- */
.landing-mbc .mbc-quote {
  display: grid;
  overflow: hidden;
  scroll-margin-top: 7rem;
}

.landing-mbc .mbc-quote .landing-testimonial-slder {
  grid-area: 1 / 1;
  width: 100%;
  min-height: 100%;
  align-self: stretch;
  margin-top: 0;
  margin-bottom: 0;
  box-shadow: none;
  border-radius: 0;
}

/* Keep inactive slides in layout so the card height stays at the tallest quote. */
.landing-mbc .mbc-quote-slide[hidden] {
  display: grid !important;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
}

.landing-mbc .mbc-quote-slide.is-active {
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.landing-mbc .mbc-quote .message {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  gap: 22px;
}

.landing-mbc .mbc-quote .message .message-wrapper {
  flex: 1 1 auto;
}

.landing-mbc .mbc-quote .client-info {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.landing-mbc .mbc-quote .client-info .img-c {
  flex: 1 1 auto;
  min-height: 0;
}

.landing-mbc .mbc-quote .client-info .client-data {
  margin-top: auto;
}

.landing-mbc .mbc-quote-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #ede9e3;
  padding-top: 18px;
  margin-top: auto;
}

.landing-mbc .mbc-quote-count {
  font-family: "Matter TRIAL", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 1;
  color: #97928b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.landing-mbc .mbc-quote-btns {
  display: flex;
  gap: 8px;
}

.landing-mbc .mbc-quote-btn {
  width: 42px;
  height: 42px;
  border: 1.5px solid #10633f;
  border-radius: 999px;
  background: #e8eed4;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #10633f;
  font-family: "Matter TRIAL", sans-serif;
  font-weight: 600;
  font-size: 19px;
  line-height: 1;
  padding: 0;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
}

.landing-mbc .mbc-quote-btn:hover,
.landing-mbc .mbc-quote-btn:focus {
  background: #10633f;
  color: #fff;
}

.landing-mbc .mbc-quote-btn:active {
  transform: scale(0.96);
}

.landing-mbc .landing-logos {
  padding-top: 4px;
}

/* Same murali / clac-flex block, nested in the left column */
.landing-mbc .left .section.sections-holder.murali {
  margin: 0;
  width: 100%;
  padding: 25px;
}

 .left .section.sections-holder.murali .section-container.container {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.landing-mbc .link-arrow {
    font-size: 15px;
   
}
.landing-mbc .calc-card .big {
    font-size: 35px;
}
.landing-mbc .clac-flex h2 {
    font-size: 22px;
    font-weight: 600;
}

@media screen and (max-width: 900px) {
  .landing-mbc .mbc-acc-head {
    padding: 18px 20px;
    gap: 13px;
  }

  .landing-mbc .mbc-acc-inner {
    padding: 4px 20px 22px 20px;
    flex-direction: column;
  }

  .landing-mbc .mbc-acc-shot {
    flex: 1 1 100%;
    max-width: 320px;
    margin: 0 auto -22px 0;
  }
}

@media screen and (max-width: 767px) {
  .landing-mbc .inner {
    gap: 32px;
  }

  .landing-mbc.landing-section .x-row .right {
    position: static;
  }
}
.landing-section.landing-mbc .inner .landing-testimonial-slder .client-info .img-c {
    background-repeat: no-repeat;
    background-size: cover;
}

.landing-mbc .mbc-acc-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.landing-section .form-wrapper .modal-title {
    margin-bottom: 42px;
    letter-spacing: -0.011em;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .landing-section .x-row {
        gap: 20px;
    }
    .landing-mbc .mbc-acc-copy {
    
    padding-right: 0;
}
.landing-mbc .mbc-acc-copy {
    flex: 1 1 160px;
}
}

body.landing-mbc-page #content {
    overflow: visible;
}
.mbc-quote-btns svg {
    width: 17px;
    height: 17px;
}

.security-info.mbc-form-security {
  padding: 0;
}

.security-info.mbc-form-security ul {
    margin: 0;
    padding: 0;
    list-style: none;
    margin-left: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-top: 30px;
}
.security-info.mbc-form-security ul li img {
    max-height: 3rem;
}
.landing-mbc .wFormContainer .actions .primaryAction {
    margin-top: 20px;
}
.landing-mbc .wFormContainer .supportInfo {
    display: none;
}
.landing-section .x-row .right {
    padding-bottom: 17px;
}
.landing-section .wForm .captcha .oneField {
    height: 78px;
}




