/*
Theme Name:  Phosbond
Theme URI:   https://phosbond.com
Author:      Phoscrete Corporation
Author URI:  https://phoscrete.com
Description: Official Phosbond product landing page theme. Single-page, mobile-first, QR-code ready.
Version:     1.0.0
License:     All Rights Reserved
Text Domain: phosbond
Tags:        one-page, custom-header, custom-logo, full-width-template
*/

/* ================================================================
   DESIGN TOKENS — pulled from Phosbond product label
   ================================================================ */
:root {
  /* ── Brand Palette ─────────────────────────────────────── */
  --pb-charcoal:      #2d3035;   /* PHOSBOND logo / label text dark */
  --pb-charcoal-deep: #1e2125;   /* Deepest dark — section bgs */
  --pb-charcoal-mid:  #383d43;   /* Cards, raised surfaces */
  --pb-orange:        #E8651A;   /* Primary accent — hexagon, CTAs */
  --pb-orange-light:  #f07d37;   /* Hover state */
  --pb-orange-dark:   #c4530e;   /* Active / pressed */
  --pb-tan:           #C4A882;   /* Label background tan / kraft */
  --pb-tan-light:     #ddd0b8;   /* Light tan for highlights */
  --pb-tan-dark:      #a08862;   /* Deeper tan for borders */
  --pb-blue:          #3A6BB5;   /* Mascot suit / tech accent */
  --pb-blue-light:    #4d80cc;
  --pb-white:         #ffffff;
  --pb-off-white:     #f5f3ef;   /* Warm off-white — matches label bg */
  --pb-text-light:    #e8e4de;   /* Light body text on dark */
  --pb-text-muted:    #9e9990;   /* Muted text */

  /* ── Typography ─────────────────────────────────────────── */
  --font-display:  'Oswald', 'Arial Narrow', 'Impact', sans-serif;
  --font-body:     'Inter', 'Segoe UI', system-ui, sans-serif;

  /* ── Spacing ─────────────────────────────────────────────── */
  --s-xs:   0.5rem;
  --s-sm:   1rem;
  --s-md:   2rem;
  --s-lg:   4rem;
  --s-xl:   6rem;
  --s-2xl:  9rem;

  /* ── Layout ─────────────────────────────────────────────── */
  --max-w:     1160px;
  --r-sm:      4px;
  --r-md:      8px;
  --r-lg:      16px;
}

/* ================================================================
   RESET
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--pb-charcoal-deep);
  color: var(--pb-text-light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--pb-orange); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pb-orange-light); }
ul, ol { list-style: none; }

/* ================================================================
   UTILITIES
   ================================================================ */
.pb-container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.pb-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--pb-orange);
  margin-bottom: 0.75rem;
}

.pb-section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 700;
  color: var(--pb-white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.pb-section-title .accent { color: var(--pb-orange); }

.pb-divider {
  width: 48px;
  height: 4px;
  background: var(--pb-orange);
  border-radius: 2px;
  margin: 1rem 0 1.5rem;
}

/* ================================================================
   WORDPRESS BODY CLASSES — ensure no WP chrome bleeds in
   ================================================================ */
.admin-bar .pb-header { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .pb-header { top: 46px; }
}

/* ================================================================
   HEADER
   ================================================================ */
.pb-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(29, 33, 37, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--pb-orange);
  box-shadow: 0 2px 24px rgba(0,0,0,0.5);
}

.pb-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.pb-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.pb-logo img {
  height: 42px;
  width: auto;
  display: block;
  /* Logo has white bg — show on dark header */
  filter: none;
}

.pb-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pb-nav a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pb-text-light);
  padding: 0.5rem 0.85rem;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
  white-space: nowrap;
}

.pb-nav a:hover { color: var(--pb-white); background: rgba(255,255,255,0.06); }

.pb-nav .pb-nav-cta {
  background: var(--pb-orange);
  color: var(--pb-white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  transition: background .2s, transform .15s;
}

.pb-nav .pb-nav-cta:hover {
  background: var(--pb-orange-light);
  transform: translateY(-1px);
}

/* Hamburger — mobile */
.pb-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.pb-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pb-text-light);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

.pb-menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pb-menu-toggle.open span:nth-child(2) { opacity: 0; }
.pb-menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   HERO
   ================================================================ */
.pb-hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 70px; /* header height */
}

/* Texture diagonal */
.pb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--pb-charcoal-deep) 55%, var(--pb-charcoal-mid) 100%);
  z-index: 0;
}

/* Orange diagonal stripe */
.pb-hero::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(160deg, transparent 30%, rgba(232,101,26,0.06) 100%);
  z-index: 0;
}

.pb-hero-content {
  position: relative;
  z-index: 2;
  padding: var(--s-xl) 0 var(--s-xl) 0;
}

.pb-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(232,101,26,0.12);
  border: 1px solid rgba(232,101,26,0.4);
  color: var(--pb-orange);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.pb-hero-badge::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--pb-orange);
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity:1; }
  50%      { opacity:0.3; }
}

.pb-hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--pb-white);
  text-transform: uppercase;
  letter-spacing: 0.025em;
  line-height: 0.92;
  margin-bottom: 0.4rem;
}

.pb-hero-title .orange { color: var(--pb-orange); }

.pb-hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 400;
  color: var(--pb-tan);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.pb-hero-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--pb-text-muted);
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.pb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.pb-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--pb-orange);
  color: var(--pb-white);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--r-sm);
  transition: background .2s, transform .15s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(232,101,26,0.35);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.pb-btn-primary:hover {
  background: var(--pb-orange-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(232,101,26,0.45);
  color: var(--pb-white);
}

.pb-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--pb-tan);
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border-radius: var(--r-sm);
  border: 2px solid rgba(196,168,130,0.4);
  transition: border-color .2s, background .2s, color .2s, transform .15s;
  text-decoration: none;
}

.pb-btn-secondary:hover {
  border-color: var(--pb-tan);
  background: rgba(196,168,130,0.08);
  transform: translateY(-1px);
  color: var(--pb-tan-light);
}

/* Hero mascot side */
.pb-hero-mascot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  min-height: calc(100svh - 70px);
}

.pb-hero-mascot img {
  width: auto;
  max-width: 100%;
  height: clamp(480px, 75vh, 820px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(-20px 0px 60px rgba(232,101,26,0.25));
  position: relative;
  z-index: 2;
}

/* Orange glow behind mascot */
.pb-hero-mascot::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232,101,26,0.2) 0%, transparent 70%);
  z-index: 1;
}

/* Hero stats strip */
.pb-hero-stats {
  position: relative;
  z-index: 3;
  background: var(--pb-orange);
  padding: 1.25rem 0;
}

.pb-hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  divide-x: 1px solid rgba(255,255,255,0.2);
}

.pb-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.25);
  text-align: center;
}

.pb-stat:last-child { border-right: none; }

.pb-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--pb-white);
  line-height: 1;
}

.pb-stat-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.25rem;
}

/* ================================================================
   ABOUT / PRODUCT INTRO
   ================================================================ */
.pb-about {
  background: var(--pb-off-white);
  padding: var(--s-xl) 0;
  position: relative;
}

.pb-about::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--pb-charcoal);
}

.pb-about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  align-items: center;
}

.pb-about .pb-eyebrow { color: var(--pb-orange-dark); }
.pb-about .pb-section-title { color: var(--pb-charcoal); }
.pb-about .pb-section-title .accent { color: var(--pb-orange); }

.pb-about-desc {
  font-size: 1rem;
  color: #4a4640;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.pb-about-tag {
  display: inline-block;
  background: var(--pb-charcoal);
  color: var(--pb-tan-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* Product label image showcase */
.pb-about-image {
  position: relative;
}

.pb-about-image img {
  border-radius: var(--r-lg);
  box-shadow:
    0 20px 60px rgba(0,0,0,0.2),
    0 0 0 4px var(--pb-tan),
    0 0 0 8px var(--pb-charcoal);
  width: 100%;
}

.pb-about-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100px;
  height: 100px;
  background: var(--pb-orange);
  border-radius: var(--r-md);
  z-index: -1;
}

/* ================================================================
   BENEFITS
   ================================================================ */
.pb-benefits {
  background: var(--pb-charcoal-deep);
  padding: var(--s-xl) 0;
  position: relative;
  overflow: hidden;
}

.pb-benefits::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(232,101,26,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.pb-benefits-header {
  text-align: center;
  margin-bottom: var(--s-md);
}

.pb-benefits-header .pb-divider { margin-inline: auto; }

.pb-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: var(--s-md);
}

.pb-benefit-card {
  background: var(--pb-charcoal-mid);
  border: 1px solid rgba(255,255,255,0.05);
  border-top: 3px solid var(--pb-orange);
  border-radius: var(--r-md);
  padding: 2rem 1.75rem;
  transition: transform .25s, box-shadow .25s;
  position: relative;
  overflow: hidden;
}

.pb-benefit-card::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle at bottom right, rgba(232,101,26,0.08) 0%, transparent 70%);
}

.pb-benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}

.pb-benefit-icon {
  width: 52px; height: 52px;
  background: rgba(232,101,26,0.12);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.pb-benefit-icon svg {
  width: 26px; height: 26px;
  stroke: var(--pb-orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-benefit-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--pb-white);
  margin-bottom: 0.75rem;
}

.pb-benefit-desc {
  font-size: 0.875rem;
  color: var(--pb-text-muted);
  line-height: 1.7;
}

/* ================================================================
   HOW TO USE
   ================================================================ */
.pb-how {
  background: var(--pb-charcoal);
  padding: var(--s-xl) 0;
}

.pb-how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-lg);
  align-items: start;
}

.pb-steps {
  margin-top: var(--s-md);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pb-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 0 1.25rem;
  padding-bottom: 2.25rem;
  position: relative;
}

.pb-step:not(:last-child) .pb-step-num::after {
  content: '';
  position: absolute;
  top: 60px; left: 30px;
  bottom: 0; width: 2px;
  background: linear-gradient(to bottom, var(--pb-orange), rgba(232,101,26,0.1));
}

.pb-step-num {
  position: relative;
  width: 60px; height: 60px;
  background: var(--pb-orange);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--pb-white);
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(232,101,26,0.4);
  transition: transform .2s, box-shadow .2s;
}

.pb-step:hover .pb-step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(232,101,26,0.55);
}

.pb-step-body { padding-top: 0.9rem; }

.pb-step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--pb-white);
  margin-bottom: 0.4rem;
}

.pb-step-desc {
  font-size: 0.875rem;
  color: var(--pb-text-muted);
  line-height: 1.7;
}

.pb-how-callout {
  background: rgba(232,101,26,0.1);
  border: 1px solid rgba(232,101,26,0.3);
  border-left: 4px solid var(--pb-orange);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  padding: 1.25rem 1.5rem;
  margin-top: var(--s-sm);
  font-size: 0.875rem;
  color: var(--pb-text-light);
  line-height: 1.65;
}

.pb-how-callout strong { color: var(--pb-orange); }

/* How-to right side: mascot + product panel */
.pb-how-visual {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.pb-product-panel {
  background: var(--pb-charcoal-mid);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-lg);
  padding: 2rem;
  text-align: center;
}

.pb-product-panel img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 1.5rem;
  border-radius: var(--r-md);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.pb-product-family {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1rem;
}

.pb-family-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--pb-text-muted);
  text-decoration: none;
  padding: 0.6rem 0.75rem;
  border-radius: var(--r-sm);
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .2s, color .2s, background .2s;
}

.pb-family-link:hover {
  border-color: var(--pb-orange);
  color: var(--pb-orange-light);
  background: rgba(232,101,26,0.06);
}

.pb-family-link::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--pb-orange);
  flex-shrink: 0;
}

/* ================================================================
   DOCUMENTS
   ================================================================ */
.pb-docs {
  background: var(--pb-charcoal-deep);
  padding: var(--s-xl) 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.pb-docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: var(--s-md);
}

.pb-doc-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--pb-charcoal-mid);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  padding: 1.75rem;
  text-decoration: none;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}

.pb-doc-card:hover {
  border-color: var(--pb-orange);
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.3);
}

.pb-doc-icon {
  width: 52px; height: 60px;
  background: rgba(232,101,26,0.12);
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background .25s;
}

.pb-doc-card:hover .pb-doc-icon { background: rgba(232,101,26,0.22); }

.pb-doc-icon svg {
  width: 26px; height: 26px;
  stroke: var(--pb-orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pb-doc-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pb-orange);
  margin-bottom: 0.2rem;
}

.pb-doc-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--pb-white);
  margin-bottom: 0.5rem;
}

.pb-doc-desc {
  font-size: 0.82rem;
  color: var(--pb-text-muted);
  line-height: 1.6;
}

.pb-doc-dl {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--pb-orange);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color .2s;
}

.pb-doc-card:hover .pb-doc-dl { color: var(--pb-orange-light); }

.pb-doc-dl svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  fill: none; stroke-width: 2.5;
  stroke-linecap: round;
}

.pb-safety-note {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-sm);
  font-size: 0.82rem;
  color: var(--pb-text-muted);
  line-height: 1.7;
}

.pb-safety-note strong { color: var(--pb-text-light); }

/* ================================================================
   CONTACT STRIP
   ================================================================ */
.pb-contact {
  background: var(--pb-orange);
  padding: var(--s-md) 0;
}

.pb-contact-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pb-contact-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--pb-white);
}

.pb-contact-text span { color: var(--pb-charcoal); }

.pb-contact-phone {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pb-white);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color .2s;
}

.pb-contact-phone:hover { color: var(--pb-charcoal); }

/* ================================================================
   FOOTER
   ================================================================ */
.pb-footer {
  background: var(--pb-charcoal-deep);
  border-top: 3px solid var(--pb-charcoal-mid);
  padding: var(--s-lg) 0 var(--s-md);
}

.pb-footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--s-lg);
}

.pb-footer-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 1.25rem;
}

.pb-footer-tagline {
  font-size: 0.85rem;
  color: var(--pb-text-muted);
  line-height: 1.7;
  max-width: 300px;
  margin-bottom: 1.25rem;
}

.pb-footer-contact {
  font-size: 0.82rem;
  color: var(--pb-text-muted);
  line-height: 1.9;
  font-style: normal;
}

.pb-footer-contact a { color: var(--pb-orange); }
.pb-footer-contact a:hover { color: var(--pb-orange-light); }

.pb-footer-col-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pb-white);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--pb-orange);
  display: inline-block;
}

.pb-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.pb-footer-links a {
  font-size: 0.875rem;
  color: var(--pb-text-muted);
  transition: color .2s, padding-left .2s;
}

.pb-footer-links a:hover {
  color: var(--pb-orange-light);
  padding-left: 4px;
}

.pb-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--s-md);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.pb-footer-copy {
  font-size: 0.78rem;
  color: var(--pb-text-muted);
}

.pb-footer-legal {
  display: flex;
  gap: 1.5rem;
}

.pb-footer-legal a {
  font-size: 0.78rem;
  color: var(--pb-text-muted);
}

.pb-footer-legal a:hover { color: var(--pb-white); }

/* ================================================================
   FAMILY BAR
   ================================================================ */
.pb-family-bar {
  background: var(--pb-charcoal-mid);
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.pb-family-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pb-family-bar-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--pb-text-muted);
}

.pb-family-bar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.pb-family-bar-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pb-text-muted);
  padding: 0.3rem 0.75rem;
  border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}

.pb-family-bar-links a:hover { color: var(--pb-white); background: rgba(255,255,255,0.05); }
.pb-family-bar-links a.current { color: var(--pb-orange); font-weight: 700; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .pb-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 0;
  }

  .pb-hero-content {
    padding: 3rem 0 1rem;
    text-align: center;
  }

  .pb-hero-desc { max-width: 100%; }
  .pb-hero-actions { justify-content: center; }

  .pb-hero-mascot {
    min-height: 380px;
    justify-content: center;
  }

  .pb-hero-mascot img {
    height: clamp(300px, 50vw, 480px);
  }

  .pb-hero-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .pb-stat:nth-child(2) { border-right: none; }
  .pb-stat:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.2); }
  .pb-stat:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.2); }

  .pb-about-inner,
  .pb-how-inner {
    grid-template-columns: 1fr;
  }

  .pb-about-image { order: -1; }
  .pb-how-visual { position: static; }

  .pb-footer-inner {
    grid-template-columns: 1fr;
    gap: var(--s-md);
  }
}

@media (max-width: 640px) {
  :root { --s-xl: 3.5rem; }

  .pb-menu-toggle { display: flex; }

  .pb-nav {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    background: var(--pb-charcoal-deep);
    border-bottom: 2px solid var(--pb-orange);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }

  .pb-nav.open { display: flex; }
  .pb-nav a { width: 100%; text-align: center; padding: 0.75rem; }

  .pb-hero-stats-inner { grid-template-columns: repeat(2, 1fr); }

  .pb-benefits-grid { grid-template-columns: 1fr; }
  .pb-docs-grid { grid-template-columns: 1fr; }
}

 /* ── FIX 1: Logo stays inside header (keep this) ─────────── */
    .pb-logo {
      max-height: 50px;
      overflow: hidden;
    }
    .pb-logo img {
      height: 44px !important;
      max-height: 44px !important;
      max-width: 200px;
      width: auto !important;
      object-fit: contain;
      object-position: left center;
    }

    /* ── FIX 2: Hero — text left + mascot right, aligned with sections ── */
    .pb-hero {
      display: grid !important;
      grid-template-columns: 1fr 1fr !important;
      align-items: center;
    }

    .pb-hero-content {
      max-width: none !important;
      margin-inline: 0 !important;
      /* Left padding grows with viewport to align with sections below */
      padding-left: max(1.5rem, calc((100vw - 1160px) / 2)) !important;
      padding-right: 2rem !important;
      padding-top: 4rem;
      padding-bottom: 4rem;
    }

    /* Mobile: stack vertically */
    @media (max-width: 860px) {
      .pb-hero {
        grid-template-columns: 1fr !important;
      }
      .pb-hero-content {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
        text-align: center;
        padding-top: 2.5rem;
        padding-bottom: 1rem;
      }
    }

 /* ── Mobile nav: hidden by default, only shows when JS adds .open ── */
    @media (max-width: 640px) {
      .pb-nav {
        display: none !important;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #1e2125;
        border-bottom: 2px solid #E8651A;
        flex-direction: column;
        padding: 0.75rem;
        gap: 0.25rem;
        box-shadow: 0 8px 24px rgba(0,0,0,0.5);
        z-index: 999;
      }
      .pb-nav.open {
        display: flex !important;
      }
      .pb-nav a {
        width: 100%;
        text-align: center;
        padding: 0.85rem 1rem;
        border-radius: 4px;
      }
      .pb-menu-toggle {
        display: flex !important;
      }
    }

    @media (min-width: 641px) {
      .pb-menu-toggle {
        display: none !important;
      }
    }
/* ================================================================
   ACCESSIBILITY
   ================================================================ */
*:focus-visible {
  outline: 3px solid var(--pb-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
  word-wrap: normal;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ══════════════════════════════════════════════════════
       PROFESSIONAL ANIMATION SYSTEM
       All GPU-accelerated (transform + opacity only)
       ══════════════════════════════════════════════════════ */

    /* ── Global transition polish ──────────────────────── */
    *, *::before, *::after {
      transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    /* ── Mascot: smooth CSS float (replaces jittery JS) ── */
    .pb-hero-mascot img {
      animation: mascotFloat 4s ease-in-out infinite;
      will-change: transform;
    }

    @keyframes mascotFloat {
      0%, 100% { transform: translateY(0px);   }
      50%       { transform: translateY(-12px); }
    }

    /* ── Hero content: fade in on load ─────────────────── */
    .pb-hero-content {
      animation: fadeSlideUp 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    .pb-hero-mascot {
      animation: fadeSlideLeft 1.1s cubic-bezier(0.4, 0, 0.2, 1) both;
      animation-delay: 0.15s;
    }

    @keyframes fadeSlideUp {
      from { opacity: 0; transform: translateY(28px); }
      to   { opacity: 1; transform: translateY(0);    }
    }

    @keyframes fadeSlideLeft {
      from { opacity: 0; transform: translateX(32px); }
      to   { opacity: 1; transform: translateX(0);    }
    }

    /* ── Scroll reveal: sections fade in as they enter ─── */
    .pb-reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
                  transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform, opacity;
    }

    .pb-reveal.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Staggered children inside revealed sections */
    .pb-reveal-child {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                  transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      will-change: transform, opacity;
    }

    .pb-reveal-child.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* ── Benefit cards: smooth hover, no jump ───────────── */
    .pb-benefit-card {
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                  box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                  border-color 0.3s ease !important;
      will-change: transform;
    }

    .pb-benefit-card:hover {
      transform: translateY(-5px) !important;
    }

    /* ── Doc cards: smooth lift ─────────────────────────── */
    .pb-doc-card {
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                  box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                  border-color 0.3s ease !important;
      will-change: transform;
    }

    .pb-doc-card:hover {
      transform: translateY(-4px) !important;
    }

    /* ── Step numbers: smooth scale on hover ────────────── */
    .pb-step-num {
      transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
                  background 0.25s ease,
                  box-shadow 0.25s ease !important;
    }

    .pb-step:hover .pb-step-num {
      transform: scale(1.12) !important;
    }

    /* ── Buttons: smooth, no jump ───────────────────────── */
    .pb-btn-primary,
    .pb-btn-secondary {
      transition: background 0.2s ease,
                  transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                  box-shadow 0.2s ease !important;
    }

    /* ── Header: smooth shadow on scroll ───────────────── */
    .pb-header {
      transition: box-shadow 0.3s ease !important;
    }

    /* ── Nav links: smooth color change ─────────────────── */
    .pb-nav a {
      transition: color 0.2s ease, background 0.2s ease !important;
    }

    /* ── Orange badge pulse: subtle, slow ──────────────── */
    .pb-hero-badge::before {
      animation: subtlePulse 3s ease-in-out infinite !important;
    }

    @keyframes subtlePulse {
      0%, 100% { opacity: 1;   transform: scale(1);    }
      50%       { opacity: 0.4; transform: scale(0.75); }
    }

    /* ── Stats strip: slide up on load ─────────────────── */
    .pb-hero-stats {
      animation: fadeSlideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) both;
      animation-delay: 0.4s;
    }

    /* ── Respect reduced motion ─────────────────────────── */
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
      }
    }

    /* ══════════════════════════════════════════════════════
       MOBILE MENU — Smooth overlay with blur backdrop
       ══════════════════════════════════════════════════════ */

    /* Full-screen blur overlay behind the menu */
    .pb-menu-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.55);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1);
      z-index: 998;
    }

    .pb-menu-overlay.is-open {
      opacity: 1;
      pointer-events: all;
    }

    /* Mobile nav: slides down from top, frosted glass feel */
    @media (max-width: 640px) {
      .pb-nav {
        display: flex !important;
        flex-direction: column !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(20, 24, 28, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-bottom: 2px solid #E8651A !important;
        padding: 1.25rem !important;
        gap: 0.35rem !important;
        z-index: 999 !important;
        box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5) !important;

        /* Hidden state — slides UP off screen */
        transform: translateY(-110%) !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transition:
          transform 0.48s cubic-bezier(0.4, 0, 0.2, 1),
          opacity   0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
      }

      /* Open state — slides DOWN into view */
      .pb-nav.open {
        transform: translateY(0) !important;
        opacity: 1 !important;
        pointer-events: all !important;
        transition:
          transform 0.48s cubic-bezier(0.16, 1, 0.3, 1),
          opacity   0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
      }

      /* Each link fades in with stagger when menu opens */
      .pb-nav a {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem !important;
        border-radius: 6px !important;
        opacity: 0;
        transform: translateY(8px);
        transition:
          opacity   0.3s cubic-bezier(0.4, 0, 0.2, 1),
          transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
          color     0.2s ease,
          background 0.2s ease !important;
      }

      .pb-nav.open a:nth-child(1) { opacity:1; transform:translateY(0); transition-delay: 0.08s !important; }
      .pb-nav.open a:nth-child(2) { opacity:1; transform:translateY(0); transition-delay: 0.14s !important; }
      .pb-nav.open a:nth-child(3) { opacity:1; transform:translateY(0); transition-delay: 0.20s !important; }
      .pb-nav.open a:nth-child(4) { opacity:1; transform:translateY(0); transition-delay: 0.26s !important; }
      .pb-nav.open a:nth-child(5) { opacity:1; transform:translateY(0); transition-delay: 0.32s !important; }
    }

    /* ══════════════════════════════════════════════════════
       CONTENT PROTECTION
       Disable select, drag, right-click, zoom
       ══════════════════════════════════════════════════════ */

    /* No text selection anywhere */
    body, body * {
      -webkit-user-select: none !important;
      -moz-user-select: none !important;
      -ms-user-select: none !important;
      user-select: none !important;
      -webkit-touch-callout: none !important;
    }

    /* No image dragging */
    img {
      -webkit-user-drag: none !important;
      user-drag: none !important;
      pointer-events: none !important;
    }

    /* Re-enable pointer events on clickable elements */
    a img, a, button, [role="button"] {
      pointer-events: auto !important;
    }