/* =============================================================================
   Incipit ConsultEdge — Premium Public Design System (Foundations)
   FILE 4 OF 4 — SECTIONS
   Section rhythm: alternating soft backgrounds, gradient hero field,
   editorial count stats, premium card grids, gradient CTA banners,
   customer stories, pricing, FAQ, awards. All via tokens (no inline CSS).
   ============================================================================= */

/* 1. Banner / hero section — full-bleed gradient field */
.banner-section {
  position: relative;
  background: linear-gradient(135deg, #EDE8F5 0%, #EEF1FF 100%);
  padding-top: 96px;
  padding-bottom: 64px;
}
@media (min-width: 768px) {
  .banner-section { padding-top: 110px; padding-bottom: 72px; }
}
@media (min-width: 1200px) {
  .banner-section { padding-top: 120px; padding-bottom: 80px; }
}

.banner-section h1 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
  color: var(--bs-dark);
}
.banner-section h1 em.font-instrument {
  font-weight: 400;
  color: var(--bs-primary);
}
.banner-section h2 {
  font-weight: 700;
  letter-height: -0.01em;
  line-height: 1.05;
  color: var(--bs-dark);
}
.banner-section h2 em.font-instrument {
  font-weight: 400;
  color: var(--bs-primary);
}
.banner-section h3 { line-height: 1.1; }
.banner-section p { color: var(--bs-body-color); line-height: 1.6; }
.banner-section .lead {
  color: var(--bs-body-color);
  font-weight: 400;
  opacity: 0.85;
}

/* Eyebrow / label treatment */
.banner-section .eyebrow,
.section-eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bs-secondary);
}

/* 2. Section rhythm — alternating soft backgrounds */
.page-section {
  padding-top: 60px;
  padding-bottom: 60px;
  background-color: #fff;
}
@media (min-width: 992px) {
  .page-section { padding-top: 80px; padding-bottom: 80px; }
}
@media (min-width: 1200px) {
  .page-section { padding-top: 100px; padding-bottom: 100px; }
}

/* Alternating surface for grouped sections */
.page-section.alt {
  background-color: var(--bs-background);
}

.page-section.alt h2 {
  color: var(--bs-dark);
}
.page-section.alt h2 em.font-instrument {
  color: var(--bs-primary);
}

/* Section headings — tight, editorial */
.page-section h2 {
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.06;
  color: var(--bs-dark);
}
.page-section h2 em.font-instrument {
  font-weight: 400;
  color: var(--bs-primary);
}

/* 3. Count statistics — premium numeric emphasis */
.count {
  display: inline-block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  color: var(--bs-primary);
}

/* Counter wrapper colour helper */
.counter-group .fs-12 { color: var(--bs-dark); }

/* 4. Services / capability grid — tinted icon circles, one palette */
.services-grid .card {
  border: 1px solid var(--bs-accent);
  min-height: 260px;
  background-color: #fff;
}
.services-grid .card:hover {
  transform: translateY(-6px);
  border-color: var(--bs-primary);
}
.services-grid .card-body {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  text-align: center;
}
.services-grid .card h4 { color: var(--bs-dark); }

/* Unified tinted icon circle — primary family */
.services-grid .card .icon-circle,
.capability-card .icon-circle,
.solution-card .icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 9999px;
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Dark premium CTA strip */
.services-cta {
  background: var(--bs-gradient-primary);
  border-radius: var(--bs-border-radius-lg);
  padding: 32px 24px;
  margin-top: 24px;
}
.services-cta h3 { color: #fff; margin-bottom: 0; font-weight: 600; }

/* 5. Work grid — premium card lift */
.work-section .work-title {
  color: var(--bs-dark);
  transition: color 0.3s ease;
  font-weight: 600;
}
.work-section .badge {
  font-weight: 500;
  border-radius: var(--bs-border-radius-pill);
  padding: 0.45em 0.9em;
  background-color: var(--bs-primary-bg-subtle);
  color: var(--bs-primary);
  border: 1px solid var(--bs-accent-border-subtle);
}

/* 6. Team section */
.team-section .team-img img {
  border-radius: var(--bs-border-radius-lg);
  transition: transform 0.4s ease;
}
.team-section .team-details h6 { color: var(--bs-dark); }
.team-section .team-img:hover img { transform: scale(1.04); }

/* 7. Customer stories grid */
.customer-grid .card {
  border: 1px solid var(--bs-accent);
  min-height: 380px;
  background-color: #fff;
  overflow: hidden;
}
.customer-grid .card:hover {
  transform: translateY(-6px);
  border-color: var(--bs-primary);
}
.customer-grid .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.customer-grid .card h3,
.customer-grid .card h2 { color: inherit; }
.customer-grid .card.bg-primary h3,
.customer-grid .card.bg-primary p,
.customer-grid .card.bg-secondary h3,
.customer-grid .card.bg-secondary p,
.customer-grid .card.customer-bg-img h3,
.customer-grid .card.customer-bg-img p { color: #fff; }
.customer-grid .card .text-muted {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.875rem;
}

/* Story card background — soft gradient field */
.customer-bg-img.bg-customer-stories {
  background: linear-gradient(135deg, rgba(61,82,160,.12) 0%, rgba(112,145,230,.08) 100%),
              url("../vendor/awake/assets/customer/customer-bg.jpg") center/cover no-repeat;
  color: #fff;
}

/* 8. Pricing section */
.pricing-card .card {
  border: 1px solid var(--bs-accent);
  min-height: 540px;
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
}
.pricing-card .badge {
  border-radius: var(--bs-border-radius-pill);
}
.pricing-card ul li .fa,
.pricing-card ul li .icon { color: inherit; }

/* 9. FAQ section */
.faq-section .accordion-button {
  font-weight: 500;
  color: var(--bs-dark);
}
.faq-section .accordion-button:not(.collapsed) {
  color: var(--bs-primary);
  font-weight: 600;
}

/* 10. Awards section — premium hover lift */
.awards-grid .awards-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s ease;
  border: 1px solid var(--bs-accent);
  background-color: #fff;
}
.awards-grid .awards-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--bs-box-shadow);
  border-color: var(--bs-primary);
}
.awards-grid .awards-title {
  color: var(--bs-dark);
  transition: color 0.3s ease;
}

/* 11. Footer — Premium light */
.footer {
  background-color: #fff;
  border-top: 1px solid var(--bs-accent);
}
.footer .container > .d-block img,
.footer a.d-block img {
  height: 48px;
  width: auto;
}
.footer h6 { color: var(--bs-dark); font-weight: 600; }
.footer-menu li { font-size: 0.9375rem; }
.footer-menu .link-hover { transition: color 0.2s ease; }
.footer .border-top { border-color: var(--bs-accent) !important; }
.footer .text-muted { color: var(--bs-secondary-color) !important; }

/* 12. Get-in-touch CTA banner — gradient surface */
.get-in-touch {
  background: var(--bs-gradient-primary);
  border-radius: var(--bs-border-radius-xl);
  color: #fff;
  padding: 56px 24px;
}
@media (min-width: 992px) {
  .get-in-touch { padding: 96px 48px; }
}
.get-in-touch h2 {
  font-weight: 700;
  line-height: 1.04;
  color: #fff;
}
.get-in-touch h2 em.font-instrument {
  color: #fff;
  opacity: 0.85;
}
.get-in-touch .btn { /* inherit gradient handled by component */ }
.get-in-touch .btn.btn-dark,
.get-in-touch .btn {
  color: #fff;
}

/* 13. Form surfaces — use the surface tint */
.form-control,
.form-select,
.input-group .form-control {
  border: 1px solid var(--bs-accent);
  border-radius: var(--bs-border-radius);
  background-color: #fff;
  padding: 12px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
  border-color: var(--bs-secondary);
  box-shadow: 0 0 0 3px rgba(112, 145, 230, 0.25);
}
.form-label { font-weight: 500; color: var(--bs-dark); }

@media (prefers-reduced-motion: reduce) {
  .awards-grid .awards-card,
  .services-grid .card,
  .customer-grid .card,
  .team-section .team-img img {
    transition: none;
  }
}
