/* ============================================================
   inner.css — Shared styles for all inner pages (pillar, service, article, vertical)
   Industrial Water Advisory
   ============================================================ */

/* ── Breadcrumb Bar ─────────────────────────────────────────── */
.breadcrumb-bar {
  background: #f0f4f8;
  border-bottom: 1px solid #d9e2ec;
  padding: 0.75rem 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  color: #555;
  flex-wrap: wrap;
}
.breadcrumb li { display: flex; align-items: center; gap: 0.4rem; }
.breadcrumb a { color: #0e7c7b; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li:not(:last-child)::after { content: "/"; color: #aaa; }

/* ── Page Hero / Pillar Intro ───────────────────────────────── */
.pillar-intro {
  padding: 5rem 0 3.5rem;
  background: linear-gradient(135deg, #0a1628 0%, #112240 60%, #0e3460 100%);
  color: #fff;
  text-align: center;
}
.pillar-intro .pi-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7c7b;
  margin-bottom: 1rem;
}
.pillar-intro h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1.25rem;
  color: #fff;
}
.pillar-intro .pi-lead {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.65;
  color: #c8d8ea;
  max-width: 680px;
  margin: 0 auto 2rem;
}
.pi-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}
.pi-stat {
  text-align: center;
}
.pi-stat .pi-stat-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: #0e7c7b;
  line-height: 1;
}
.pi-stat .pi-stat-label {
  display: block;
  font-size: 0.82rem;
  color: #a0b8d0;
  margin-top: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Section Headers (inner pages) ─────────────────────────── */
.inner-section {
  padding: 4rem 0;
}
.inner-section + .inner-section {
  padding-top: 0;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7c7b;
  margin-bottom: 0.6rem;
}
.section-heading {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 0.8rem;
  line-height: 1.2;
}
.section-subheading {
  font-size: 1.05rem;
  color: #4a5568;
  line-height: 1.65;
  max-width: 640px;
  margin: 0 0 2.5rem;
}

/* ── Pillar Services Grid ───────────────────────────────────── */
.pillar-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.pillar-svc-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pillar-svc-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  transform: translateY(-3px);
}
.pillar-svc-card .card-icon {
  font-size: 2rem;
  margin-bottom: 0.85rem;
  display: block;
}
.pillar-svc-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 0.5rem;
}
.pillar-svc-card p {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.pillar-svc-card .card-cta {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0e7c7b;
}

/* ── Verticals Grid ─────────────────────────────────────────── */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.vertical-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.vertical-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  transform: translateY(-3px);
}
.vertical-card .vc-icon { font-size: 2rem; margin-bottom: 0.75rem; display: block; }
.vertical-card h3 { font-size: 1.05rem; font-weight: 700; color: #0a1628; margin: 0 0 0.5rem; }
.vertical-card p { font-size: 0.88rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* ── Guides Grid ────────────────────────────────────────────── */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.guide-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 1.75rem;
  transition: box-shadow 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.guide-card:hover {
  box-shadow: 0 8px 32px rgba(10, 22, 40, 0.12);
  transform: translateY(-3px);
}
.guide-card .gc-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e7c7b;
  margin-bottom: 0.5rem;
}
.guide-card h3 { font-size: 1rem; font-weight: 700; color: #0a1628; margin: 0 0 0.5rem; }
.guide-card p { font-size: 0.88rem; color: #4a5568; line-height: 1.6; margin: 0; flex: 1; }

/* ── Service Detail Layout ──────────────────────────────────── */
.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}
.sd-main {}
.sd-sidebar {
  position: sticky;
  top: 100px;
}
.sd-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0a1628;
  margin: 2.5rem 0 0.75rem;
}
.sd-main h2:first-child { margin-top: 0; }
.sd-main p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  margin: 0 0 1.25rem;
}
.sd-main ul {
  padding-left: 1.25rem;
  margin: 0 0 1.25rem;
}
.sd-main ul li {
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 0.4rem;
}

/* ── Service Detail List (checklist style) ──────────────────── */
.svc-detail-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.svc-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: 0.94rem;
  color: #374151;
  line-height: 1.55;
}
.svc-detail-item:last-child { border-bottom: none; }
.svc-detail-item::before {
  content: "✓";
  color: #0e7c7b;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

/* ── Deliverables Box ───────────────────────────────────────── */
.deliverables-box {
  background: #f7fafc;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.deliverables-box h4 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0a1628;
  margin: 0 0 0.85rem;
}
.deliverables-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.deliverables-box ul li {
  font-size: 0.9rem;
  color: #374151;
  padding: 0.35rem 0;
  border-bottom: 1px solid #e9eff5;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}
.deliverables-box ul li:last-child { border-bottom: none; }
.deliverables-box ul li::before { content: "→"; color: #0e7c7b; font-weight: 700; flex-shrink: 0; }

/* ── Pricing Card (sidebar) ─────────────────────────────────── */
.pricing-card {
  background: #0a1628;
  color: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.pricing-card .pc-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0e7c7b;
  margin-bottom: 0.75rem;
}
.pricing-card .pc-range {
  font-size: 1.7rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.3rem;
}
.pricing-card .pc-basis {
  font-size: 0.82rem;
  color: #8aa5c0;
  margin-bottom: 1.25rem;
}
.pricing-card .pc-includes {
  font-size: 0.82rem;
  font-weight: 700;
  color: #c8d8ea;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.6rem;
}
.pricing-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.pricing-card ul li {
  font-size: 0.88rem;
  color: #c8d8ea;
  padding: 0.3rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.pricing-card ul li::before { content: "✓"; color: #0e7c7b; flex-shrink: 0; }
.pricing-card .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
}

/* ── Sidebar Info Card ──────────────────────────────────────── */
.sidebar-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0a1628;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin: 0 0 0.85rem;
}
.sidebar-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-card ul li {
  font-size: 0.9rem;
  color: #4a5568;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li::before { content: "→"; color: #0e7c7b; flex-shrink: 0; }

/* Related Card */
.related-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: box-shadow 0.2s;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}
.related-card:hover { box-shadow: 0 4px 16px rgba(10, 22, 40, 0.1); }
.related-card .rc-tag { font-size: 0.7rem; color: #0e7c7b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.25rem; }
.related-card h5 { font-size: 0.9rem; font-weight: 600; color: #0a1628; margin: 0; }

/* ── Article Layout ─────────────────────────────────────────── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}
.article-body {}
.article-aside {
  position: sticky;
  top: 100px;
}
.article-body h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0a1628;
  margin: 2.5rem 0 0.75rem;
  border-left: 4px solid #0e7c7b;
  padding-left: 0.85rem;
}
.article-body h2:first-child { margin-top: 0; }
.article-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0a1628;
  margin: 2rem 0 0.5rem;
}
.article-body p {
  font-size: 1rem;
  color: #374151;
  line-height: 1.8;
  margin: 0 0 1.25rem;
}
.article-body ul, .article-body ol {
  padding-left: 1.5rem;
  margin: 0 0 1.25rem;
}
.article-body ul li, .article-body ol li {
  font-size: 0.96rem;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article-body th {
  background: #0a1628;
  color: #fff;
  padding: 0.65rem 0.9rem;
  text-align: left;
  font-weight: 600;
}
.article-body td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #dce8f0;
  color: #374151;
}
.article-body tr:nth-child(even) td { background: #f7fafc; }

/* Aside cards */
.aside-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.aside-card.aside-card--dark {
  background: #0a1628;
  border-color: #0a1628;
  color: #fff;
}
.aside-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #0a1628;
  margin: 0 0 0.85rem;
}
.aside-card.aside-card--dark h4 { color: #0e7c7b; }
.aside-card p {
  font-size: 0.88rem;
  color: #4a5568;
  line-height: 1.65;
  margin: 0 0 1rem;
}
.aside-card.aside-card--dark p { color: #c8d8ea; }
.aside-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.aside-card ul li {
  font-size: 0.88rem;
  color: #374151;
  padding: 0.35rem 0;
  border-bottom: 1px solid #f0f4f8;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}
.aside-card.aside-card--dark ul li { color: #c8d8ea; border-bottom-color: rgba(255,255,255,0.08); }
.aside-card ul li:last-child { border-bottom: none; }
.aside-card ul li::before { content: "→"; color: #0e7c7b; flex-shrink: 0; }

/* ── Inline Article CTA ─────────────────────────────────────── */
.article-cta-inline {
  background: linear-gradient(135deg, #0a1628, #0e3460);
  border-radius: 12px;
  padding: 2rem 2.25rem;
  color: #fff;
  margin: 2.5rem 0;
}
.article-cta-inline h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  color: #fff;
}
.article-cta-inline p {
  font-size: 0.94rem;
  color: #c8d8ea;
  margin: 0 0 1.25rem;
  line-height: 1.65;
}

/* ── Challenges Grid ────────────────────────────────────────── */
.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.challenge-card {
  background: #fff;
  border: 1px solid #dce8f0;
  border-radius: 10px;
  padding: 1.5rem;
}
.challenge-card .ch-icon { font-size: 1.75rem; margin-bottom: 0.6rem; display: block; }
.challenge-card h4 { font-size: 0.96rem; font-weight: 700; color: #0a1628; margin: 0 0 0.4rem; }
.challenge-card p { font-size: 0.87rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, #0a1628 0%, #0e3460 100%);
  color: #fff;
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  margin: 0 0 1rem;
  color: #fff;
}
.cta-band p {
  font-size: 1.05rem;
  color: #c8d8ea;
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}
.cta-band .cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Alternating Bg Sections ────────────────────────────────── */
.bg-alt { background: #f7fafc; }
.bg-white { background: #fff; }
.bg-dark { background: #0a1628; color: #fff; }

/* ── Process Steps ──────────────────────────────────────────── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
  counter-reset: step;
}
.process-step {
  text-align: center;
  counter-increment: step;
}
.process-step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #0e7c7b;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50%;
  margin: 0 auto 1rem;
}
.process-step h4 { font-size: 1rem; font-weight: 700; color: #0a1628; margin: 0 0 0.4rem; }
.process-step p { font-size: 0.87rem; color: #4a5568; line-height: 1.6; margin: 0; }

/* ── Stat Bar ───────────────────────────────────────────────── */
.stat-bar {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 3rem 0;
  background: #f0f4f8;
  border-top: 1px solid #dce8f0;
  border-bottom: 1px solid #dce8f0;
}
.stat-item { text-align: center; }
.stat-item .stat-num { display: block; font-size: 2rem; font-weight: 800; color: #0e7c7b; line-height: 1; }
.stat-item .stat-label { display: block; font-size: 0.78rem; color: #666; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.07em; }

/* ── FAQ Accordion ──────────────────────────────────────────── */
.faq-list { margin-top: 1rem; }
.faq-item {
  border-bottom: 1px solid #dce8f0;
}
.faq-item summary {
  cursor: pointer;
  padding: 1.1rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #0a1628;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.3rem; color: #0e7c7b; font-weight: 400; }
.faq-item[open] summary::after { content: "−"; }
.faq-item .faq-answer {
  padding: 0 0 1.25rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.75;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 960px) {
  .service-detail-grid,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sd-sidebar,
  .article-aside {
    position: static;
  }
}
@media (max-width: 768px) {
  .pillar-intro { padding: 3rem 0 2.5rem; }
  .pillar-intro h1 { font-size: 1.85rem; }
  .pi-stats { gap: 2rem; }
  .pillar-services-grid,
  .verticals-grid,
  .guides-grid,
  .challenges-grid {
    grid-template-columns: 1fr;
  }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .cta-band { padding: 3rem 0; }
  .stat-bar { gap: 2rem; }
  .article-body h2 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
  .pi-stats { flex-direction: column; gap: 1.5rem; }
  .cta-band .cta-actions { flex-direction: column; align-items: center; }
}
