/*
Theme Name:  PrestGroup
Author:      PrestGroup (Pty) Ltd
Description: Custom Bootstrap 5.3 WordPress theme. Lean, DRY, Toolset-compatible.
Version:     1.0.0
Text Domain: prestgroup
*/

/* ============================================================
   DESIGN TOKENS — single source of truth
   ============================================================ */
:root {
  --cr:        #920829;
  --cr-deep:   #6B0620;
  --cr-pale:   #F9EEF1;
  --white:     #ffffff;
  --off:       #FAFAF9;
  --ch:        #1A1A1A;
  --ch-mid:    #2E2E2E;
  --sl:        #5C5C5C;
  --sl-light:  #8A8A8A;
  --bd:        rgba(146,8,41,0.12);
  --bd-dark:   rgba(26,26,26,0.09);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --ease:  0.22s ease;
}

/* ============================================================
   BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--sans); font-size: 15px; line-height: 1.75;
        color: var(--ch); background: var(--white); overflow-x: hidden; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--cr); transition: color var(--ease); }
a:hover { color: var(--cr-deep); }
p     { color: var(--sl); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }
h1,h2,h3,h4,h5,h6 { font-family: var(--serif); font-weight: 400;
                     line-height: 1.1; color: var(--ch); }

/* ============================================================
   UTILITY — used everywhere, defined once
   ============================================================ */

/* Serif */
.u-serif { font-family: var(--serif); }

/* Label row (the "— SECTION NAME" treatment) */
.u-label {
  font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cr); font-weight: 500; display: flex; align-items: center;
  gap: 10px; margin-bottom: 12px;
}
.u-label::before { content: ''; width: 24px; height: 1px; background: var(--cr); flex-shrink: 0; }

/* Tag pill */
.u-tag {
  display: inline-block; font-size: 10px; text-transform: uppercase;
  letter-spacing: .1em; background: var(--cr); color: #fff;
  padding: 4px 12px; border-radius: 2px; font-weight: 500;
}
.u-tag--ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(146,8,41,.12); border: 1px solid rgba(146,8,41,.25);
  color: rgba(255,255,255,.7); padding: 5px 14px; border-radius: 2px;
  font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
}
.u-tag--ghost::before { content: ''; width: 5px; height: 5px;
  background: var(--cr); border-radius: 50%; flex-shrink: 0; }

/* Crimson left-bar accent (used on hero, pull quotes, info boxes) */
.u-bar-left { border-left: 4px solid var(--cr); }

/* Section padding */
.u-section    { padding: 80px 0; }
.u-section-sm { padding: 56px 0; }

/* Off-white bg */
.u-bg-off { background: var(--off); }
.u-bg-ch  { background: var(--ch); }
.u-bg-cr  { background: var(--cr); }

/* ============================================================
   BUTTONS — all variants, defined once
   ============================================================ */
.btn-pg,
.btn-pg-white,
.btn-pg-outline,
.btn-pg-ghost-dark {
  display: inline-block; border-radius: 2px; font-family: var(--sans);
  font-size: 12px; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; text-decoration: none;
  padding: 14px 36px; transition: all var(--ease); cursor: pointer; border: none;
}
.btn-pg          { background: var(--cr);    color: #fff; border: 2px solid var(--cr); }
.btn-pg:hover    { background: var(--cr-deep); border-color: var(--cr-deep); color: #fff; transform: translateY(-1px); }
.btn-pg-white    { background: #fff; color: var(--cr); border: 2px solid #fff; }
.btn-pg-white:hover { background: var(--cr-pale); color: var(--cr); }
.btn-pg-outline  { background: transparent; color: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.3); }
.btn-pg-outline:hover { border-color: #fff; color: #fff; }
.btn-pg-ghost-dark { background: transparent; color: var(--cr); border: 1px solid var(--bd); padding: 9px 20px; }
.btn-pg-ghost-dark:hover { background: var(--cr); border-color: var(--cr); color: #fff; }

/* ============================================================
   FORMS — one set of classes for every form on the site
   ============================================================ */
.pg-field       { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.pg-field label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
                  color: var(--sl-light); font-weight: 500; }
.pg-field input,
.pg-field select,
.pg-field textarea {
  width: 100%; border: 1px solid var(--bd-dark); padding: 12px 14px;
  border-radius: 2px; font-size: 14px; font-family: var(--sans);
  background: var(--off); color: var(--ch); outline: none;
  transition: border-color var(--ease), background var(--ease);
  appearance: none;
}
.pg-field input:focus,
.pg-field select:focus,
.pg-field textarea:focus { border-color: var(--cr); background: #fff;
  box-shadow: 0 0 0 3px rgba(146,8,41,.08); }
.pg-field textarea { resize: vertical; min-height: 100px; }

/* Inverted form (used inside crimson quote widgets) */
.pg-field--inv input,
.pg-field--inv select {
  background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: #fff;
}
.pg-field--inv input::placeholder { color: rgba(255,255,255,.4); }
.pg-field--inv input:focus,
.pg-field--inv select:focus { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.5); }

/* Form response message */
.pg-msg { font-size: 13px; padding: 0; }
.pg-msg:not(:empty) { padding: 12px 16px; border-radius: 2px; margin-bottom: 14px; }
.pg-msg--ok  { background: #EAF3DE; color: #27500A; border-left: 3px solid #639922; }
.pg-msg--err { background: var(--cr-pale); color: var(--cr-deep); border-left: 3px solid var(--cr); }

/* ============================================================
   CARD — shared hover pattern used across product, case, related
   ============================================================ */
.pg-card {
  background: var(--white); position: relative; overflow: hidden;
  transition: background var(--ease);
}
.pg-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--cr); transform: scaleX(0);
  transition: transform var(--ease); transform-origin: left;
}
.pg-card:hover { background: var(--cr-pale); }
.pg-card:hover::after { transform: scaleX(1); }

/* Card grid (1px gap, crimson dividers) */
.pg-card-grid {
  display: grid; gap: 1px; background: var(--bd-dark);
  border: 1px solid var(--bd-dark);
}
.pg-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.pg-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.pg-card-grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1199px) { .pg-card-grid--4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .pg-card-grid--4 { grid-template-columns: repeat(2, 1fr); }
                              .pg-card-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .pg-card-grid--4,
                              .pg-card-grid--3,
                              .pg-card-grid--2 { grid-template-columns: 1fr; } }

/* ============================================================
   NAVBAR
   ============================================================ */
.pg-nav { background: var(--cr-deep); border-bottom: 1px solid rgba(255,255,255,.08);
          min-height: 68px; }
.pg-nav .navbar-brand { font-family: var(--serif); font-size: 23px; font-weight: 600;
                        color: #fff; letter-spacing: .02em; line-height: 1; }
.pg-nav .navbar-brand span { color: rgba(255,255,255,.38); font-weight: 400; }
.pg-nav .nav-link { color: rgba(255,255,255,.62); font-size: 12px;
                    letter-spacing: .05em; text-transform: uppercase;
                    padding: 8px 14px; border-radius: 2px;
                    transition: color var(--ease), background var(--ease); }
.pg-nav .nav-link:hover,
.pg-nav .nav-link.active { color: #fff; background: rgba(255,255,255,.06); }
.pg-nav .dropdown-menu { background: var(--ch); border: 1px solid rgba(255,255,255,.08);
                          border-radius: 2px; padding: 6px 0; min-width: 210px; }
.pg-nav .dropdown-item { color: rgba(255,255,255,.6); font-size: 13px; padding: 9px 18px;
                          transition: all var(--ease); }
.pg-nav .dropdown-item:hover { background: rgba(146,8,41,.15); color: #fff; }
.pg-nav-toggler { background: none; border: 1px solid rgba(255,255,255,.2);
                  border-radius: 2px; padding: 6px 10px; color: #fff; }
.pg-nav-toggler:focus { box-shadow: none; }
.pg-nav .custom-logo{max-width:150px;}
/* Offcanvas mobile */
.pg-offcanvas { background: var(--ch); width: 300px; }
.pg-offcanvas .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,.08); padding: 18px 24px; }
.pg-offcanvas .pg-offcanvas-nav { list-style: none; padding: 0; margin: 0; }
.pg-offcanvas .pg-offcanvas-nav li { border-bottom: 1px solid rgba(255,255,255,.06); }
.pg-offcanvas .pg-offcanvas-nav a { display: block; color: rgba(255,255,255,.65); font-size: 14px;
                                     padding: 13px 0; text-transform: uppercase; letter-spacing: .06em;
                                     text-decoration: none; transition: color var(--ease); }
.pg-offcanvas .pg-offcanvas-nav a:hover { color: #fff; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.pg-breadcrumb { background: var(--ch-mid); padding: 12px 0; }
.pg-breadcrumb .breadcrumb { margin: 0; background: none; font-size: 11px; letter-spacing: .05em; }
.pg-breadcrumb .breadcrumb-item a { color: rgba(255,255,255,.38); text-decoration: none;
                                     text-transform: uppercase; }
.pg-breadcrumb .breadcrumb-item a:hover { color: rgba(255,255,255,.75); }
.pg-breadcrumb .breadcrumb-item.active { color: var(--cr); text-transform: uppercase; }
.pg-breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.2); }

/* ============================================================
   PAGE HERO — shared by all inner pages
   ============================================================ */
.pg-hero { background: var(--ch); position: relative; overflow: hidden; }
.pg-hero::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0;
                   width: 4px; background: var(--cr); }
.pg-hero__body  { padding: 64px 0 0; position: relative; z-index: 1; }
.pg-hero h1     { font-size: clamp(36px,5vw,60px); color: #fff; margin-bottom: 16px; }
.pg-hero h1 em  { font-style: italic; color: rgba(255,255,255,.5); }
.pg-hero .lead  { font-size: 16px; color: rgba(255,255,255,.5); line-height: 1.8; max-width: 600px; }

/* Outcome strip below hero */
.pg-hero__strip      { border-top: 1px solid rgba(255,255,255,.08); margin-top: 40px; }
.pg-hero__stat       { padding: 22px 28px; border-right: 1px solid rgba(255,255,255,.08); }
.pg-hero__stat:last-child { border-right: none; }
.pg-hero__stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
                       color: rgba(255,255,255,.3); margin-bottom: 4px; }
.pg-hero__stat-value { font-family: var(--serif); font-size: 26px; font-weight: 600;
                       color: #fff; line-height: 1.1; }
.pg-hero__stat-value--cr { color: var(--cr); }

/* ============================================================
   HOMEPAGE HERO (extends .pg-hero)
   ============================================================ */
.pg-home-hero { background: var(--cr); min-height: 100vh; display: flex; align-items: center; }
.pg-home-hero::before { background: rgba(255,255,255,.12); }
.pg-home-hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 72px 72px;
}
.pg-home-hero__ring {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 640px; height: 640px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%;
  pointer-events: none;
}
.pg-home-hero h1     { font-size: clamp(42px,6vw,76px); color: #fff; margin-bottom: 22px; }
.pg-home-hero h1 em  { color: rgba(255,255,255,.7); }
.pg-home-hero .lead  { color: rgba(255,255,255,.62); max-width: 460px; margin-bottom: 40px; }
.pg-home-hero__stats { display: flex; gap: 44px; padding-top: 40px;
                        border-top: 1px solid rgba(255,255,255,.15); margin-top: 52px; }
.pg-home-hero__stat-n { font-family: var(--serif); font-size: 42px; font-weight: 600;
                         color: #fff; line-height: 1; }
.pg-home-hero__stat-l { font-size: 11px; color: rgba(255,255,255,.38);
                         letter-spacing: .08em; text-transform: uppercase; margin-top: 5px; }

/* ============================================================
   TRUST BAR
   ============================================================ */
.pg-trust-bar { background: var(--cr-deep); border-bottom: 3px solid var(--cr); padding: 16px 0; }
.pg-trust-item { display: flex; align-items: center; gap: 8px;
                 font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
                 color: rgba(255,255,255,.45); }
.pg-trust-dot  { width: 5px; height: 5px; background: var(--cr); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   TWO-COLUMN CONTENT LAYOUT (product + case study pages)
   ============================================================ */
.pg-content-layout { display: grid; grid-template-columns: 1fr 320px; }
.pg-content-main   { border-right: 1px solid var(--bd-dark); }
.pg-content-sidebar { background: var(--off); position: sticky; top: 0; align-self: start; }

@media (max-width: 991px) {
  .pg-content-layout { grid-template-columns: 1fr; }
  .pg-content-main   { border-right: none; border-bottom: 1px solid var(--bd-dark); }
  .pg-content-sidebar { position: static; }
}

/* Section within main col */
.pg-section-block { padding: 52px 48px; border-bottom: 1px solid var(--bd-dark); }
.pg-section-block:last-child { border-bottom: none; }
@media (max-width: 767px) { .pg-section-block { padding: 36px 20px; } }

/* ============================================================
   SIDEBAR COMPONENTS — used in both product + case sidebars
   ============================================================ */
.pg-sb-quote { background: var(--cr); padding: 28px 24px; border-bottom: 4px solid var(--cr-deep); }
.pg-sb-quote h3 { font-family: var(--serif); font-size: 22px; font-weight: 600;
                  color: #fff; margin-bottom: 8px; }
.pg-sb-quote p  { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 18px; }

.pg-sb-section { padding: 22px 24px; border-bottom: 1px solid var(--bd-dark); }
.pg-sb-section:last-child { border-bottom: none; }
.pg-sb-label   { font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
                 color: var(--sl-light); font-weight: 500; margin-bottom: 14px; }

/* Trust checklist */
.pg-trust-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.pg-trust-list li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--sl); }
.pg-trust-check { width: 18px; height: 18px; background: var(--cr); border-radius: 2px;
                  display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pg-trust-check i { color: #fff; }

/* Policy/detail rows */
.pg-detail-row  { display: flex; justify-content: space-between; align-items: flex-start;
                  padding: 8px 0; border-bottom: 1px solid var(--bd-dark); font-size: 13px; }
.pg-detail-row:last-child { border-bottom: none; }
.pg-detail-key  { color: var(--sl-light); }
.pg-detail-val  { color: var(--ch); font-weight: 500; text-align: right; max-width: 55%; }

/* Download rows */
.pg-dl-row { display: flex; align-items: center; justify-content: space-between;
             padding: 10px 0; border-bottom: 1px solid var(--bd-dark); font-size: 13px; color: var(--ch); }
.pg-dl-row:last-child { border-bottom: none; }

/* ============================================================
   PROCESS STEPS (product pages)
   ============================================================ */
.pg-steps { border: 1px solid var(--bd-dark); }
.pg-step  { display: flex; gap: 20px; padding: 22px 24px;
            border-bottom: 1px solid var(--bd-dark); align-items: flex-start;
            background: var(--white); transition: background var(--ease); }
.pg-step:last-child  { border-bottom: none; }
.pg-step:hover       { background: var(--off); }
.pg-step__num        { font-family: var(--serif); font-size: 36px; font-weight: 600;
                       color: var(--cr-pale); line-height: 1; flex-shrink: 0; width: 44px;
                       transition: color var(--ease); }
.pg-step:hover .pg-step__num { color: rgba(146,8,41,.2); }
.pg-step__title      { font-size: 14px; font-weight: 500; color: var(--ch); margin-bottom: 5px; }
.pg-step__desc       { font-size: 13px; color: var(--sl); line-height: 1.65; margin: 0; }

/* ============================================================
   FAQs
   ============================================================ */
.pg-faqs { border: 1px solid var(--bd-dark); }
.pg-faq  { padding: 20px 24px; border-bottom: 1px solid var(--bd-dark); }
.pg-faq:last-child { border-bottom: none; }
.pg-faq__q { font-size: 15px; font-weight: 500; color: var(--ch); margin-bottom: 8px;
             display: flex; align-items: flex-start; gap: 10px; }
.pg-faq__q-badge { font-size: 10px; font-weight: 500; background: var(--cr); color: #fff;
                   padding: 2px 7px; border-radius: 2px; flex-shrink: 0; margin-top: 3px; }
.pg-faq__a { font-size: 13px; color: var(--sl); line-height: 1.7; padding-left: 28px; margin: 0; }

/* ============================================================
   COVER GRID (product pages)
   ============================================================ */
.pg-cover-grid { display: grid; grid-template-columns: 1fr 1fr;
                 gap: 1px; background: var(--bd); border: 1px solid var(--bd); }
.pg-cover-item { background: var(--white); padding: 24px; position: relative;
                 overflow: hidden; transition: background var(--ease); }
.pg-cover-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0;
                          width: 3px; background: var(--cr);
                          transform: scaleY(0); transition: transform var(--ease); transform-origin: top; }
.pg-cover-item:hover { background: var(--cr-pale); }
.pg-cover-item:hover::before { transform: scaleY(1); }
.pg-cover-item__icon  { width: 36px; height: 36px; background: var(--ch); border-radius: 2px;
                         display: flex; align-items: center; justify-content: center;
                         margin-bottom: 12px; color: #fff; }
.pg-cover-item__title { font-size: 14px; font-weight: 500; color: var(--ch); margin-bottom: 6px; }
.pg-cover-item__desc  { font-size: 13px; color: var(--sl); line-height: 1.6; margin: 0; }
@media (max-width: 575px) { .pg-cover-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pg-pullquote { background: var(--ch); padding: 28px 32px; margin: 28px 0;
                border-left: 4px solid var(--cr); }
.pg-pullquote blockquote { font-family: var(--serif); font-size: 22px; font-style: italic;
                            color: #fff; line-height: 1.45; margin: 0 0 10px; border: 0; padding: 0; }
.pg-pullquote cite { font-size: 11px; color: rgba(255,255,255,.35);
                     letter-spacing: .07em; text-transform: uppercase; font-style: normal; }

/* ============================================================
   INFO BOX
   ============================================================ */
.pg-infobox { background: var(--off); border-left: 3px solid var(--cr);
              padding: 16px 20px; font-size: 14px; color: var(--sl); line-height: 1.75; }
.pg-infobox strong { display: block; color: var(--ch); font-size: 12px;
                     text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }

/* ============================================================
   ABOUT SPLIT (homepage + about page)
   ============================================================ */
.pg-split { display: grid; grid-template-columns: 1fr 1fr; }
.pg-split__left  { background: var(--ch); padding: 72px 64px; }
.pg-split__right { background: var(--cr); padding: 72px 64px; position: relative; overflow: hidden; }
.pg-split__right::after { content: '1986'; position: absolute; right: -10px; bottom: -30px;
                           font-family: var(--serif); font-size: 190px; font-weight: 600;
                           color: rgba(255,255,255,.05); line-height: 1; pointer-events: none; }
@media (max-width: 991px) {
  .pg-split { grid-template-columns: 1fr; }
  .pg-split__left, .pg-split__right { padding: 48px 32px; }
}

/* Timeline */
.pg-timeline { padding-left: 26px; position: relative; }
.pg-timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px;
                        width: 1px; background: var(--bd); }
.pg-timeline__item { position: relative; margin-bottom: 32px; }
.pg-timeline__item::before { content: ''; position: absolute; left: -23px; top: 5px;
                              width: 11px; height: 11px; background: var(--cr); border-radius: 50%; }
.pg-timeline__year  { font-family: var(--serif); font-size: 20px; font-weight: 600;
                      color: var(--cr); display: block; margin-bottom: 2px; }
.pg-timeline__title { font-size: 14px; font-weight: 500; color: var(--ch); margin-bottom: 4px; }
.pg-timeline__desc  { font-size: 13px; color: var(--sl); line-height: 1.65; margin: 0; }

/* ============================================================
   STATS BAR (about + case study hero)
   ============================================================ */
.pg-stats-bar { background: var(--cr); }
.pg-stat-cell { padding: 28px; border-right: 1px solid rgba(255,255,255,.12); text-align: center; }
.pg-stat-cell:last-child { border-right: none; }
.pg-stat-num  { font-family: var(--serif); font-size: 44px; font-weight: 600; color: #fff; line-height: 1; }
.pg-stat-label { font-size: 11px; color: rgba(255,255,255,.45); letter-spacing: .08em;
                 text-transform: uppercase; margin-top: 5px; }

/* ============================================================
   CASE STUDY CARDS
   ============================================================ */
.pg-case-card { background: var(--white); display: block; text-decoration: none;
                position: relative; overflow: hidden; transition: background var(--ease); }
.pg-case-card::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
                        background: var(--cr); transform: scaleX(0);
                        transition: transform var(--ease); transform-origin: left; }
.pg-case-card:hover { background: var(--cr-pale); }
.pg-case-card:hover::after { transform: scaleX(1); }
.pg-case-card__img  { height: 180px; background: var(--ch); display: flex;
                       align-items: flex-end; padding: 18px; position: relative; overflow: hidden; }
.pg-case-card__bg   { position: absolute; inset: 0; font-family: var(--serif); font-size: 70px;
                       font-weight: 600; color: rgba(255,255,255,.04); line-height: 1;
                       right: 10px; bottom: -10px; display: flex; align-items: flex-end; justify-content: flex-end; }
.pg-case-card__body { padding: 28px; }
.pg-case-card__title { font-family: var(--serif); font-size: 22px; font-weight: 600;
                        color: var(--ch); margin-bottom: 10px; line-height: 1.2; }
.pg-case-card__excerpt { font-size: 13px; color: var(--sl); line-height: 1.7; margin-bottom: 18px; }
.pg-case-card__meta  { display: flex; align-items: center; justify-content: space-between; }
.pg-case-card__outcome { display: flex; align-items: center; gap: 7px; font-size: 12px;
                          color: var(--cr); font-weight: 500; }
.pg-case-card__outcome::before { content: ''; width: 7px; height: 7px; background: var(--cr); border-radius: 50%; }
.pg-case-card__link { font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
                       color: var(--sl-light); font-weight: 500; transition: color var(--ease); }
.pg-case-card:hover .pg-case-card__link { color: var(--cr); }

/* ============================================================
   CTA BAND — shared across all pages
   ============================================================ */
.pg-cta-band     { background: var(--cr); padding: 64px 0; }
.pg-cta-band h2  { font-family: var(--serif); font-size: clamp(28px,3vw,40px);
                   color: #fff; line-height: 1.1; margin-bottom: 10px; }
.pg-cta-band h2 em { font-style: italic; color: rgba(255,255,255,.6); }
.pg-cta-band p   { color: rgba(255,255,255,.55); max-width: 460px; }

/* ============================================================
   CONTACT BAR (above footer)
   ============================================================ */
.pg-contact-bar { background: var(--ch-mid); padding: 15px 0; }
.pg-contact-item { display: flex; align-items: center; gap: 8px;
                   font-size: 12px; color: rgba(255,255,255,.42); }
.pg-contact-item strong { color: rgba(255,255,255,.8); font-weight: 400; }
.pg-contact-item a { color: rgba(255,255,255,.8); text-decoration: none; }
.pg-contact-dot { width: 4px; height: 4px; background: var(--cr); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.pg-footer { background: var(--ch); padding: 56px 0 28px; border-top: 3px solid var(--cr); }
.pg-footer__brand { font-family: var(--serif); font-size: 24px; font-weight: 600; color: #fff; text-decoration: none; }
.pg-footer__brand span { color: rgba(255,255,255,.9); font-weight: 400; }
.pg-footer__desc { font-size: 13px; color: rgba(255,255,255,.9); line-height: 1.8; margin-top: 12px; }
.pg-footer__fsp  { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 10px; }
.pg-footer__col-title { font-size: 14px; text-transform: uppercase; letter-spacing: .1em;
                         color: var(--cr); margin-bottom: 16px; font-weight: 800; font-family: var(--sans); }
.pg-footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.pg-footer__links a { font-size: 13px; color: rgba(255,255,255,.8); text-decoration: none; transition: color var(--ease); }
.pg-footer__links a:hover { color: rgba(255,255,255,1); }
.pg-footer__contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.pg-footer__contact-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: rgba(255,255,255,.8); }
.pg-footer__contact-list a { color: rgba(255,255,255,.8); text-decoration: none; transition: color var(--ease); }
.pg-footer__contact-list a:hover { color: rgba(255,255,255,1); }
.pg-footer__bottom { padding-top: 22px; margin-top: 40px; border-top: 1px solid rgba(255,255,255,.06);
                      display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.pg-footer__bottom p { font-size: 11px; color: rgba(255,255,255,.6); margin: 0; }

/* ============================================================
   PLAIN / LONG-FORM PAGE (privacy, disclosure etc)
   ============================================================ */
.pg-toc { position: sticky; top: 24px; }
.pg-toc__title { font-size: 10px; text-transform: uppercase; letter-spacing: .1em;
                  color: var(--sl-light); font-weight: 500; margin-bottom: 14px; }
.pg-toc__list  { list-style: none; padding: 0; margin: 0; border-left: 1px solid var(--bd-dark); }
.pg-toc__list a { display: block; padding: 8px 0 8px 16px; font-size: 13px; color: var(--sl);
                  text-decoration: none; border-left: 2px solid transparent; margin-left: -1px;
                  transition: all var(--ease); line-height: 1.4; }
.pg-toc__list a:hover, .pg-toc__list a.active { color: var(--cr); border-left-color: var(--cr); }
.pg-toc__list a.active { font-weight: 500; }

.pg-prose h2 { font-family: var(--serif); font-size: 28px; font-weight: 600;
               color: var(--ch); margin: 0 0 14px; line-height: 1.15; }
.pg-prose h3 { font-family: var(--serif); font-size: 20px; font-weight: 600;
               color: var(--ch); margin: 28px 0 10px; }
.pg-prose p  { font-size: 15px; color: var(--sl); line-height: 1.85; margin-bottom: 14px; }
.pg-prose a  { color: var(--cr); }
.pg-prose section { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--bd-dark); }
.pg-prose section:last-child { border-bottom: none; }
.pg-prose ul { list-style: none; padding: 0; margin: 14px 0; border: 1px solid var(--bd-dark); }
.pg-prose ul li { padding: 11px 16px; border-bottom: 1px solid var(--bd-dark);
                  font-size: 14px; color: var(--sl); line-height: 1.6;
                  display: flex; gap: 12px; align-items: flex-start; }
.pg-prose ul li:last-child { border-bottom: none; }
.pg-prose ul li::before { content: ''; width: 5px; height: 5px; background: var(--cr);
                           border-radius: 50%; flex-shrink: 0; margin-top: 7px; }

/* ============================================================
   FILTER BAR (case studies archive)
   ============================================================ */
.pg-filter-bar { background: var(--off); border-bottom: 1px solid var(--bd-dark); padding: 16px 0; }
.pg-filter-btn { padding: 7px 16px; border-radius: 2px; font-size: 11px; font-family: var(--sans);
                 cursor: pointer; letter-spacing: .05em; text-transform: uppercase;
                 border: 1px solid var(--bd-dark); background: var(--white); color: var(--sl);
                 transition: all var(--ease); }
.pg-filter-btn:hover { border-color: var(--cr); color: var(--cr); }
.pg-filter-btn.active { background: var(--cr); color: #fff; border-color: var(--cr); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pg-pagination { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.pg-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center;
                                 width: 40px; height: 40px; border: 1px solid var(--bd-dark);
                                 border-radius: 2px; font-size: 13px; color: var(--sl);
                                 text-decoration: none; transition: all var(--ease); }
.pg-pagination .page-numbers:hover,
.pg-pagination .page-numbers.current { background: var(--cr); border-color: var(--cr); color: #fff; }
.pg-pagination .prev, .pg-pagination .next { width: auto; padding: 0 16px; }

/* ============================================================
   RESPONSIVE HELPERS
   ============================================================ */
@media (max-width: 991px) {
  .u-section    { padding: 56px 0; }
  .u-section-sm { padding: 36px 0; }
}
@media (max-width: 767px) {
  .u-section    { padding: 40px 0; }
  .pg-home-hero__stats { flex-wrap: wrap; gap: 20px; }
  .pg-home-hero__ring  { display: none; }
  .pg-cover-grid       { grid-template-columns: 1fr; }
}
