/* =============================================
   OUR COMPANY PAGE — Supplemental Styles
   Builds on top of css/style.css
   Note: .page-hero shared styles live in style.css
============================================= */

/* ---- STATS BAR ---- */
.oc-stats-bar {
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.oc-stats-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.oc-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 36px;
  gap: 4px;
}

.oc-stat-divider {
  width: 1px;
  height: 40px;
  background: #E5E7EB;
  flex-shrink: 0;
}

.oc-stat-number {
  font-size: 1.75rem;
  font-weight: 800;
  color: #C9A03C;
  line-height: 1;
}

.oc-stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: #6B7280;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ---- INTRO SECTION ---- */
.oc-intro {
  padding: 100px 0;
  background: #F7F8FA;
}

.oc-intro-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.oc-intro-text .section-title { text-align: left; }
.oc-intro-text .section-eyebrow { margin-bottom: 0.5rem; }

.oc-intro-text p {
  font-size: 0.97rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1rem;
}
.oc-intro-text p a {
  color: #C9A03C;
  font-weight: 600;
  border-bottom: 1px solid rgba(201,160,60,0.3);
  transition: border-color 0.2s;
}
.oc-intro-text p a:hover { border-bottom-color: #C9A03C; }

/* Card stack visual */
.oc-intro-card-stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.oc-intro-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: all 0.3s ease;
}
.oc-intro-card:hover {
  border-color: #C9A03C;
  box-shadow: 0 6px 24px rgba(201,160,60,0.12);
  transform: translateX(4px);
}

.oc-intro-card i {
  font-size: 1.4rem;
  color: #C9A03C;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: rgba(201,160,60,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oc-intro-card div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oc-intro-card strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1A1A2E;
}
.oc-intro-card span {
  font-size: 0.78rem;
  color: #6B7280;
}

/* ---- STAFF SECTION ---- */
.oc-staff {
  padding: 100px 0;
  background: #fff;
}

.oc-staff-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
}

.oc-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201,160,60,0.1);
  border: 2px solid rgba(201,160,60,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.oc-icon-circle i {
  font-size: 1.4rem;
  color: #C9A03C;
}

.oc-icon-line {
  width: 2px;
  height: calc(100% - 80px);
  background: linear-gradient(to bottom, rgba(201,160,60,0.3), transparent);
  margin: 12px auto 0;
}

.oc-staff-content .section-title { text-align: left; }
.oc-staff-content .section-eyebrow { margin-bottom: 0.5rem; }

.oc-staff-content p {
  font-size: 0.97rem;
  color: #4B5563;
  line-height: 1.75;
  margin-bottom: 1rem;
  max-width: 680px;
}

.oc-membership-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

.oc-pill {
  padding: 7px 18px;
  background: rgba(201,160,60,0.1);
  border: 1px solid rgba(201,160,60,0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b8892e;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.oc-pill:hover {
  background: #C9A03C;
  border-color: #C9A03C;
  color: #fff;
}

/* ---- ELECTRONIC SAFETY MANAGEMENT ---- */
.oc-esm {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(135deg, #1B2B3A 0%, #243447 60%, #2D3E50 100%);
  overflow: hidden;
}

.oc-esm-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 50%, rgba(74,58,168,0.28) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 50%, rgba(201,160,60,0.07) 0%, transparent 50%);
  pointer-events: none;
}

.oc-esm-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.oc-esm-eyebrow { color: rgba(201,160,60,0.9); }

.oc-esm-title {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.oc-esm-content p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 1rem;
}
.oc-esm-content p a {
  color: #C9A03C;
  font-weight: 600;
  border-bottom: 1px solid rgba(201,160,60,0.35);
  transition: border-color 0.2s;
}
.oc-esm-content p a:hover { border-bottom-color: #C9A03C; }

/* Monitor visual */
.oc-esm-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.oc-esm-monitor {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.oc-esm-monitor-screen {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(255,255,255,0.06);
  border: 2px solid rgba(255,255,255,0.12);
  border-radius: 10px 10px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  box-shadow: 0 0 40px rgba(74,58,168,0.2);
}

.oc-esm-logo {
  max-width: 130px;
  max-height: 55px;
  object-fit: contain;
  filter: brightness(1.1);
}

.oc-esm-screen-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  padding: 0 10px;
}
.oc-esm-screen-lines span {
  display: block;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}
.oc-esm-screen-lines span:nth-child(1) { width: 80%; }
.oc-esm-screen-lines span:nth-child(2) { width: 65%; }
.oc-esm-screen-lines span:nth-child(3) { width: 75%; }
.oc-esm-screen-lines span:nth-child(4) { width: 50%; }
.oc-esm-screen-lines span:nth-child(5) { width: 70%; }

.oc-esm-monitor-stand {
  width: 30px;
  height: 16px;
  background: rgba(255,255,255,0.1);
  clip-path: polygon(20% 0, 80% 0, 100% 100%, 0% 100%);
}
.oc-esm-monitor-base {
  width: 80px;
  height: 6px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.oc-esm-feature-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 300px;
}
.oc-esm-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
}
.oc-esm-badge i { color: #C9A03C; font-size: 0.85rem; }

/* ---- WHY CHOOSE SWP ---- */
.oc-why {
  padding: 100px 0;
  background: #F7F8FA;
}

.oc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.oc-why-card {
  background: #fff;
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}
.oc-why-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #E5E7EB;
  transition: background 0.3s;
}
.oc-why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.08);
  border-color: rgba(201,160,60,0.3);
}
.oc-why-card:hover::after { background: #C9A03C; }

.oc-why-card--featured {
  border-color: rgba(201,160,60,0.35);
  background: #fffdf5;
  box-shadow: 0 8px 32px rgba(201,160,60,0.1);
}
.oc-why-card--featured::after { background: #C9A03C; }

.oc-why-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(201,160,60,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}
.oc-why-icon i {
  font-size: 1.25rem;
  color: #C9A03C;
}

.oc-why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1A1A2E;
}

.oc-why-card p {
  font-size: 0.88rem;
  color: #4B5563;
  line-height: 1.7;
}

/* ---- PROFESSIONAL MEMBERSHIPS ---- */
.oc-memberships {
  padding: 100px 0;
  background: #fff;
}

.oc-mem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}

.oc-mem-card {
  background: #F7F8FA;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 28px 22px;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.oc-mem-card:hover {
  border-color: #C9A03C;
  background: #fffdf5;
  box-shadow: 0 8px 28px rgba(201,160,60,0.1);
  transform: translateY(-3px);
}

.oc-mem-icon {
  width: 48px;
  height: 48px;
  background: rgba(201,160,60,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.oc-mem-icon i {
  font-size: 1.1rem;
  color: #C9A03C;
}

.oc-mem-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #1A1A2E;
}

.oc-mem-card p {
  font-size: 0.78rem;
  color: #6B7280;
  line-height: 1.5;
}

/* Extra items (BBBEE + insurance) */
.oc-mem-extra {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 28px 32px;
  background: #F7F8FA;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
}

.oc-mem-extra-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  min-width: 260px;
}
.oc-mem-extra-item i {
  font-size: 1.25rem;
  color: #C9A03C;
  flex-shrink: 0;
  margin-top: 2px;
}
.oc-mem-extra-item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.oc-mem-extra-item strong {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1A1A2E;
}
.oc-mem-extra-item span {
  font-size: 0.82rem;
  color: #6B7280;
}

/* ---- CTA BANNER ---- */
.oc-cta {
  position: relative;
  background: linear-gradient(135deg, #243447 0%, #1B2B3A 100%);
  padding: 80px 0;
  overflow: hidden;
}

.oc-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,160,60,0.12) 0%, transparent 55%);
  pointer-events: none;
}

.oc-cta-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.oc-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.oc-cta-eyebrow { color: rgba(201,160,60,0.9); }

.oc-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.oc-cta-content p {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
}

.oc-cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* =============================================
   RESPONSIVE — OUR COMPANY PAGE
============================================= */
@media (max-width: 1100px) {
  .oc-mem-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .oc-intro-inner { grid-template-columns: 1fr; gap: 48px; }
  .oc-esm-inner { grid-template-columns: 1fr; gap: 48px; }
  .oc-esm-visual { order: -1; }
  .oc-why-grid { grid-template-columns: 1fr; gap: 20px; }

  .oc-stats-list { justify-content: flex-start; }
  .oc-stat { padding: 20px 24px; }
  .oc-stat-divider { display: none; }

  .oc-cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .page-hero { padding: 120px 0 60px; }
  .oc-intro { padding: 64px 0; }
  .oc-staff { padding: 64px 0; }
  .oc-esm { padding: 64px 0; }
  .oc-why { padding: 64px 0; }
  .oc-memberships { padding: 64px 0; }
  .oc-cta { padding: 60px 0; }

  .oc-stats-list { flex-wrap: wrap; }
  .oc-stat { flex: 1 1 calc(50% - 2px); padding: 20px 16px; }
  .oc-stat-divider { display: none; }

  .oc-mem-grid { grid-template-columns: 1fr 1fr; gap: 14px; }

  .oc-staff-inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .oc-staff-icon-col { display: none; }

  .oc-cta-actions { flex-direction: column; width: 100%; }
  .oc-cta-actions .btn { text-align: center; justify-content: center; }
}
