/* ========== Global Utilities & Variables ========== */
*, *::before, *::after { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0b2e55; background: #fff;
  overflow-x: hidden;
}

:root {
  --navy: #0b2e55;
  --ink: #274766;
  --light-blue: #8ED0DC;
  --light-bg: #eaf6f9;
  --teal: rgba(142,208,220,.35)
}

.container, .pw-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

section { padding: clamp(2rem, 6vw, 4rem) 0; }

/* ========== Header & Navigation (scaled up visually) ========== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
  background: #ffffffcc;
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(11,46,85,0.1);
}

/* Bigger logo */
.logo img {
  width: 190px;  /* was 160px */
  height: auto;
  display: block;
}

/* Bigger nav text, better spacing */
nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;  /* increased from 1.05rem */
  letter-spacing: 0.01em;
  margin-left: 1.8rem; /* gives visual balance with larger text */
  transition: color 0.2s ease;
}

nav a:hover {
  color: var(--ink);
}

/* Optional: slightly larger click/tap area for comfort */
nav {
  display: flex;
  align-items: center;
}

/* ========== Buttons ========== */
.btn {
  background: var(--navy); color: #fff;
  padding: .9rem 1.2rem; border-radius: .8rem; text-decoration: none;
  font-weight: 700; display: inline-block;
}
.btn:hover { opacity: .92; }
.btn-row, .hero-buttons {
  display: flex; justify-content: center; gap: 1rem; margin-top: 1.6rem; flex-wrap: wrap;
}
/* Outline secondary */
.btn-secondary { background: transparent; border: 2px solid var(--navy); color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }

/* ========== Hero (Main Page) ========== */
#hero {
  text-align: center;
  background:
    radial-gradient(80rem 40rem at 10% -10%, rgba(142,208,220,.18), transparent 70%),
    radial-gradient(80rem 40rem at 90% 110%, rgba(11,46,85,.10), transparent 70%);
  padding: clamp(4rem,10vw,8rem) 1rem;
}
#hero h1 { font-size: clamp(2rem,4vw,3rem); margin-bottom: 1rem; }

.hero-subtext {
  max-width: 700px; margin: 1rem auto 1.8rem;
  color: var(--ink); font-size: clamp(1rem,2vw,1.25rem); line-height: 1.6;
}
.hero-title-secondary {
  font-size: 1.8rem; font-weight: 700; color: var(--navy);
  display: flex; justify-content: center; align-items: center; gap: .6rem; flex-wrap: wrap; margin-top: 2rem;
}
.logo-inline { height: 22px; width: auto; vertical-align: middle; }
.hero-tagline {
  max-width: 740px; margin: 0 auto 2rem; color: var(--ink);
  font-size: clamp(1rem,2vw,1.25rem); line-height: 1.6;
}

/* Hero feature trio */
.hero-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.8rem, 2.2vw, 1.2rem); margin-top: clamp(1.2rem, 3vw, 2rem);
}
@media (max-width: 900px) { .hero-features { grid-template-columns: 1fr; } }

.feature-card { padding: 1rem 1.1rem; text-align: left; }
.feature-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem; }
.feature-icon { width: 18px; height: 18px; color: var(--navy); flex: 0 0 18px; }
.feature-title { margin: 0; font-size: 1.05rem; color: var(--navy); }
.feature-text { margin: 0; color: var(--ink); line-height: 1.6; }

/* Hero logo + subheading */
.hero-logo-inline {
  height: 26px; vertical-align: middle; margin-right: 0.35rem; margin-bottom: 4px;
}
.hero-subheading {
  font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; color: var(--navy);
  margin-top: 0.6rem; margin-bottom: 1rem; letter-spacing: 0.02em;
}

/* Hero problem statement */
.hero-problem {
  max-width: 60ch; margin: 1.4rem auto 2rem auto;
  font-size: 1.15rem; line-height: 1.75; color: var(--ink); text-align: center;
}

/* ========== Provider Comparison (pw-compare) ========== */
#pw-compare h2 { text-align: center; font-size: clamp(1.8rem,4vw,2.6rem); margin-bottom: .4rem; }
#pw-compare p.sublead {
  text-align: center; color: var(--ink); margin: 0 auto 2rem; max-width: 70ch;
  font-size: clamp(1rem,2vw,1.15rem);
}
.pw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); align-items: stretch; }
.pw-card { border: 1px solid rgba(11,46,85,.18); border-radius: 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.pw-card-inner { padding: 1rem 1.2rem 1.2rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.pw-name { font-size: 1.25rem; font-weight: 700; margin-bottom: .2rem; }
.pw-meta { color: var(--ink); margin-bottom: .8rem; }
.pw-media { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; align-items: start; flex-grow: 1; max-width: 100%; }

.pw-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid rgba(142,208,220,.7);
  background: var(--light-bg);
  object-position: top center;
}

@media (max-width: 700px) {
  .pw-media {
    grid-template-columns: 1fr;
  }

  /* Taller photos on mobile */
  .pw-photo {
    height: 320px;              /* was 200px */
    object-position: top center; /* keep heads visible */
  }
}

ul.pw-list { margin: 0; padding: 0 0 0 1.2rem; color: var(--navy); line-height: 1.6; }
ul.pw-list li + li { margin-top: .25rem; }
.pw-cap { margin-top: .9rem; font-weight: 800; background: rgba(142,208,220,.35); border-radius: 10px; padding: .6rem .8rem; }

/* ========== Capacity Grid Insight (#pw-grid-insight) ========== */
#pw-grid-insight { padding: clamp(2.5rem, 6vw, 4rem) 1rem; }
#pw-grid-insight .wrap { width: min(1100px, 94vw); margin: 0 auto; }
#pw-grid-insight h2#pw-grid-title{
  margin:0 0 .5rem; text-align:center; font-size: clamp(1.8rem, 3.8vw, 2.4rem);
  color:var(--navy); letter-spacing:-.01em; font-weight:800;
}
#pw-grid-insight .subhead{
  text-align:center; color:var(--ink); max-width:70ch; margin:0 auto 1.6rem;
  font-size: clamp(1rem,2vw,1.1rem); line-height:1.6;
}
#pw-grid-insight .grid {
  display: grid; gap: clamp(1rem, 2.5vw, 2rem); grid-template-columns: 1.1fr 1fr; align-items: start;
}
@media (max-width: 900px){ #pw-grid-insight .grid { grid-template-columns: 1fr; } }
#pw-grid-insight .vis{
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 6px 18px rgba(0,0,0,.06); border:1px solid rgba(11,46,85,.08);
}
#pw-grid-insight .vis img{ display:block; width:100%; height:auto; }
#pw-grid-insight .cols{ display:flex; flex-direction:column; gap:1rem; }
#pw-grid-insight .block{
  border:1px solid rgba(11,46,85,.14); border-radius:14px; background:#fff; padding:1rem 1.1rem;
}
#pw-grid-insight .block h3{ margin:.1rem 0 .6rem; font-size:1.1rem; color:var(--navy); }
#pw-grid-insight .icons{ list-style:none; margin:0; padding:0; display:grid; gap:.5rem; }
#pw-grid-insight .icons li{ display:flex; align-items:center; gap:.6rem; color:var(--ink); font-size:1rem; }
#pw-grid-insight .icons .icon { width:22px; height:22px; color:var(--navy); flex:0 0 22px; }
#pw-grid-insight .block + .block{ border-top:1px solid rgba(11,46,85,.1); }

/* ========== How It Works (#pw-how) ========== */
#pw-how h2 { text-align: center; font-size: clamp(1.6rem,3.5vw,2.4rem); margin-bottom: .6rem; }
#pw-how .pw-sublead { text-align: center; color: var(--ink); margin: 0 auto 2rem; max-width: 68ch; font-size: clamp(1rem,2vw,1.1rem); }
#pw-how .pw-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(.8rem, 2vw, 1.2rem); width: 100%; margin: 0 auto; }
#pw-how .pw-card { border: 1px solid rgba(11,46,85,.18); border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.03); display: flex; flex-direction: column; overflow: hidden; }
#pw-how .pw-head { display: flex; align-items: center; gap: .6rem; background: var(--navy); color: #fff; padding: .9rem 1rem; font-weight: 700; }
#pw-how .pw-body { padding: 1rem 1.1rem; color: var(--navy); flex-grow: 1; }
#pw-how .pw-body p { margin: 0; line-height: 1.6; }
#pw-how .pw-foot { background: rgba(142,208,220,.35); color: var(--navy); padding: .6rem 1rem; font-size: .95rem; font-style: italic; }
#pw-how .pw-callout {
  margin-top: clamp(1.25rem,3.5vw,2rem);
  background: #f7d2bf; color: #7a3a1d; border: 1px solid #e9bca1;
  border-radius: 12px; padding: .9rem 1rem; text-align: center; font-weight: 700;
  max-width: 900px; margin-inline: auto;
}
#pw-how .btn-row { display: flex; justify-content: center; margin-top: 1.4rem; }

/* ========== About Page Styles ========== */
.about-section { padding: clamp(3rem, 8vw, 5rem) 1rem; }
.about-new-grid { display: grid; grid-template-columns: minmax(260px, 340px) 1fr; align-items: start; gap: clamp(1.2rem, 3vw, 2rem); }
.about-card {
  background: #fff; border: 1px solid rgba(11,46,85,.12); border-radius: 14px;
  padding: 1rem; box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.about-headshot {
  width: 100%; height: auto; border-radius: 12px;
  border: 2px solid rgba(142,208,220,.6); background: var(--light-bg); display: block;
}
.about-identity { text-align: center; margin-top: .8rem; }
.about-name { font-size: clamp(1.2rem, 3.2vw, 1.6rem); margin: .4rem 0 .2rem; color: var(--navy); }
.about-title { margin: 0 0 .6rem; color: var(--ink); font-weight: 600; }
.about-links {
  list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: flex; flex-direction: column; gap: .6rem; align-items: flex-start; text-align: left; width: fit-content; margin-left: auto; margin-right: auto;
}
.about-links li { display: flex; align-items: center; gap: .45rem; }
.about-links a { color: var(--navy); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.about-links a:hover { color: var(--ink); }
.about-links .icon, .about-links .social-icon { width: 18px; height: 18px; color: var(--navy); flex: 0 0 18px; }
.about-content { color: var(--ink); line-height: 1.7; }
.about-content h2 { color: var(--navy); font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 1rem; }
.about-content p { font-size: clamp(1rem, 2vw, 1.1rem); margin-bottom: 1.2rem; }
.about-bullets { margin: 0 0 1.5rem; padding-left: 1.2rem; color: var(--ink); line-height: 1.65; }
.about-bullets li { margin-top: .6rem; }
.about-bullets ul { margin: .4rem 0 0; padding-left: 1rem; }
.about-divider {
  border: none; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(11,46,85,.15), transparent);
  margin: clamp(1.5rem, 4vw, 2.5rem) 0;
}
@media (max-width: 900px) {
  .about-new-grid { grid-template-columns: 1fr; text-align: center; }
  .about-card { max-width: 400px; margin: 0 auto; }
  .about-links { align-items: center; text-align: center; }
  .about-content { text-align: left; }
  .about-content h2 { text-align: center; }
}

/* ========== Contact Section Styles ========== */
.contact-section { padding: clamp(3rem, 7vw, 5rem) 1rem; }
.contact-section .container { max-width: 800px; margin: 0 auto; text-align: center; }
.contact-section h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.5rem; color: var(--navy); }
.contact-section .subhead { max-width: 580px; margin: 0 auto 2rem; color: var(--ink); font-size: clamp(1rem, 2vw, 1.25rem); }
.contact-section h3 { margin-top: 2rem; margin-bottom: 1rem; color: var(--navy); font-size: clamp(1.4rem, 3vw, 2rem); }
.contact-profile {
  margin: 2rem auto 2rem; padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(11,46,85,.1); border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05); background: #f8f8f8; max-width: 450px;
}
.contact-headshot {
  display: block; margin: 0 auto 1rem auto; width: 140px; height: 140px;
  border-radius: 50%; object-fit: cover; border: 4px solid var(--light-blue);
}
.contact-form { margin: 0 auto 2rem; text-align: left; max-width: 500px; }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 600; color: var(--navy); margin-bottom: 0.3rem; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 0.6rem 0.8rem; border: 1px solid rgba(11,46,85,0.2);
  border-radius: 8px; font-family: inherit; font-size: 1rem; color: var(--navy); background-color: #fff;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--light-blue); box-shadow: 0 0 0 3px rgba(142,208,220,0.25);
}
.contact-form select { appearance: none; }

/* ========== Contact Page Two-Column Layout ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
  max-width: 1100px;
  margin: 0 auto;
}

.contact-photo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.contact-photo img {
  width: 100%;
  max-width: 340px; /* matches About page photo size */
  height: auto;
  border-radius: 12px;
  border: 2px solid rgba(142,208,220,.6);
  background: var(--light-bg);
}

.contact-form-area {
  text-align: left;
}

/* stack vertically on mobile */
@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .contact-photo {
    justify-content: center;
  }
}


/* ========== Footer ========== */
footer {
  background: #f8f8f8; padding: 1.5rem 1rem;
  border-top: 1px solid rgba(11,46,85,0.1); color: var(--ink); font-size: 0.9rem;
}
footer .container { display: flex; justify-content: space-between; align-items: center; }
footer p { margin: 0; }
footer nav a {
  color: var(--ink); text-decoration: none; font-weight: 500;
  margin: 0 .4rem; transition: color 0.2s;
}
footer nav a:hover { color: var(--navy); text-decoration: underline; }
@media (max-width: 600px) {
  footer .container { flex-direction: column; text-align: center; }
  footer p { margin-bottom: .8rem; }
}

/* ========== Who It's For ========== */
#who-for {
  background-color: #f8fafc; /* subtle tint */
  padding: 5rem 0;
}
#who-for h1 {
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 0.6rem;
}
.section-subtext {
  font-size: 1.15rem; line-height: 1.7; color: var(--ink);
  max-width: 60ch; margin: 0.5rem auto 2.5rem auto;
}

.who-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.5rem);
}
@media (max-width: 900px) { .who-grid { grid-template-columns: 1fr; } }

/* Card with full-width teal title */
.who-card {
  padding: 0; background: #fff; border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden; text-align: left;
}
.who-header {
  background-color: var(--teal);
  color: var(--ink); /* matches your site’s main text tone */
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  padding: 0.9rem 1.2rem;
  border-radius: 12px 12px 0 0;
}

.who-body {
  padding: 1.4rem 1.6rem 1.6rem 1.6rem;  /* top, right, bottom, left */
}

/* Checkmark list */
.who-list { list-style: none; padding: 0; margin: 0; }
.who-list li {
  position: relative; padding-left: 1.8rem;
  margin-bottom: 0.7rem; line-height: 1.6; color: var(--ink);
}
.who-list li::before {
  content: "✔"; position: absolute; left: 0.5rem; top: 0;
  color: var(--ink); font-weight: 1000;
}

/* === Built By a Medical Group Leader section === */
#built-for {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: #fff;
}

/* headline centered at top */
#built-for h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.4rem);
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.2rem;
}

/* inline subtext + About button (stay on one line on desktop) */
.built-inline {
  display: flex;
  align-items: center;
  justify-content: center;   /* center the pair under the headline */
  column-gap: 1rem;
  row-gap: 0;
  flex-wrap: nowrap;         /* <-- don’t wrap on desktop */
  max-width: 1100px;
  margin: 0 auto 1.6rem;
}

.built-subtext {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.6;
  flex: 1 1 auto;            /* <-- allow the paragraph to shrink */
  min-width: 0;              /* <-- critical: permit shrinking with flexbox */
}

.built-inline .btn {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 0.7rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;       /* keep the button text on one line */
  flex: 0 0 auto;            /* <-- don’t let the button shrink or wrap */
}

/* On small screens, stack them (then it’s OK to wrap) */
@media (max-width: 760px) {
  .built-inline {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}


.built-inline .btn:hover {
  opacity: 0.9;
}

/* bullet section below */
.built-wrap {
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.built-subhead {
  margin: 0 0 0.6rem 0;
  font-size: 1.15rem;
  color: var(--navy);
}

.built-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.05rem);
}

.built-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.built-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ink);
  font-weight: 700;
}

/* === What Makes PanelWise Different (colored split layout) === */
.different {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 1000px;
  margin: 1.2rem auto 0;
  align-items: stretch;
}

/* left panel with soft teal tint */
.diff-left {
  background: rgba(142,208,220,0.18);
  border-radius: 12px;
  padding: 1.6rem 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* right panel with subtle elevation */
.diff-right {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  padding: 1.6rem 1.4rem;
}

/* typography */
.diff-title {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--navy);
  letter-spacing: 0.01em;
}

.diff-accent {
  display: inline-block;
  height: 4px;
  background: var(--teal);
  border-radius: 3px;
  margin: 0.45rem 0 0.8rem 0;
  align-self: flex-start;
  width: 100%;
}


.diff-copy {
  margin: 0;
  color: var(--ink);
  line-height: 1.7;
  font-size: clamp(1rem, 2vw, 1.05rem);
}

/* bullet list tweaks */
.diff-list li {
  margin-bottom: 0.6rem;
}

/* responsive: stack columns */
@media (max-width: 900px) {
  .different {
    grid-template-columns: 1fr;
  }
  .diff-left, .diff-right {
    padding: 1.4rem 1.2rem;
  }
}

/* === Who It's For buttons === */
.who-btns {
  margin-top: 2rem;
  justify-content: center;
  gap: 1rem;
}

/* ========== Footer (enhanced) ========== */
footer {
  background: #f8fafc;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(11,46,85,0.1);
  color: var(--ink);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1100px;
  margin: 0 auto;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 120px;
  height: auto;
}

.footer-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  margin-left: 1rem;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--ink);
}

/* stack neatly on small screens */
@media (max-width: 700px) {
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }
  .footer-nav a {
    margin: 0 0.6rem;
  }
}

/* === Built header grid with photo left, text right === */
.built-grid {
  display: grid;
  grid-template-columns: minmax(240px, 320px) 1fr;
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;   /* changed from center */
  margin-bottom: 0.6rem;
}

.built-profile {
  text-align: center;
}

.built-name {
  margin: .8rem 0 .2rem;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  color: var(--navy);
  font-weight: 700;
}

.built-title {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
}

/* keep the existing inline behavior for subtext + button */
.built-main .built-inline {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.built-main .built-subtext { 
  margin: 0; 
  color: var(--ink); 
  font-size: clamp(1rem, 2vw, 1.1rem); 
  line-height: 1.6;
  flex: 1 1 auto; 
  min-width: 0;
}

.built-main .built-inline .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}

/* stack on mobile */
@media (max-width: 800px) {
  .built-grid { grid-template-columns: 1fr; }
  .built-profile { max-width: 340px; margin: 0 auto; }
  .built-main .built-inline { flex-wrap: wrap; }
}

.built-subtext-wrap {
  flex: 1 1 auto;
  min-width: 0;
}

.built-learnmore {
  margin: 0.4rem 0 0;
  color: var(--ink);
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-style: italic;
  line-height: 1.6;
}

.diff-main-header {
  text-align: center;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}

/* Mobile-friendly header: smaller logo, tighter nav, allow wrapping */
@media (max-width: 700px) {
  header {
    padding: 0.9rem 1rem;
  }

  .logo img {
    width: 130px;          /* was larger; frees room for links */
  }

  nav {
    display: flex;
    flex-wrap: wrap;       /* allow second line if needed */
    gap: 0.5rem 0.8rem;    /* row/column gap */
    justify-content: flex-end;
    overflow: visible;
  }

  nav a {
    font-size: 0.98rem;    /* slightly smaller text */
    margin-left: 0.8rem;   /* tighter spacing so Contact fits */
  }
}

/* Ultra-narrow safety net */
@media (max-width: 380px) {
  .logo img { width: 110px; }
  nav a { margin-left: 0.6rem; font-size: 0.95rem; }
}

#pw-different {
  background-color: #f8fafc; /* subtle tint */
  padding: 5rem 0;
}

/* Force taller provider photos on mobile */
@media (max-width: 800px) {
  .pw-card .pw-photo {
    height: 340px !important;   /* increase if you want more headroom */
    object-fit: cover;
    object-position: top center; /* keep faces */
  }
}
