/* ============================================================
   Aptomix — About Section CSS
   Enqueued by: Aptomix_About_Widget::get_style_depends()
   Google Fonts: enqueued separately via wp_enqueue_style()
   ============================================================ */

/* ── Scoped reset ────────────────────────────────────────────── */
.aptomix-about *,
.aptomix-about *::before,
.aptomix-about *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ── Section wrapper ─────────────────────────────────────────── */
.aptomix-about {
  background: #ffffff;
  padding: 100px 0;
  font-family: 'DM Sans', sans-serif;
  color: #1A2E3B;
  scroll-margin-top: 72px;
}

/* ── Container ───────────────────────────────────────────────── */
.aptomix-about__container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ── Section header ──────────────────────────────────────────── */
.aptomix-about__head {
  margin-bottom: 48px;
}

.aptomix-about__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2.8px;
  text-transform: uppercase;
  color: #00B0F0;
  margin-bottom: 14px;
}

.aptomix-about__heading {
  font-family: 'Outfit', sans-serif;
  font-size: 46px;
  font-weight: 700;
  color: #0D1B2A;
  letter-spacing: -1px;
  line-height: 1.1;
  position: relative;
  padding-left: 20px;
}

/* Blue vertical accent bar */
.aptomix-about__heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  background: linear-gradient(to bottom, #00B0F0 0%, rgba(0, 176, 240, 0.5) 100%);
  border-radius: 2px;
}

/* ── Lead / intro paragraph ──────────────────────────────────── */
.aptomix-about__intro {
  max-width: 860px;
  margin-bottom: 60px;
}

.aptomix-about__lead {
  font-size: 17px;
  line-height: 1.8;
  color: #3D5166;
}

.aptomix-about__lead p {
  margin: 0;
}

.aptomix-about__lead strong {
  color: #0D1B2A;
  font-weight: 600;
}

/* ── Aptamer features strip (dark panel) ─────────────────────── */
.aptomix-about__features {
  background: #060E18;
  border-radius: 12px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 64px;
}

.aptomix-about__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Circular image frame */
.aptomix-about__feature-fig {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 1.5px solid rgba(0, 176, 240, 0.35);
  background: rgba(0, 176, 240, 0.06);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.aptomix-about__feature-fig img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

.aptomix-about__feature-title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 10px;
}

.aptomix-about__feature-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.50);
  white-space: pre-line; /* respects \n from textarea */
}

/* ── Sub-heading callout block ───────────────────────────────── */
.aptomix-about__callout {
  border-left: 3px solid #00B0F0;
  padding: 18px 28px;
  background: rgba(0, 176, 240, 0.05);
  border-radius: 0 8px 8px 0;
  margin-bottom: 48px;
  max-width: 820px;
}

.aptomix-about__callout-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00B0F0;
  margin-bottom: 8px;
}

.aptomix-about__callout-text {
  font-family: 'Outfit', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: #0D1B2A;
  line-height: 1.4;
  letter-spacing: -0.3px;
}

/* ── Body text paragraphs ────────────────────────────────────── */
.aptomix-about__body {
  max-width: 860px;
  margin-bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aptomix-about__body p {
  font-size: 16.5px;
  line-height: 1.78;
  color: #3D5166;
}

.aptomix-about__body strong {
  color: #0D1B2A;
  font-weight: 600;
}

/* ── Mission / Vision / Values cards ────────────────────────── */
.aptomix-about__mvv {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.aptomix-about__mvv-card {
  background: #CFECF7;
  border-radius: 10px;
  padding: 32px 28px;
  border-top: 4px solid #00B0F0;
  display: flex;
  flex-direction: column;
}

.aptomix-about__mvv-icon {
  margin-bottom: 16px;
}

.aptomix-about__mvv-title {
  font-family: 'Outfit', sans-serif;
  font-size: 19px;
  font-weight: 700;
  color: #00B0F0;
  letter-spacing: -0.3px;
  margin-bottom: 14px;
}

/* Body supports both <p> and <ul> from WYSIWYG */
.aptomix-about__mvv-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.72;
  color: #1A2E3B;
  --aptomix-mvv-bullet-size: 6px;
  --aptomix-mvv-bullet-spacing: 14px;
}

.aptomix-about__mvv-body p {
  margin: 0;
}

.aptomix-about__mvv-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  padding: 0;
  margin: 0;
}

.aptomix-about__mvv-body ul li {
  padding-left: calc(var(--aptomix-mvv-bullet-size) + var(--aptomix-mvv-bullet-spacing));
  position: relative;
}

/* Blue bullet dot — colour overrideable via Elementor control */
.aptomix-about__mvv-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: var(--aptomix-mvv-bullet-size);
  height: var(--aptomix-mvv-bullet-size);
  border-radius: 50%;
  background-color: #00B0F0;
}

.aptomix-about__mvv-body--bullet-icon ul li::before,
.aptomix-about__mvv-body--bullet-image ul li::before {
  display: none;
}

.aptomix-about__mvv-bullet-marker {
  position: absolute;
  left: 0;
  top: 0.28em;
  width: var(--aptomix-mvv-bullet-size);
  height: var(--aptomix-mvv-bullet-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00B0F0;
  line-height: 1;
}

.aptomix-about__mvv-bullet-marker svg,
.aptomix-about__mvv-bullet-marker i {
  width: 100%;
  height: 100%;
  display: block;
  font-size: var(--aptomix-mvv-bullet-size);
}

.aptomix-about__mvv-bullet-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.aptomix-about__mvv-bullet-text {
  display: inline;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1200px) {
  .aptomix-about__features  { padding: 44px 36px; }
  .aptomix-about__feature-fig { width: 130px; height: 130px; }
  .aptomix-about__heading    { font-size: 40px; }
}

@media (max-width: 1024px) {
  .aptomix-about            { padding: 80px 0; }
  .aptomix-about__features  { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .aptomix-about__mvv       { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .aptomix-about__heading   { font-size: 36px; letter-spacing: -0.6px; }
  .aptomix-about__lead      { font-size: 15.5px; }
  .aptomix-about__callout-text { font-size: 18px; }
  .aptomix-about__body p    { font-size: 15.5px; }
}

@media (max-width: 600px) {
  .aptomix-about            { padding: 60px 0; }
  .aptomix-about__container { padding: 0 20px; }
  .aptomix-about__heading   { font-size: 30px; padding-left: 16px; }
  .aptomix-about__features  { grid-template-columns: 1fr; padding: 36px 24px; gap: 36px; }
  .aptomix-about__feature-fig { width: 120px; height: 120px; }
  .aptomix-about__callout   { padding: 16px 20px; }
  .aptomix-about__callout-text { font-size: 16px; }
  .aptomix-about__body      { margin-bottom: 48px; }
}
