/*
Theme Name: PBSL Corporate Child
Theme URI: https://pbslgroup.com
Description: Custom child theme for PBSL Group corporate website. Built on Hello Elementor.
Author: PBSL Team
Author URI: https://pbslgroup.com
Template: hello-elementor
Version: 1.1.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pbsl-corporate
Domain Path: /languages
*/

/* ============================================================
   BRAND TOKENS
   UI/UX style: Swiss Modernism 2.0 + Feature-Rich Showcase
   Font: Space Grotesk (headings) + Inter (body)
   ============================================================ */
:root {
  /* Brand colours */
  --pbsl-orange:     #F47920;
  --pbsl-orange-dk:  #D9680D;
  --pbsl-orange-lt:  rgba(244,121,32,0.10);
  --pbsl-dark:       #111418;
  --pbsl-dark-nav:   #111111;
  --pbsl-footer-bg:  #0C0F12;
  --pbsl-light-bg:   #F7F8FA;
  --pbsl-border:     #E0E6ED;
  --pbsl-text:       #555F6E;
  --pbsl-text-dark:  #0F1923;
  --pbsl-white-80:   rgba(255,255,255,0.80);
  --pbsl-white-60:   rgba(255,255,255,0.60);
  --pbsl-white-42:   rgba(255,255,255,0.42);
  --pbsl-white-10:   rgba(255,255,255,0.10);
  --pbsl-white-05:   rgba(255,255,255,0.05);

  /* Spacing — 8pt base unit */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;
  --sp-16: 128px;
  --sp-section: clamp(64px, 8vw, 100px);

  /* Radii */
  --radius-card: 12px;
  --radius-btn:  8px;
  --radius-sm:   6px;
  --radius-tag:  20px;

  /* Shadows — layered for depth */
  --shadow-xs:   0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm:   0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 4px 8px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 16px rgba(0,0,0,0.06), 0 24px 48px rgba(0,0,0,0.10);

  /* Transitions */
  --ease-out:  cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast:    150ms var(--ease-out);
  --t-base:    250ms var(--ease-out);
  --t-card:    transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out), border-color 200ms var(--ease-out);

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

/* ============================================================
   GLOBAL RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--pbsl-text-dark);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

/* Global focus ring — WCAG AA */
:focus-visible {
  outline: 2px solid var(--pbsl-orange);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
a:focus-visible, button:focus-visible { border-radius: var(--radius-sm); }

/* ============================================================
   TYPOGRAPHY — Space Grotesk headings + Inter body
   ============================================================ */
.pbsl-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pbsl-orange);
  margin-bottom: 14px;
}

.pbsl-h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin-bottom: 4px;
}

.pbsl-h1-sub {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--pbsl-white-42);
  line-height: 1.08;
  margin-bottom: 32px;
}

.pbsl-h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.pbsl-nav {
  background: #fff;
  border-bottom: 1px solid var(--pbsl-border);
  box-shadow: 0 1px 12px rgba(0,0,0,0.05);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ── Primary nav — wp_nav_menu() generates ul.pbsl-nav-links > li > a ── */
.pbsl-nav-links {
  list-style: none !important;
  margin: 0; padding: 0;
  display: flex;
  gap: 32px;
  align-items: center;
}
.pbsl-nav-links li,
.pbsl-nav-links li::before,
.pbsl-nav-links li::marker { list-style: none !important; position: relative; }
.pbsl-nav-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--pbsl-text-dark);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pbsl-nav-links a:hover { color: var(--pbsl-orange); }

/* Dropdown chevron for parent items */
.pbsl-nav-links .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--t-fast);
}
.pbsl-nav-links .menu-item-has-children:hover > a::after {
  transform: rotate(-135deg) translateY(-2px);
}

/* Dropdown panel */
.pbsl-nav-links .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--pbsl-border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.10);
  min-width: 190px;
  padding: 6px 0;
  z-index: 200;
  list-style: none !important;
  margin: 0;
}
/* Invisible bridge fills the gap between link and dropdown — prevents hover loss */
.pbsl-nav-links .menu-item-has-children::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px; right: -10px;
  height: 16px;
  display: none;
}
.pbsl-nav-links .menu-item-has-children:hover::after { display: block; }
.pbsl-nav-links .menu-item-has-children:hover .sub-menu,
.pbsl-nav-links .menu-item-has-children:focus-within .sub-menu { display: block; }
.pbsl-nav-links .sub-menu li,
.pbsl-nav-links .sub-menu li::before,
.pbsl-nav-links .sub-menu li::marker { position: static; list-style: none !important; }
.pbsl-nav-links .sub-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 500;
  color: var(--pbsl-text-dark);
  white-space: nowrap;
}
.pbsl-nav-links .sub-menu a:hover { color: var(--pbsl-orange); background: var(--pbsl-light-bg); }

.pbsl-nav-cta {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--pbsl-orange);
  color: #111;
  padding: 10px 20px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.pbsl-nav-cta:hover { background: var(--pbsl-orange-dk); }
.pbsl-nav-cta:active { transform: scale(0.97); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.pbsl-hero {
  background: var(--pbsl-dark);
  background-image:
    linear-gradient(rgba(17,20,24,0.82), rgba(17,20,24,0.82)),
    url(assets/images/hero-bg.jpg);
  background-size: cover;
  background-position: center;
  padding: clamp(80px, 10vw, 136px) 40px clamp(72px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}

/* Subtle animated radial glow */
.pbsl-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(244,121,32,0.07) 0%, transparent 70%);
  pointer-events: none;
  animation: heroGlow 6s ease-in-out infinite alternate;
}

@keyframes heroGlow {
  from { opacity: 0.5; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.08); }
}

.pbsl-hero-inner { max-width: 780px; position: relative; }

/* Skill grid */
.pbsl-skill-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 40px;
  max-width: 700px;
}

.pbsl-skill-col {
  background: rgba(255,255,255,0.04);
  border: 0.5px solid rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 16px;
  transition: background var(--t-base), border-color var(--t-base);
}
.pbsl-skill-col:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.pbsl-skill-title {
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.85);
}

.pbsl-skill-items {
  font-size: 10px;
  color: rgba(255,255,255,0.36);
  line-height: 2;
}

/* Hero CTA buttons */
.pbsl-btn-orange {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: var(--pbsl-orange);
  color: #111;
  padding: 13px 28px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
}
.pbsl-btn-orange:hover {
  background: var(--pbsl-orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244,121,32,0.35);
}
.pbsl-btn-orange:active { transform: scale(0.97) translateY(0); box-shadow: none; }

.pbsl-btn-ghost {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: transparent;
  color: rgba(255,255,255,0.75);
  padding: 13px 28px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.pbsl-btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.40);
  transform: translateY(-2px);
}
.pbsl-btn-ghost:active { transform: scale(0.97) translateY(0); }

/* ============================================================
   HERO LOGO ANIMATION (Phase 9.6)
   Two-column grid: hero text left, animated cube logo right.
   ============================================================ */

/* Grid wrapper — centres content up to 1140px */
.pbsl-hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  align-items: center;
  gap: 60px;
  max-width: 1140px;
  margin: 0 auto;
  position: relative;
}

/* Remove single-column max-width when inside the grid */
.pbsl-hero-grid .pbsl-hero-inner { max-width: none; }

/* Animation container */
.pbsl-logo-anim {
  width: 100%;
  max-width: 400px;
  position: relative;
  margin: 0 auto;
  flex-shrink: 0;
}
.pbsl-logo-anim svg {
  width: 100%;
  height: auto;
  overflow: visible;
  display: block;
}

/* Sketch layer — thin, organic, pencil-like strokes */
.sketch-edge {
  fill: none;
  stroke: rgba(255,255,255,0.36);
  stroke-width: 1;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
}

/* Blueprint layer — clean, precise technical lines */
.wire-edge {
  fill: none;
  stroke: rgba(255,255,255,0.62);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  opacity: 0;
}

/* Solid cube faces */
.cube-face { transform-origin: 160px 186px; }

/* Wordmark "PBSL Group" beneath the SVG */
.pbsl-logo-wordmark-anim {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.8vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
  margin-top: 20px;
  white-space: nowrap;
}
.pbsl-logo-word { opacity: 0; }

/* Orange underline */
.pbsl-logo-underline {
  display: block;
  height: 2px;
  width: 0;
  background: var(--pbsl-orange);
  margin-top: 14px;
}

/* ── Logo animation responsive ──────────────────────────── */
@media (max-width: 1100px) {
  .pbsl-hero-grid { grid-template-columns: 1fr 320px; gap: 44px; }
}
@media (max-width: 900px) {
  .pbsl-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pbsl-logo-anim {
    order: -1;         /* animation sits above text on tablet/mobile */
    max-width: 240px;
  }
  .pbsl-logo-wordmark-anim { text-align: center; }
  .pbsl-logo-underline { margin-left: auto; margin-right: auto; }
}

/* ── Reduced motion: show assembled end state immediately ── */
@media (prefers-reduced-motion: reduce) {
  .sketch-edge { opacity: 0 !important; }
  .wire-edge   { stroke-dashoffset: 0 !important; opacity: 0.25 !important; }
  .cube-face   { opacity: 1 !important; }
  .pbsl-logo-word      { opacity: 1 !important; }
  .pbsl-logo-underline { width: 100% !important; }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.pbsl-section { padding: var(--sp-section) 40px; }
.pbsl-section-inner { max-width: 780px; }

.pbsl-sec-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pbsl-orange);
  margin-bottom: 14px;
}

.pbsl-sec-h {
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pbsl-text-dark);
  line-height: 1.2;
  margin-bottom: 10px;
}

.pbsl-sec-sub {
  font-size: 15px;
  color: var(--pbsl-text);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 560px;
}

/* ============================================================
   GAP SECTION — 3 numbered cards
   ============================================================ */
.pbsl-gap-section { background: var(--pbsl-light-bg); }

.pbsl-three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.pbsl-t-col {
  background: #fff;
  border: 1px solid var(--pbsl-border);
  border-radius: var(--radius-card);
  border-top: 3px solid var(--pbsl-orange);
  padding: 28px 24px;
  transition: var(--t-card);
  position: relative;
  overflow: hidden;
}
.pbsl-t-col:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(244,121,32,0.25);
}

.pbsl-t-col-num {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--pbsl-orange);
  margin-bottom: 12px;
  line-height: 1;
}

.pbsl-t-col-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pbsl-text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.pbsl-t-col-text {
  font-size: 13px;
  color: var(--pbsl-text);
  line-height: 1.75;
}

/* ============================================================
   SERVICES — 2-col card grid
   ============================================================ */
.pbsl-svc-section { background: #fff; }

.pbsl-svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.pbsl-svc-card {
  background: var(--pbsl-light-bg);
  border: 1px solid var(--pbsl-border);
  border-radius: var(--radius-card);
  padding: 24px 24px 22px;
  cursor: pointer;
  transition: var(--t-card);
  text-decoration: none;
  display: block;
}
.pbsl-svc-card:hover {
  border-color: var(--pbsl-orange);
  background: #fff;
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pbsl-svc-card-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pbsl-text-dark);
  margin-bottom: 8px;
}

.pbsl-svc-card-body {
  font-size: 13px;
  color: var(--pbsl-text);
  line-height: 1.75;
}

.pbsl-svc-card-domains {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 14px;
}

.pbsl-svc-tag {
  font-size: 10px;
  font-weight: 500;
  color: #777;
  background: #E8EEF5;
  padding: 3px 10px;
  border-radius: var(--radius-tag);
  transition: background var(--t-fast), color var(--t-fast);
}
.pbsl-svc-card:hover .pbsl-svc-tag {
  background: var(--pbsl-orange-lt);
  color: var(--pbsl-orange);
}

.pbsl-svc-all {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--pbsl-orange);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: gap var(--t-fast);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pbsl-svc-all:hover { text-decoration: underline; }

/* Service card CTA link */
.pbsl-svc-card-cta {
  font-size: 12px;
  font-weight: 600;
  color: var(--pbsl-orange);
  margin-top: 16px;
  display: block;
  transition: letter-spacing var(--t-fast);
}
.pbsl-svc-card:hover .pbsl-svc-card-cta { letter-spacing: 0.03em; }

/* ============================================================
   WHY PBSL — dark section, diff-grid cards
   ============================================================ */
.pbsl-diff-section { background: var(--pbsl-dark); }
.pbsl-diff-section .pbsl-sec-h  { color: #fff; }
.pbsl-diff-section .pbsl-sec-sub { color: var(--pbsl-white-42); }

.pbsl-diff-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.pbsl-diff-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-card);
  padding: 22px 20px;
  transition: transform 250ms var(--ease-out), box-shadow 250ms var(--ease-out),
              background 250ms var(--ease-out), border-color 200ms var(--ease-out);
}
.pbsl-diff-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 8px 32px rgba(0,0,0,0.30);
}

.pbsl-diff-card-accent {
  border-top: 2px solid var(--pbsl-orange);
}

.pbsl-diff-card-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #fff;
  margin-bottom: 10px;
}

.pbsl-diff-card-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
}

/* ============================================================
   PARTNERS — 5-col grid
   ============================================================ */
.pbsl-partner-section { background: var(--pbsl-light-bg); }

.pbsl-partner-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}

.pbsl-partner-card {
  background: #fff;
  border: 1px solid var(--pbsl-border);
  border-radius: var(--radius-card);
  padding: 20px 16px;
  text-align: center;
  transition: var(--t-card);
}
.pbsl-partner-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--pbsl-orange);
}

.pbsl-partner-name {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--pbsl-text-dark);
  margin-bottom: 6px;
}

.pbsl-partner-desc {
  font-size: 10px;
  color: var(--pbsl-text);
  line-height: 1.65;
}

.pbsl-partner-note {
  font-size: 13px;
  color: #999;
  font-style: italic;
  margin-top: 4px;
}

.pbsl-partner-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  margin-bottom: 10px;
}

.pbsl-partner-logo {
  max-width: 130px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* ============================================================
   REACH / STATS
   ============================================================ */
.pbsl-reach-section { background: #fff; }

.pbsl-reach-inner {
  max-width: 780px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pbsl-reach-h {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pbsl-text-dark);
  margin-bottom: 14px;
  line-height: 1.25;
}

.pbsl-reach-body {
  font-size: 13px;
  color: var(--pbsl-text);
  line-height: 1.8;
  margin-bottom: 20px;
}

.pbsl-reach-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pbsl-reach-tag {
  font-size: 11px;
  font-weight: 500;
  color: #555;
  background: #EEF0F3;
  padding: 5px 12px;
  border-radius: var(--radius-tag);
  transition: background var(--t-fast), color var(--t-fast);
  cursor: default;
}
.pbsl-reach-tag:hover { background: var(--pbsl-orange-lt); color: var(--pbsl-orange); }

.pbsl-reach-stats {
  background: var(--pbsl-light-bg);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  border: 1px solid var(--pbsl-border);
}

.pbsl-reach-stat {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--pbsl-border);
}
.pbsl-reach-stat:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }

/* About page stat boxes */
.pbsl-stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px;
  background: var(--pbsl-light-bg);
  border: 1px solid var(--pbsl-border);
  border-radius: var(--radius-card);
  text-align: center;
}

.pbsl-stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--pbsl-orange);
  line-height: 1;
}

.pbsl-stat-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--pbsl-text);
  margin-top: 5px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 10px;
}

/* About page — reach stats grid (2×2) */
.pbsl-reach-stats.pbsl-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: transparent;
  border: none;
  padding: 0;
}

/* About page location tag */
.pbsl-location-tag {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 14px;
  border-radius: var(--radius-tag);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.pbsl-location-tag:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.24);
}

/* ============================================================
   CTA SECTION — orange bg
   ============================================================ */
.pbsl-cta-section {
  background: var(--pbsl-orange);
  padding: clamp(64px, 8vw, 88px) 40px;
  text-align: center;
}

.pbsl-cta-h {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.15;
}

.pbsl-cta-sub {
  font-size: 16px;
  color: rgba(0,0,0,0.55);
  margin-bottom: 36px;
  line-height: 1.65;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.pbsl-btn-dark {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  background: #111;
  color: #fff;
  padding: 14px 32px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: none;
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  text-decoration: none;
  animation: glowPulse 2.5s ease-in-out infinite;
}
.pbsl-btn-dark:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.30);
}
.pbsl-btn-dark:active { transform: scale(0.97) translateY(0); animation: none; box-shadow: none; }

.pbsl-btn-outline-dark {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  background: transparent;
  color: #111;
  padding: 14px 32px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border: 1.5px solid rgba(0,0,0,0.35);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  text-decoration: none;
}
.pbsl-btn-outline-dark:hover {
  background: rgba(0,0,0,0.07);
  transform: translateY(-2px);
}
.pbsl-btn-outline-dark:active { transform: scale(0.97) translateY(0); }

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0.22); }
  50%       { box-shadow: 0 0 0 10px rgba(0,0,0,0); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.pbsl-footer {
  background: var(--pbsl-footer-bg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer nav — wp_nav_menu() generates nav.pbsl-footer-links > ul > li > a */
.pbsl-footer-links ul {
  list-style: none !important;
  margin: 0; padding: 0;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.pbsl-footer-links li,
.pbsl-footer-links li::before,
.pbsl-footer-links li::marker { list-style: none !important; }
.pbsl-footer-links a {
  font-size: 12px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
}
.pbsl-footer-links a:hover { color: rgba(255,255,255,0.65); }

.pbsl-footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.01em;
}

/* ============================================================
   SERVICE PAGE LAYOUT
   ============================================================ */
.pbsl-service-hero {
  background: var(--pbsl-dark);
  padding: clamp(64px, 8vw, 96px) 40px clamp(56px, 7vw, 80px);
}

.pbsl-service-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #fff;
  line-height: 1.12;
}

.pbsl-service-lead {
  padding: 56px 40px;
  max-width: 780px;
  margin: 0 auto;
}

/* Workflow steps — horizontal */
.pbsl-workflow {
  display: flex;
  gap: 0;
  margin: 40px 0;
  overflow-x: auto;
}

.pbsl-workflow-step {
  flex: 1;
  min-width: 120px;
  text-align: center;
  padding: 22px 14px;
  position: relative;
  background: #fff;
  border: 1px solid var(--pbsl-border);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.pbsl-workflow-step:hover { background: var(--pbsl-light-bg); border-color: var(--pbsl-orange); }
.pbsl-workflow-step:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.pbsl-workflow-step:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.pbsl-workflow-step::after {
  content: '→';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--pbsl-orange);
  font-size: 14px;
  z-index: 1;
}
.pbsl-workflow-step:last-child::after { display: none; }

.pbsl-workflow-num {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--pbsl-orange);
  line-height: 1;
  margin-bottom: 7px;
}

.pbsl-workflow-label {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  color: var(--pbsl-text-dark);
  line-height: 1.4;
}

.pbsl-workflow-sub {
  font-size: 10px;
  color: var(--pbsl-text);
  margin-top: 4px;
  line-height: 1.5;
}

/* Capabilities 2-col grid */
.pbsl-capabilities {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 32px 0;
}

.pbsl-cap-item {
  background: var(--pbsl-light-bg);
  border: 1px solid var(--pbsl-border);
  border-radius: var(--radius-sm);
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: #333;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.pbsl-cap-item:hover { border-color: var(--pbsl-orange); background: #fff; }

/* Who this serves callout */
.pbsl-callout {
  background: rgba(244,121,32,0.06);
  border: 1px solid rgba(244,121,32,0.20);
  border-left: 4px solid var(--pbsl-orange);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  font-size: 14px;
  color: #333;
  line-height: 1.75;
  margin: 28px 0;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.pbsl-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.pbsl-section-wrap { padding: 80px 0; }

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.pbsl-lang-switcher { display: flex; gap: 4px; align-items: center; }
.pbsl-lang-switcher a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #888;
  text-decoration: none;
  padding: 6px 9px;
  border-radius: var(--radius-sm);
  min-height: 32px;
  display: flex;
  align-items: center;
  transition: color var(--t-fast), background var(--t-fast);
}
.pbsl-lang-switcher a:hover { color: var(--pbsl-text-dark); background: var(--pbsl-light-bg); }
.pbsl-lang-switcher .current-lang a,
.pbsl-lang-switcher a[aria-current="true"] { color: var(--pbsl-orange); background: var(--pbsl-orange-lt); }
.pbsl-lang-switcher a + a { border-left: 1px solid var(--pbsl-border); padding-left: 11px; }
.pbsl-lang-switcher li {
  list-style: none !important;
  display: inline-flex;
  margin: 0;
  padding: 0;
}

/* ============================================================
   MOBILE NAV HAMBURGER + DRAWER
   ============================================================ */
.pbsl-nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px; height: 18px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.pbsl-nav-hamburger span {
  display: block; width: 100%; height: 2px;
  background: var(--pbsl-text-dark);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
}
.pbsl-nav-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.pbsl-nav-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.pbsl-nav-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.pbsl-nav-mobile {
  display: none;
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--pbsl-dark-nav);
  padding: 24px 24px 36px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px rgba(0,0,0,0.40);
}
.pbsl-nav-mobile.open { display: flex; }
.pbsl-nav-mobile ul { list-style: none !important; margin: 0; padding: 0; display: flex; flex-direction: column; width: 100%; }
.pbsl-nav-mobile li,
.pbsl-nav-mobile li::before,
.pbsl-nav-mobile li::marker { list-style: none !important; }
.pbsl-nav-mobile a {
  font-family: var(--font-body);
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  padding: 12px 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--t-fast);
}
.pbsl-nav-mobile a:hover { color: #fff; }
.pbsl-nav-mobile .sub-menu { list-style: none; margin: 0; padding: 0; }
.pbsl-nav-mobile .sub-menu a { padding-left: 20px; font-size: 14px; opacity: 0.85; }

/* ============================================================
   HUBSPOT FORM OVERRIDES
   ============================================================ */
.pbsl-hs-form .hs-form fieldset { max-width: 100% !important; }
.pbsl-hs-form .hs-form .hs-input {
  width: 100% !important;
  padding: 11px 16px !important;
  border: 1px solid var(--pbsl-border) !important;
  border-radius: var(--radius-sm) !important;
  font-size: 15px !important;
  font-family: var(--font-body) !important;
  color: var(--pbsl-text-dark) !important;
  background: #fff !important;
  box-sizing: border-box !important;
  transition: border-color var(--t-fast) !important;
}
.pbsl-hs-form .hs-form .hs-input:focus {
  outline: none !important;
  border-color: var(--pbsl-orange) !important;
  box-shadow: 0 0 0 3px var(--pbsl-orange-lt) !important;
}
.pbsl-hs-form .hs-form label {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--pbsl-text-dark) !important;
  margin-bottom: 7px !important;
  display: block !important;
}
.pbsl-hs-form .hs-form .hs-button {
  background: var(--pbsl-orange) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--radius-btn) !important;
  padding: 14px 36px !important;
  min-height: 48px !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: background var(--t-fast) !important;
}
.pbsl-hs-form .hs-form .hs-button:hover { background: var(--pbsl-orange-dk) !important; }
.pbsl-hs-form .hs-form .hs-error-msgs { color: #e53e3e !important; font-size: 12px !important; }
.pbsl-hs-form .hs-form .hs-form-field { margin-bottom: 22px !important; }
.pbsl-hs-form .hs-form .legal-consent-container { font-size: 13px !important; color: var(--pbsl-text) !important; }
.pbsl-hs-form .submitted-message {
  font-size: 16px !important;
  color: var(--pbsl-text-dark) !important;
  padding: 28px !important;
  background: var(--pbsl-light-bg) !important;
  border-radius: var(--radius-card) !important;
}

/* ============================================================
   ANIMATIONS — GSAP initial state
   ============================================================ */
.pbsl-anim-fade  { opacity: 0; }
.pbsl-anim-slide { opacity: 0; transform: translateY(28px); }

/* ============================================================
   TABLET (769–900px)
   ============================================================ */
@media (max-width: 900px) {
  .pbsl-svc-grid     { grid-template-columns: 1fr; }
  .pbsl-diff-grid    { grid-template-columns: repeat(2, 1fr); }
  .pbsl-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .pbsl-three-cols   { grid-template-columns: 1fr; gap: 16px; }
  .pbsl-reach-inner  { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 640px) {
  .pbsl-diff-grid    { grid-template-columns: 1fr; }
  .pbsl-partner-grid { grid-template-columns: repeat(2, 1fr); }
  .pbsl-container    { padding: 0 20px; }
  .pbsl-section-wrap { padding: 48px 0; }
}

/* ============================================================
   TABLET (769–1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .pbsl-partner-grid { grid-template-columns: repeat(3, 1fr); }
  .pbsl-skill-grid   { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   MOBILE (≤768px)
   ============================================================ */
@media (max-width: 768px) {
  .pbsl-nav { padding: 14px 20px; }
  .pbsl-nav-links    { display: none; }
  .pbsl-nav-hamburger { display: flex; }
  .pbsl-lang-switcher { display: none; }

  .pbsl-hero { padding: 56px 20px 48px; }
  .pbsl-skill-grid { grid-template-columns: repeat(2, 1fr); }

  .pbsl-section { padding: 56px 20px; }

  .pbsl-three-cols,
  .pbsl-svc-grid,
  .pbsl-diff-grid,
  .pbsl-partner-grid  { grid-template-columns: 1fr; }

  .pbsl-reach-inner   { grid-template-columns: 1fr; gap: 24px; }
  .pbsl-capabilities  { grid-template-columns: 1fr; }

  .pbsl-workflow { flex-direction: column; }
  .pbsl-workflow-step { border-radius: 0; border-bottom: none; }
  .pbsl-workflow-step:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .pbsl-workflow-step:last-child  {
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    border-bottom: 1px solid var(--pbsl-border);
  }
  .pbsl-workflow-step::after {
    content: '↓';
    right: auto; left: 50%; top: auto; bottom: -12px;
    transform: translateX(-50%);
  }

  .pbsl-cta-section { padding: 56px 20px; }

  .pbsl-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }

  .pbsl-service-hero { padding: 56px 20px 48px; }
  .pbsl-service-lead { padding: 36px 20px; }
}

/* ============================================================
   SMALL MOBILE (≤480px)
   ============================================================ */
@media (max-width: 480px) {
  .pbsl-skill-grid { grid-template-columns: 1fr; }
  .pbsl-btn-orange,
  .pbsl-btn-ghost,
  .pbsl-btn-dark,
  .pbsl-btn-outline-dark {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

/* ============================================================
   REDUCED MOTION — respect user preference
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .pbsl-hero::before { animation: none; }
  .pbsl-btn-dark { animation: none; }
  .pbsl-anim-fade, .pbsl-anim-slide { opacity: 1; transform: none; }
}
