/* Our Clients — Intellectsoft-inspired body (page-scoped) */

.oc-page {
  --oc-navy: #071a2d;
  --oc-blue: #0b66c3;
  --oc-purple: #7c3aed;
  --oc-muted: #5a7086;
  --oc-line: #e4ebf2;
  --oc-soft: #f5f7fa;
  background: #fff;
  color: var(--oc-navy);
  font-family: "Outfit", "Outfit Placeholder", sans-serif;
}

.oc-page main,
.oc-page main * {
  font-family: "Outfit", "Outfit Placeholder", sans-serif !important;
}

.oc-page :focus-visible {
  outline: 3px solid #63a9ff;
  outline-offset: 3px;
}

.oc-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #9bc7ff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.oc-intro {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.oc-intro h2 {
  margin: 0 0 12px;
  color: var(--oc-navy);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 700 !important;
  letter-spacing: -.03em;
}

.oc-intro p {
  margin: 0;
  color: var(--oc-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.oc-section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--oc-blue);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.oc-section-link:hover {
  color: var(--oc-purple);
}

.oc-btn {
  min-height: 48px;
  padding: 12px 22px !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

.oc-outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border: 1.5px solid var(--oc-navy);
  border-radius: 4px;
  color: var(--oc-navy);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  background: transparent;
  transition: background .2s ease, color .2s ease;
}

.oc-outline-btn:hover {
  background: var(--oc-navy);
  color: #fff;
}

/* 1. Hero */
.oc-hero {
  position: relative;
  overflow: hidden;
  min-height: 440px;
  padding: 168px 0 96px;
  color: #fff;
}

.oc-hero-media,
.oc-hero-shade {
  position: absolute;
  inset: 0;
}

.oc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.oc-hero-shade {
  background: linear-gradient(105deg, rgba(4, 24, 44, .88) 8%, rgba(7, 35, 68, .72) 52%, rgba(8, 40, 70, .55) 100%);
}

.oc-hero-inner {
  position: relative;
  z-index: 2;
}

.oc-hero h1 {
  margin: 0 0 16px;
  max-width: 18ch;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 700 !important;
  letter-spacing: -.04em;
  line-height: 1.12;
}

.oc-hero p {
  margin: 0;
  max-width: 640px;
  color: rgba(230, 241, 255, .88);
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.7;
}

/* 2. Meet clients */
.oc-meet {
  padding: 80px 0;
  background: #fff;
}

.oc-intro-muted {
  color: var(--oc-muted);
}

.oc-intro-accent {
  color: #0b66c3;
  font-weight: 650;
}

.oc-logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #e2e8f0;
  box-shadow: 0 10px 30px rgba(6, 27, 44, 0.08);
}

.oc-logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 108px;
  padding: 28px 20px;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.oc-logo-cell img {
  display: block;
  max-width: 100%;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.oc-logo-cell--cta {
  flex-direction: column;
  gap: 4px;
  background: linear-gradient(145deg, #f8fbff 0%, #eef5fc 100%);
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s ease;
}

.oc-logo-cell--cta:hover {
  background: linear-gradient(145deg, #eef5fc 0%, #e3effa 100%);
  transform: translateY(-1px);
}

.oc-logo-cta-count {
  color: #0b66c3;
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.oc-logo-cta-text {
  color: #061b2c;
  font-size: clamp(0.78rem, 1.3vw, 0.92rem);
  font-weight: 650;
  letter-spacing: 0.01em;
  line-height: 1.25;
  text-align: center;
}

.oc-asset-note {
  max-width: 52ch;
  margin: 0 auto 8px;
  text-align: center;
  color: var(--oc-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.oc-meet-action {
  margin-top: 40px;
  text-align: center;
}

/* 3. Stories */
.oc-stories {
  padding: 80px 0;
  background: var(--oc-soft);
}

.oc-stories .oc-intro {
  margin-bottom: 32px;
}

.oc-story-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--oc-line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(7, 26, 45, .04);
}

.oc-story-media {
  min-height: 360px;
  background: #0a2340;
}

.oc-story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oc-story-fallback {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 360px;
  padding: 32px;
  background:
    radial-gradient(ellipse 60% 50% at 70% 20%, rgba(47, 125, 255, .25), transparent 60%),
    linear-gradient(160deg, #071a2d, #0a2748);
  color: #fff;
  text-align: center;
}

.oc-story-fallback span {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.25;
}

.oc-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 32px;
}

.oc-story-copy h3 {
  margin: 0 0 14px;
  font-size: 1.45rem;
  font-weight: 700 !important;
  letter-spacing: -.02em;
}

.oc-story-copy p {
  margin: 0 0 14px;
  color: #4a6075;
  font-size: 1.02rem;
  line-height: 1.7;
}

.oc-story-meta {
  color: var(--oc-blue) !important;
  font-size: .92rem !important;
  font-weight: 650;
}

.oc-story-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 8px;
  border-bottom: 1px solid var(--oc-line);
  background: #fff;
}

.oc-story-tab {
  flex: 1 1 120px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--oc-muted);
  font: inherit;
  font-size: .88rem;
  font-weight: 700;
  cursor: pointer;
}

.oc-story-tab img {
  max-width: 100px;
  max-height: 32px;
  object-fit: contain;
}

.oc-story-tab.is-active,
.oc-story-tab:hover {
  color: var(--oc-navy);
  border-bottom-color: var(--oc-blue);
}

.oc-story-empty {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.oc-story-empty p {
  color: var(--oc-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

/* 4. Why */
.oc-why {
  padding: 80px 0;
  background: #fff;
}

.oc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--oc-line);
  border-radius: 4px;
  overflow: hidden;
}

.oc-why-card {
  padding: 32px 28px;
  border-right: 1px solid var(--oc-line);
  border-bottom: 1px solid var(--oc-line);
  background: #fff;
}

.oc-why-card:nth-child(3n) {
  border-right: 0;
}

.oc-why-card:nth-last-child(-n + 3) {
  border-bottom: 0;
}

.oc-why-icon {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--oc-blue);
}

.oc-why-card:nth-child(even) .oc-why-icon {
  color: var(--oc-purple);
}

.oc-why-card h3 {
  margin: 0 0 10px;
  font-size: 1.12rem;
  font-weight: 750 !important;
}

.oc-why-card p {
  margin: 0;
  color: var(--oc-muted);
  font-size: .98rem;
  line-height: 1.6;
}

/* 5. About + footer continuous band */
.oc-bottom-band {
  margin: 0;
  padding: 0;
  background:
    radial-gradient(ellipse 90% 70% at 10% 0%, rgba(0, 119, 200, 0.28), transparent 55%),
    linear-gradient(160deg, #04192c 0%, #071c3c 40%, #001F2B 75%, #001018 100%);
}

.oc-about {
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 96px 0 72px;
  background: transparent;
}

.oc-about-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  opacity: .22;
}

.oc-about-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.oc-about-shade {
  position: absolute;
  inset: 0;
  background: rgba(4, 24, 44, .4);
}

.oc-about .container {
  position: relative;
  z-index: 2;
}

.oc-about-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 36px;
  border-radius: 8px;
  background: linear-gradient(145deg, #071a2d, #1a1460 70%, #4f46e5);
  color: #fff;
  text-align: center;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28);
}

.oc-about-panel h2 {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.2rem);
  font-weight: 700 !important;
}

.oc-about-panel p {
  margin: 0 0 24px;
  color: rgba(230, 241, 255, .9);
  font-size: 1.02rem;
  line-height: 1.7;
}

.oc-about-panel .button-primary {
  background: #fff !important;
  color: var(--oc-navy) !important;
  border: 0 !important;
}

.oc-bottom-band .cl-footer {
  margin: 0 !important;
  padding-top: 28px !important;
  border-top: 0 !important;
  background: transparent !important;
}

.oc-bottom-band .cl-footer::before {
  display: none !important;
}

@media (max-width: 1024px) {
  .oc-logo-cloud {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 720px;
  }

  .oc-story-panel {
    grid-template-columns: 1fr;
  }

  .oc-story-media,
  .oc-story-fallback {
    min-height: 280px;
  }

  .oc-why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .oc-why-card:nth-child(3n) {
    border-right: 1px solid var(--oc-line);
  }

  .oc-why-card:nth-child(2n) {
    border-right: 0;
  }

  .oc-why-card:nth-last-child(-n + 3) {
    border-bottom: 1px solid var(--oc-line);
  }

  .oc-why-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }
}

@media (max-width: 720px) {
  .oc-hero {
    min-height: 0;
    padding: 120px 0 64px;
  }

  .oc-meet,
  .oc-stories,
  .oc-why,
  .oc-about {
    padding: 56px 0;
  }

  .oc-logo-cloud {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 100%;
  }

  .oc-logo-cell {
    min-height: 92px;
    padding: 22px 14px;
  }

  .oc-logo-cell img {
    max-height: 32px;
  }

  .oc-why-grid {
    grid-template-columns: 1fr;
  }

  .oc-why-card,
  .oc-why-card:nth-child(3n),
  .oc-why-card:nth-child(2n),
  .oc-why-card:nth-last-child(-n + 3),
  .oc-why-card:nth-last-child(-n + 2) {
    border-right: 0;
    border-bottom: 1px solid var(--oc-line);
  }

  .oc-why-card:last-child {
    border-bottom: 0;
  }

  .oc-story-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
  }

  .oc-story-tab {
    flex: 0 0 auto;
    min-width: 140px;
  }

  .oc-about-bg {
    grid-template-columns: 1fr;
  }

  .oc-about-panel {
    padding: 32px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oc-outline-btn {
    transition: none;
  }
}
