/* ═══════════════════════════════════════════════════════════════
   precision_project_management.CSS
   Page-specific styles — consistent with ai-innovation.css pattern
═══════════════════════════════════════════════════════════════ */

/* ── Section wrappers ── */
.pmsec         { padding: 88px 0; }
.pmsec--white  { background: #ffffff; }
.pmsec--grey   { background: var(--bg); }
.pmsec--brand  { background: var(--brand); }

/* ── Hero ── */
.pm-page-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: 72px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.approach-band-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.02em;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.65;
}
.approach-band {
  background: var(--brand);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 3px solid var(--gold);
  padding: 28px 0;
}
.pm-hero-img {
  position: absolute;
  inset: 0;
  background: var(--brand);
  background-image: url('/public/images/precision_project_management/precision_project_delivery.webp');
  background-size: cover;
  background-position: center center;
  transform: scale(1.04);
  transition: transform 6s ease;
}

.pm-page-hero.loaded .pm-hero-img {
  transform: scale(1);
}

.pm-hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(6, 18, 26, 0.88) 0%,
    rgba(10, 30, 44, 0.65) 55%,
    rgba(10, 30, 44, 0.35) 100%
  );
}

.pm-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--nav-h) + 64px);
}

.pm-hero-pillar-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--gold);
  padding: 5px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
}

.pm-hero-heading {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.pm-hero-lead {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
}

.pm-hero-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pm-pillar-item span {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 3px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.05);
}

/* ── Shared typography (same as other pages) ── */
.sec-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 12px;
}

.sec-heading {
  font-family: var(--font-head);
  font-size: clamp(1.55rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1.2;
  margin-bottom: 0;
}

.sec-rule {
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin-top: 20px;
}

.sec-lead {
  font-size: 0.975rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 580px;
  margin: 0 auto;
}

.sec-head {
  text-align: center;
  margin-bottom: 56px;
}

.sec-head .sec-heading {
  margin-top: 8px;
  margin-bottom: 16px;
}

.intro-copy {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.85;
  margin: 0;
}

/* ── Distinction grid ── */
.distinction-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.distinction-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.distinction-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.distinction-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(15, 45, 60, 0.09);
}

.distinction-card:hover::after { transform: scaleX(1); }

.distinction-icon {
  width: 44px;
  height: 44px;
  background: rgba(15, 45, 60, 0.07);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  margin-bottom: 16px;
}

.distinction-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 10px;
  line-height: 1.3;
}

.distinction-body {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

/* ── Service cards (same pattern) ── */
.svc2-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
  position: relative;
  overflow: hidden;
}

.svc2-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.svc2-card:hover {
  border-color: rgba(15, 45, 60, 0.2);
  box-shadow: 0 8px 32px rgba(15, 45, 60, 0.09);
  transform: translateY(-3px);
}

.svc2-card:hover::before { transform: scaleX(1); }

.svc2-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.svc2-num {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  color: rgba(15, 45, 60, 0.25);
  letter-spacing: 0.06em;
}

.svc2-icon {
  width: 40px;
  height: 40px;
  background: rgba(15, 45, 60, 0.06);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  flex-shrink: 0;
}

.svc2-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.3;
  margin-bottom: 10px;
}

.svc2-body {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 0;
  flex: 1;
}

.svc2-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.svc2-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 0 4px 15px;
  position: relative;
  line-height: 1.5;
}

.svc2-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 11px;
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* ── Lifecycle track ── */
.lifecycle-track {
  max-width: 820px;
  margin: 0 auto;
}

.lifecycle-node {
  display: flex;
  gap: 28px;
  padding-bottom: 40px;
}

.lifecycle-node.last { padding-bottom: 0; }

.lc-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  width: 20px;
  padding-top: 6px;
}

.lc-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  border: 3px solid var(--gold);
  flex-shrink: 0;
}

.lc-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin-top: 6px;
  min-height: 32px;
}

.lc-body {
  padding-bottom: 8px;
}

.lc-phase {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-light);
  margin-bottom: 6px;
}

.lc-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 8px;
  line-height: 1.25;
}

.lc-desc {
  font-size: 0.915rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ── Integration (same pattern) ── */
.intg-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.intg-left {
  background: rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intg-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin: 12px 0 16px;
}

.intg-sub {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-bottom: 28px;
}

.intg-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
  transition: color 0.25s;
}
.intg-link:hover { color: var(--gold-light); }

.intg-cards { display: flex; flex-direction: column; }

.intg-card {
  padding: 36px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background 0.25s;
}

.intg-card:last-child { border-bottom: none; }
.intg-card:hover { background: rgba(255, 255, 255, 0.03); }

.intg-card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
  border-radius: 3px;
  padding: 3px 10px;
  margin-bottom: 10px;
}

.intg-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.3;
}

.intg-card-body {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  line-height: 1.75;
  margin-bottom: 14px;
}

.intg-card-outcome {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

.intg-card-outcome span {
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
  margin-right: 4px;
}

/* ── Page CTA ── */
.page-cta {
  background: var(--brand);
  border-radius: var(--radius);
  padding: 56px 52px;
}

.page-cta-heading {
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: #ffffff;
  margin-bottom: 12px;
  margin-top: 8px;
}

.page-cta-body {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.75;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 1199px) {
  .distinction-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 991px) {
  .intg-wrap { grid-template-columns: 1fr; }
  .intg-left {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 40px 32px;
  }
  .intg-card { padding: 28px 32px; }
  .page-cta { padding: 40px 32px; }
}

@media (max-width: 767px) {
  .pmsec { padding: 64px 0; }
  .distinction-grid { grid-template-columns: 1fr; }
  .pm-hero-pillars { gap: 6px; }
  .lifecycle-node { gap: 18px; }
  .page-cta { padding: 32px 24px; }
  .intg-left { padding: 32px 24px; }
  .intg-card { padding: 24px; }
}