/* ==========================
   Pinnacle Process Group Theme
   ========================== */

/* Brand colors */
:root {
  --brand-charcoal: #2c3e50;
  --brand-orange: #f26522;
  --brand-orange-dark: #d85b1f;
  --brand-ink: #111827;
  --brand-muted: #6b7280;
  --brand-border: #e5e7eb;
  --brand-surface: #ffffff;
  --brand-surface-alt: #f3f4f6;
}

/* Typography + base */
body,
.ppg-body {
  font-family: "Open Sans", sans-serif;
  background-color: #f8f9fa;
  color: var(--brand-ink);
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

/* (Legacy helpers – safe to keep for now while you migrate other pages) */
.brand-charcoal { color: var(--brand-charcoal); }
.brand-orange { color: var(--brand-orange); }
.bg-brand-charcoal { background-color: var(--brand-charcoal); }
.bg-brand-orange { background-color: var(--brand-orange); }
.hover\:bg-brand-orange-dark:hover { background-color: var(--brand-orange-dark); }

/* =======================================
   Layout: Sections / Shells / Alignment
   ======================================= */

.ppg-section {
  padding: 4rem 1.25rem;
  background-color: transparent;
}

.ppg-section--alt {
  background-color: var(--brand-surface-alt);
}

.ppg-shell {
  max-width: 1120px;
  margin: 0 auto;
}

.ppg-shell--narrow {
  max-width: 760px;
}

.ppg-text-center {
  text-align: center;
}

/* =======================================
   Section Typography
   ======================================= */

.ppg-section-title {
  font-size: clamp(1.9rem, 3vw, 2.3rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.75rem;
}

.ppg-section-subtitle {
  font-size: 0.98rem;
  line-height: 1.7;
  color: var(--brand-muted);
  max-width: 40rem;
  margin: 0.5rem auto 1.5rem;
}

.ppg-body-emphasis {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brand-charcoal);
  margin-top: 0.75rem;
}

.ppg-body-emphasis--center {
  text-align: center;
}

/* =======================================
   Feature Grid / Cards
   ======================================= */

.ppg-feature-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.ppg-card {
  border-radius: 1rem;
  border: 1px solid var(--brand-border);
  background-color: var(--brand-surface);
  padding: 1.5rem;
}

.ppg-card--soft {
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.ppg-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-charcoal);
  margin-bottom: 0.4rem;
}

.ppg-body-text {
  font-size: 0.95rem;
  color: var(--brand-muted);
}

/* Responsive grid for cards */
@media (min-width: 768px) {
  .ppg-feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =======================================
   Buttons (shared)
   ======================================= */

/* =======================================
   Pricing CTA "Pills"
   ======================================= */

.ppg-cta-pill {
  width: 100%;
  max-width: 420px;               /* keeps them from getting huge on wide screens */
  margin: 1.5rem auto 0;          /* top space + center inside card */
  border-radius: 999px;
  padding: 0.9rem 2.25rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
}

/* Filled orange pill (Assessment) */
.ppg-cta-pill--primary {
  background: var(--brand-orange);
  color: #ffffff;
  border-color: var(--brand-orange);
}

/* Outline pill (DIY Pack + 12-Month) */
.ppg-cta-pill--ghost {
  background: #ffffff;
  color: var(--brand-charcoal);
  border-color: #cbd5f5;
  box-shadow: 0 16px 35px rgba(148, 163, 184, 0.15);
}

/* Hover states */
.ppg-cta-pill--primary:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  transform: translateY(-1px);
}

.ppg-cta-pill--ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
  transform: translateY(-1px);
}

/* Ensure no underlines/colors fight the styles */
.ppg-cta-pill,
.ppg-cta-pill:visited {
  text-decoration: none;
}


.ppg-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
              transform 0.1s ease, box-shadow 0.1s ease;
  white-space: nowrap;
}

.ppg-btn--primary {
  background: var(--brand-orange);
  color: #ffffff;
  border-color: var(--brand-orange);
  box-shadow: 0 10px 25px rgba(242, 101, 34, 0.35);
}

.ppg-btn--primary:hover {
  background: var(--brand-orange-dark);
  border-color: var(--brand-orange-dark);
  transform: translateY(-1px);
}

.ppg-btn--ghost {
  background: transparent;
  color: var(--brand-charcoal);
  border-color: #cbd5f5;
}

.ppg-btn--ghost:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}

/* =======================================
   Tables (Knowledge Gap)
   ======================================= */

.ppg-table-wrap {
  overflow-x: auto;
  margin-top: 1rem;
}

.ppg-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background-color: var(--brand-surface);
  border: 1px solid var(--brand-border);
}

.ppg-table--comparison thead {
  background-color: var(--brand-charcoal);
  color: #ffffff;
}

.ppg-table th,
.ppg-table td {
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid var(--brand-border);
  text-align: left;
  vertical-align: top;
}

.ppg-table th {
  font-weight: 600;
}

.ppg-table tbody tr:nth-child(even) {
  background-color: #f9fafb;
}

/* =======================================
   Footer
   ======================================= */

.ppg-footer {
  background-color: #0b1120;
  color: #e5e7eb;
  padding: 2.5rem 1.25rem 2rem;
  margin-top: 2rem;
}

.ppg-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: center;
  text-align: center;
}

.ppg-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.ppg-footer-logo {
  width: 42px;
  height: auto;
}

.ppg-footer-tagline {
  font-size: 0.85rem;
  color: #9ca3af;
}

.ppg-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.4rem;
  justify-content: center;
}

.ppg-footer-link {
  font-size: 0.85rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.9;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.ppg-footer-link:hover {
  color: var(--brand-orange);
  opacity: 1;
}

.ppg-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  justify-content: center;
}

.ppg-social-link {
  font-size: 0.85rem;
  color: #e5e7eb;
  text-decoration: none;
  opacity: 0.85;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.ppg-social-link:hover {
  color: var(--brand-orange);
  opacity: 1;
}

.ppg-footer-contact {
  font-size: 0.85rem;
  color: #d1d5db;
}

.ppg-footer-copy {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Footer layout on larger screens */
@media (min-width: 768px) {
  .ppg-footer-inner {
    align-items: center;
    text-align: center;
  }
}