/*
Theme Name: Prizm PAC Theme
Theme URI: https://example.com/prizm-pac-theme
Author: Your Name
Author URI: https://example.com
Description: Custom lightweight theme for Prizm Advisory Consultants.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prizm-pac-theme
Tags: custom-logo, one-column, accessibility-ready
*/

/*=============== Design System Tokens ===============*/
:root {
  --prizm-green: #1A3D2F;
  --prizm-blue: #0B5FA5;
  --ink: #0B1B2B;
  --muted: #5B6B7A;
  --bg: #F6F8FB;
  --tint: #F1F6F3;
  --card: #FFFFFF;
  --border: rgba(11, 27, 43, 0.08);
  --shadow: 0 10px 30px rgba(11, 27, 43, 0.08);
  --radius: 16px;
  --container: 1240px;
  --hero-image: none;
}

/*=============== Global Styles ===============*/
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}
p, .subhead { color: var(--muted); line-height: 1.7; }
.hero .subhead, .who-intro .who-sub, .services-intro .services-sub { max-width: 60ch; }
a { color: var(--prizm-green); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

/* Typography */
h1, h2, h3, h4, h5, h6 { color: var(--ink); margin: 1.2em 0 0.5em; line-height: 1.2; font-weight: 600; }
p, .card-desc, .who-sub, .services-sub { color: var(--muted); }
ul, ol { margin: 0 0 1.2em 1.25em; }

/* Layout */
.wrap { width: 92%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/*=============== Header ===============*/
.site-header { padding: 0.5rem 0; position: sticky; top: 0; background: transparent; z-index: 100; }
.site-header .wrap { padding: 0; }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; margin: 0 auto; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.9rem 1.5rem; box-shadow: var(--shadow); gap: 1.5rem; }
.site-branding { font-weight: 700; font-size: 1.25rem; line-height: 1; }
.site-branding a { color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.site-branding a:hover { opacity: 0.85; }
.site-branding .site-logo-icon { flex-shrink: 0; display: flex; color: var(--prizm-green); }
.site-branding .site-logo-icon svg { display: block; }
.site-branding .site-logo-icon path { fill: currentColor; }
.site-branding .site-logo-icon path:nth-of-type(2) { opacity: 0.7; }
.site-branding .site-logo-icon path:nth-of-type(3) { opacity: 0.35; }

.primary-menu ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1.5rem; }
.primary-menu a { color: var(--ink); font-weight: 500; font-size: 0.9rem; position: relative; padding: 0.25rem 0; }
.primary-menu a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--prizm-green); transition: width 0.2s; }
.primary-menu a:hover::after, .primary-menu .current-menu-item > a::after { width: 100%; }
.primary-menu .current-menu-item > a { color: var(--prizm-green); }

.header-cta {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  border-radius: 10px;
  background: var(--prizm-green);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(26, 61, 47, 0.2);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.header-cta:hover { background: #0f2e23; color: #fff; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26, 61, 47, 0.25); }

/*=============== Components – Cards ===============*/
.card,
.service-card,
.who-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(11, 27, 43, 0.08);
  padding: 24px 24px 22px;
  text-align: left;
  min-height: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
}
.card:hover, .service-card:hover, .who-card:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(11, 27, 43, 0.1); }

.card h3, .service-card h3, .who-card h3 { margin: 8px 0 6px; font-size: 1.08rem; font-weight: 600; color: var(--ink); }
.card p, .service-card p, .who-card p { margin: 0 0 12px; color: var(--muted); font-size: 0.95rem; line-height: 1.6; }

.card-link {
  display: inline-flex;
  gap: 8px;
  font-weight: 600;
  color: var(--prizm-green);
  text-decoration: none;
  margin-top: 6px;
  font-size: 0.9rem;
}
.card a:hover .card-link, .service-card:hover .card-link, .who-card:hover .card-link { text-decoration: underline; }
.card-desc { margin: 0 0 12px; flex: none; }

/* Section spacing: 72px desktop, 52px mobile */
section { padding: 52px 0; }
@media (min-width: 900px) { section { padding: 72px 0; } }

h1 { font-size: clamp(2rem, 5vw + 1rem, 3.5rem); font-weight: 700; line-height: 1.12; max-width: 20ch; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
@media (min-width: 768px) { h2 { font-size: 2rem; } h3 { font-size: 1.3rem; } }

section.light { background: var(--bg); }
section.muted { background: var(--tint); }

/* Hero – CSS layers: base gradient, green wave overlay (:after), vignette (:before) */
.hero,
.prizm-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  color: var(--ink);
}
@media (min-width: 768px) {
  .hero,
  .prizm-hero { padding: 96px 0; min-height: 78vh; display: flex; align-items: center; }
}

/* Layer 1: Base gradient */
.hero-dark {
  background: linear-gradient(135deg, #eaf2ff 0%, #f6f8fb 55%, #f1f6f3 100%);
}

/* Layer 2: Vignette (::before) – darker edges, clearly visible */
.hero::before,
.prizm-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 85% at 50% 50%, transparent 25%, rgba(11, 27, 43, 0.08) 70%, rgba(11, 27, 43, 0.14) 100%);
  pointer-events: none;
  z-index: 0;
}

/* Layer 3: Green wave overlay (::after) – bottom-right, visible green wash */
.hero::after,
.prizm-hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  right: -10%;
  width: 55%;
  height: 65%;
  background: radial-gradient(ellipse 70% 70% at 95% 95%, rgba(26, 61, 47, 0.35) 0%, rgba(26, 61, 47, 0.12) 40%, transparent 70%);
  transform: skew(-12deg, 3deg);
  pointer-events: none;
  z-index: 0;
}

.hero-dark .eyebrow { color: var(--ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; margin-bottom: 0.75rem; }
.hero-dark .subhead { color: var(--muted); margin: 1rem 0 1.5rem; font-size: 1rem; line-height: 1.7; }
.hero-dark h1 { color: var(--ink); margin-top: 0; }
.hero-grid { display: flex; flex-direction: column; gap: 2rem; margin: 0 auto; max-width: 1240px; position: relative; z-index: 1; }
@media (min-width: 768px) { .hero-grid { flex-direction: row; align-items: center; gap: 3rem; } }
.hero-text { flex: 1 1 55%; text-align: left; max-width: 540px; }
.hero-visual,
.prizm-hero-media {
  flex: 0 0 45%;
  position: relative;
  min-height: 360px;
  background-color: #eef2f5;
  background-image: var(--hero-bg-url, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 50px rgba(11, 27, 43, 0.12);
}
.hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); }
.hero .buttons { margin-top: 1.75rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons – 44px height, radius 10px */
.hero .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.hero .button.primary { background: #1A3D2F; color: #fff; border: none; }
.hero .button.primary:hover { background: #0f2e23; color: #fff; text-decoration: none; }
.hero .button.secondary { background: #fff; border: 1px solid rgba(11, 27, 43, 0.18); color: var(--ink); }
.hero .button.secondary:hover { background: rgba(255,255,255,0.95); color: var(--ink); text-decoration: none; }

/* Global button fallback (non-hero) */
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}
.button.primary { background: var(--prizm-green); color: #fff; border: 1px solid transparent; }
.button.primary:hover { background: #0f2e23; color: #fff; text-decoration: none; }
.button.secondary { background: var(--card); border: 2px solid var(--prizm-green); color: var(--prizm-green); }
.button.secondary:hover { background: rgba(26, 61, 47, 0.05); color: var(--prizm-green); text-decoration: none; }

/* Grid */
.grid { display: grid; gap: 1.5rem; }
.grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.cols-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.cols-6 { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }

/* Forms */
form.contact-form { display: flex; flex-direction: column; gap: 1rem; max-width: 600px; margin: 0 auto; }
form.contact-form input,
form.contact-form textarea { width: 100%; padding: 0.65rem 0.85rem; border: 1px solid var(--border); border-radius: 10px; font-family: inherit; font-size: 1rem; }
form.contact-form textarea { min-height: 140px; }

/* Hero image card + “What we deliver” pill */
.hero-deliver-btn { position: absolute; bottom: 24px; right: 24px; background: var(--ink); color: #fff; border-radius: 30px; padding: 0.7rem 1.35rem; font-weight: 600; font-size: 0.9rem; text-decoration: none; z-index: 3; transition: opacity 0.2s ease; }
.hero-deliver-btn:hover { color: #fff; background: var(--ink); opacity: 0.9; }
.prizm-hero-media img { width: 100%; height: auto; display: block; object-fit: cover; object-position: 70% center; border-radius: 18px; }

/* Who We Help – centered, subtle pattern, icon circles, button CTAs */
.prizm-who {
  background: linear-gradient(180deg, #FAFCFA 0%, #F5F9F6 100%);
  position: relative;
  overflow: hidden;
}
.prizm-who::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 10% 20%, rgba(212, 228, 220, 0.4) 0%, transparent 50%),
                    radial-gradient(circle at 90% 80%, rgba(212, 228, 220, 0.35) 0%, transparent 50%);
  pointer-events: none;
}
.prizm-who-light { background: transparent; }
.prizm-who .wrap { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 1; }
.prizm-who .who-intro { text-align: center; max-width: 620px; margin-bottom: 0; }
.prizm-who .who-intro h2 { margin: 0 0 0.5rem; font-weight: 700; color: var(--ink); }
.prizm-who .who-sub { margin: 0; color: var(--ink); line-height: 1.65; font-size: 1rem; }
.prizm-who .who-sub strong { color: var(--prizm-green); font-weight: 600; }
.prizm-who .who-cards { margin: 0; max-width: 100%; }
.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 36px; max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; max-width: 400px; } }
.prizm-who .who-card { padding: 2rem 1.75rem; min-height: 0; text-align: center; align-items: center; }
.prizm-who .who-icon-wrap {
  width: 56px; height: 56px;
  border: 2px solid #B8D4C4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.prizm-who .who-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: #7BA890; }
.prizm-who .who-icon svg { width: 26px; height: 26px; }
.prizm-who .who-card h3 { text-align: center; }
.prizm-who .who-card .card-desc { text-align: center; }
.prizm-who .card-link {
  display: inline-block;
  background: var(--prizm-green);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  margin-top: 0.75rem;
  transition: background 0.2s;
}
.prizm-who .who-card:hover .card-link { background: #0f2e23; text-decoration: none; }
.prizm-who .card-link::after { content: " →"; }

/* Credibility strip */
.cred-strip {
  background: linear-gradient(180deg, #F5F9F6 0%, #F0F5F2 100%);
  color: var(--ink);
  padding: 3.5rem 0;
  text-align: center;
}
.cred-strip h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 1.5rem; color: var(--ink); line-height: 1.6; max-width: 720px; margin-left: auto; margin-right: auto; }
.cred-strip h3 strong { color: var(--prizm-green); font-weight: 600; }
.cred-bullets { display: block; list-style: disc; text-align: left; margin: 0 auto; max-width: 520px; color: var(--muted); padding-left: 1.25rem; line-height: 1.8; }
.cred-bullets li { margin-bottom: 0.35rem; }

/* Our Services – darker green gradient band, white cards */
.services-section { background: var(--bg); }
.services-dark {
  background: linear-gradient(165deg, var(--prizm-green) 0%, #152a22 100%);
  color: #fff;
}
.section--band {
  background: radial-gradient(1200px 500px at 20% 0%, rgba(255,255,255,0.08) 0%, transparent 60%),
              linear-gradient(180deg, #123428 0%, #0f2a21 100%);
  color: #fff;
}
.section--band .section-title,
.section--band .section-subtitle,
.section--band h2,
.section--band .services-sub { color: rgba(255,255,255,0.92); }
.services-dark h2, .services-dark .services-sub { color: rgba(255,255,255,0.9); }
.services-dark .services-sub { font-size: 0.95rem; }
.services-intro { text-align: left; }
.services-sub { margin: 0.5rem 0 0; max-width: 560px; line-height: 1.65; }
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
@media (max-width: 900px) { .services-grid { grid-template-columns: 1fr; } }
.service-card { padding: 24px 24px 22px; min-height: 0; }
.service-icon-wrap { margin-bottom: 8px; }
.service-icon { display: flex; align-items: center; justify-content: flex-start; color: var(--prizm-green); }
.service-icon svg { width: 28px; height: 28px; }
@media (max-width: 900px) { .cred-bullets { grid-template-columns: 1fr; } }

/* Footer – deep green/ink, lighter text */
.site-footer { padding: 2.5rem 0; background: var(--ink); color: rgba(255, 255, 255, 0.9); font-size: 0.9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-footer a { color: rgba(255, 255, 255, 0.95); text-decoration: none; }
.site-footer a:hover { opacity: 0.85; }
.footer-brand { display: flex; align-items: center; gap: 0.5rem; }
.footer-brand .site-logo-icon svg { display: block; }
.footer-brand .site-logo-icon path { fill: rgba(255, 255, 255, 0.9); }
.footer-brand .site-logo-icon path:first-of-type { fill: var(--prizm-green); }
.footer-nav { display: flex; gap: 22px; align-items: center; justify-content: center; flex-wrap: wrap; }
.footer-nav ul { display: flex; gap: 22px; align-items: center; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.footer-nav li { margin: 0; }
.footer-nav a { color: rgba(255,255,255,0.85); text-decoration: none; }
.footer-nav a:hover { color: #fff; opacity: 1; }
.footer-contact { text-align: right; }
.footer-contact p { margin: 0.25rem 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.9); }
.footer-social { display: flex; gap: 1rem; margin-top: 0.5rem; }
.footer-social a { display: flex; align-items: center; }
.footer-social svg { width: 20px; height: 20px; opacity: 0.9; }
@media (max-width: 768px) { .site-footer .wrap { flex-direction: column; text-align: center; } .footer-contact { text-align: center; } }

/* PRIZM HERO - PREMIUM MOCK */
.hero.prizm-hero{
  position: relative;
  overflow: hidden;
  background: #f6f8fb !important;
  background-color: #f6f8fb;
  padding: 96px 0;
}

.hero.prizm-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(1200px 600px at 14% 18%, rgba(234,242,255,0.95) 0%, rgba(234,242,255,0.0) 60%),
    radial-gradient(1000px 500px at 85% 0%, rgba(241,246,243,0.70) 0%, rgba(241,246,243,0.0) 55%),
    linear-gradient(180deg, #f6f8fb 0%, #f2f4f1 100%) !important;
}

.hero.prizm-hero::after{
  content:"";
  position:absolute;
  right:-140px;
  bottom:-160px;
  width: 980px;
  height: 560px;
  z-index:0;
  background:
    radial-gradient(closest-side, rgba(26,61,47,0.26) 0%, rgba(26,61,47,0.00) 72%),
    radial-gradient(closest-side, rgba(11,95,165,0.08) 0%, rgba(11,95,165,0.00) 74%);
  transform: rotate(-8deg);
  filter: blur(2px);
  opacity: 1;
  pointer-events:none;
}

.hero.prizm-hero .wrap,
.hero.prizm-hero .hero-grid{
  position: relative;
  z-index: 1;
}

.hero.prizm-hero .hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 44px;
  align-items: center;
}

.hero.prizm-hero .eyebrow{
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11,27,43,0.70);
}

.hero.prizm-hero h1{
  color: #0B1B2B;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 10px 0 14px;
}

.hero.prizm-hero .subhead{
  color: rgba(11,27,43,0.72);
  line-height: 1.7;
  max-width: 60ch;
}

.hero.prizm-hero .buttons{
  display:flex;
  gap: 14px;
  align-items:center;
  margin-top: 22px;
}

.hero.prizm-hero .button.primary{
  background: #1A3D2F;
  color: #fff;
  border: 1px solid rgba(26,61,47,0.35);
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  box-shadow: 0 10px 24px rgba(11,27,43,0.14);
}

.hero.prizm-hero .button.secondary{
  background: rgba(255,255,255,0.88);
  color: #0B1B2B;
  border: 1px solid rgba(11,27,43,0.18);
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
}

.hero.prizm-hero .button.primary:hover{
  background: #163429;
  transform: translateY(-1px);
}

.hero.prizm-hero .button.secondary:hover{
  background: #ffffff;
  transform: translateY(-1px);
}

.hero.prizm-hero .prizm-hero-media{
  background-color: #eef2f5;
  background-image: var(--hero-bg-url, none);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 18px 50px rgba(11,27,43,0.14);
}

.hero.prizm-hero .prizm-hero-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
}

.hero.prizm-hero .hero-deliver-btn{
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: #1A3D2F;
  color: #fff;
  border: 1px solid rgba(26,61,47,0.4);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(11,27,43,0.14);
}
.hero.prizm-hero .hero-deliver-btn:hover{
  background: #163429;
  color: #fff;
}

@media (max-width: 980px){
  .hero.prizm-hero{ padding: 64px 0; }
  .hero.prizm-hero .hero-grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
}

/* PRIZM WHO + SERVICES - MATCH REFERENCE */
.section{
  padding: 76px 0;
}
@media (max-width: 980px){
  .section{ padding: 56px 0; }
}

/* WHO WE HELP background (light tint with subtle texture) */
.section.who.section--tint{
  position: relative;
  overflow: hidden;
  background: #f6f8fb;
}
.section.who.section--tint::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:
    radial-gradient(900px 420px at 20% 10%, rgba(234,242,255,0.55) 0%, rgba(234,242,255,0) 65%),
    radial-gradient(900px 520px at 82% 18%, rgba(241,246,243,0.70) 0%, rgba(241,246,243,0) 60%),
    linear-gradient(180deg, #f6f8fb 0%, #f3f5f3 100%);
}
.section.who.section--tint::after{
  content:"";
  position:absolute;
  right:-220px;
  bottom:-260px;
  width: 980px;
  height: 520px;
  z-index:0;
  background:
    radial-gradient(closest-side, rgba(26,61,47,0.10) 0%, rgba(26,61,47,0.00) 72%);
  transform: rotate(-8deg);
  filter: blur(2px);
  pointer-events:none;
}
.section.who.section--tint .wrap{
  position: relative;
  z-index: 1;
}

/* WHO WE HELP heading */
.who .section-title{
  text-align:center;
  color:#0B1B2B;
  margin: 0 0 6px;
}
.who .section-subtitle{
  text-align:center;
  color: rgba(11,27,43,0.70);
  max-width: 60ch;
  margin: 0 auto 28px;
  line-height: 1.65;
}

/* WHO cards */
.who-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
  margin-top: 10px;
}
@media (max-width: 980px){
  .who-grid{ grid-template-columns: 1fr; }
}
.who-card{
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(11,27,43,0.08);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 14px 34px rgba(11,27,43,0.10);
  backdrop-filter: blur(3px);
}
.who-card .who-icon-wrap{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(26,61,47,0.08);
  color: #1A3D2F;
  margin-bottom: 10px;
}
.who-card .who-icon-wrap .who-icon,
.who-card .who-icon-wrap .who-icon svg{
  width: 22px;
  height: 22px;
}
.who-card h3{
  margin: 0 0 6px;
  color:#0B1B2B;
  font-size: 18px;
}
.who-card p,
.who-card .card-desc{
  margin: 0 0 14px;
  color: rgba(11,27,43,0.70);
  line-height: 1.6;
}
.who-card .card-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: #1A3D2F;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(11,27,43,0.14);
}
.who-card:hover .card-link{ background:#163429; transform: translateY(-1px); }

/* Credibility block */
.credibility{
  margin-top: 26px;
  text-align:center;
}
.credibility .cred-title{
  font-weight: 800;
  color:#0B1B2B;
  margin: 0 0 10px;
}
.cred-list{
  list-style: disc;
  padding-left: 18px;
  margin: 0 auto;
  max-width: 820px;
  display: inline-block;
  text-align: left;
  color: rgba(11,27,43,0.72);
  line-height: 1.7;
}
.cred-list li{ margin: 6px 0; }

/* OUR SERVICES band (dark green with wave texture) */
.section.services.section--band{
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #143a2d 0%, #0f2a21 100%);
  color: #fff;
}
.section.services.section--band::before{
  content:"";
  position:absolute;
  inset:-120px -120px -140px -120px;
  z-index:0;
  background:
    radial-gradient(900px 520px at 18% 30%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0) 62%),
    radial-gradient(900px 520px at 80% 18%, rgba(11,95,165,0.10) 0%, rgba(11,95,165,0) 64%),
    radial-gradient(900px 520px at 70% 85%, rgba(26,61,47,0.35) 0%, rgba(26,61,47,0) 70%);
  transform: rotate(-2deg);
  filter: blur(1px);
}
.section.services.section--band::after{
  content:"";
  position:absolute;
  right:-260px;
  bottom:-280px;
  width: 1200px;
  height: 700px;
  z-index:0;
  background:
    radial-gradient(closest-side, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 70%),
    radial-gradient(closest-side, rgba(26,61,47,0.22) 0%, rgba(26,61,47,0) 72%);
  transform: rotate(-10deg);
  filter: blur(2px);
}
.section.services.section--band .wrap{
  position: relative;
  z-index: 1;
}

/* Services heading */
.services .section-title{
  text-align:center;
  margin: 0 0 6px;
  color: rgba(255,255,255,0.95);
}
.services .section-subtitle{
  text-align:center;
  margin: 0 auto 28px;
  max-width: 60ch;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}

/* Services grid + cards */
.services-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 6px;
}
@media (max-width: 980px){
  .services-grid{ grid-template-columns: 1fr; }
}
.service-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(11,27,43,0.10);
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  color: #0B1B2B;
}
.service-card .service-icon-wrap{
  width: 34px;
  height: 34px;
  display:grid;
  place-items:center;
  border-radius: 10px;
  background: rgba(26,61,47,0.10);
  color: #1A3D2F;
  margin-bottom: 10px;
}
.service-card .service-icon-wrap .service-icon,
.service-card .service-icon-wrap .service-icon svg{
  width: 22px;
  height: 22px;
}
.service-card h3{
  margin: 0 0 6px;
  font-size: 18px;
  color:#0B1B2B;
}
.service-card p,
.service-card .card-desc{
  margin: 0 0 14px;
  color: rgba(11,27,43,0.72);
  line-height: 1.6;
}
.service-card .card-link{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  background: #1A3D2F;
  border-radius: 10px;
  padding: 10px 14px;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(11,27,43,0.14);
}
.service-card:hover .card-link{ background:#163429; transform: translateY(-1px); }

/* Defensive overrides */
.who-card, .service-card{
  text-align: left !important;
}
.who-card *, .service-card *{
  list-style: none;
}
.who-grid > *, .services-grid > *{
  min-width: 0;
}


/* ==============================
   PRIZM HOTFIX: HERO CENTERING + NAV HOVER UNDERLINE
   Applied: 2026-02-16
   ============================== */

/* 1) Kill native underline in the top pill nav so we don't get double underline */
.site-header a,
.site-header a:hover,
.site-header a:focus,
.site-header a:active,
.site-header .primary-menu a,
.site-header .primary-menu a:hover,
.site-header .primary-menu a:focus {
  text-decoration: none !important;
}

.site-header .primary-menu a span,
.site-header .primary-menu a:hover span,
.site-header .primary-menu a:focus span {
  text-decoration: none !important;
}

/* If any underline is coming from borders/box-shadows on the anchor itself, clear them.
   (We keep your intended underline effect on the span/pseudo-elements if defined elsewhere.) */
.site-header .primary-menu a {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* 2) True centered "landing hero" column for Who We Help + Services */
.page-template-page-who-we-help main > section:first-of-type .wrap,
.page-template-page-services main > section:first-of-type .wrap,
.page-template-page-provider-groups main > section:first-of-type .wrap,
.page-template-page-health-plans main > section:first-of-type .wrap,
body.page-id-0 main > section:first-of-type .wrap {
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 24px !important;
  padding-right: 24px !important;
}

/* Center all hero text + buttons in those landing heroes */
.page-template-page-who-we-help main > section:first-of-type,
.page-template-page-services main > section:first-of-type,
.page-template-page-provider-groups main > section:first-of-type,
.page-template-page-health-plans main > section:first-of-type {
  text-align: center !important;
}

.page-template-page-who-we-help main > section:first-of-type .buttons,
.page-template-page-services main > section:first-of-type .buttons,
.page-template-page-provider-groups main > section:first-of-type .buttons,
.page-template-page-health-plans main > section:first-of-type .buttons {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Some templates use .btn-row instead of .buttons */
.page-template-page-who-we-help main > section:first-of-type .btn-row,
.page-template-page-services main > section:first-of-type .btn-row,
.page-template-page-provider-groups main > section:first-of-type .btn-row,
.page-template-page-health-plans main > section:first-of-type .btn-row {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

/* 3) If the hero background glow is offset, force it to center */
.page-template-page-who-we-help main > section:first-of-type::before,
.page-template-page-services main > section:first-of-type::before,
.page-template-page-provider-groups main > section:first-of-type::before,
.page-template-page-health-plans main > section:first-of-type::before {
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* 4) Make sure the eyebrow line is centered, regardless of its own width */
.page-template-page-who-we-help main > section:first-of-type .eyebrow,
.page-template-page-services main > section:first-of-type .eyebrow,
.page-template-page-provider-groups main > section:first-of-type .eyebrow,
.page-template-page-health-plans main > section:first-of-type .eyebrow {
  display: inline-flex !important;
  justify-content: center !important;
  width: auto !important;
}

/* ==============================
   PRIZM FIX: INTERNAL HERO TRUE CENTERING (slug templates)
   Reason: WordPress "page-services.php" / "page-who-we-help.php" are slug templates,
   so body_class does NOT include page-template-page-services.
   These rules target the actual hero section classes instead.
   ============================== */

/* Services page hero uses: <section class="section page-hero"> */
main > section.page-hero,
main > section.page-hero .wrap{
  text-align: center !important;
}

main > section.page-hero .wrap{
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Default h1 has max-width:20ch which makes it look left-biased when centered.
   Force true centering by auto margins + a slightly wider readable measure. */
main > section.page-hero h1{
  max-width: 24ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main > section.page-hero .lead{
  max-width: 80ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

main > section.page-hero .hero-actions,
main > section.page-hero .buttons{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* Who We Help hero uses: first section is "section who section--tint" with a centered wrap.
   Apply only to the FIRST section on that page so we don't touch later tint sections. */
body.page main > section.section--tint:first-of-type,
body.page main > section.section--tint:first-of-type .wrap{
  text-align: center !important;
}

body.page main > section.section--tint:first-of-type .wrap{
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page main > section.section--tint:first-of-type h1{
  max-width: 24ch !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.page main > section.section--tint:first-of-type .section-subtitle,
body.page main > section.section--tint:first-of-type p{
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

body.page main > section.section--tint:first-of-type .buttons,
body.page main > section.section--tint:first-of-type .hero-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

/* =========================================
   PRIZM MOBILE HEADER - FINAL (condensed pill)
   This replaces the earlier experimental blocks.
   ========================================= */
@media (max-width: 820px) {

  /* Slightly reduce overall sticky header padding */
  .site-header { padding: 8px 0 !important; }
  .site-header .wrap { padding: 0 !important; }

  /* Force a 2-row grid inside the pill: brand + CTA, then nav */
  .site-header-inner{
    display: grid !important;
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand cta"
      "nav nav" !important;
    align-items: center !important;
    gap: 10px 12px !important;
    padding: 12px 14px !important;
    border-radius: 18px !important;
  }

  .site-branding{ grid-area: brand !important; min-width: 0 !important; }
  .header-cta{ grid-area: cta !important; justify-self: end !important; }
  .primary-menu{ grid-area: nav !important; width: 100% !important; }

  /* Keep the brand on one line and smaller */
  .site-branding a{
    gap: 10px !important;
  }
  .site-branding{
    font-size: 18px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* CTA stays green but compact */
  .header-cta{
    padding: 9px 12px !important;
    border-radius: 12px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  /* Nav: compact, centered, wrap by ITEM */
  .primary-menu ul{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px 12px !important;
  }

  .primary-menu li{ flex: 0 0 auto !important; }

  .primary-menu a{
    font-size: 15px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    display: inline-block !important;
  }
}
@media (max-width: 820px) {
  /* Move CTA out of the brand row so it can't overlap the title */
  .site-header-inner{
    grid-template-columns: 1fr auto !important;
    grid-template-areas:
      "brand brand"
      "nav cta" !important;
  }

  .site-branding{ justify-self: start !important; }
  .primary-menu{ justify-self: center !important; }
  .header-cta{
    justify-self: end !important;
    align-self: center !important;
    margin: 0 !important;
  }

  /* Keep spacing tight */
  .primary-menu{ padding-right: 8px !important; }
}
