/* ========================================
   CHARITY CATALYST — INNER PAGES V2
   Warm sandy theme · Lora + DM Sans
   ======================================== */

/* ========================================
   PAGE HERO (each page overrides accent)
   ======================================== */

.pg-hero {
  position: relative;
  padding: 112px 0 84px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.pg-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  width: 100%;
}

.pg-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 24px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.88em;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--spacing-lg);
}

.pg-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 4.6vw, 3.75rem);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  margin: 0 0 var(--spacing-lg);
  letter-spacing: -0.03em;
  max-width: 900px;
}

.pg-hero-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  line-height: 1.65;
  margin: 0;
}

.pg-hero-desc strong {
  color: #ffffff;
}

/* ========================================
   SHARED SECTION STYLES (warm backgrounds)
   ======================================== */

.pg-section {
  padding: 88px 0;
  position: relative;
}

.pg-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.pg-dark {
  background: var(--cream);
  border-top: 1px solid var(--border);
}

.pg-dark-alt {
  background: var(--sand-light);
  border-top: 1px solid var(--border);
}

.pg-dark-deep {
  background: var(--sand);
  border-top: 1px solid var(--border);
}

.pg-divider {
  height: 1px;
  background: var(--border);
  max-width: 1500px;
  margin: 0 auto;
}

/* Section Headers */
.pg-section-label {
  display: inline-block;
  font-size: 0.87em;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-left: 22px;
}

.pg-section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.pg-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 var(--spacing-lg);
  letter-spacing: -0.02em;
}

.pg-heading em {
  font-style: normal;
}

.pg-text {
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: var(--spacing-md);
}

.pg-text strong {
  color: var(--navy);
}

.pg-text-lg {
  font-family: var(--font-body);
  font-size: 1.1em;
  color: var(--text);
  line-height: 1.7;
}

/* ========================================
   TWO-COLUMN GRID LAYOUT
   ======================================== */

.pg-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.pg-grid-wide {
  grid-template-columns: 3fr 2fr;
}

.pg-grid-center {
  align-items: center;
}

/* ========================================
   LIST STYLES
   ======================================== */

.pg-list {
  list-style: none;
  padding: 0;
  margin: var(--spacing-md) 0;
}

.pg-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: 1em;
  color: var(--text);
  line-height: 1.7;
}

.pg-list li strong {
  color: var(--navy);
}

.pg-list li i {
  font-size: 1.1em;
  margin-top: 5px;
  flex-shrink: 0;
}

/* ========================================
   FEATURE CARDS
   ======================================== */

.pg-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
}

.pg-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl) var(--spacing-lg);
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  overflow: hidden;
}

.pg-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.pg-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(27, 54, 93, 0.1);
  background: var(--sand-light);
}

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

.pg-card-icon {
  font-size: 1.9em;
  display: block;
  margin-bottom: var(--spacing-md);
  transition: transform 0.4s ease;
}

.pg-card:hover .pg-card-icon {
  transform: scale(1.15) rotate(-5deg);
}

.pg-card h3 {
  font-family: var(--font-heading);
  font-size: 1.15em;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--spacing-sm);
}

.pg-card p {
  font-family: var(--font-body);
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  font-size: 0.95em;
}

/* ========================================
   CALLOUT / HIGHLIGHT BOXES
   ======================================== */

.pg-callout {
  padding: var(--spacing-lg) var(--spacing-xl);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1em;
  line-height: 1.7;
  margin-top: var(--spacing-lg);
  background: var(--sand-light);
  border: 1px solid var(--border);
}

.pg-callout strong {
  color: var(--navy);
}

/* Each page tints this to its own accent below. The colour has to come from
   here rather than the markup, since a pale accent on the near-white callout
   leaves the glyph invisible while it still holds its line. */
.pg-callout-icon {
  display: block;
  font-size: 1.6em;
  line-height: 1;
  margin: 0 0 var(--spacing-sm);
  color: var(--accent-dark);
}

.pg-callout-icon-inline {
  display: inline;
  font-size: 1.4em;
  margin: 0 8px 0 0;
  vertical-align: -0.15em;
  color: var(--accent-dark);
}

/* ========================================
   FULL-WIDTH CTA BANDS
   ======================================== */

.pg-cta {
  text-align: center;
  padding: 76px 0;
  position: relative;
  overflow: hidden;
}

.pg-cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pg-cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

.pg-cta h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 var(--spacing-md);
}

.pg-cta p {
  font-family: var(--font-body);
  font-size: 1.02em;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
}

.pg-cta .v2-btn {
  margin: 0 var(--spacing-sm);
}

/* ========================================
   NUMBERED STEPS (vertical)
   ======================================== */

.pg-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 900px;
}

.pg-step {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
  padding: var(--spacing-sm) 0;
}

.pg-step-num {
  font-family: var(--font-heading);
  font-size: 2.4em;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px currentColor;
  line-height: 1;
  flex-shrink: 0;
  width: 68px;
  text-align: center;
  transition: all 0.4s ease;
}

.pg-step:hover .pg-step-num {
  color: currentColor;
  transform: scale(1.1) rotate(-3deg);
}

.pg-step-body h3 {
  font-family: var(--font-heading);
  font-size: 1.15em;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 var(--spacing-xs);
}

.pg-step-body p {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  font-size: 0.98em;
}

.pg-step-line {
  width: 2px;
  height: 24px;
  margin-left: 40px;
  opacity: 0.3;
}

/* ========================================
   ABOUT PAGE — Teal accent
   ======================================== */

/* Masthead — this page's stand-in for the gradient hero. An about page is
   mostly reading, so the top of it is set like the head of an article: page
   coloured rather than a full-bleed banner, one accent rule to carry the
   teal, and the facts a first-time visitor actually checks for parked in the
   margin instead of buried in the footer. */
.pg-masthead {
  position: relative;
  background: var(--cream);
  padding: 72px 0 64px;
  width: 100%;
  overflow-x: clip;
}

/* The masthead sits above the fold, so its entrance runs on load rather than
   on the scroll observer the sections below use. Order is deliberate: the rule
   draws first, then the text rises under it, then the facts rail. */
@keyframes pgDrawRule {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@keyframes pgRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

@keyframes pgGrowRail {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}

.pg-masthead::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
  transform-origin: left;
  animation: pgDrawRule 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* Keeps a trace of the hero's warmth without darkening the type behind it. */
.pg-masthead::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% -10%, rgba(42, 161, 152, 0.12) 0%, transparent 55%);
  pointer-events: none;
}

/* Same cap as .pg-prose below, so the facts rail and the margin note under it
   sit on one line down the page. */
.pg-masthead-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: var(--spacing-xxl);
  align-items: start;
  max-width: 1120px;
}

.pg-masthead-main > * {
  animation: pgRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pg-masthead-main > *:nth-child(1) { animation-delay: 0.15s; }
.pg-masthead-main > *:nth-child(2) { animation-delay: 0.25s; }
.pg-masthead-main > *:nth-child(3) { animation-delay: 0.35s; }

.pg-masthead-title {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 var(--spacing-lg);
}

.pg-masthead-title em {
  font-style: normal;
  color: var(--accent-dark);
}

.pg-masthead-lede {
  font-family: var(--font-body);
  font-size: 1.15em;
  line-height: 1.75;
  color: var(--text);
  max-width: 62ch;
  margin: 0;
}

.pg-masthead-lede strong {
  color: var(--navy);
}

/* Facts rail. The accent line is a pseudo-element rather than a border so it
   can grow down the page on load; a border has no transformable box. */
.pg-facts {
  position: relative;
  margin: 6px 0 0;
  padding: 0 0 0 var(--spacing-lg);
}

.pg-facts::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 3px;
  background: var(--accent);
  transform-origin: top;
  animation: pgGrowRail 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.35s both;
}

.pg-fact {
  animation: pgRise 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.pg-fact:nth-child(1) { animation-delay: 0.45s; }
.pg-fact:nth-child(2) { animation-delay: 0.55s; }
.pg-fact:nth-child(3) { animation-delay: 0.65s; }

.pg-fact + .pg-fact {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--border);
}

.pg-fact dt {
  font-family: var(--font-heading);
  font-size: 0.78em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light);
  margin-bottom: 6px;
}

.pg-fact dd {
  font-family: var(--font-heading);
  font-size: 1em;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  margin: 0;
}

.pg-fact dd span {
  font-weight: 500;
  font-size: 0.88em;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

/* ---- Editorial opening ---- */

/* Capped well short of the 1500px container, and to the same width as the
   masthead's text column, so the two line up down the left of the page. */
.pg-prose-body {
  max-width: 758px;
}

.pg-prose-body p {
  font-family: var(--font-body);
  font-size: 1.08em;
  line-height: 1.85;
  color: var(--text);
  margin: 0 0 var(--spacing-md);
}

.pg-prose-body p:last-child {
  margin-bottom: 0;
}

.pg-prose-body p:first-child::first-letter {
  float: left;
  font-family: var(--font-heading);
  font-size: 3.6em;
  font-weight: 800;
  line-height: 0.84;
  color: var(--accent);
  padding: 4px 14px 0 0;
}

/* The facts read as a margin note beside the title; below the two-column
   breakpoint the rail becomes a block under it, so it needs room of its own —
   left to run the full container width it would read as a band instead. */
@media (max-width: 1024px) {
  .pg-masthead-inner {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .pg-facts {
    max-width: 560px;
  }
}

@media (max-width: 768px) {
  .pg-masthead {
    padding: 48px 0 44px;
  }

  .pg-masthead-title {
    font-size: clamp(1.9rem, 7.5vw, 2.6rem);
  }

  .pg-masthead-lede,
  .pg-prose-body p {
    font-size: 1.02em;
  }
}

/* Everything above animates from a hidden or collapsed start, so the fallback
   has to be `none` — the elements then render at their normal styles rather
   than staying stuck at the keyframe's opening frame. */
@media (prefers-reduced-motion: reduce) {
  .pg-masthead::before,
  .pg-masthead-main > *,
  .pg-facts::before,
  .pg-fact {
    animation: none;
  }
}

.pg-about .pg-section-label {
  color: var(--accent);
}

.pg-about .pg-section-label::before {
  background: var(--accent);
}

.pg-about .pg-heading em {
  color: var(--accent);
}

.pg-about .pg-list li i {
  color: var(--accent);
}

.pg-about .pg-card::before {
  background: var(--accent-gradient);
}

.pg-about .pg-card-icon {
  color: var(--accent);
}

.pg-about .pg-callout {
  background: rgba(42, 161, 152, 0.06);
  border-left: 4px solid var(--accent);
  color: var(--text);
}

.pg-about .pg-cta-bg {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(42, 161, 152, 0.12) 0%, transparent 60%),
    linear-gradient(135deg, #0d4f4a 0%, #1a7872 50%, #2aa198 100%);
}

.pg-about .pg-step-num {
  color: transparent;
  -webkit-text-stroke-color: var(--accent);
}

.pg-about .pg-step:hover .pg-step-num {
  color: var(--accent);
}

.pg-about .pg-step-line {
  background: linear-gradient(to bottom, var(--accent), transparent);
}

/* ========================================
   CHARITIES PAGE — Rich berry/pink accent
   Centered hero with decorative icon
   ======================================== */

.pg-charities .pg-hero {
  text-align: center;
  padding: 160px 0 120px;
}

.pg-charities .pg-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pg-charities .pg-hero-title {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.pg-charities .pg-hero-desc {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.pg-charities .pg-hero-bg {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(196, 71, 120, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 30%, rgba(180, 50, 100, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #7a2046 0%, #a03060 40%, #c44778 100%);
}

/* Decorative floating heart */
.pg-charities .pg-hero::after {
  content: '\f415';
  font-family: 'bootstrap-icons';
  position: absolute;
  bottom: 40px;
  right: 8%;
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.06);
  z-index: 1;
  animation: pgFloatIcon 6s ease-in-out infinite;
}

@keyframes pgFloatIcon {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-15px) rotate(5deg); }
}

.pg-charities .pg-section-label {
  color: #c44778;
}

.pg-charities .pg-section-label::before {
  background: #c44778;
}

.pg-charities .pg-heading em {
  color: #c44778;
}

.pg-charities .pg-list li i {
  color: #c44778;
}

.pg-charities .pg-card::before {
  background: linear-gradient(135deg, #c44778, #d4689a);
}

.pg-charities .pg-card-icon {
  color: #c44778;
}

.pg-charities .pg-callout-icon,
.pg-charities .pg-callout-icon-inline {
  color: #c44778;
}

.pg-charities .pg-callout {
  background: rgba(196, 71, 120, 0.06);
  border-left: 4px solid #c44778;
  color: var(--text);
}

.pg-charities .pg-cta-bg {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(196, 71, 120, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #5c1835 0%, #a03060 50%, #c44778 100%);
}

.pg-charities .pg-step-num {
  -webkit-text-stroke-color: #c44778;
}

.pg-charities .pg-step:hover .pg-step-num {
  color: #c44778;
}

.pg-charities .pg-step-line {
  background: linear-gradient(to bottom, #c44778, transparent);
}

/* ========================================
   VOLUNTEERS PAGE — Bright teal/cyan accent
   Split hero with highlight cards
   ======================================== */

.pg-volunteers .pg-hero {
  padding: 140px 0 100px;
}

.pg-volunteers .pg-hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--spacing-xxl);
  align-items: center;
}

.pg-volunteers .pg-hero-text {
  order: 1;
}

.pg-volunteers .pg-hero-highlights {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.pg-hero-highlight-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: var(--spacing-md) var(--spacing-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  transition: all 0.4s ease;
}

.pg-hero-highlight-card:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateX(-6px);
}

.pg-hero-highlight-card i {
  font-size: 1.4em;
  color: var(--accent-light);
  flex-shrink: 0;
}

.pg-hero-highlight-card span {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95em;
  line-height: 1.4;
}

.pg-volunteers .pg-hero-bg {
  background:
    radial-gradient(ellipse at 25% 60%, rgba(125, 211, 203, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 30%, rgba(42, 161, 152, 0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0d4f4a 0%, #1a7872 40%, #35b5aa 100%);
}

@media (max-width: 1024px) {
  .pg-volunteers .pg-hero-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
}

.pg-volunteers .pg-section-label {
  color: var(--accent-light);
}

.pg-volunteers .pg-section-label::before {
  background: var(--accent-light);
}

.pg-volunteers .pg-heading em {
  color: var(--accent-light);
}

.pg-volunteers .pg-list li i {
  color: var(--accent-light);
}

.pg-volunteers .pg-card::before {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
}

.pg-volunteers .pg-card-icon {
  color: var(--accent-light);
}

.pg-volunteers .pg-callout {
  background: rgba(125, 211, 203, 0.06);
  border-left: 4px solid var(--accent-light);
  color: var(--text);
}

.pg-volunteers .pg-cta-bg {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(125, 211, 203, 0.15) 0%, transparent 60%),
    linear-gradient(135deg, #0d4f4a 0%, #1a7872 50%, #35b5aa 100%);
}

.pg-volunteers .pg-step-num {
  -webkit-text-stroke-color: var(--accent-light);
}

.pg-volunteers .pg-step:hover .pg-step-num {
  color: var(--accent-light);
}

.pg-volunteers .pg-step-line {
  background: linear-gradient(to bottom, var(--accent-light), transparent);
}

/* ========================================
   BUSINESSES PAGE — Navy/gold accent
   Hero with vertical accent bar + stats strip
   ======================================== */

.pg-businesses .pg-hero {
  padding: 140px 0 100px;
}

.pg-businesses .pg-hero-content {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-xxl);
}

.pg-businesses .pg-hero-text {
  flex: 1;
}

.pg-businesses .pg-hero-accent {
  width: 4px;
  align-self: stretch;
  background: linear-gradient(to bottom, var(--sand), rgba(245, 240, 230, 0.2));
  border-radius: 2px;
  flex-shrink: 0;
}

.pg-businesses .pg-hero-sidebar {
  flex: 0 0 280px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  padding-top: var(--spacing-md);
}

.pg-hero-stat-item {
  text-align: center;
  padding: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  transition: all 0.4s ease;
}

.pg-hero-stat-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-4px);
}

.pg-hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9em;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  display: block;
  margin-bottom: 6px;
}

.pg-hero-stat-text {
  font-family: var(--font-heading);
  font-size: 0.88em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pg-businesses .pg-hero-bg {
  background:
    radial-gradient(ellipse at 30% 40%, rgba(27, 54, 93, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(245, 241, 232, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--navy-dark) 0%, var(--navy) 40%, #2a5080 100%);
}

@media (max-width: 1024px) {
  .pg-businesses .pg-hero-content {
    flex-direction: column;
  }
  .pg-businesses .pg-hero-accent {
    display: none;
  }
  .pg-businesses .pg-hero-sidebar {
    flex-direction: row;
    flex: auto;
    width: 100%;
  }
  .pg-hero-stat-item {
    flex: 1;
  }
}

.pg-businesses .pg-section-label {
  color: var(--navy);
}

.pg-businesses .pg-section-label::before {
  background: var(--navy);
}

.pg-businesses .pg-heading em {
  color: var(--navy);
}

.pg-businesses .pg-list li i {
  color: var(--navy);
}

.pg-businesses .pg-card::before {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
}

.pg-businesses .pg-card-icon {
  color: var(--navy);
}

.pg-businesses .pg-callout-icon,
.pg-businesses .pg-callout-icon-inline {
  color: var(--navy);
}

.pg-businesses .pg-callout {
  background: rgba(27, 54, 93, 0.05);
  border-left: 4px solid var(--navy);
  color: var(--text);
}

.pg-businesses .pg-cta-bg {
  background:
    radial-gradient(ellipse at 50% 50%, rgba(42, 161, 152, 0.1) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #2a5080 100%);
}

.pg-businesses .pg-step-num {
  -webkit-text-stroke-color: var(--navy);
}

.pg-businesses .pg-step:hover .pg-step-num {
  color: var(--navy);
}

.pg-businesses .pg-step-line {
  background: linear-gradient(to bottom, var(--navy), transparent);
}

/* ========================================
   CONTACT PAGE — Warm teal accent
   ======================================== */

.pg-contact .pg-hero-bg {
  background:
    radial-gradient(ellipse at 25% 40%, rgba(42, 161, 152, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(245, 240, 230, 0.12) 0%, transparent 50%),
    linear-gradient(160deg, #0d4f4a 0%, #1a7872 40%, #2aa198 100%);
}

.pg-contact .pg-section-label {
  color: var(--accent);
}

.pg-contact .pg-section-label::before {
  background: var(--accent);
}

.pg-contact .pg-heading em {
  color: var(--accent);
}

.pg-contact .pg-list li i {
  color: var(--accent);
}

.pg-contact .contact-form-v2 label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.95em;
}

.pg-contact .contact-form-v2 input,
.pg-contact .contact-form-v2 textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1em;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  background: #ffffff;
  color: var(--text);
}

.pg-contact .contact-form-v2 input:focus,
.pg-contact .contact-form-v2 textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 161, 152, 0.1);
}

/* ========================================
   SCROLL REVEAL (shared with homepage)
   ======================================== */

.pg-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pg-reveal.pg-revealed {
  opacity: 1;
  transform: translateY(0);
}

.pg-reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pg-reveal-left.pg-revealed {
  opacity: 1;
  transform: translateX(0);
}

.pg-reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pg-reveal-right.pg-revealed {
  opacity: 1;
  transform: translateX(0);
}

.pg-delay-1 { transition-delay: 0.1s; }
.pg-delay-2 { transition-delay: 0.2s; }
.pg-delay-3 { transition-delay: 0.3s; }
.pg-delay-4 { transition-delay: 0.4s; }

/* ========================================
   LAYOUT OVERRIDES (break out of parent)
   ======================================== */

/* Full-bleed on an unpadded parent column — see the matching note in
   home_v2.css. The old negative margins assumed a padding value that stopped
   being true at the 768px breakpoint, overflowing the viewport by 8px a side.
   overflow-x: clip contains the slide-in reveals; see that note too. */
.pg-hero,
.pg-section,
.pg-cta {
  width: 100%;
  overflow-x: clip;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1024px) {
  .pg-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .pg-grid-wide {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pg-section {
    padding: 56px 0;
  }

  .pg-container {
    padding: 0 var(--spacing-md);
  }

  .pg-hero {
    padding: 70px 0 56px;
  }

  .pg-hero-title {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .pg-heading {
    font-size: clamp(1.6rem, 6.5vw, 2.2rem);
  }

  .pg-section-label {
    font-size: 0.82rem;
  }


  .pg-step {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
    text-align: center;
  }

  .pg-step-num {
    font-size: 2.2em;
    width: auto;
  }

  .pg-step-line {
    margin-left: auto;
    margin-right: auto;
  }

  .pg-cta {
    padding: 70px 0;
  }
}

/* ========================================
   AUTH PAGES (Login / Register)
   ======================================== */

.pg-auth-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at 30% 30%, rgba(42, 161, 152, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 70%, rgba(27, 54, 93, 0.04) 0%, transparent 50%),
    var(--sand-light);
  padding: var(--spacing-xl) var(--spacing-lg);
}

.pg-auth-container {
  width: 100%;
  max-width: 480px;
}

.pg-auth-container.pg-auth-wide {
  max-width: 700px;
}

.pg-auth-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--spacing-xxl) var(--spacing-xl);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.pg-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-gradient);
}

.pg-auth-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.pg-auth-icon {
  font-size: 2.2em;
  color: var(--accent);
  display: block;
  margin-bottom: var(--spacing-md);
}

.pg-auth-header h1 {
  font-family: var(--font-heading);
  font-size: 1.7em;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 var(--spacing-sm);
}

.pg-auth-header p {
  color: var(--text-light);
  font-size: 0.95em;
  margin: 0;
}

.pg-auth-form {
  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  border-radius: 0;
}

.pg-auth-form p {
  margin-bottom: var(--spacing-md);
}

.pg-auth-form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: var(--navy);
  font-family: var(--font-heading);
  font-size: 0.95em;
}

.pg-auth-form input[type="text"],
.pg-auth-form input[type="email"],
.pg-auth-form input[type="tel"],
.pg-auth-form input[type="password"] {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1em;
  font-family: var(--font-body);
  background: #ffffff;
  color: var(--text);
  transition: all var(--transition-base);
}

.pg-auth-form input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(42, 161, 152, 0.1);
}

.pg-auth-form .helptext {
  display: block;
  font-size: 0.88em;
  color: var(--text-light);
  margin-top: 4px;
  line-height: 1.5;
}

.pg-auth-form .errorlist {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  color: var(--error);
  font-size: 0.9em;
}

.pg-auth-footer {
  text-align: center;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 1em;
}

.pg-auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.pg-auth-footer a:hover {
  text-decoration: underline;
  color: var(--accent-dark);
}

/* Auth form sections (register) */
.pg-auth-form .form-section {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-lg);
  background: var(--sand-light);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.pg-auth-form .form-section h3 {
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
  color: var(--accent-dark);
  font-size: 1.2em;
  font-family: var(--font-heading);
  border-bottom: 2px solid var(--accent);
  padding-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.pg-auth-form .form-section h3 i {
  color: var(--accent);
}

.pg-auth-form .form-group {
  margin-bottom: var(--spacing-md);
}

/* Full-bleed on an unpadded parent column — see the note above. */
.pg-auth {
  width: 100%;
}

@media (max-width: 768px) {
  .pg-auth-card {
    padding: var(--spacing-xl) var(--spacing-lg);
  }
  .pg-auth-header h1 {
    font-size: 1.8em;
  }
}
