/* =====================================================================
   Shared page style (owner, 2026-11-15): every inner page follows the home,
   About and Brand Lab landing pages: a clean page header with an eyebrow,
   sentence-case headings, white cards with teal icon chips, tinted bands
   and a closing teal call-to-action box.

   Owner rule: NO gradients in boxes or designs unless asked. Accents are
   the flat brand teal #037a8e (orange #ffa132 for small highlights).

   Loaded after css/hudl-effects.css on: services, projects, courses, blog,
   survey, booking, contract, subscribe, career, payment and the legal pages.
   ===================================================================== */
:root { --pg-teal: #037a8e; --pg-teal-hover: #036b7c; --pg-orange: #ffa132; --pg-ink: #16242b; --pg-muted: #5f6b70;
  --pg-line: #e4e7ec; --pg-tint: #f5f8f9; --pg-radius: 16px; }

/* ----------------------------------------------------- page header */
.banner.pg-hero { background: #fff !important; padding: 64px 0 40px; text-align: center; min-height: 0; }
.banner.pg-hero > br { display: none; }
.pg-hero .container { max-width: 960px; }
.pg-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 6px 14px; border-radius: 999px;
  background: rgba(3, 122, 142, .08); color: var(--pg-teal) !important; font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.pg-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--pg-orange);
  box-shadow: 0 0 0 4px rgba(255, 161, 50, .2); }   /* the faded ring, as on the About page */
.banner.pg-hero h1, .pg-title { margin: 0 auto; max-width: 860px; font-size: clamp(30px, 4.8vw, 54px) !important; font-weight: 700 !important;
  line-height: 1.1; letter-spacing: -.02em; color: var(--pg-ink) !important; text-transform: none; }
.banner.pg-hero h6, .banner.pg-hero > .container > p:not(.pg-eyebrow) { max-width: 680px; margin: 16px auto 0;
  font-size: clamp(16px, 1.5vw, 18px) !important; font-weight: 400 !important; line-height: 1.65; color: var(--pg-muted) !important;
  text-transform: none; padding-bottom: 0 !important; }
.banner.pg-hero .btn { border-radius: 999px; padding: 12px 22px; font-weight: 600; margin-top: 18px; }

/* ----------------------------------------------------- section headings */
.pg-head { max-width: 720px; margin: 0 auto 32px; text-align: center; }
.pg-kicker { margin: 0 0 8px; color: var(--pg-teal) !important; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; }
.pg-h2 { margin: 0 0 12px; font-size: clamp(24px, 3.2vw, 38px) !important; font-weight: 700 !important; line-height: 1.15;
  letter-spacing: -.01em; color: var(--pg-ink) !important; text-transform: none; }
.pg-h2 b { font-weight: inherit; }
.pg-sub { margin: 0 auto; font-size: 17px; color: var(--pg-muted) !important; line-height: 1.65; }
.pg-section { padding: 72px 0; }
.pg-section--tint { background: var(--pg-tint); }

/* ----------------------------------------------------- cards */
.pg-grid { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-card { display: block; height: 100%; padding: 28px; border-radius: var(--pg-radius); background: #fff; border: 1px solid var(--pg-line);
  color: inherit; text-decoration: none; box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.pg-card h3 { margin: 16px 0 8px; font-size: 19px; font-weight: 600; color: var(--pg-ink); }
.pg-card p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--pg-muted); }
a.pg-card:hover, a.pg-card:focus-visible, .pg-card--lift:hover { transform: translateY(-4px); border-color: rgba(3, 122, 142, .35);
  box-shadow: 0 16px 32px -16px rgba(16, 24, 40, .25); color: inherit; text-decoration: none; }
.pg-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(3, 122, 142, .1);
  color: var(--pg-teal); font-size: 24px; }
.pg-split { display: grid; gap: 48px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; }
.pg-split p { color: var(--pg-muted); line-height: 1.7; }
.pg-split img { display: block; width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 48px -24px rgba(16, 24, 40, .35); }

/* ----------------------------------------------------- closing call to action
   Replaces the old grey "Do you have any projects? Contact us!" banner.
   Flat brand teal (no gradient). */
.pg-cta { padding: 24px 0 72px; }
.pg-cta__box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: 40px 44px;
  border-radius: 24px; background: var(--pg-teal); color: #fff; }
.pg-cta__box h2 { margin: 0 0 6px; color: #fff !important; font-size: clamp(24px, 3vw, 32px); font-weight: 700; }
.pg-cta__box p { margin: 0; color: #fff !important; }   /* 90% white was 4.4:1 on teal; WCAG AA needs 4.5 */
.pg-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pg-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none !important; }
.pg-btn--light { background: #fff; color: var(--pg-teal) !important; border: 0; }
.pg-btn--light:hover { background: #eef7f8; }
.pg-btn--outline-light { background: transparent; color: #fff !important; border: 1px solid rgba(255, 255, 255, .75); }
.pg-btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ----------------------------------------------------- page-specific polish */
/* Projects / courses / blog: CMS grids keep their own cards; tidy the space. */
.projects-section, .products-section, .ai-ads-section, .branding-projects-section { padding-top: 56px; }
.projects-section .pg-head, .branding-projects-section .pg-head, .products-section .pg-head, .ai-ads-section .pg-head { margin-bottom: 28px; }
/* Survey: the six tips become white cards with a teal number (were black panels). */
.survey-tips .process-card { background: #fff !important; color: var(--pg-ink) !important; border: 1px solid var(--pg-line);
  border-radius: var(--pg-radius); box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
.survey-tips .process-title { color: var(--pg-ink) !important; }
.survey-tips .process-description { color: var(--pg-muted) !important; }
.survey-tips .process-number { background: var(--pg-teal) !important; color: #fff !important; }
.survey-head { text-align: center; }
.survey-eyebrow { color: var(--pg-teal) !important; }
/* …except on the teal side panel, where teal text was invisible (booking, survey, contract, subscribe). */
.survey-aside .survey-eyebrow { color: #fff !important; }
/* Services comparison table */
.services-compare__table { border-radius: var(--pg-radius); overflow: hidden; border: 1px solid var(--pg-line); background: #fff; }
.services-compare__table thead th { background: var(--pg-tint); color: var(--pg-ink); border-bottom: 1px solid var(--pg-line); }
.services-compare__cta .btn { border-radius: 999px; padding: 12px 22px; font-weight: 600; }
/* Career: openings heading */
.pg-openings { padding-top: 24px; }

@media (max-width: 991px) {
  .pg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
}
@media (max-width: 640px) {
  .banner.pg-hero { padding: 44px 0 28px; }
  .pg-section { padding: 52px 0; }
  .pg-grid { grid-template-columns: minmax(0, 1fr); }
  .pg-card { padding: 24px; }
  .pg-cta__box { padding: 28px 22px; }
  .pg-cta__actions .pg-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pg-card { transition: none; } }

/* Booking form: small helper line under a fieldset title (survey.html / booking.html). */
.survey-hint { margin: -4px 0 12px; font-size: 14px; color: var(--pg-muted); }
