/* ============================================================
   BUSINESS SOLUTIONS & SERVICES PAGE
   Uses same BrainX home palette: ink, white, red, red-light, paper
   Centered hero, clean cards without accent lines, 
   SEO-style contact CTA
   ============================================================ */
:root {
  --color-ink: #0A0A0F;
  --color-white: #FFFFFF;
  --color-red: #E14B3A;
  --color-red-dark: #C73A2A;
  --color-red-light: #F05A4A;
  --color-red-tint: #F3E1DE;
  --color-red-tint-2: #EECEC8;
  --color-paper: #F7F6F4;
  --color-charcoal: #3E3F44;
  --color-line: #E6E5E2;
  --color-gray: #8A8B92;
  --color-surface-dark: #1C1C24;
  --color-surface-dark-2: #232330;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', monospace;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 20px 40px -16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 40px 60px -24px rgba(0, 0, 0, 0.12);
  --container-pad: clamp(20px, 4vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--color-white);
  color: var(--color-ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

.container {
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.bss-page {
  background: var(--color-white);
  color: var(--color-ink);
}

.section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 13px;
  position: relative;
}

.section-kicker::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  margin-top: 7px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--color-red), var(--color-red-light));
}

.section-kicker-light { color: var(--color-red-tint-2); }
.section-kicker-light::after { background: linear-gradient(90deg, var(--color-red-light), #F7A072); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-red), var(--color-red-dark));
  border-color: rgba(225, 75, 58, 0.6);
  box-shadow: 0 16px 30px -16px rgba(225, 75, 58, 0.55);
}

.btn-primary:hover { box-shadow: 0 20px 36px -16px rgba(225, 75, 58, 0.65); }

.btn-soft {
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-soft:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.32); }

.center-heading {
  max-width: 710px;
  margin: 0 auto clamp(34px, 5vw, 54px);
  text-align: center;
}

.center-heading .section-kicker::after { margin-left: auto; margin-right: auto; }

.center-heading h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3.1vw, 2.55rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.center-heading h2 { max-width: 760px; margin: 0 auto; }

.heading-sub {
  margin: 16px auto 0;
  color: var(--color-charcoal);
  font-size: 16px;
  max-width: 620px;
}

/* ============================================================
   HERO — centered, no visual grid, full width text
   ============================================================ */
.bss-hero {
  position: relative;
  background: linear-gradient(160deg, var(--color-surface-dark), var(--color-surface-dark-2));
  color: var(--color-white);
  padding: clamp(72px, 10vw, 100px) 0 clamp(52px, 6vw, 72px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.bss-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.bss-hero-content .section-kicker::after {
  margin-left: auto;
  margin-right: auto;
}

.bss-hero-content h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-highlight {
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bss-hero-content p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #C7C9D1;
  font-size: 16px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.trust-number {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
}

.trust-label {
  font-size: 12.5px;
  color: #A6A7B0;
  margin-top: 2px;
}

/* ============================================================
   SOLUTIONS — clean cards with subtle hover, no accent lines
   ============================================================ */
.bss-solutions {
  padding: clamp(68px, 9vw, 100px) 0;
  background: var(--color-white);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.solution-card {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 20px;
  padding: 28px 24px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: var(--color-red-tint-2);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--color-red-tint);
  color: var(--color-red);
  margin-bottom: 16px;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.solution-card p {
  margin: 0;
  color: var(--color-charcoal);
  font-size: 14px;
  line-height: 1.7;
  flex-grow: 1;
}

.card-features {
  list-style: none;
  padding: 0;
  margin: 16px 0 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-features li {
  background: var(--color-paper);
  border-radius: 99px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--color-charcoal);
}

.card-link {
  font-weight: 600;
  font-size: 14px;
  color: var(--color-red);
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}

.card-link:hover {
  color: var(--color-red-dark);
  transform: translateX(4px);
}

/* ============================================================
   DELIVERY — step blocks
   ============================================================ */
.bss-delivery {
  padding: clamp(68px, 9vw, 100px) 0;
  background: var(--color-paper);
}

.delivery-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  position: relative;
}

.delivery-steps::before {
  content: '';
  position: absolute;
  top: 42px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--color-line);
  z-index: 0;
}

.step-block {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-red);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 16px;
  color: var(--color-red);
  margin-bottom: 16px;
}

.step-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.step-content p {
  margin: 0;
  color: var(--color-charcoal);
  font-size: 13.5px;
  line-height: 1.6;
}

/* ============================================================
   WHY BSS — split layout with stats
   ============================================================ */
.bss-why {
  padding: clamp(68px, 9vw, 100px) 0;
  background: var(--color-white);
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: clamp(36px, 6vw, 70px);
  align-items: center;
}

.why-content .section-kicker::after { margin-left: 0; }

.why-content h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.why-content h2 .highlight {
  background: linear-gradient(135deg, var(--color-red-light), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-content p {
  margin: 18px 0 0;
  color: var(--color-charcoal);
  line-height: 1.8;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 32px;
  display: grid;
  gap: 12px;
}

.why-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-charcoal);
}

.check-mark {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  border-radius: 50%;
  background: var(--color-red-tint);
  position: relative;
}

.check-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid var(--color-red);
  border-bottom: 2px solid var(--color-red);
  transform: rotate(-45deg);
}

.why-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card {
  background: var(--color-paper);
  border-radius: 16px;
  padding: 20px 18px;
  text-align: center;
  border: 1px solid var(--color-line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.stat-number {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--color-red);
  letter-spacing: -0.02em;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--color-charcoal);
  margin-top: 4px;
}

/* ============================================================
   INDUSTRIES — pill list
   ============================================================ */
.bss-industries {
  padding: clamp(60px, 7vw, 80px) 0;
  background: var(--color-paper);
}

.industry-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 820px;
  margin: 0 auto;
}

.industry-pills span {
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: 99px;
  padding: 8px 22px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-charcoal);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  cursor: default;
}

.industry-pills span:hover {
  background: var(--color-red-tint);
  border-color: var(--color-red);
  color: var(--color-red);
}

/* ============================================================
   TESTIMONIALS — simple quote blocks
   ============================================================ */
.bss-testimonials {
  padding: clamp(68px, 9vw, 100px) 0;
  background: var(--color-white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-grid blockquote {
  margin: 0;
  background: var(--color-paper);
  border-radius: 18px;
  padding: 28px 24px;
  border-left: 4px solid var(--color-red);
}

.testimonial-grid blockquote p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-charcoal);
  quotes: "“" "”" "‘" "’";
}

.testimonial-grid blockquote p::before {
  content: "“";
  color: var(--color-red);
  font-size: 1.4em;
  line-height: 0.8;
}

.testimonial-grid blockquote p::after {
  content: "”";
  color: var(--color-red);
  font-size: 1.4em;
  line-height: 0.8;
}

.testimonial-grid blockquote footer {
  margin-top: 14px;
  font-weight: 600;
  font-size: 14px;
  color: var(--color-ink);
}

/* ============================================================
   CONTACT / CTA — SEO‑style centered CTA box
   ============================================================ */
.bss-cta {
  padding: clamp(64px, 8vw, 96px) 0;
  background: var(--color-white);
}

.bss-cta-box {
  text-align: center;
  padding: clamp(34px, 5vw, 54px);
  border-radius: 26px;
  color: var(--color-white);
  background: linear-gradient(160deg, var(--color-surface-dark), var(--color-surface-dark-2));
  box-shadow: var(--shadow-lg);
}

.bss-cta-box .section-kicker::after {
  margin-left: auto;
  margin-right: auto;
}

.bss-cta-box h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}

.bss-cta-box p {
  max-width: 560px;
  margin: 16px auto 0;
  color: #C7C9D1;
  line-height: 1.75;
}

.bss-cta-box .btn {
  margin-top: 28px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .delivery-steps::before { display: none; }
  .step-block { padding: 0; }
}

@media (max-width: 920px) {
  .why-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .why-content .section-kicker::after { margin-left: auto; margin-right: auto; }
  .why-list { text-align: left; }
  .hero-trust { gap: 24px; }
}

@media (max-width: 720px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .delivery-steps { grid-template-columns: 1fr; }
  .step-block { text-align: left; display: flex; gap: 16px; align-items: flex-start; }
  .step-number { margin-bottom: 0; flex-shrink: 0; }
  .hero-trust { gap: 16px; }
  .industry-pills span { padding: 6px 16px; font-size: 13px; }
  .bss-cta-box .btn { width: 100%; }
}

@media (max-width: 480px) {
  .bss-hero { padding: 56px 0 32px; }
  .bss-hero-content h1 { font-size: 1.9rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .why-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat-card { padding: 14px 12px; }
  .stat-number { font-size: 20px; }
  .bss-cta-box { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}