/* ============================================================
   FOUNTHEAD - PROBLEMS WE SOLVE PAGE
   Uses global tokens from styles.css
   Namespace: .pws-*
   Section bg: navy or white only
   ============================================================ */

/* ---------- Shared eyebrow ---------- */
.pws-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.3px;
  text-transform: none;
  margin-bottom: 16px;
}
.pws-eyebrow::after {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.pws-eyebrow--light { color: var(--gold); }

/* ============================================================
   FOLD 1 — HERO / BANNER (full-bleed image bg + navy overlay)
   ============================================================ */
.pws-hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  overflow: hidden;
  background: var(--navy);
}
.pws-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 25%;
}
.pws-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,32,53,0.92) 0%, rgba(10,32,53,0.75) 55%, rgba(10,32,53,0.85) 100%);
}
.pws-hero__layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: end;
}
.pws-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.5vw, 54px);
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.5px;
}
.pws-hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--fs-lg);
  color: rgba(255,255,255,0.88);
  line-height: var(--lh-loose);
  margin-bottom: 28px;
  max-width: 520px;
}
.pws-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  background: rgba(255,191,0,0.1);
  border: 1px solid rgba(255,191,0,0.4);
  border-radius: 14px;
  color: var(--white);
  font-family: var(--font-heading);
  transition: all 0.3s ease;
}
.pws-hero__cta i { font-size: var(--fs-h5); color: var(--gold); }
.pws-hero__cta span { font-size: var(--fs-sm); color: rgba(255,255,255,0.7); display: block; }
.pws-hero__cta strong { font-size: var(--fs-cta); font-weight: var(--fw-semibold); display: block; }
.pws-hero__cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.pws-hero__cta:hover i,
.pws-hero__cta:hover span,
.pws-hero__cta:hover strong { color: var(--navy); }

/* ============================================================
   FOLD 2 — INTRO STATEMENT (enhanced with stat + intervention box)
   ============================================================ */
.pws-intro {
  position: relative;
  background: var(--white);
  padding: 130px 0;
  overflow: hidden;
}
.pws-intro__shape--gold {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,0,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pws-intro__shape--ring {
  position: absolute;
  bottom: 60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px dashed rgba(10,32,53,0.08);
  pointer-events: none;
  z-index: 0;
}
.pws-intro .container { position: relative; z-index: 2; }

.pws-intro__layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.pws-intro__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.2vw, 46px);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-weight: var(--fw-semibold);
}
.pws-intro__nowrap { white-space: nowrap; }
@media (max-width: 600px) {
  .pws-intro__nowrap { white-space: normal; }
}
.pws-intro__copy {
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  color: var(--text-body);
  line-height: var(--lh-loose);
  margin-bottom: 24px;
}
.pws-intro__copy strong {
  color: var(--navy);
  font-weight: var(--fw-semibold);
}

/* Stat card on LEFT */
.pws-intro__stat {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px 28px;
  background: var(--navy);
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(10,32,53,0.18);
  max-width: 420px;
  position: relative;
  overflow: hidden;
}
.pws-intro__stat::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255,191,0,0.18);
}
.pws-intro__stat-num {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -2px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.pws-intro__stat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  z-index: 1;
}
.pws-intro__stat-text strong {
  font-family: var(--font-heading);
  font-size: var(--fs-base);
  font-weight: var(--fw-semibold);
  color: var(--white);
  line-height: 1.3;
}
.pws-intro__stat-text span {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.7);
  line-height: 1.5;
}

/* Intervention box on RIGHT */
.pws-intro__box {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-left: 4px solid var(--gold);
  border-radius: 14px;
  padding: 26px 28px 24px;
  margin-bottom: 28px;
}
.pws-intro__box-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.pws-intro__box-title {
  font-family: var(--font-heading);
  font-size: var(--fs-h4);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.pws-intro__box-title span {
  color: var(--gold);
  margin: 0 4px;
}
.pws-intro__box-copy {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0;
}

.pws-intro__pillars {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.pws-intro__pillars li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--white);
  box-shadow: 0 8px 18px rgba(10,32,53,0.16);
  transition: all 0.3s ease;
}
.pws-intro__pillars li:hover {
  background: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(10,32,53,0.22);
}
.pws-intro__pillars i {
  color: var(--gold);
  font-size: var(--fs-base);
}

/* ============================================================
   FOLD 3 — PROBLEM CARDS (8 image-led, white bg + gold touch)
   ============================================================ */
.pws-problems {
  position: relative;
  background: var(--navy);
  padding: 130px 0 150px;
  overflow: hidden;
}
.pws-problems::before {
  content: '';
  position: absolute;
  top: 0;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,0,0.14) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pws-problems::after {
  content: '';
  position: absolute;
  bottom: 80px;
  left: -100px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,191,0,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.pws-problems .container { position: relative; z-index: 2; }

.pws-problems__header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}
.pws-problems__header .pws-eyebrow { justify-content: center; }
.pws-problems__title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 3.6vw, 52px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.8px;
  font-weight: var(--fw-semibold);
  margin-bottom: 18px;
}
.pws-problems__sub {
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  color: rgba(255,255,255,0.78);
  line-height: var(--lh-loose);
}

/* 4x2 grid of image-led cards */
.pws-problems__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  max-width: 1240px;
  margin: 0 auto;
}

.pws-pcard {
  position: relative;
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(10,32,53,0.08);
  transition: all 0.45s cubic-bezier(0.22,1,0.36,1);
  display: flex;
  flex-direction: column;
  border: 2px solid var(--gray-200);
}
/* Subtle gold corner accent (always visible, refined) */
.pws-pcard::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 36px 36px 0;
  border-color: transparent var(--gold) transparent transparent;
  z-index: 2;
  transition: border-width 0.4s ease;
}
.pws-pcard:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 56px rgba(10,32,53,0.22);
  border-color: var(--gold);
  border-width: 3px;
}
.pws-pcard:hover::after {
  border-width: 0 50px 50px 0;
}
.pws-pcard:hover .pws-pcard__body {
  background: var(--navy);
}
.pws-pcard:hover .pws-pcard__title {
  color: var(--white);
}
.pws-pcard:hover .pws-pcard__copy {
  color: rgba(255,255,255,0.78);
}
.pws-pcard:hover .pws-pcard__media__overlay {
  opacity: 1;
}
.pws-pcard:hover .pws-pcard__media-img {
  transform: scale(1.08);
}

/* MEDIA — image header with zoomable bg */
.pws-pcard__media {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: var(--navy);
}
.pws-pcard__media-img {
  position: absolute;
  inset: 0;
  background-image: var(--media-img, none);
  background-size: cover;
  background-position: center;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.pws-pcard__media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,32,53,0.18) 0%, rgba(10,32,53,0.7) 100%);
  z-index: 1;
}
/* Navy badge on image (always visible blue element) — gold ring accent */
.pws-pcard__media::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  z-index: 2;
  box-shadow: 0 6px 16px rgba(10,32,53,0.3);
  transition: transform 0.4s ease, background 0.4s ease;
}
.pws-pcard:hover .pws-pcard__media::after {
  transform: scale(1.15);
  background: var(--gold);
  border-color: var(--navy);
}

/* BODY — title + copy */
.pws-pcard__body {
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
  background: var(--white);
  transition: background 0.4s ease;
}
.pws-pcard__body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 28px;
  width: 44px;
  height: 4px;
  background: var(--gold);
  border-radius: 0 0 4px 4px;
  transition: width 0.4s ease, background 0.4s ease;
}
.pws-pcard:hover .pws-pcard__body::before {
  width: 80px;
}
.pws-pcard__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h5);
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin-top: 10px;
  margin-bottom: 12px;
  transition: color 0.4s ease;
}
.pws-pcard__copy {
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
  transition: color 0.4s ease;
}

/* ============================================================
   FOLD 4 — CONNECT WITH US (light section + navy card)
   ============================================================ */
.pws-connect {
  background: var(--white);
  padding: 130px 0 140px;
}
.pws-connect__card {
  background: var(--navy);
  border-radius: 24px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  box-shadow: 0 28px 60px rgba(10,32,53,0.2);
}
.pws-connect__left { padding: 64px 56px; position: relative; }
.pws-connect__right {
  background: linear-gradient(160deg, #112e4f 0%, #0a2035 100%);
  padding: 64px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.pws-connect__title {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3vw, 44px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.6px;
  font-weight: var(--fw-semibold);
  margin-bottom: 14px;
}
.pws-connect__copy {
  font-family: var(--font-body);
  font-size: var(--fs-cta);
  color: rgba(255,255,255,0.78);
  line-height: var(--lh-loose);
  margin-bottom: 32px;
}

.pws-connect__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 32px;
}
.pws-connect__item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  transition: transform 0.3s ease;
}
.pws-connect__item:hover { transform: translateX(4px); }
.pws-connect__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,191,0,0.15);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-size: var(--fs-h5);
  flex-shrink: 0;
}
.pws-connect__item h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-xs);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: var(--fw-semibold);
  margin-bottom: 2px;
}
.pws-connect__item span {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}

.pws-connect__social {
  display: flex;
  gap: 12px;
}
.pws-connect__social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}
.pws-connect__social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

.pws-connect__cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 28px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: var(--fs-cta);
  font-weight: var(--fw-semibold);
  transition: all 0.3s ease;
  margin-bottom: 18px;
}
.pws-connect__cta:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,191,0,0.3);
}
.pws-connect__note {
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .pws-problems__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .pws-hero__layout,
  .pws-intro__layout,
  .pws-connect__card { grid-template-columns: 1fr; gap: 40px; }
  .pws-problems__grid { grid-template-columns: repeat(2, 1fr); }
  .pws-connect__items { grid-template-columns: 1fr; }
  .pws-connect__left { padding: 48px 32px; }
  .pws-connect__right { padding: 48px 32px; border-left: none; border-top: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 560px) {
  .pws-problems__grid { grid-template-columns: 1fr; }
}
