/* ═══════════════════════════════════════════════════════════
   Business Central Page
   Scoped under .bc-page to avoid conflicts with other templates.
   Source: NewDesign/business-central.html inline styles.
═══════════════════════════════════════════════════════════ */

/* ─── LOCAL VARIABLE ALIASES ─────────────────────────────── */
/* NewDesign uses --navy-soft, --teal-soft, --teal-mid;
   map them to the theme variables.                           */
.bc-page {
  --navy-soft:  var(--navy-light);   /* #f3f0ff */
  --teal-soft:  var(--teal-light);   /* #e6fdf8 */
  --teal-mid:   var(--teal-dark);    /* #00b891 */
  --max-w:      1140px;
  --radius:     12px;
  --section-gap: 96px;
}

/* ─── EYEBROW ────────────────────────────────────────────── */
.bc-page .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-dark);
  margin-bottom: 14px;
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.bc-page .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
}

.bc-page .btn-primary {
  background: var(--navy);
  color: white;
}
.bc-page .btn-primary:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,0,78,0.2);
}

.bc-page .btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.bc-page .btn-outline:hover {
  background: var(--navy);
  color: white;
}

.bc-page .btn-teal {
  background: var(--teal);
  color: var(--navy);
}
.bc-page .btn-teal:hover {
  background: #00ffcc;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,229,185,0.3);
}

/* ─── IMAGE PLACEHOLDER ──────────────────────────────────── */
.bc-page .img-placeholder {
  background: var(--gray-100);
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gray-400);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}
.bc-page .img-placeholder .ph-icon  { font-size: 2rem; opacity: 0.5; }
.bc-page .img-placeholder .ph-label { font-weight: 600; color: var(--gray-600); font-size: 0.82rem; }
.bc-page .img-placeholder .ph-note  { font-size: 0.74rem; color: var(--gray-400); max-width: 220px; line-height: 1.5; }

/* ─── BREADCRUMB ─────────────────────────────────────────── */
.bc-page .page-crumb {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}
.bc-page .breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 0;
  color: var(--gray-400);
  font-size: 0.78rem;
}
.bc-page .breadcrumb a            { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.bc-page .breadcrumb a:hover      { color: var(--navy); }
.bc-page .breadcrumb .sep         { opacity: 0.4; }
.bc-page .breadcrumb .current     { color: var(--navy); font-weight: 600; }

/* ─── HERO ───────────────────────────────────────────────── */
.bc-page .hero {
  background: var(--white) !important;
  padding: 72px 0 80px;
  border-bottom: 1px solid var(--gray-200);
  /* override main theme hero styles */
  min-height: unset !important;
  text-align: left;
  display: block;
  position: relative;
  overflow: visible;
}

.bc-page .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* gap: 72px; */
  align-items: center;
}

.bc-page .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--navy-light);
  border: 1px solid rgba(27,0,78,0.12);
  border-radius: 100px;
  padding: 5px 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.bc-page .hero h1 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw);
  font-weight: 800;
}

.bc-page .hero p.lead {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 600px;
  font-weight: 300;
  line-height: 1.85;
}

.bc-page .hero-content {
  max-width: none;
  animation: none;
}

.bc-page .hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 0;
}

.bc-page .hero-img {
  width: 100%;
  /* aspect-ratio: 4/3; */
}

/* ─── ONE-LINER ──────────────────────────────────────────── */
.bc-page .one-liner {
  background: var(--navy);
  padding: 40px 0;
}

.bc-page .one-liner-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.bc-page .one-liner-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  white-space: nowrap;
  padding-top: 3px;
  flex-shrink: 0;
}

.bc-page .one-liner-text {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-weight: 300;
  line-height: 1.7;
}

.bc-page .one-liner-text strong {
  color: white;
  font-weight: 600;
}

/* ─── WHY BUSINESS CENTRAL ───────────────────────────────── */
.bc-page .why-bc { background: var(--white); }

.bc-page .why-bc-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bc-page .why-bc-img {
  width: 100%;
  border-radius: var(--radius);
}

.bc-page .why-bc-content h2 { margin-bottom: 20px; }

.bc-page .trust-row {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.bc-page .trust-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bc-page .trust-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: 1;
}
.bc-page .trust-num span  { color: var(--teal-dark); }
.bc-page .trust-label     { font-size: 0.78rem; color: var(--gray-400); font-weight: 500; }

/* ─── CAPABILITIES ───────────────────────────────────────── */
.bc-page .capabilities { background: var(--gray-50); }

.bc-page .capabilities-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 56px;
}
.bc-page .capabilities-header h2 { margin-bottom: 14px; }

.bc-page .cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bc-page .cap-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  position: relative;
  overflow: hidden;
}

.bc-page .cap-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.bc-page .cap-card:hover {
  box-shadow: 0 8px 32px rgba(27,0,78,0.09);
  transform: translateY(-3px);
  border-color: transparent;
}
.bc-page .cap-card:hover::before { transform: scaleX(1); }

.bc-page .cap-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 18px;
  transition: background 0.25s;
}
.bc-page .cap-card:hover .cap-icon { background: var(--teal-light); }

.bc-page .cap-card h3 { font-size: 0.95rem; margin-bottom: 10px; }
.bc-page .cap-card p  { font-size: 0.85rem; line-height: 1.75; }

/* Link variant */
.bc-page a.cap-card {
  color: inherit;
  text-decoration: none;
}

/* ─── COMPARISON ─────────────────────────────────────────── */
.bc-page .comparison { background: var(--white); }

.bc-page .comparison-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bc-page .comparison-content h2       { margin-bottom: 16px; }
.bc-page .comparison-content > p      { margin-bottom: 36px; }

.bc-page .comp-table { width: 100%; border-collapse: collapse; }

.bc-page .comp-table thead th {
  padding: 12px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: left;
  border-bottom: 2px solid var(--gray-200);
}
.bc-page .comp-table thead th:first-child { color: var(--gray-400); }
.bc-page .comp-table thead th:last-child  { color: var(--navy); }

.bc-page .comp-table tbody tr           { border-bottom: 1px solid var(--gray-100); }
.bc-page .comp-table tbody tr:last-child { border-bottom: none; }

.bc-page .comp-table td {
  padding: 13px 16px;
  font-size: 0.85rem;
  vertical-align: top;
}
.bc-page .comp-table td:first-child    { color: var(--gray-600); font-weight: 500; width: 25%; }
.bc-page .comp-table td:nth-child(2)   { color: var(--gray-400); font-weight: 300; }
.bc-page .comp-table td:nth-child(3)   { color: var(--navy); font-weight: 400; }

.bc-page .check { color: var(--teal-dark); font-weight: 700; margin-right: 6px; }
.bc-page .cross { color: #d1d5db; margin-right: 6px; }

.bc-page .comparison-img {
  width: 100%;
  /*aspect-ratio: 4/3;*/
  border-radius: var(--radius);
}

/* ─── INDUSTRIES ─────────────────────────────────────────── */
.bc-page .industries { background: var(--navy-light); }

.bc-page .industries-header {
  text-align: center;
  max-width: 520px;
  margin: 0 auto 52px;
}
.bc-page .industries-header h2 { margin-bottom: 12px; }

.bc-page .ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bc-page .ind-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
  text-decoration: none;
}
.bc-page .ind-card:hover {
  border-color: var(--navy);
  box-shadow: 0 4px 20px rgba(27,0,78,0.08);
  transform: translateY(-2px);
}

/* Link variant */
.bc-page a.ind-card {
  color: inherit;
  text-decoration: none;
}

.bc-page .ind-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bc-page .ind-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

/* ─── CTA BAND ───────────────────────────────────────────── */
.bc-page .cta-band {
  background: var(--navy);
  padding: 72px 0;
}

.bc-page .cta-band-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.bc-page .cta-band h2          { color: white; margin-bottom: 10px; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.bc-page .cta-band p           { color: rgba(255,255,255,0.55); font-weight: 300; max-width: 460px; }
.bc-page .cta-band-actions     { display: flex; gap: 14px; flex-shrink: 0; flex-wrap: wrap; }

/* ─── FAQ ────────────────────────────────────────────────── */
.bc-page .faq { background: var(--white); }

.bc-page .faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}

.bc-page .faq-sidebar h2       { margin-bottom: 14px; }
.bc-page .faq-sidebar p        { font-size: 0.9rem; margin-bottom: 28px; }

.bc-page .faq-list             { display: flex; flex-direction: column; gap: 0; }

.bc-page .faq-item             { border-bottom: 1px solid var(--gray-200); }
.bc-page .faq-item:first-child { border-top: 1px solid var(--gray-200); }

.bc-page .faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  transition: color 0.2s;
}
.bc-page .faq-q:hover { color: var(--teal-dark); }

.bc-page .faq-chevron {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
  transition: all 0.25s;
  color: var(--navy);
}

.bc-page .faq-item.open .faq-chevron {
  background: var(--teal);
  color: var(--navy);
  transform: rotate(180deg);
}

.bc-page .faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.25s;
}
.bc-page .faq-item.open .faq-a { max-height: 200px; padding-bottom: 20px; }

.bc-page .faq-a p { font-size: 0.88rem; line-height: 1.8; }

/* ─── SECTION GAP ────────────────────────────────────────── */
.bc-page .section-gap { padding: var(--section-gap) 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .bc-page .hero-inner,
  .bc-page .why-bc-inner,
  .bc-page .comparison-inner,
  .bc-page .faq-inner        { grid-template-columns: 1fr; gap: 40px; }

  .bc-page .hero-img,
  .bc-page .why-bc-img,
  .bc-page .comparison-img   { aspect-ratio: 16/9; }

  .bc-page .cap-grid         { grid-template-columns: 1fr 1fr; }
  .bc-page .ind-grid         { grid-template-columns: 1fr 1fr; }
  .bc-page .cta-band-inner   { flex-direction: column; text-align: center; }
  .bc-page .cta-band-actions { justify-content: center; }
}

@media (max-width: 600px) {
  .bc-page { --section-gap: 64px; }
  .bc-page .cap-grid,
  .bc-page .ind-grid         { grid-template-columns: 1fr; }
  .bc-page .trust-row        { gap: 32px; }
}
