:root {
  --bg: #f7f3e8;
  --surface: #ffffff;
  --text: #142b5a;
  --muted: #5b6a86;
  --line: #d6e1f6;
  --blue: #1f62e7;
  --blue-deep: #0e3f9f;
  --yellow: #ffcb33;
  --orange: #ff9226;
  --mint: #dff8f4;
  --purple: #6d43ff;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow: 0 16px 36px rgba(17, 39, 84, 0.12);
  --shadow-soft: 0 10px 24px rgba(17, 39, 84, 0.09);
  --container: min(1160px, calc(100% - 28px));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.5;
  background:
    radial-gradient(900px 420px at 100% -10%, #e7f0ff 0%, transparent 58%),
    radial-gradient(860px 460px at -10% 38%, #fff6db 0%, transparent 62%),
    var(--bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.ph-container {
  width: var(--container);
  margin-inline: auto;
}

.ph-section {
  padding: 38px 0;
  position: relative;
  content-visibility: auto;
  contain-intrinsic-size: 760px;
}

.ph-section--tint {
  background:
    radial-gradient(520px 220px at 8% 14%, #e9f6ff 0%, transparent 60%),
    #f8fdff;
}

.ph-section--stats {
  background:
    linear-gradient(180deg, #fffef9 0%, #fff 100%);
}

.ph-section--photos {
  background: linear-gradient(180deg, #f6faff 0%, #fdfcff 100%);
}

.ph-section--warm {
  background:
    radial-gradient(420px 220px at 96% 20%, #fff2e0 0%, transparent 62%),
    #fffdf8;
}

.ph-section--testimonials {
  background:
    radial-gradient(500px 240px at 2% 10%, #edf3ff 0%, transparent 64%),
    #fff;
}

.ph-section--news {
  background: #f7faff;
}

.ph-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 16px;
  background:
    radial-gradient(circle at 8px -2px, transparent 9px, rgba(219, 227, 248, 0.85) 10px, rgba(219, 227, 248, 0.85) 11px, transparent 12px)
    repeat-x;
  background-size: 16px 16px;
  pointer-events: none;
}

.ph-h2,
.ph-h3,
.ph-hero__title,
.ph-card__title,
.ph-footer__title {
  font-family: "Baloo 2", cursive;
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.08;
}

.ph-h2 {
  font-size: clamp(1.5rem, 4.1vw, 2.55rem);
}

.ph-h3 {
  font-size: clamp(1.13rem, 3.4vw, 1.65rem);
}

.ph-subtitle,
.ph-body,
.ph-caption,
.ph-card__text,
.ph-footer__text {
  color: var(--muted);
}

.ph-topbar {
  background: #0f3f9f;
  color: #e8efff;
  font-size: 0.79rem;
}

.ph-topbar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 5px 0;
}

.ph-topbar__left {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.ph-topbar__left span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
}

.ph-topbar__right {
  display: none;
  align-items: center;
  gap: 6px;
}

.ph-topbar__right a {
  width: 22px;
  height: 22px;
  border-radius: 99px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
}

.ph-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(12, 40, 98, 0.1);
}

.ph-nav__inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ph-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.ph-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
  background: linear-gradient(145deg, var(--blue) 0%, #2d7aff 100%);
  box-shadow: 0 10px 20px rgba(31, 95, 224, 0.35);
}

.ph-brand__text {
  font-family: "Baloo 2", cursive;
  font-size: 1.1rem;
  color: #11347f;
  white-space: nowrap;
}

.ph-nav__links {
  display: none;
  gap: 4px;
}

.ph-nav__links a {
  padding: 9px 14px;
  border-radius: 999px;
  color: #2a4374;
  font-size: 0.9rem;
  font-weight: 700;
}

.ph-nav__links a:hover {
  background: #eef3ff;
}

.ph-nav__cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ph-nav__cta > .ph-btn {
  display: none;
}

.ph-nav__toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #edf2ff;
  color: var(--blue-deep);
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.ph-nav__drawer {
  display: grid;
  gap: 8px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  padding: 0 14px;
  border-bottom: 1px solid rgba(12, 40, 98, 0.1);
  background: #fff;
}

.ph-nav__drawer.is-open {
  max-height: 440px;
  padding-bottom: 14px;
}

.ph-nav__drawer a {
  border: 1px solid #dfe7fb;
  border-radius: 11px;
  padding: 10px 12px;
  font-weight: 700;
  color: #244074;
}

.ph-btn {
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 16px;
  font: 800 0.86rem/1 "Nunito Sans", sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ph-btn:hover {
  transform: translateY(-1px);
}

.ph-btn--primary {
  color: #fff;
  background: linear-gradient(140deg, var(--blue) 0%, #2d7eff 100%);
  box-shadow: 0 10px 24px rgba(31, 95, 224, 0.3);
}

.ph-btn--ghost {
  color: #1c439f;
  background: #fff;
  border: 1px solid #c9d8fc;
}

.ph-nav .ph-btn--primary {
  background: linear-gradient(140deg, #1f62e7 0%, #2f83ff 100%);
  color: #fff;
}

.ph-hero__actions .ph-btn--primary {
  background: linear-gradient(140deg, #ffcf3f 0%, #ffbc1d 100%);
  color: #1f3464;
  box-shadow: 0 10px 20px rgba(255, 196, 45, 0.35);
}

.ph-hero__actions .ph-btn--ghost {
  background: linear-gradient(140deg, #1f62e7 0%, #2f83ff 100%);
  color: #fff;
  border-color: transparent;
}

.ph-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.74rem;
  color: #204da2;
  background: #eef4ff;
  border: 1px solid #d8e4ff;
}

.ph-hero {
  padding: 24px 0 40px;
}

.ph-hero__wrap {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 18px;
  background:
    radial-gradient(540px 220px at 0% 100%, #f5f9ff 0%, transparent 58%),
    radial-gradient(380px 180px at 100% 0%, #fff7dd 0%, transparent 62%),
    #fff;
  border: 1px solid #dbe6fb;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.ph-hero__shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.ph-hero__shape.s1 {
  width: 150px;
  height: 150px;
  top: -58px;
  left: -52px;
  background: radial-gradient(circle, rgba(31, 95, 224, 0.16) 0%, transparent 72%);
}

.ph-hero__shape.s2 {
  width: 190px;
  height: 190px;
  right: -80px;
  top: -74px;
  background: radial-gradient(circle, rgba(255, 201, 65, 0.22) 0%, transparent 68%);
}

.ph-hero__shape.s3 {
  width: 170px;
  height: 170px;
  bottom: -78px;
  right: 20%;
  background: radial-gradient(circle, rgba(111, 68, 255, 0.17) 0%, transparent 68%);
}

.ph-hero__shape.s4 {
  width: 130px;
  height: 130px;
  bottom: -52px;
  left: 20%;
  background: radial-gradient(circle, rgba(255, 143, 44, 0.2) 0%, transparent 72%);
}

.ph-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 18px;
}

.ph-hero__title {
  margin-top: 12px;
  font-size: clamp(1.9rem, 5.8vw, 3.4rem);
  color: #112a62;
}

.ph-hero__subtitle {
  margin-top: 12px;
  max-width: 54ch;
  font-size: 0.95rem;
}

.ph-hero__actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-proof {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ph-proof__pill {
  background: #fff;
  border: 1px solid #dbe6fb;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #35507f;
  display: flex;
  gap: 7px;
  align-items: center;
}

.ph-proof__pill i {
  color: #1f5fe0;
}

.ph-hero__visual {
  position: relative;
}

.ph-hero__photo {
  border-radius: 22px;
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
}

.ph-mini {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.ph-mini__card {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #dae5fb;
  border-radius: 12px;
  padding: 10px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  box-shadow: var(--shadow-soft);
}

.ph-mini__card strong {
  display: block;
  color: #163470;
  font-size: 0.8rem;
}

.ph-mini__card span {
  color: #5a6a8a;
  font-size: 0.72rem;
}

.ph-mini__card i {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: linear-gradient(135deg, #2b71f4 0%, #1e4eba 100%);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
}

.ph-trust {
  padding: 8px 0 4px;
  background: #fff;
  border-top: 1px solid #e1e9fb;
  border-bottom: 1px solid #e1e9fb;
}

.ph-trust__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ph-trust__row div {
  border: 1px solid #dce6fb;
  border-radius: 12px;
  padding: 9px 10px;
  font-size: 0.78rem;
  color: #355384;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(140deg, #fbfdff 0%, #f3f7ff 100%);
}

.ph-trust__row i {
  width: 24px;
  height: 24px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #2b6ff2 0%, #1f4fbf 100%);
  font-size: 0.74rem;
}

.ph-section__header {
  text-align: center;
  margin-bottom: 18px;
}

.ph-section__header .ph-subtitle {
  margin-top: 8px;
}

.ph-section__header .ph-h2 {
  display: inline-block;
  position: relative;
  padding-top: 6px;
}

.ph-section__header .ph-h2::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  width: 66px;
  height: 8px;
  background: linear-gradient(90deg, #ffcc38 0%, #1f62e7 100%);
  border-radius: 999px;
}

.ph-grid {
  display: grid;
  gap: 12px;
}

.ph-card,
.ph-panel,
.ph-stat,
.ph-photo,
.ph-news,
.ph-cta__panel,
.ph-twrap {
  background: #fff;
  border: 1px solid #dbe6fb;
  border-radius: var(--radius-md);
}

.ph-card {
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border-width: 2px;
}

.ph-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 12px 12px 0;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.73rem;
  background: #eef4ff;
  color: #274d9c;
}

.ph-card__media {
  padding: 10px 12px 0;
}

.ph-card__media img {
  border-radius: 14px;
  aspect-ratio: 1.55 / 1;
  width: 100%;
  object-fit: cover;
}

.ph-card__body {
  padding: 12px;
}

.ph-card__title {
  font-size: 1.1rem;
  color: #17356f;
}

.ph-card__text {
  margin-top: 6px;
  font-size: 0.86rem;
}

.ph-card[data-tone="early"] {
  border-top: 5px solid #1f5fe0;
  border-color: #cfe0ff;
}

.ph-card[data-tone="primary"] {
  border-top: 5px solid #6c4bff;
  border-color: #d8d2ff;
}

.ph-card[data-tone="stem"] {
  border-top: 5px solid #20b872;
  border-color: #cdeedc;
}

.ph-card[data-tone="values"] {
  border-top: 5px solid #ff8f2c;
  border-color: #ffe0bf;
}

.ph-card[data-tone="wellbeing"] {
  border-top: 5px solid #f5488f;
  border-color: #ffd1e5;
}

.ph-split {
  display: grid;
  gap: 12px;
}

.ph-panel {
  padding: 15px;
}

.ph-body {
  margin-top: 10px;
}

.ph-method {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.ph-method__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7faff;
  border: 1px solid #dbe7fb;
  border-radius: 12px;
  padding: 10px;
}

.ph-method__icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, #2f71f3 0%, #2252bf 100%);
}

.ph-method__item strong {
  display: block;
  color: #1f3665;
  font-size: 0.88rem;
}

.ph-method__item span {
  display: block;
  color: #607192;
  font-size: 0.78rem;
  margin-top: 2px;
}

.ph-media img {
  border-radius: 14px;
}

.ph-caption {
  margin-top: 8px;
  font-size: 0.82rem;
}

.ph-stat {
  padding: 16px;
  text-align: center;
  border-width: 2px;
  background: #fff;
}

.ph-stat__num {
  font-family: "Fredoka", cursive;
  color: #1e4fb9;
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  line-height: 1;
}

.ph-stat__label {
  margin-top: 7px;
  color: #607194;
  font-size: 0.82rem;
}

.ph-section--stats .ph-stat:nth-child(1) {
  border-color: #cfe0ff;
  background: linear-gradient(150deg, #f8fbff 0%, #edf4ff 100%);
}

.ph-section--stats .ph-stat:nth-child(2) {
  border-color: #d9d1ff;
  background: linear-gradient(150deg, #faf8ff 0%, #f0ebff 100%);
}

.ph-section--stats .ph-stat:nth-child(3) {
  border-color: #cdeedc;
  background: linear-gradient(150deg, #f6fff8 0%, #ebf9ef 100%);
}

.ph-section--stats .ph-stat:nth-child(4) {
  border-color: #ffe1bf;
  background: linear-gradient(150deg, #fffaf4 0%, #fff0de 100%);
}

.ph-photo-grid {
  display: grid;
  gap: 12px;
}

.ph-photo {
  overflow: hidden;
}

.ph-photo img {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  object-fit: cover;
}

.ph-photo figcaption {
  padding: 11px 12px;
  color: #50638a;
  font-size: 0.82rem;
  border-top: 1px solid #e0e7f8;
}

.ph-twrap {
  overflow: hidden;
  border: 2px dashed #d3def7;
  background: #fff;
}

.ph-ttrack {
  display: flex;
  transition: transform 0.45s ease;
}

.ph-tcard {
  min-width: 100%;
  padding: 18px;
}

.ph-tquote {
  color: #415476;
}

.ph-tname {
  margin-top: 10px;
  font-family: "Fredoka", cursive;
  color: #163268;
}

.ph-tmeta {
  margin-top: 4px;
  color: #627494;
  font-size: 0.82rem;
}

.ph-tdots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 0 0 14px;
}

.ph-tdots .dot {
  width: 9px;
  height: 9px;
  border-radius: 99px;
  border: 0;
  background: #c6d5f4;
  cursor: pointer;
}

.ph-tdots .dot.is-active {
  background: #1f5fe0;
}

.ph-newsgrid {
  display: grid;
  gap: 12px;
}

.ph-newsloading {
  border: 1px dashed #c9d8f7;
  border-radius: 16px;
  text-align: center;
  padding: 28px 16px;
  color: #63759a;
}

.ph-news {
  border-radius: 16px;
  overflow: hidden;
  display: block;
}

.ph-news__media {
  min-height: 168px;
  position: relative;
  background: linear-gradient(145deg, #ebf2ff 0%, #f7faff 100%);
}

.ph-news__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  border-radius: 999px;
  padding: 6px 9px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ph-tag[data-kind="news"] {
  background: #235dd9;
}

.ph-tag[data-kind="announcement"] {
  background: #ff9a24;
}

.ph-tag[data-kind="event"] {
  background: #1db674;
}

.ph-news__body {
  padding: 12px;
}

.ph-news__title {
  font-family: "Fredoka", cursive;
  font-size: 1.05rem;
  color: #16366e;
  margin: 0;
}

.ph-news__text {
  margin-top: 7px;
  color: #5b6c8f;
  font-size: 0.86rem;
}

.ph-news__meta {
  margin-top: 8px;
  color: #526792;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ph-center {
  text-align: center;
  margin-top: 14px;
}

.ph-cta {
  padding: 0 0 38px;
}

.ph-cta__panel {
  color: #fff;
  padding: 22px;
  background:
    radial-gradient(520px 220px at 100% 0%, rgba(255, 255, 255, 0.26) 0%, transparent 64%),
    linear-gradient(140deg, #1f5fe0 0%, #2e80ff 100%);
  border: 2px solid #9fc0ff;
}

.ph-h2--light,
.ph-subtitle--light {
  color: #fff;
}

.ph-subtitle--light {
  opacity: 0.92;
  margin-top: 8px;
}

.ph-cta__actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ph-cta .ph-btn--ghost {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.ph-cta .ph-btn--primary {
  background: linear-gradient(140deg, #ffd24b 0%, #ffbf1f 100%);
  color: #223968;
  box-shadow: 0 10px 20px rgba(255, 197, 39, 0.35);
}

.ph-footer {
  background: #0d2560;
  color: #dce7ff;
  padding-top: 30px;
}

.ph-footer__grid {
  display: grid;
  gap: 18px;
}

.ph-footer__title {
  color: #fff;
  font-size: 1.12rem;
}

.ph-footer__text {
  margin-top: 8px;
  font-size: 0.88rem;
}

.ph-footer__link {
  display: block;
  margin-top: 7px;
  color: #dce7ff;
}

.ph-social {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.ph-social a {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.12);
}

.ph-social a.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ph-footer__bottom {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding: 12px 0 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.82rem;
}

.ph-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ph-reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ph-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ph-btn {
    transition: none;
  }
}

@media (min-width: 640px) {
  .ph-topbar__right {
    display: inline-flex;
  }

  .ph-topbar__inner {
    justify-content: space-between;
  }

  .ph-section {
    padding: 50px 0;
  }

  .ph-grid--4,
  .ph-newsgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ph-hero__wrap {
    padding: 24px;
  }

  .ph-trust__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .ph-nav__links {
    display: flex;
  }

  .ph-nav__cta > .ph-btn {
    display: inline-flex;
  }

  .ph-nav__toggle,
  .ph-nav__drawer {
    display: none;
  }

  .ph-hero__grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: 24px;
    align-items: center;
  }

  .ph-mini {
    position: absolute;
    right: -10px;
    bottom: 18px;
    width: min(280px, 50%);
  }

  .ph-photo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ph-grid--4,
  .ph-newsgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ph-footer__grid {
    grid-template-columns: 1.2fr 0.9fr 1fr;
  }

  .ph-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1180px) {
  .ph-section {
    padding: 62px 0;
  }

  .ph-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .ph-newsgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
