/* Path 2 Purpose CA — Virtual Mental Health Lander
   Palette: deep teal #2c5f6e / sage #84a59d / warm cream #faf7f1 / charcoal #1f2a32
   Prefix: p2p-
*/

:root {
  /* Palette source (5 colors from reference): peach, mustard, rose, teal, mint.
     Design system rules:
       • Teal is the dominant brand color (~60–70% of the visible color usage).
       • Mustard is the ONLY accent — reserved for emphasis CTAs and stars.
       • Mint is the calm surface — icon backgrounds, soft section tints.
       • Peach is reserved as a warm secondary background tint (gradient highlights).
       • Rose is reserved for tiny details only (required asterisks, etc).
     The cream backgrounds stay near-neutral so the palette colors carry the brand,
     not the body. */
  --p2p-primary: #1F2A33;
  --p2p-primary-dark: #11181E;
  --p2p-primary-light: #C79A3A;
  --p2p-sage: #C79A3A;
  --p2p-sage-light: #F4EAD2;
  --p2p-accent: #C79A3A;
  --p2p-accent-soft: #E7D3A2;
  --p2p-accent-dark: #A87C1E;
  --p2p-rose: #C79A3A;
  --p2p-rose-dark: #A87C1E;
  /* DARK MODE neutrals — dark cyan-teal family, tuned to the #2c7b91 header */
  --p2p-cream: #ffffff;            /* base background */
  --p2p-cream-warm: #F7F5EF;       /* alt section background */
  --p2p-mint-bg: #F5F2EA;          /* form section background */
  --p2p-surface: #ffffff;          /* cards / panels */
  --p2p-heading: #1A2430;          /* headings + form labels */
  --p2p-charcoal: #1E2A33;         /* dark anchor — footer + photo bands */
  --p2p-text: #33424B;
  --p2p-text-soft: #56636B;
  --p2p-text-mute: #8A969C;
  --p2p-line: #E7E6E1;
  --p2p-white: #ffffff;

  --p2p-radius: 12px;
  --p2p-radius-lg: 20px;
  --p2p-shadow-sm: 0 1px 2px rgba(31, 42, 50, 0.06);
  --p2p-shadow: 0 6px 24px rgba(31, 42, 50, 0.08);
  --p2p-shadow-lg: 0 20px 50px rgba(31, 42, 50, 0.12);

  --p2p-max: 1180px;
  --p2p-gap: 24px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--p2p-text);
  background: var(--p2p-cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Source Serif Pro', Georgia, serif;
  color: var(--p2p-heading);
  line-height: 1.2;
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
a { color: var(--p2p-accent-dark); text-decoration: none; }
a:hover { color: var(--p2p-primary-light); }
img { max-width: 100%; height: auto; display: block; }

.p2p-container {
  width: 100%;
  max-width: var(--p2p-max);
  margin: 0 auto;
  padding: 0 24px;
}

.p2p-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--p2p-primary-light);
  margin-bottom: 14px;
}

/* Buttons */
.p2p-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.p2p-btn--primary {
  --p2p-btn-fill: var(--p2p-primary);
  color: var(--p2p-white);
  box-shadow: 0 6px 18px rgba(79, 133, 133, 0.32);
}
.p2p-btn--primary:hover { --p2p-btn-fill: var(--p2p-primary-dark); color: var(--p2p-white); transform: translateY(-1px); }
.p2p-btn--accent {
  --p2p-btn-fill: var(--p2p-accent);
  color: #1F2A33;
  box-shadow: 0 6px 18px rgba(192, 135, 26, 0.35);
}
.p2p-btn--accent:hover { --p2p-btn-fill: var(--p2p-accent-dark); color: #1F2A33; transform: translateY(-1px); }

/* Golden 1px gradient border on all CTA buttons (incl. form submits) */
.p2p-btn--primary,
.p2p-btn--accent {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--p2p-btn-fill), var(--p2p-btn-fill)) padding-box,
    linear-gradient(135deg, var(--p2p-accent-soft) 0%, var(--p2p-accent) 50%, var(--p2p-accent-soft) 100%) border-box;
}
.p2p-btn--ghost {
  background: transparent;
  color: var(--p2p-primary);
  border: 1.5px solid var(--p2p-primary);
}
.p2p-btn--ghost:hover { background: var(--p2p-primary); color: var(--p2p-white); }
.p2p-btn--lg { padding: 18px 34px; font-size: 17px; }

/* Shimmer effect (Pool Ninja pattern) — primary + accent only */
.p2p-btn--primary::after,
.p2p-btn--accent::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.45) 50%, transparent 100%);
  animation: p2p-btn-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}
.p2p-btn--accent::after {
  background: linear-gradient(120deg, transparent 0%, rgba(255,255,255,0.6) 50%, transparent 100%);
}
@keyframes p2p-btn-shimmer {
  0%, 70% { left: -100%; }
  100%    { left: 160%; }
}

/* Header */
.p2p-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--p2p-line);
}
.p2p-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  gap: 24px;
}
.p2p-logo {
  display: inline-flex;
  align-items: center;
}
.p2p-logo__img {
  height: 76px;
  width: auto;
  display: block;
}
.p2p-logo__img--footer { height: 84px; }
.p2p-logo__mark {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--p2p-primary), var(--p2p-sage));
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--p2p-white);
  font-weight: 700;
}
.p2p-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  justify-content: center;
}
.p2p-nav__link {
  font-size: 15px;
  font-weight: 500;
  color: var(--p2p-text);
  position: relative;
  padding: 6px 0;
  transition: color .15s ease;
}
.p2p-nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--p2p-accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.p2p-nav__link:hover { color: var(--p2p-heading); }
.p2p-nav__link:hover::after { transform: scaleX(1); }

.p2p-header__cta { display: flex; align-items: center; gap: 14px; }
.p2p-header__phone {
  font-weight: 600;
  color: var(--p2p-heading);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.p2p-header__phone:hover { color: var(--p2p-primary); }

/* Hero — full-bleed photo background under a full dark wash (matches #who-we-serve) */
.p2p-hero {
  position: relative;
  padding: 30px 0;
  background-color: var(--p2p-charcoal);
  color: var(--p2p-white);
  isolation: isolate;
  overflow: hidden;
}
/* Photo layer — flipped horizontally so the subject sits on the left */
.p2p-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 30, 33, 0.68), rgba(12, 30, 33, 0.68)),
    url('assets/1778862850362-medium-vecteezy_cheerful-and-diverse-group-of-high-school-or-college_54880075_medium.jpg');
  background-size: cover;
  background-position: center center;
  transform: scaleX(-1);
  pointer-events: none;
  z-index: 0;
}
.p2p-hero > .p2p-container { position: relative; z-index: 1; }
.p2p-hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.p2p-hero__copy {
  position: relative;
  text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 3px rgba(0,0,0,0.45);
}
.p2p-hero__copy > * { position: relative; z-index: 1; }
.p2p-hero__form,
.p2p-hero__form-success {
  position: relative;
  z-index: 3;
}
.p2p-hero__title {
  font-size: clamp(30px, 3.6vw, 44px);
  margin-bottom: 20px;
  color: var(--p2p-white);
}
.p2p-hero__title em { white-space: nowrap; }
.p2p-hero__title em {
  color: var(--p2p-white);
  font-style: normal;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding: 6px 18px 10px;
  margin: 0 -8px;
  isolation: isolate;
}
.p2p-hero__title em::before {
  content: "";
  position: absolute;
  inset: -8px -4px -4px -4px;
  background-color: var(--p2p-accent);
  -webkit-mask: url('assets/brush-stroke.png') no-repeat center / 100% 100%;
  mask: url('assets/brush-stroke.png') no-repeat center / 100% 100%;
  z-index: -1;
  pointer-events: none;
}
.p2p-hero .p2p-eyebrow {
  color: var(--p2p-accent-soft);
  font-weight: 800;
  font-size: 14px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8), 0 1px 3px rgba(0,0,0,0.7);
}
.p2p-hero__sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 28px;
  max-width: 560px;
}
.p2p-hero__trust {
  display: flex; gap: 22px; align-items: center; flex-wrap: wrap;
  font-size: 14px; color: rgba(255,255,255,0.95);
  font-weight: 600;
  text-shadow: none;
}
.p2p-hero__trust-item { display: inline-flex; gap: 6px; align-items: center; }
.p2p-hero__trust-item svg { color: var(--p2p-accent); flex-shrink: 0; }

/* Hero form card */
.p2p-hero__form {
  background: var(--p2p-surface);
  border-radius: var(--p2p-radius-lg);
  padding: 28px;
  box-shadow: var(--p2p-shadow-lg);
  color: var(--p2p-text);
}
.p2p-hero__form-title {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px; font-weight: 600;
  color: var(--p2p-heading);
  margin: 0 0 6px;
}
.p2p-hero__form-sub {
  color: var(--p2p-text-soft);
  font-size: 14px;
  margin: 0 0 18px;
}
.p2p-hero__form .p2p-field { margin-bottom: 12px; }
.p2p-hero__form .p2p-btn { width: 100%; margin-top: 6px; }
.p2p-hero__form-fineprint {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--p2p-text-mute);
  text-align: center;
}
.p2p-hero__form-success {
  display: none;
  background: var(--p2p-sage-light);
  color: var(--p2p-primary-dark);
  padding: 28px;
  border-radius: var(--p2p-radius-lg);
  text-align: center;
}
.p2p-hero__form-success h3 { color: var(--p2p-primary-dark); margin-bottom: 6px; }
.p2p-hero__form.is-submitted { display: none; }
.p2p-hero__form-success.is-shown { display: block; }

/* Feature strip — below the hero */
.p2p-feature-strip {
  background: var(--p2p-surface);
  border-bottom: 1px solid var(--p2p-line);
  padding: 36px 0;
}
.p2p-feature-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.p2p-feature {
  display: flex; gap: 12px; align-items: center;
}
.p2p-feature__icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--p2p-sage-light);
  color: var(--p2p-primary);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.p2p-feature__label {
  font-size: 15px; font-weight: 600; color: var(--p2p-heading); line-height: 1.35;
}

/* Section base */
.p2p-section { padding: 84px 0; }
.p2p-section--alt { background: var(--p2p-cream-warm); }

/* Who We Serve — photo section background */
#who-we-serve {
  background: var(--p2p-cream-warm);
}

/* Faint brand emblem watermark — emblem only, grey, washed out */
.p2p-section--watermark { position: relative; overflow: hidden; }
.p2p-section--watermark::before {
  content: "";
  position: absolute;
  right: -200px;
  top: 50%;
  transform: translateY(-50%);
  width: 900px;
  height: 900px;
  background: url('assets/mountain-emblem.png') no-repeat center / contain;
  filter: grayscale(1);
  opacity: 0.07;
  pointer-events: none;
}
.p2p-section--watermark > .p2p-container { position: relative; z-index: 1; }
.p2p-section--dark { background: var(--p2p-primary); color: var(--p2p-white); }
.p2p-section--dark h2, .p2p-section--dark h3 { color: var(--p2p-white); }
.p2p-section__head { text-align: center; margin: 0 auto 56px; }
.p2p-section__title { font-size: clamp(30px, 3.5vw, 42px); margin-bottom: 14px; }
.p2p-section__lede { font-size: 18px; color: var(--p2p-text-soft); max-width: 720px; margin-left: auto; margin-right: auto; }
.p2p-section--dark .p2p-section__lede { color: #ffffff; }

/* Insurance band */
.p2p-insurance {
  background:
    radial-gradient(900px 420px at 14% 0%, rgba(199, 154, 58, 0.16), transparent 60%),
    radial-gradient(700px 360px at 92% 100%, rgba(199, 154, 58, 0.10), transparent 65%),
    linear-gradient(135deg, #FBF6EA 0%, #F7F5EF 60%, #F3F0E7 100%);
  color: var(--p2p-heading);
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--p2p-line);
  border-bottom: 1px solid var(--p2p-line);
}
.p2p-insurance h2 { color: var(--p2p-heading); font-size: clamp(26px, 3vw, 36px); margin-bottom: 14px; }
.p2p-insurance p { color: var(--p2p-text-soft); max-width: 640px; margin: 0 auto 24px; }

/* Programs (3-column) */
.p2p-programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.p2p-program {
  background: var(--p2p-surface);
  border: 1px solid var(--p2p-line);
  border-radius: var(--p2p-radius-lg);
  padding: 32px 28px;
  box-shadow: var(--p2p-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.p2p-program:hover { transform: translateY(-3px); box-shadow: var(--p2p-shadow); }
.p2p-program__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--p2p-sage-light);
  color: var(--p2p-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.p2p-program__title { font-size: 22px; margin-bottom: 10px; }
.p2p-program__body { color: var(--p2p-text-soft); font-size: 16px; }

/* Values (6-column responsive grid) */
.p2p-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.p2p-value { text-align: left; }
.p2p-value__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--p2p-sage-light);
  color: var(--p2p-primary-dark);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.p2p-value__title { font-size: 19px; margin-bottom: 8px; }
.p2p-value__body { color: var(--p2p-text-soft); font-size: 15px; margin: 0; }

/* Who we serve (2-column) */
.p2p-serves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.p2p-serve {
  position: relative;
  background: var(--p2p-surface);
  border-radius: var(--p2p-radius-lg);
  padding: 0;
  border: 1px solid var(--p2p-line);
  box-shadow: var(--p2p-shadow);
  color: #1f2a32;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.p2p-serve__media { height: 210px; overflow: hidden; }
.p2p-serve__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p2p-serve__body { padding: 32px 36px 40px; display: flex; flex-direction: column; }
.p2p-serve p { color: var(--p2p-text-soft); }
.p2p-serve__tag {
  align-self: flex-start;
  font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--p2p-primary); color: var(--p2p-white);
  padding: 6px 12px; border-radius: 999px; margin-bottom: 16px;
}
.p2p-serve__title {
  font-size: 26px; margin-bottom: 12px;
  color: #1f2a32;
}
.p2p-serve__list { list-style: none; padding: 0; margin: 18px 0 0; }
.p2p-serve__list li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: #1f2a32;
  border-bottom: 1px solid rgba(31, 42, 50, 0.14);
}
.p2p-serve__list li:last-child { border-bottom: none; }
.p2p-serve__list li::before {
  content: "";
  position: absolute; left: 0; top: 16px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--p2p-primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* About */
.p2p-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.p2p-about__title { font-size: clamp(28px, 3vw, 38px); }
.p2p-about__media {
  border-radius: var(--p2p-radius-lg);
  overflow: hidden;
  box-shadow: var(--p2p-shadow);
  aspect-ratio: 4 / 3;
}
.p2p-about__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Testimonials */
.p2p-tests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.p2p-test {
  background: var(--p2p-surface);
  border-radius: var(--p2p-radius-lg);
  padding: 28px;
  border: 1px solid var(--p2p-line);
  box-shadow: var(--p2p-shadow-sm);
  display: flex; flex-direction: column;
}
.p2p-test__stars { color: var(--p2p-accent); font-size: 16px; letter-spacing: 2px; margin-bottom: 14px; }
.p2p-test__quote { font-size: 16px; color: var(--p2p-text); margin-bottom: 18px; flex-grow: 1; }
.p2p-test__author { font-size: 14px; color: var(--p2p-text-soft); font-weight: 600; }

/* FAQ */
.p2p-faq { max-width: 820px; margin: 0 auto; }
.p2p-faq__item {
  background: var(--p2p-surface);
  border: 1px solid var(--p2p-line);
  border-radius: var(--p2p-radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.p2p-faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 600;
  color: var(--p2p-heading);
  font-family: inherit;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.p2p-faq__q::after {
  content: "+";
  font-size: 24px;
  color: var(--p2p-primary);
  font-weight: 400;
  transition: transform .2s ease;
  flex-shrink: 0;
}
.p2p-faq__item[open] .p2p-faq__q::after { content: "−"; }
.p2p-faq__a {
  padding: 0 24px 22px;
  color: var(--p2p-text-soft);
  font-size: 16px;
}

/* Form */
.p2p-form-section {
  background: var(--p2p-mint-bg);
  padding: 84px 0;
}
.p2p-form-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.p2p-form-intro h2 { font-size: clamp(28px, 3vw, 38px); }
.p2p-form-intro p { color: var(--p2p-text-soft); font-size: 17px; }
.p2p-form-intro__bullets { list-style: none; padding: 0; margin: 20px 0 0; }
.p2p-form-intro__bullets li {
  padding: 10px 0 10px 30px;
  position: relative;
  color: var(--p2p-text);
}
.p2p-form-intro__bullets li::before {
  content: "";
  position: absolute; left: 0; top: 14px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--p2p-primary);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}

.p2p-form {
  background: var(--p2p-surface);
  padding: 36px;
  border-radius: var(--p2p-radius-lg);
  box-shadow: var(--p2p-shadow);
  border: 1px solid var(--p2p-line);
}
.p2p-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.p2p-field { display: flex; flex-direction: column; gap: 6px; }
.p2p-field--full { grid-column: 1 / -1; }
.p2p-field label { font-size: 14px; font-weight: 600; color: var(--p2p-heading); }
.p2p-field label .req { color: var(--p2p-rose-dark); margin-left: 2px; }
.p2p-field input,
.p2p-field select,
.p2p-field textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--p2p-line);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: var(--p2p-cream);
  color: var(--p2p-heading);
  transition: border .15s ease, background .15s ease;
}
.p2p-field input:focus,
.p2p-field select:focus,
.p2p-field textarea:focus {
  outline: none;
  border-color: var(--p2p-primary);
  background: var(--p2p-surface);
}
.p2p-field textarea { resize: vertical; min-height: 96px; }
.p2p-field input::placeholder,
.p2p-field textarea::placeholder { color: var(--p2p-text-mute); }
.p2p-field select option { background: var(--p2p-surface); color: var(--p2p-heading); }
.p2p-form__consent {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 13px; color: var(--p2p-text-soft); line-height: 1.5;
  margin-top: 10px;
}
.p2p-form__consent input { margin-top: 3px; flex-shrink: 0; }
.p2p-form__submit { width: 100%; margin-top: 18px; }
.p2p-form__honey { position: absolute; left: -10000px; }

.p2p-form__success {
  display: none;
  background: var(--p2p-sage-light);
  color: var(--p2p-primary-dark);
  padding: 36px;
  border-radius: var(--p2p-radius-lg);
  text-align: center;
}
.p2p-form__success h3 { color: var(--p2p-primary-dark); margin-bottom: 8px; }
.p2p-form.is-submitted { display: none; }
.p2p-form__success.is-shown { display: block; }

/* Final CTA */
/* Final CTA — full dark wash over the photo (matches #who-we-serve / hero) */
.p2p-cta-final {
  position: relative;
  background-color: var(--p2p-charcoal);
  background-image:
    linear-gradient(rgba(12, 30, 33, 0.68), rgba(12, 30, 33, 0.68)),
    url('assets/1778862850380-large-vecteezy_group-of-teenagers-jumping-at-yellow-flower-field-enjoying_5299923_large.jpg');
  background-size: cover;
  background-position: center center;
  color: var(--p2p-white);
  padding: 120px 0;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.p2p-cta-final > .p2p-container { position: relative; z-index: 1; }
.p2p-cta-final h2 { color: var(--p2p-white); font-size: clamp(30px, 3.5vw, 44px); margin-bottom: 16px; }
.p2p-cta-final p { color: #ffffff; max-width: 620px; margin: 0 auto 28px; font-size: 18px; }
.p2p-cta-final__buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.p2p-footer {
  background: #F5F2EA;
  color: #3A3526;
  padding: 56px 0 32px;
  font-size: 15px;
}
.p2p-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.p2p-footer h4 { color: #1F2A33; font-size: 15px; margin-bottom: 16px; font-family: 'Inter', sans-serif; letter-spacing: 0.04em; text-transform: uppercase; font-weight: 600; }
.p2p-footer__logo { color: #1F2A33; margin-bottom: 14px; }
.p2p-footer__about { line-height: 1.6; }
.p2p-footer__list { list-style: none; padding: 0; margin: 0; }
.p2p-footer__list li { padding: 4px 0; }
.p2p-footer__list a { color: #3A3526; }
.p2p-footer__list a:hover { color: #1F2A33; }
.p2p-footer__bottom {
  border-top: 1px solid rgba(0,0,0,0.15);
  padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px;
  color: rgba(31,42,51,0.6);
  flex-wrap: wrap; gap: 12px;
}

/* Responsive */
@media (max-width: 880px) {
  .p2p-nav { display: none; }
}
@media (max-width: 980px) {
  .p2p-section { padding: 64px 0; }
  .p2p-hero { padding: 20px 0; }
  .p2p-hero::before { background-position: 70% center; }
  .p2p-hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .p2p-feature-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 22px; }
  .p2p-programs { grid-template-columns: 1fr; }
  .p2p-values { grid-template-columns: 1fr 1fr; }
  .p2p-serves { grid-template-columns: 1fr; }
  .p2p-about { grid-template-columns: 1fr; gap: 32px; }
  .p2p-tests { grid-template-columns: 1fr; }
  .p2p-form-wrap { grid-template-columns: 1fr; gap: 32px; }
  .p2p-footer__top { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .p2p-section { padding: 56px 0; }
  /* Mobile header: shrink the logo, tighten padding */
  .p2p-logo__img { height: 44px; }
  .p2p-header__inner { padding: 12px 18px; }
  /* Let the brushed phrase wrap on phones so it doesn't overflow */
  .p2p-hero__title em { white-space: normal; }
  .p2p-feature-strip__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .p2p-values { grid-template-columns: 1fr; }
  .p2p-form__row { grid-template-columns: 1fr; }
  .p2p-header__phone span { display: none; }
  .p2p-hero__ctas .p2p-btn { width: 100%; }
  .p2p-hero__form,
  .p2p-hero__form-success { display: none; }
  /* Form section: tighten padding + center the form box */
  .p2p-form-section { padding: 56px 0; }
  .p2p-form-wrap { width: 100%; }
  .p2p-form,
  .p2p-form-intro,
  .p2p-form__success {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-self: center;
  }
  .p2p-form { padding: 24px; }
  .p2p-form-intro { text-align: center; }
  .p2p-form-intro__bullets { display: inline-block; text-align: left; }
}
