/* CAREpharma About page. Depends on root.css tokens + style.css base + home.css helpers. */

/* ===== Hero band (WHO WE ARE) ===== */
.cp-about-hero {
  position: relative;
  text-align: center;
  color: var(--color-white);
  padding: 96px var(--space-edge);
  background: url("../../images/carepharma-life/about-page/hero-section-l.webp") center/cover no-repeat;
  overflow: hidden;
}
.cp-about-hero__eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: var(--fs-small); color: rgba(255,255,255,.85); margin-bottom: var(--space-24); }
.cp-about-hero h1 { color: var(--color-white); }
.cp-about-hero p { margin: var(--space-24) auto 0; max-width: 720px; font-size: var(--fs-body); color: rgba(255,255,255,.9); }

/* ===== Two-column split (text + image) ===== */
.cp-about-split { display: flex; align-items: center; gap: var(--space-64); }
.cp-about-mint { background: var(--color-primary-50); }
.cp-about-split__text { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-24); }
.cp-about-split__text h2 { color: var(--color-primary-900); }
.cp-about-split__text p { color: var(--color-grey-500); font-size: var(--fs-small); }
.cp-about-split__img { flex: 0 0 540px; width: 540px; height: 440px; object-fit: cover; border-radius: var(--radius-24); }

/* ===== Orange-bar quote (Why section) ===== */
.cp-about-quote { display: flex; gap: var(--space-16); align-items: stretch; }
.cp-about-quote__bar { flex: 0 0 4px; width: 4px; background: var(--color-secondary); border-radius: 2px; }
.cp-about-quote p { color: var(--color-primary-800); font-size: var(--fs-h3); line-height: 1.5; }

/* ===== Callout card (Manufacturing Excellence) ===== */
.cp-about-callout { display: flex; gap: var(--space-16); align-items: stretch; width: 100%; background: var(--color-white); border-radius: var(--radius-12); padding: var(--space-16) var(--space-24); }
.cp-about-callout__bar { flex: 0 0 4px; width: 4px; background: var(--color-primary-soft); border-radius: var(--radius-12); }
.cp-about-callout h3 { color: var(--color-primary-800); font-size: var(--fs-small); font-weight: var(--fw-regular); margin-bottom: var(--space-4); }
.cp-about-callout p { color: var(--color-grey-500); font-size: var(--fs-small); }

/* ===== Credentials strip (4 cards) ===== */
.cp-about-creds__head { margin-bottom: var(--space-32); }
.cp-about-creds__head h2 { color: var(--color-primary-900); }
.cp-about-creds__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-24); }
.cp-cred-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-16); background: var(--color-grey-50); border: 1px solid var(--color-grey-100); border-radius: var(--radius-24); padding: var(--space-32) var(--space-24); }
/* desktop: body is transparent so icon/title/desc stack as direct flex children */
.cp-cred-card__body { display: contents; }
.cp-cred-card__icon { flex-shrink: 0; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--radius-12); background: var(--color-primary-50); }
.cp-cred-card__icon img { width: 28px; height: 28px; }
.cp-cred-card h3 { color: var(--color-primary-900); font-size: var(--fs-body); font-weight: var(--fw-regular); }
.cp-cred-card p { color: var(--color-grey-500); font-size: var(--fs-small); }

/* ===== Responsive ===== */
@media (max-width: 991.98px) {
  .cp-about-hero { padding-block: 64px; background-image: url("../../images/carepharma-life/about-page/hero-section-m.webp"); }
  .cp-about-split { flex-direction: column; align-items: stretch; gap: var(--space-32); }
  .cp-about-split__img { flex: 0 0 auto; width: 100%; height: 300px; }
  .cp-about-creds__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-16); }
}
@media (max-width: 575.98px) {
  .cp-about-hero { background-image: url("../../images/carepharma-life/about-page/hero-section-s.webp"); }
  .cp-about-creds__grid { grid-template-columns: 1fr; }
  /* mobile: icon left, text right (matches Figma 2135-1083) */
  .cp-cred-card { flex-direction: row; align-items: center; gap: var(--space-16); padding: var(--space-16); }
  .cp-cred-card__body { display: flex; flex-direction: column; gap: var(--space-4); }
  .cp-cred-card h3 { font-size: 16px; }
  /* mobile: full-width centered CTA (matches Figma 2133-1083) */
  .cp-about-split .btn-care { width: 100%; justify-content: center; }
}
