/*
Theme Name: Allstar Medical Group
Theme URI: https://allstarmedicalgroup.com
Author: Allstar Medical Group
Description: Custom WordPress theme for Allstar Medical Group — premier telemedicine staffing solutions.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: Private
Text Domain: allstar-medical
*/

/* ══════════════════════════════════════
   CSS RESET & CUSTOM PROPERTIES
══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:        #1e2535;
  --navy-light:  #262f42;
  --navy-mid:    #2e3a52;
  --red:         #be1e24;
  --red-dark:    #9b1519;
  --white:       #ffffff;
  --off-white:   #f4f5f7;
  --gray:        #8a92a0;
  --gray-light:  #dde0e6;
  --text:        #1e2535;
  --body-text:   #4a5060;
}

html  { scroll-behavior: smooth; font-size: 115%; }
body  { font-family: 'Barlow', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; margin: 0; }
img   { max-width: 100%; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ══════════════════════════════════════
   SKIP LINK
══════════════════════════════════════ */
.skip-link {
  position: absolute; top: -100px; left: 16px; z-index: 9999;
  background: var(--red); color: var(--white); padding: 8px 16px;
  border-radius: 0 0 4px 4px; font-size: .85rem;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ══════════════════════════════════════
   NAVIGATION
══════════════════════════════════════ */
#site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(30,37,53,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 60px;
  transition: box-shadow .3s;
}
#site-header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.35); }

.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

/* Logo */
.site-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.site-logo svg { flex-shrink: 0; }

/* Primary nav */
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .88rem; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.7); transition: color .2s;
  position: relative;
}
.primary-nav a::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .25s;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item { color: var(--white); }
.primary-nav a:hover::after,
.primary-nav a.current-menu-item::after { transform: scaleX(1); }

.nav-book {
  background: var(--red) !important; color: var(--white) !important;
  padding: 6px 22px; border-radius: 3px;
  font-weight: 700 !important; letter-spacing: .2em !important;
}
.nav-book::after { display: none !important; }

/* Mobile burger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }

/* Mobile drawer */
.mobile-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 199; flex-direction: column;
  align-items: center; justify-content: center; gap: 36px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700;
  font-size: 1.8rem; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.75); transition: color .2s;
}
.mobile-nav a:hover { color: var(--white); }
.mobile-nav .nav-book { padding: 14px 40px; font-size: 1.2rem !important; }

/* ══════════════════════════════════════
   PAGE HERO BANNER (subpages)
══════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 140px 60px 80px;
  position: relative; overflow: hidden;
  text-align: center;
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.page-hero-eyebrow {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: .55em; text-transform: uppercase;
  color: var(--red); margin-bottom: 16px;
  display: flex; align-items: center; justify-content: center; gap: 12px;
  position: relative; z-index: 1;
  animation: fadeUp .5s .1s ease both;
}
.page-hero-eyebrow::before,
.page-hero-eyebrow::after { content: ''; width: 30px; height: 1px; background: var(--red); }
.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 5rem); letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); line-height: .95;
  position: relative; z-index: 1;
  animation: fadeUp .6s .2s ease both;
}
.page-hero-title em { color: var(--red); font-style: normal; }
.page-hero-sub {
  font-weight: 300; font-size: 1rem; color: rgba(255,255,255,.5);
  max-width: 560px; margin: 20px auto 0; line-height: 1.7;
  position: relative; z-index: 1;
  animation: fadeUp .6s .3s ease both;
}

/* Breadcrumb */
.breadcrumb {
  position: absolute; bottom: 24px; left: 60px;
  font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.3); display: flex; align-items: center; gap: 8px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 500;
  z-index: 1;
}
.breadcrumb a { color: rgba(255,255,255,.4); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: var(--red); }

/* ══════════════════════════════════════
   MAIN CONTENT WRAPPER
══════════════════════════════════════ */
.site-main { min-height: 50vh; }

/* ══════════════════════════════════════
   SECTION UTILITIES
══════════════════════════════════════ */
.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: 1rem; letter-spacing: .55em; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--red); }
.section-label.center { justify-content: center; }
.section-label.center::before { display: none; }

.section-h2 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem); letter-spacing: .03em; text-transform: uppercase;
  color: var(--navy); line-height: 1; margin-bottom: 24px;
}
.section-h2 em { color: var(--red); font-style: normal; }
.section-h2.light { color: var(--white); }

.section-body {
  font-weight: 400;
  font-size: 19px;
  line-height: 1.8;
  color: var(--body-text);
  max-width: 680px;
  margin-bottom: 28px;
}

.entry-content {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--body-text);
}

.entry-content strong {
  font-weight: 600;
}

.entry-content p,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content .wp-block-list,
.entry-content .wp-block-list li {
  margin: revert;
  padding: revert;
  list-style: revert;
}

/* Buttons */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--red); color: var(--white);
  padding: 16px 36px; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
}

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid var(--gray-light); color: var(--navy);
  padding: 14px 32px; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase;
  transition: border-color .2s, background .2s;
}
.btn-outline:hover { border-color: var(--red); background: rgba(190,30,36,.04); }

/* Reveal animation hook */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ══════════════════════════════════════
   FRONT PAGE — HERO
══════════════════════════════════════ */
.fp-hero {
  min-height: 100vh; background: var(--navy);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  position: relative; overflow: hidden; padding: 120px 40px 100px; text-align: center;
}
.fp-hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 80px 80px;
}
.fp-hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 1400px; height: 1400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(190,30,36,.08) 0%, transparent 65%); pointer-events: none;
}
.fp-hero-accent {
  position: absolute; right: -100px; top: -60px; width: 380px; height: 600px;
  background: linear-gradient(135deg, rgba(190,30,36,.12), transparent);
  transform: rotate(20deg); pointer-events: none;
}
.fp-hero-logo {
  position: relative; z-index: 1; margin-bottom: 48px;
  animation: scaleIn .8s .1s cubic-bezier(.16,1,.3,1) both;
}
.fp-hero-logo svg { width: 180px; height: 180px; margin: 0 auto; }
.fp-hero-tag {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: .78rem; letter-spacing: .55em; text-transform: uppercase; color: var(--red);
  margin-bottom: 18px; position: relative; z-index: 1;
  animation: fadeUp .6s .35s ease both;
  display: flex; align-items: center; justify-content: center; gap: 12px;
}
.fp-hero-tag::before, .fp-hero-tag::after { content: ''; width: 30px; height: 1px; background: var(--red); }
.fp-hero-h1 {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 900;
  font-size: clamp(3.5rem, 8vw, 7.5rem); letter-spacing: .04em; text-transform: uppercase;
  color: var(--white); line-height: .9;
  position: relative; z-index: 1; animation: fadeUp .7s .45s ease both;
}
.fp-hero-h1 em { color: var(--red); font-style: normal; }
.fp-hero-sub {
  font-weight: 300; font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: rgba(255,255,255,.55); max-width: 560px; line-height: 1.7; margin: 28px auto 0;
  position: relative; z-index: 1; animation: fadeUp .7s .55s ease both;
}
.fp-hero-actions {
  display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-top: 44px;
  position: relative; z-index: 1; animation: fadeUp .7s .65s ease both;
}
.fp-hero-actions .btn-outline-hero {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px solid rgba(255,255,255,.25); color: rgba(255,255,255,.8);
  padding: 16px 36px; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  transition: border-color .2s, color .2s, background .2s;
}
.fp-hero-actions .btn-outline-hero:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.05); }
.scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.3); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  animation: fadeUp .6s 1.1s ease both; z-index: 1;
}
.scroll-line { width: 1px; height: 44px; background: linear-gradient(to bottom, var(--red), transparent); animation: scrollPulse 2s infinite; }

/* ══════════════════════════════════════
   FRONT PAGE — STATS
══════════════════════════════════════ */
.fp-stats {
  background: var(--red);
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.fp-stat {
  padding: 40px 32px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
  position: relative; overflow: hidden; transition: background .25s;
}
.fp-stat:last-child { border-right: none; }
.fp-stat::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.12); opacity: 0; transition: opacity .25s; }
.fp-stat:hover::before { opacity: 1; }
.fp-stat-number { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 3rem; color: var(--white); letter-spacing: .02em; line-height: 1; }
.fp-stat-label { font-weight: 400; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ══════════════════════════════════════
   FRONT PAGE — ABOUT STRIP
══════════════════════════════════════ */
.fp-about {
  background: var(--off-white);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
}
.fp-about-image { position: relative; overflow: hidden; height: 600px; }
.fp-about-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) contrast(1.05); transition: transform .6s; }
.fp-about-image:hover img { transform: scale(1.03); }
.fp-about-image-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(190,30,36,.25), transparent 60%); }
.fp-about-badge {
  position: absolute; bottom: 32px; left: 32px;
  background: var(--red); color: var(--white); padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase;
}
.fp-about-content { padding: 80px 72px; }
.check-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-bottom: 40px; }
.check-list li { display: flex; align-items: flex-start; gap: 14px; font-size: .95rem; color: #4a5060; line-height: 1.5; }
.check-icon {
  flex-shrink: 0; width: 20px; height: 20px; background: var(--red); border-radius: 2px;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.check-icon svg { width: 11px; height: 11px; stroke: white; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════
   FRONT PAGE — SERVICES
══════════════════════════════════════ */
.fp-services { background: var(--navy); padding: 100px 60px; }
.fp-services-header { text-align: center; margin-bottom: 64px; }
.fp-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; max-width: 1200px; margin: 0 auto; }
.service-card {
  background: var(--navy-light); padding: 48px 40px;
  position: relative; overflow: hidden; transition: background .25s; cursor: default;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.service-card:hover { background: var(--navy-mid); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon {
  width: 52px; height: 52px; background: rgba(190,30,36,.15); border-radius: 4px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 28px;
  border: 1px solid rgba(190,30,36,.2);
}
.service-icon svg { width: 24px; height: 24px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.3rem; letter-spacing: .06em; text-transform: uppercase; color: var(--white); margin-bottom: 14px; }
.service-desc { font-weight: 300; font-size: .9rem; line-height: 1.75; color: rgba(255,255,255,.5); }
.service-number { position: absolute; top: 24px; right: 28px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 4rem; color: rgba(255,255,255,.04); line-height: 1; }

/* ══════════════════════════════════════
   FRONT PAGE — TEAM PREVIEW
══════════════════════════════════════ */
.fp-team { background: var(--white); padding: 100px 60px; }
.fp-team-header { text-align: center; margin-bottom: 64px; }
.fp-team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 1200px; margin: 0 auto; }
.team-card { background: var(--off-white); overflow: hidden; border-radius: 4px; transition: transform .25s, box-shadow .25s; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(30,37,53,.12); }
.team-photo { height: 260px; overflow: hidden; position: relative; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-info { padding: 24px; }
.team-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.15rem; letter-spacing: .05em; text-transform: uppercase; color: var(--navy); }
.team-role { font-size: .82rem; color: var(--red); font-weight: 500; letter-spacing: .08em; margin-top: 4px; text-transform: uppercase; }
.team-spec { font-size: .86rem; color: var(--gray); margin-top: 8px; line-height: 1.5; }

/* ══════════════════════════════════════
   CTA BAND
══════════════════════════════════════ */
.cta-band {
  background: var(--red); padding: 80px 60px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; right: -120px; top: -120px;
  width: 400px; height: 400px; border-radius: 50%; background: rgba(0,0,0,.08); pointer-events: none;
}
.cta-band-h2 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(2rem, 4vw, 3rem); text-transform: uppercase; letter-spacing: .04em; color: var(--white); line-height: 1; }
.cta-band-sub { font-weight: 300; color: rgba(255,255,255,.7); font-size: .97rem; margin-top: 12px; line-height: 1.6; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-white { display: inline-flex; align-items: center; gap: 10px; background: var(--white); color: var(--red); padding: 16px 36px; border-radius: 3px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; transition: background .2s, transform .2s; box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-outline-white { display: inline-flex; align-items: center; gap: 10px; border: 2px solid rgba(255,255,255,.5); color: var(--white); padding: 16px 36px; border-radius: 3px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .18em; text-transform: uppercase; transition: border-color .2s, background .2s; }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.1); }

/* ══════════════════════════════════════
   ABOUT PAGE
══════════════════════════════════════ */
.about-page { padding: 90px 60px; max-width: 1200px; margin: 0 auto; }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.about-intro-text .section-body { max-width: 100%; }
.about-intro-text .section-body + .section-body { margin-top: 20px; }
.about-mission {
  background: var(--navy); color: var(--white);
  padding: 56px 60px; position: relative; overflow: hidden;
  margin-top: 20px;
}
.about-mission-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: 1.2rem; letter-spacing: .5em; text-transform: uppercase; color: var(--red); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.about-mission-label::before { content: ''; width: 20px; height: 1.5px; background: var(--red); }
.about-mission-text { font-family: 'Barlow Condensed', sans-serif; font-weight: normal; font-size: 1.35rem; line-height: 1.5; letter-spacing: .02em; color: var(--white); }
.about-mission-text em { color: var(--red); font-style: normal; }
.about-mission-tagline { font-size: .9rem; color: rgba(255,255,255,.5); margin-top: 20px; font-weight: 300; font-style: italic; }

.about-image-side { position: relative; }
.about-image-side img { width: 100%; height: 500px; object-fit: cover; border-radius: 2px; }
.about-image-side::before { content: ''; position: absolute; top: -16px; left: -16px; right: 16px; bottom: 16px; border: 2px solid var(--red); border-radius: 2px; z-index: -1; opacity: .4; }

.about-pillars { background: var(--off-white); padding: 80px 60px; }
.about-pillars-inner { max-width: 1200px; margin: 0 auto; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-top: 48px; }
.pillar { background: var(--white); padding: 40px 36px; border-bottom: 3px solid transparent; transition: border-color .25s, box-shadow .25s; }
.pillar:hover { border-color: var(--red); box-shadow: 0 8px 30px rgba(0,0,0,.07); }
.pillar-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 3.5rem; color: rgba(190,30,36,.12); line-height: 1; margin-bottom: 16px; }
.pillar-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.2rem; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 12px; }
.pillar-body { font-size: .9rem; line-height: 1.7; color: var(--body-text); font-weight: 300; }

/* ══════════════════════════════════════
   ADVISORY BOARD PAGE
══════════════════════════════════════ */
.board-page { padding: 80px 60px; max-width: 1200px; margin: 0 auto; }
.board-intro { max-width: 900px; margin: 0 auto 72px; text-align: center; }
.board-intro .section-body { text-align: left; max-width: 100%; }

.board-section-title {
  font-family: 'Barlow Condensed', sans-serif; font-weight: 600;
  font-size: 1rem; letter-spacing: .45em; text-transform: uppercase;
  color: var(--red); border-bottom: 1px solid var(--gray-light);
  padding-bottom: 14px; margin-bottom: 36px;
  display: flex; align-items: center; gap: 14px;
}
.board-section-title::before { content: ''; width: 20px; height: 2px; background: var(--red); flex-shrink: 0; }

.board-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; margin-bottom: 64px; }
.board-member {
  background: var(--off-white); padding: 32px 28px;
  border-left: 3px solid transparent; transition: border-color .25s, background .25s;
}
.board-member:hover { border-left-color: var(--red); background: var(--white); }
.bm-name { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 1.05rem; letter-spacing: .04em; color: var(--navy); margin-bottom: 4px; }
.bm-cred { font-size: .8rem; font-weight: 600; color: var(--red); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }
.bm-title { font-size: .85rem; color: var(--body-text); line-height: 1.55; font-weight: 300; }
.bm-org { font-size: .82rem; color: var(--body-text); margin-top: 4px; font-weight: 400; }
.bm-link { font-size: .78rem; color: var(--red); margin-top: 6px; display: inline-block; letter-spacing: .04em; transition: opacity .2s; }
.bm-link:hover { opacity: .7; }

/* ══════════════════════════════════════
   PROVIDER PORTAL PAGE
══════════════════════════════════════ */
.portal-page {
  min-height: calc(100vh - 72px - 80px);
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
  position: relative; overflow: hidden;
}
.portal-bg-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.portal-bg-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 900px; border-radius: 50%; pointer-events: none;
}
.portal-card {
  background: var(--navy-light); border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 56px 60px; width: 100%; max-width: 480px;
  position: relative; z-index: 1;
  box-shadow: 0 40px 80px rgba(0,0,0,.4);
  animation: scaleIn .6s ease both;
}
.portal-logo { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 36px; margin-left: -4px; }
.portal-divider { width: 200px; height: 2px; background: var(--red); margin: 0 auto 32px; }
.portal-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 1.6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); text-align: center; margin-bottom: 8px; }
.portal-sub { font-size: .85rem; color: rgba(255,255,255,.35); text-align: center; margin-bottom: 36px; font-weight: 300; }
.portal-form { display: flex; flex-direction: column; gap: 16px; }
.portal-field { display: flex; flex-direction: column; gap: 8px; }
.portal-field label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.portal-field input {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: 14px 18px; color: var(--white); font-family: 'Barlow', sans-serif; font-size: .92rem; font-weight: 300;
  outline: none; transition: border-color .2s, background .2s;
}
.portal-field input::placeholder { color: rgba(255,255,255,.2); }
.portal-field input:focus { border-color: var(--red); background: rgba(255,255,255,.09); }
.portal-forgot { font-size: .78rem; color: rgba(255,255,255,.3); text-align: right; display: block; margin-top: -6px; transition: color .2s; }
.portal-forgot:hover { color: rgba(255,255,255,.6); }
.portal-submit {
  margin-top: 8px; width: 100%; padding: 16px; border: none; cursor: pointer; border-radius: 3px;
  background: var(--red); color: var(--white);
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .25em; text-transform: uppercase;
}
.portal-notice { font-size: .75rem; color: rgba(255,255,255,.2); text-align: center; margin-top: 20px; line-height: 1.6; }

/* ══════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════ */
.contact-page { display: grid; grid-template-columns: 1fr 1fr; }
.contact-info-panel { background: var(--navy-light); padding: 90px 72px; }
.contact-info-panel .section-h2 { color: var(--white); }
.contact-blocks { display: flex; flex-direction: column; gap: 32px; margin-top: 40px; }
.contact-block { display: flex; gap: 20px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(190,30,36,.15); border: 1px solid rgba(190,30,36,.25); border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 20px; height: 20px; stroke: var(--red); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cb-label { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .7rem; letter-spacing: .4em; text-transform: uppercase; color: rgba(255,255,255,.35); margin-bottom: 5px; }
.cb-value { font-size: .97rem; color: rgba(255,255,255,.75); font-weight: 300; line-height: 1.6; }
.cb-value a { color: rgba(255,255,255,.75); transition: color .2s; }
.cb-value a:hover { color: var(--white); }
.contact-intro-text { font-size: .95rem; color: rgba(255,255,255,.55); line-height: 1.8; font-weight: 300; margin-top: 32px; max-width: 420px; }

.contact-form-panel { background: var(--navy); padding: 90px 72px; }
.contact-form-panel .section-h2 { color: var(--white); }
.contact-form { margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field label { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .68rem; letter-spacing: .38em; text-transform: uppercase; color: rgba(255,255,255,.35); }
.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 3px;
  padding: 14px 18px; color: var(--white); font-family: 'Barlow', sans-serif; font-size: .92rem; font-weight: 300;
  outline: none; transition: border-color .2s, background .2s; -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,.2); }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { border-color: var(--red); background: rgba(255,255,255,.09); }
.form-field select option { background: var(--navy); }
.form-field textarea { resize: vertical; min-height: 110px; }
.form-submit-btn {
  margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 12px;
  background: var(--red); color: var(--white); border: none; cursor: pointer;
  padding: 16px 40px; border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif; font-weight: 700; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
}
.form-submit-btn svg { width: 18px; height: 18px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
#site-footer {
  background: #141920;
  padding: 48px 60px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 24px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); letter-spacing: .05em; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.3); transition: color .2s; }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes slideDown  { from { opacity:0; transform:translateY(-20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp     { from { opacity:0; transform:translateY(28px); }  to { opacity:1; transform:translateY(0); } }
@keyframes scaleIn    { from { opacity:0; transform:scale(.88); }        to { opacity:1; transform:scale(1); } }
@keyframes scrollPulse{ 0%,100%{opacity:.3} 50%{opacity:1} }

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1100px) {
  .fp-about { grid-template-columns: 1fr; }
  .fp-about-image { height: 400px; }
  .fp-about-content { padding: 60px 48px; }
  .contact-page { grid-template-columns: 1fr; }
  .about-intro { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 960px) {
  #site-header { padding: 0 28px; }
  .primary-nav { display: none; }
  .nav-burger { display: flex; }
  .page-hero { padding: 120px 28px 72px; }
  .breadcrumb { left: 28px; }
  .fp-services { padding: 72px 28px; }
  .fp-services-grid { grid-template-columns: 1fr 1fr; }
  .fp-stats { grid-template-columns: repeat(2,1fr); }
  .cta-band { padding: 60px 28px; flex-direction: column; }
  .contact-info-panel, .contact-form-panel { padding: 60px 36px; }
  .board-grid { grid-template-columns: repeat(2,1fr); }
  .board-page, .about-page { padding: 60px 28px; }
  #site-footer { padding: 32px 28px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .fp-team-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 600px) {
  body.home #main-content { padding-top: 70px; }
  .home-section-label, .hb-label, .page-hero-eyebrow, .section-label, .board-section-title { letter-spacing: 4px !important; }
  .fp-services-grid { grid-template-columns: 1fr; }
  .board-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  #site-footer { flex-direction: column; align-items: flex-start; }
  .portal-card { padding: 40px 28px; }
  .fp-about-content { padding: 48px 28px; }
}
