/*
Theme Name: Patients First NC
Theme URI: https://patientsfirstnc.org
Author: 219 Group
Author URI: https://219group.com
Description: A clean, brand-driven brochure theme for Patients First NC — a 501(c)(4) health care education and advocacy organization based in Raleigh, North Carolina. Navy hero, geometric type, shield motif.
Version: 2.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: patients-first-nc
*/

:root {
    --navy: #1c2b4a;
    --navy-2: #24345a;
    --blue: #2f72c4;
    --blue-deep: #245a9c;
    --blue-soft: #eaf1fa;
    --paper: #ffffff;
    --mist: #f5f7fa;
    --stone: #566076;
    --line: #e4e8ee;
    --head: "Poppins", -apple-system, sans-serif;
    --body: "Inter", -apple-system, sans-serif;
  }
  * { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body { font-family: var(--body); color: var(--navy); line-height: 1.65; background: var(--paper); -webkit-font-smoothing: antialiased; }
  a { text-decoration: none; color: inherit; }
  .wrap { max-width: 1120px; margin: 0 auto; padding: 0 40px; }

  /* label with plus mark */
  .label { display: inline-flex; align-items: center; gap: 9px; font-family: var(--body); font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); }
  .label .plus { width: 14px; height: 14px; flex: none; }

  .btn { display: inline-block; font-family: var(--head); font-weight: 500; font-size: 15px; padding: 14px 30px; border-radius: 8px; transition: transform .15s, background .2s, box-shadow .2s; }
  .btn-blue { background: var(--blue); color: #fff; }
  .btn-blue:hover { background: var(--blue-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(47,114,196,.28); }
  .btn-white { background: #fff; color: var(--navy); }
  .btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
  .text-link { font-family: var(--head); font-weight: 500; font-size: 15px; color: #fff; border-bottom: 2px solid rgba(255,255,255,.35); padding-bottom: 2px; transition: border-color .2s; }
  .text-link:hover { border-color: #fff; }

  /* Header */
  header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line); }
  .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 15px 40px; max-width: 1120px; margin: 0 auto; }
  .brand-logo { height: 38px; width: auto; display: block; }
  nav ul { display: flex; gap: 32px; list-style: none; align-items: center; }
  nav a { font-family: var(--head); font-size: 14px; font-weight: 500; color: var(--stone); transition: color .2s; }
  nav a:hover { color: var(--navy); }
  nav .nav-btn { color: #fff; background: var(--navy); padding: 9px 20px; border-radius: 7px; }
  nav .nav-btn:hover { background: var(--blue); color:#fff; }

  /* Hero — solid navy */
  .hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
  .hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 0.82fr; gap: 60px; align-items: center; padding: 104px 0 108px; }
  .hero .label { color: #7fb0ec; margin-bottom: 26px; }
  .hero h1 { font-family: var(--head); font-weight: 700; font-size: 52px; line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 24px; }
  .hero h1 .hl { color: #5b9be8; }
  .hero p { font-size: 18px; color: rgba(255,255,255,.82); margin-bottom: 40px; }
  .hero-actions { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
  .hero-img { aspect-ratio: 4 / 5; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.14); position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; }
  .hero-img .sh { width: 46%; height: auto; color: #7fb0ec; opacity: .55; }
  .hero-img .ph-tag { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.42); }
  .hero-img img { width: 100%; height: 100%; object-fit: cover; }

  /* Mission */
  .mission { padding: 100px 0; }
  .mission-head { max-width: 640px; margin-bottom: 56px; }
  .mission-head .label { margin-bottom: 18px; }
  .mission-head h2 { font-family: var(--head); font-weight: 600; font-size: 36px; line-height: 1.2; letter-spacing: -0.8px; }
  .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 34px 30px 32px; transition: box-shadow .25s, transform .2s, border-color .2s; }
  .card:hover { box-shadow: 0 18px 40px rgba(28,43,74,.09); transform: translateY(-3px); border-color: #d6dee8; }
  .chip { width: 54px; height: 54px; border-radius: 14px; background: var(--blue-soft); color: var(--blue); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
  .chip svg { width: 28px; height: 28px; }
  .card h3 { font-family: var(--head); font-weight: 600; font-size: 20px; margin-bottom: 11px; letter-spacing: -0.2px; }
  .card p { color: var(--stone); font-size: 15.5px; }

  /* About — soft blue panel */
  .about { background: var(--blue-soft); padding: 96px 0; }
  .about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
  .about .label { margin-bottom: 22px; }
  .about h2 { font-family: var(--head); font-weight: 600; font-size: 30px; line-height: 1.28; letter-spacing: -0.5px; margin-bottom: 20px; }
  .about p { color: var(--stone); font-size: 16.5px; margin-bottom: 16px; }
  .about p:last-child { margin-bottom: 0; }
  .about-visual { aspect-ratio: 1 / 1; border-radius: 20px; background: var(--navy); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
  .about-visual .sh { width: 58%; height: auto; color: #cfe0f5; opacity: .9; }
  .about-visual .ph-tag { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.5); }
  .about-visual img { width: 100%; height: 100%; object-fit: cover; }

  /* CTA — solid blue */
  .cta { background: var(--blue); color: #fff; text-align: center; padding: 100px 0; }
  .cta h2 { font-family: var(--head); font-weight: 700; font-size: 40px; letter-spacing: -0.8px; margin-bottom: 16px; }
  .cta p { font-size: 18px; color: rgba(255,255,255,.9); max-width: 540px; margin: 0 auto 34px; }

  /* Footer */
  footer { background: var(--navy); color: rgba(255,255,255,.68); padding: 54px 0 40px; }
  .footer-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; margin-bottom: 40px; }
  .footer-logo { height: 32px; width: auto; display: block; }
  .footer-links { display: flex; gap: 28px; }
  .footer-links a { font-family: var(--head); font-size: 14px; font-weight: 500; color: rgba(255,255,255,.68); transition: color .2s; }
  .footer-links a:hover { color: #fff; }
  .footer-legal { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.9; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
  .footer-legal .org { color: rgba(255,255,255,.9); font-weight: 500; }

  @media (max-width: 880px) {
    .wrap, .header-inner { padding-left: 22px; padding-right: 22px; }
    nav ul { gap: 18px; }
    nav .about-hide { display: none; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 72px 0 80px; }
    .hero h1 { font-size: 38px; }
    .hero-img { aspect-ratio: 16 / 10; }
    .cards { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-visual { aspect-ratio: 16/10; }
    .cta h2 { font-size: 30px; }
    .mission-head h2 { font-size: 28px; }
    .footer-top { flex-direction: column; align-items: flex-start; }
  }
