/* =========================================
   pages.css — shared inner-page styles
   ========================================= */

/* Page Hero */
.page-hero {
  background: var(--dark);
  padding: 9rem 0 5rem;
  text-align: center;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.page-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Page Intro */
.page-intro-block {
  max-width: 720px;
  margin: 0 auto 4rem;
  text-align: center;
}

.page-intro-block h2 {
  margin-bottom: 1rem;
}

.page-intro-block p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* Active nav link */
.main-nav a.active {
  color: var(--gold);
}

/* ---- Services page ---- */
.page-service-list {
  display: flex;
  flex-direction: column;
  gap: 3.5rem;
  margin-top: 3rem;
}

.page-service-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--light);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
}

.page-service-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  padding-top: 0.2rem;
}

.page-service-body h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.page-service-body h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin: 1.25rem 0 0.5rem;
}

.page-service-body p {
  color: var(--text-muted);
  line-height: 1.8;
}

.service-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-detail-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.6;
}

.service-detail-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 600;
}

/* Outcomes grid */
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.outcome-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.outcome-icon {
  color: var(--gold);
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Assessment / Warning Signs */
.assessment-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.assessment-copy h2 {
  margin-bottom: 1rem;
}

.assessment-copy p {
  color: var(--text-muted);
  line-height: 1.8;
}

.assessment-box {
  background: var(--white);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.assessment-box h3 {
  margin-bottom: 1.25rem;
  font-size: 1.25rem;
}

.signs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.signs-list li {
  padding: 0.6rem 0 0.6rem 1.75rem;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.signs-list li:last-child {
  border-bottom: none;
}

.signs-list li::before {
  content: '⚠';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.85rem;
}

/* ---- About page ---- */
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: start;
}

.about-image-wrap {
  position: relative;
}

.about-photo {
  width: 100%;
  border-radius: 8px;
  display: block;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: -1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--dark);
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.badge-title {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Playfair Display', Georgia, serif;
}

.badge-sub {
  display: block;
  font-size: 0.78rem;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.about-copy .lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-copy p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-sub-heading {
  font-size: 1.1rem;
  margin: 2rem 0 1rem;
  color: var(--dark);
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.credential-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
}

.credential-list li:last-child {
  border-bottom: none;
}

.cred-icon {
  color: var(--gold);
  font-size: 0.5rem;
  margin-top: 0.55rem;
  flex-shrink: 0;
}

.credential-list strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.credential-list p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Philosophy pillars */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.pillar-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 8px;
  padding: 2rem;
}

.pillar-icon {
  color: var(--gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pillar-card h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.pillar-card p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Case Studies page ---- */
.full-case-card {
  background: var(--light);
  border-radius: 8px;
  border-left: 4px solid var(--gold);
  padding: 2.5rem;
  margin-bottom: 3rem;
}

.full-case-card-dark {
  background: var(--dark);
  border-left: 4px solid var(--gold);
}

.full-case-header {
  margin-bottom: 2rem;
}

.case-sector {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 3px;
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.75rem;
}

.full-case-header h2 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.full-case-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.full-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.full-case-block {
  margin-bottom: 1.5rem;
}

.full-case-block h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.full-case-block p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.full-case-result {
  background: var(--white);
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  border-left: 3px solid var(--gold);
}

.cross-sector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.cross-sector-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}

.cross-sector-icon {
  color: var(--gold);
  font-size: 0.5rem;
  flex-shrink: 0;
}

/* ---- Active Rescues page ---- */
.active-notice {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.active-notice-icon {
  font-size: 1.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.active-notice p {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0.25rem 0 0;
}

.active-notice strong {
  color: var(--dark);
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 48px;
  bottom: 48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,0.2));
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.75rem 0;
}

.process-step-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--dark);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.process-step-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}

.process-step-body p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.statutory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.statutory-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 8px;
  padding: 1.75rem;
}

.statutory-card h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.statutory-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ---- Contact page ---- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4rem;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  border-top: 4px solid var(--gold);
  box-shadow: 0 4px 32px rgba(0,0,0,0.06);
}

.contact-form-wrap h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.contact-form-wrap > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: var(--light);
  border-radius: 8px;
  padding: 1.75rem;
}

.contact-info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.contact-detail-row:last-child {
  margin-bottom: 0;
}

.contact-detail-icon {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.contact-detail-row a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.contact-detail-row a:hover {
  color: var(--gold);
}

.contact-detail-row span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.confidential-notice {
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  padding: 1.75rem;
  text-align: center;
}

.confidential-notice p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0.5rem 0 0;
}

/* ---- Blog page ---- */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  margin-top: 2rem;
}

.blog-post-card {
  border-bottom: 1px solid var(--border);
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
}

.blog-post-card:last-child {
  border-bottom: none;
}

.blog-post-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.blog-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.blog-date {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.blog-post-card h2 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.blog-post-card p {
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.blog-post-card .read-more {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.blog-post-card .read-more:hover {
  border-color: var(--gold);
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: var(--light);
  border-radius: 8px;
  padding: 1.5rem;
}

.sidebar-widget h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-widget ul li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sidebar-widget ul li:last-child {
  border-bottom: none;
}

.sidebar-cta {
  background: var(--dark);
  color: var(--white);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
}

.sidebar-cta h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* ---- Utilities ---- */
.text-center { text-align: center; }

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 1.5rem;
  line-height: 1.7;
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .about-grid,
  .assessment-inner,
  .contact-page-grid,
  .full-case-grid,
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .about-image-wrap {
    max-width: 360px;
    margin: 0 auto 2.5rem;
  }

  .page-service-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .page-service-num {
    font-size: 2rem;
  }

  .process-steps::before {
    display: none;
  }
}

@media (max-width: 600px) {
  .page-hero {
    padding: 7rem 0 4rem;
  }

  .full-case-card {
    padding: 1.5rem;
  }

  .contact-form-wrap {
    padding: 1.5rem;
  }
}
