/* ========================================= */
/* OUR APPROACH – BASE (Mobile First)       */
/* ========================================= */

#our-approach {
  padding: 100px 20px;
  background: #f5f5f6;
  text-align: center;
}

.our-approach-container {
  max-width: 960px;
  margin: 0 auto;
}

/* Header */

#our-approach .ws-h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

#our-approach .section-lead {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1.8rem;
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem;
  padding-left: 0;
  padding-right: 0;
}

#our-approach .ws-p {
  max-width: 720px;
  margin: 0 auto 60px;
  line-height: 1.7;
  color: #444;
}

/* ========================================= */
/* OPS 2-GRID                   */
/* ========================================= */

/* Mobile = stacked */
.ops {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 40px;
}

/* Desktop layout */
@media (min-width: 992px) {
  .ops {
    display: grid;
    grid-template-columns: 260px 620px; /* fixed balanced width */
    gap: 80px;

    justify-content: center; /* centers whole grid */
    align-items: start;
    margin: 0 auto;
  }
}

/* ========================================= */
/* OPS BUTTONS                    */
/* ========================================= */

.ops__tab {
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  padding-left: 18px;
}

.ops__tab .ws-h3 {
  font-size: 1.1rem;
  font-weight: 500;
  color: #9a9a9a;
  line-height: 1.5;
  margin: 0;
  transition: color 180ms ease;
}

.ops__tab.is-active .ws-h3 {
  color: #111;
  font-weight: 600;
}

.ops__tab.is-active::before {
  background: #490656;
}

.ops__tab:hover .ws-h3 {
  color: #490656;
}

/* Ops Layout (mobile = stacked) */

.ops {
  display: flex;
  flex-direction: column;
  gap: 50px;
  text-align: left;
  margin-top: 40px;
}

/* Tabs */

.ops__menu {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ops__tab {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  padding: 0 0 0 20px;
  margin: 0;
  text-align: left;
  cursor: pointer;
  position: relative;
  font: inherit;
}

.ops__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  background: transparent;
  transition: background-color 180ms ease;
}

/* Content */

.ops__content {
  max-width: 640px;
}

/* ========================================= */
/* TAB PANEL VISIBILITY      MaJ 11.3.26     */
/* ========================================= */

.ops__panel[hidden] {
  display: none;
}

.ops__panel {
  display: block;
  opacity: 1;
  transition: opacity 180ms ease;
  line-height: 1.7;
  color: #444;
  margin-bottom: 30px;
}

/* ========================================= */
/* CTA ALIGNMENT                             */
/* ========================================= */

/* CTA */

#our-approach .button-link {
  margin-top: 20px;
  padding-left: 7px;
  padding-right: 7px;
}

#our-approach .ops__content .button-link {
  margin-top: 48px; /* space from paragraph */
  display: inline-flex;
}

@media (min-width: 992px) {
  #our-approach .ops__content .button-link {
    margin-top: 56px;
  }
}

/* Intro framing */
#our-approach .ops-intro {
  max-width: 900px; /* wider = more confident */
  margin: 0 auto 80px;
  padding: 48px 64px;

  /* softer framing */
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);

  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;

  box-shadow: none; /* remove SaaS card feel */
}

#our-approach .ops-intro p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
  font-size: 1.05rem;
  color: #444;
}

/* Full cross-browser button reset */
#our-approach button.ops__tab {
  all: unset;
  display: block;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  text-align: left;
}

/* Force header + intro to center on all breakpoints */

#our-approach .ws-h2 {
  text-align: center;
}

#our-approach .ws-p {
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

#our-approach .ops-intro {
  text-align: center;
}

/* ========================================= */
/* FINAL DESKTOP GRID (Authoritative)       */
/* ========================================= */

.ops-accordion {
  display: none;
}

.ops__section-cta {
  margin-top: 40px;
  text-align: center;
}

@media (max-width: 767.98px) {
  .ops--desktop {
    display: none;
  }

  .ops-accordion {
    display: block;
    max-width: 760px;
    margin: 2rem auto 0;
  }

  .ops-acc__item {
    border-bottom: 1px solid rgba(73, 6, 86, 0.12);
    padding: 0.15rem 0;
  }

  .ops-acc__trigger {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 1rem 0;
    text-align: left;
    font-size: clamp(1.3rem, 6vw, 1.8rem);
    line-height: 1.2;
    font-weight: 500;
    color: #9a9a9a;
    cursor: pointer;
    transition: color 180ms ease;
  }

  .ops-acc__item.is-open .ops-acc__trigger {
    color: #111;
    font-weight: 600;
  }

  .ops-acc__panel {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition:
      max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 220ms ease;
  }

  .ops-acc__item.is-open .ops-acc__panel {
    opacity: 1;
  }

  .ops-acc__panel-inner {
    padding: 0.25rem 0 1.5rem;
    text-align: center;
  }

  .ops-acc__panel-inner .ws-p {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) {
  .ops--desktop {
    display: grid;
  }

  .ops-accordion {
    display: none;
  }
}

/* ========================================= */
/* DESKTOP GRID – 45 / 55 CENTERED          */
/* ========================================= */

@media (min-width: 768px) {
  #our-approach .ops {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 50px;

    max-width: 780px; /* controls overall width */
    margin: 0 auto; /* centers grid relative to page */
    align-items: start;
  }

  #our-approach .ops__menu {
    text-align: left;
  }

  #our-approach .ops__content {
    text-align: center;
  }

  #our-approach .ops--desktop {
    display: grid !important;
  }

  #our-approach .ops-accordion {
    display: none !important;
  }
}

/* ========================================= */
/* MOBILE ACCORDIAN VIEW CORRECTION          */
/* ========================================= */

@media (max-width: 767.98px) {
  #our-approach .ops--desktop {
    display: none !important;
  }

  #our-approach .ops-accordion {
    display: block !important;
  }

  #our-approach .ops__section-cta {
    display: block;
    text-align: center;
    margin-top: 32px;
  }
}
