/* ============================================================
   ABOUT PAGE (about.css)
   Conigx — Surgical Instruments
============================================================ */

/* Hero extras */
.about-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 22px;
}
.about-hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, .88);
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  padding: 8px 14px;
}
.about-hero-badges span i {
  color: #90caf9;
  font-size: 12px;
}

/* Story */
.about-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 48px;
  align-items: center;
}
.about-story-lead {
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.75;
  margin: 0 0 14px;
}
.about-story-body {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.75;
  margin: 0 0 24px;
}
.about-story-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-story-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-story-list-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--r);
  background: rgba(21, 101, 192, .08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.about-story-list strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.about-story-list p {
  margin: 0;
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
}
.about-story-panel {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.about-story-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(145deg, rgba(11, 37, 69, .15) 0%, rgba(19, 64, 116, .35) 100%),
    radial-gradient(circle at 20% 20%, rgba(144, 202, 249, .35) 0%, transparent 45%),
    linear-gradient(135deg, #dce9f8 0%, #b8cfe8 45%, #8fb4dc 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-story-image.has-image {
  background-color: #b8cfe8;
}
.about-story-image.has-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 37, 69, .08) 0%, rgba(11, 37, 69, .28) 100%);
  pointer-events: none;
}
.about-story-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  background: rgba(11, 37, 69, .92);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r);
  padding: 20px 22px;
  color: var(--white);
  backdrop-filter: blur(8px);
}
.about-story-overlay-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: #90caf9;
  margin: 0 0 8px;
}
.about-story-overlay h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin: 0 0 8px;
  color: var(--white);
}
.about-story-overlay p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(255, 255, 255, .75);
}

/* Stats band */
.about-stats {
  background: linear-gradient(135deg, #060e1a 0%, #0b2545 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.about-stats::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.about-stats .stats-row {
  position: relative;
  z-index: 1;
}

/* Values */
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.about-value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  text-align: center;
  transition: var(--ease);
}
.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(21, 101, 192, .22);
}
.about-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(21, 101, 192, .08);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.about-value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
}
.about-value-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.7;
  margin: 0;
}

/* Process */
.about-process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  counter-reset: about-process;
}
.about-process-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  position: relative;
  transition: var(--ease);
}
.about-process-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.about-process-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(21, 101, 192, .08);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .4px;
  margin-bottom: 16px;
}
.about-process-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 10px;
  line-height: 1.35;
}
.about-process-card p {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.65;
  margin: 0;
}

/* Certifications */
.about-cert-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.about-cert-badge {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  min-height: 110px;
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  transition: var(--ease);
}
.about-cert-badge:hover {
  border-color: rgba(21, 101, 192, .35);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.about-cert-badge i {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(21, 101, 192, .08);
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.about-cert-badge span {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

/* CTA */
.about-cta {
  padding: 56px 0 72px;
}
.about-cta-panel {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-mid) 100%);
  border-radius: var(--r-lg);
  padding: 44px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.about-cta-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(144, 202, 249, .18) 0%, transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 255, 255, .06) 0%, transparent 35%);
  pointer-events: none;
}
.about-cta-content,
.about-cta-actions {
  position: relative;
  z-index: 1;
}
.about-cta-content {
  flex: 1 1 320px;
  max-width: 620px;
}
.about-cta-content h2 {
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--white);
  margin: 0 0 10px;
  line-height: 1.25;
}
.about-cta-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .78);
}
.about-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Optional editor content */
.about-extra-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
}
.about-entry-content {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* Heading overrides */
.conigx-about-page .about-story-content .sec-title,
.conigx-about-page .about-value-card h3,
.conigx-about-page .about-process-card h3,
.conigx-about-page .about-cta-content h2,
.conigx-about-page .about-story-overlay h3 {
  margin-top: 0;
}
.conigx-about-page .sec-hdr .sec-title {
  margin-bottom: 12px;
}

/* Responsive */
@media (max-width: 1024px) {
  .about-story-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-values-grid,
  .about-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .about-story-panel {
    min-height: 340px;
  }
  .about-cta-panel {
    padding: 32px 24px;
    flex-direction: column;
    align-items: flex-start;
  }
  .about-cta-actions {
    width: 100%;
    flex-direction: column;
  }
  .about-cta-actions .btn-hero-primary,
  .about-cta-actions .btn-hero-outline {
    width: 100%;
    justify-content: center;
  }
  .about-cert-badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-stats .stat-sep {
    display: none;
  }
}

@media (max-width: 600px) {
  .about-values-grid,
  .about-process-grid,
  .about-cert-badges {
    grid-template-columns: 1fr;
  }
  .about-extra-card {
    padding: 22px 18px;
  }
}
