/* ============================================================
   MEDICAL MANUFACTURING CASE STUDY STYLESHEET
   Exact replica of reference prototype (kaizen-case-study.html)
   ============================================================ */

:root {
  --opi-font: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --opi-navy-blue: #0B4CB0;
  --opi-blue: #1855b0;
  --opi-heading: #0e2a5c;
  --opi-ink: #3A4556;
  --op-grey: #3a4556;
  --opi-muted: #5B6576;
  --opi-tint: #F3F6FC;
  --opi-border: #D5DEEE;
  --opi-divider: #E3E8F1;
  --opi-band-text: #C9D6F0;
  --opi-cream: #FFF6E5;
  --opi-cream-border: #EBD9B4;
  --opi-cream-text: #6B4E16;
  --opi-shadow: 0 8px 28px rgba(14, 42, 92, 0.08);
  --opi-content: 1520px;
  --opi-gutter: max(24px, 5vw);
  --opi-gap: 40px;
  --opi-read: 880px;
}

.opi-cs {
  font-family: var(--opi-font);
  color: var(--opi-ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
  width: 100%;
}

.opi-cs *,
.opi-cs *::before,
.opi-cs *::after {
  box-sizing: border-box;
}

.opi-cs h1,
.opi-cs h2,
.opi-cs h3,
.opi-cs p,
.opi-cs ul {
  margin: 0;
  padding: 0;
}

.opi-cs img {
  display: block;
  max-width: 100%;
  height: auto;
}

.opi-cs a {
  color: var(--opi-blue);
  text-decoration: none;
  transition: color 0.15s ease;
}

.opi-cs a:focus-visible {
  outline: 2px solid var(--opi-blue);
  outline-offset: 3px;
  border-radius: 4px;
}
h2.opi-title{
  font-family: var(--opi-font);
}
/* One container and one three-column grid for every section */
.opi-wrap {
  width: min(var(--opi-content), calc(100% - 2 * var(--opi-gutter)));
  margin-inline: auto;
}

.opi-grid3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: var(--opi-gap);
  row-gap: 32px;
}

/* Type scale: headings always larger than the text they introduce */
.opi-title {
  font-size: clamp(30px, 2.9vw, 44px);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--opi-heading);
}

.opi-subtitle {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 600;
  color: #1558d6;
}

.opi-h3 {
  font-size: 21px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--opi-heading);
}
section.op_container.op_bot_container h5 {
    font-size: 34px;
    font-family: 'Figtree';
    font-weight: 700;
}
.opi-lead {
  font-size: 19px;
  line-height: 1.6;
  font-weight: 500;
  color: #0e2a5c;
}

.opi-body {
  font-size: 18px;
  line-height: 1.65;
  color: var(--opi-ink);
}

.opi-body strong {
  color: var(--opi-heading  );
  font-weight: 700;
}
section.opi-band {
    background: url(https://www.onpointinsights.us/wp-content/uploads/2026/01/17213567_rm373batch2-09-1.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: bottom;
}
/* ============================================================
   HERO SECTION
   ============================================================ */
.opi-hero {
  container-type: inline-size;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: #ffffff;
  position: relative;
}

.opi-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding: 64px 48px 64px var(--opi-gutter);
  padding-left: max(var(--opi-gutter), calc((100cqw - var(--opi-content)) / 2));
}

.opi-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 25px;
  background: #fff8ed;
  border: 1px solid #e2c9a2;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #704b11;
}

.opi-hero__text ol.breadcrumb {background: none; padding: 0; margin: 0;box-shadow: none;}
.opi-hero__text ol.breadcrumb > span > span a {color: #5B6576 !important;}
.opi-hero__text span.breadcrumb_last {display: inline-block;padding: 6px 14px;border-radius: 999px;background: #F3F6FC;border: 1px solid #D5DEEE;font-size: 14px;line-height: 1.4;font-weight: 600;color: #0E2A5C;max-width: 220px;white-space: nowrap;overflow-x: hidden;text-overflow: ellipsis;vertical-align: middle;}
.opi-hero__text ol.breadcrumb > span {display: flex;align-items: center;gap: 8px;}

.opi-hero h1 {
  font-size: clamp(32px, 2.9vw, 48px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--opi-heading);
  text-wrap: pretty;
  font-family: var(--opi-font);
}

.opi-hero__intro {
  font-size: 18px;
  line-height: 1.65;
  color: var(--opi-ink);
  max-width: 620px;
}

.opi-hero__media {
  position: relative;
  min-height: 460px;
  background: var(--opi-tint);
}

.opi-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ============================================================
   RESULTS BAND
   ============================================================ */
.opi-band {
  background: #1e3056;
  padding: 56px 0;
}

.opi-stat {
    gap: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;

}

.opi-stat__num {
  font-size: clamp(30px, 2.9vw, 46px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.opi-stat__label {
  font-size: 17px;
  line-height: 1.55;
  color: var(--opi-band-text);
  /* max-width: 340px; */
}

/* ============================================================
   STORY SECTIONS (THE PROBLEM & OUR APPROACH)
   ============================================================ */
.opi-split {
  padding: 104px 0;
  background: #ffffff;
}

.opi-split--tint {
    background: linear-gradient(274deg, var(--op-yellow) 2.43%, #dfe6ff 100%);
    
}

.opi-split__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opi-split__body {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: var(--opi-read);
}

.opi-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.opi-bullets li {
  position: relative;
  padding-left: 24px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--opi-ink);
}

.opi-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.75em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--opi-blue);
}

.opi-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opi-block--first {
  margin-top: 6px;
}

.opi-approach__body {
  gap: 32px;
}

.opi-found {
  background: #ffffff;
  border-left: 4px solid #2369d2;
  border-radius: 16px;
  padding: 32px 36px;
  box-shadow: var(--opi-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opi-did__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.opi-choice {
  background: #2369d2;
  border-radius: 16px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opi-choice .opi-h3 {
  color: #ffffff;
}

.opi-choice .opi-body {
  color: #E6EEFC;
}

/* ============================================================
   RESULTS CARDS SECTION
   ============================================================ */
.opi-results {
  padding: 104px 0 88px;
  background: #ffffff;
}

.opi-results__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}

.opi-results__lead {
  margin-top: 6px;
  max-width: var(--opi-read);
}

.opi-result {
  background: #ffffff;
  border: 1px solid var(--opi-border);
  border-top: 4px solid #2369d2;
  border-radius: 16px;
  padding: 30px;
  box-shadow: var(--opi-shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.opi-result__text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--op-grey);
}

/* ============================================================
   BUILT ON STRIP (PLATFORM LOGOS/CHIPS)
   ============================================================ */
.opi-built {
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--opi-border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 20px;
}

.opi-built__label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--opi-muted);
}

.opi-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.opi-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--opi-border);
  border-radius: 999px;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--opi-ink);
  background: #ffffff;
}

.opi-chip img,
.opi-chip svg {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ============================================================
   PARTNER CREDENTIAL STRIP
   ============================================================ */
.opi-credential {
    padding: 100px 0 0px;
    background: #ffffff;
    margin: 0 auto;
    justify-content: center;
    display: flex;
}

.opi-credential .opi-partner {
  justify-content: center;
  margin: 0;
  font-size: 15px;
  color: var(--opi-muted);
}

.opi-partner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--opi-muted);
}

.opi-partner img,
.opi-partner svg,
.opi-partner__icon {
  flex: none;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  object-fit: contain;
}

.opi-partner svg {
  color: var(--opi-blue);
}

/* ============================================================
   CALL TO ACTION (CTA)
   ============================================================ */
.opi-cta {
  background: linear-gradient(90deg, var(--opi-navy-blue), var(--opi-blue));
  padding: 80px 0;
}

.opi-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.opi-cta__text {
  max-width: var(--opi-read);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.opi-cta h2 {
  font-size: clamp(30px, 2.7vw, 42px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.opi-cta p {
  font-size: 19px;
  line-height: 1.6;
  color: var(--opi-band-text);
}

.opi-cs a.opi-btn {
  flex: none;
  display: inline-block;
  padding: 18px 32px;
  border-radius: 10px;
  background: #ffffff;
  color: var(--opi-navy-blue);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.opi-cs a.opi-btn:hover {
  text-decoration: none;
  background: var(--opi-tint);
  transform: translateY(-1px);
}

/* ============================================================
   MORE CASE STUDIES
   ============================================================ */
.opi-more {
  padding: 88px 0;
  background: #ffffff;
}

.opi-more__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 36px;
}

.opi-more__head h2 {
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.25;
  font-weight: 700;
  color: var(--opi-heading);
}

.opi-more__link {
  font-size: 16px;
  font-weight: 600;
  color: var(--opi-blue);
}

.opi-cs a.opi-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--opi-border);
  border-radius: 16px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.opi-cs a.opi-card:hover {
  text-decoration: none;
  box-shadow: var(--opi-shadow);
  transform: translateY(-2px);
}

.opi-card__img {
  aspect-ratio: 16 / 9;
  background: var(--opi-tint);
  overflow: hidden;
  position: relative;
}

.opi-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.opi-cs a.opi-card:hover .opi-card__img img {
  transform: scale(1.02);
}

.opi-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.opi-pill {
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--opi-cream);
  border: 1px solid var(--opi-cream-border);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--opi-cream-text);
}

.opi-card__title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--opi-heading);
}

.opi-card__result {
  font-size: 15px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--opi-blue);
}

/* ============================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ============================================================ */
@media (max-width: 1024px) {
  .opi-cs {
    --opi-gap: 24px;
  }
  .opi-split .opi-grid3 {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .opi-split__body {
    grid-column: auto;
  }
  .opi-results .opi-grid3,
  .opi-more .opi-grid3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .opi-split,
  .opi-results {
    padding: 80px 0;
  }
}

@media (max-width: 820px) {
  .opi-hero {
    grid-template-columns: 1fr;
  }
  .opi-hero__text {
    padding: 40px var(--opi-gutter) 32px;
  }
  .opi-hero__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .opi-band .opi-grid3 {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }
  .opi-stat__num {
    font-size: 34px;
  }
  .opi-subtitle {
    font-size: 19px;
  }
  .opi-h3 {
    font-size: 19px;
  }
  .opi-lead {
    font-size: 18px;
  }
  .opi-body,
  .opi-bullets li {
    font-size: 17px;
  }
  .opi-found,
  .opi-choice {
    padding: 24px;
  }
  .opi-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .opi-results .opi-grid3,
  .opi-more .opi-grid3 {
    grid-template-columns: 1fr;
  }
  .opi-split,
  .opi-results {
    padding: 56px 0;
  }
  .opi-more {
    padding: 56px 0;
  }
  .opi-credential {
    padding-top: 36px;
  }
  .opi-built {
    margin-top: 36px;
    padding-top: 24px;
  }
  .lets_connect_sec.op_container.op_bot_container.cs_container {
    padding-block: 30px;
    position: relative;
}
section.lets_connect_sec.op_container.op_bot_container.cs_container::before {
    position: absolute;
    content: '';
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00000073 0%, #000 100%);
}
  
}
@media (max-width:540px){
  ul.opi-chips {
    justify-content: center !important;
}

}
@media (prefers-reduced-motion: reduce) {
  .opi-cs a.opi-card,
  .opi-cs a.opi-btn {
    transition: none;
  }
  .opi-cs a.opi-card:hover {
    transform: none;
  }
}
