:root {
  /* Brand yellow — primary CTA fill & hover target */
  --brand-yellow: #fbe639;
  --brand-ink: #231f20;
  --brand-sky: #98d6fc;
  --brand-mint: #c1e7b8;
  --brand-pink: #f287a4;
  --brand-cloud: #e9e8e9;
  --brand-white: #fffdf7;
  --shadow: 0 18px 50px rgba(35, 31, 32, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: var(--brand-ink);
  background: #ffffff;
  overflow-x: clip;
  min-width: 0;
}

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

iframe,
video {
  max-width: 100%;
}

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

p {
  line-height: 1.75;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  box-sizing: border-box;
}

.section {
  padding: 5.5rem 0;
}

.section-tinted {
  background: rgba(152, 214, 252, 0.18);
}

/* Brand colour section variants */
.section-yellow  { background: #fbe639; }
.section-sky     { background: rgba(152, 214, 252, 0.28); }
.section-pink    { background: rgba(242, 135, 164, 0.18); }
.section-mint    { background: rgba(193, 231, 184, 0.32); }
.section-dark    { background: var(--brand-ink); color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: rgba(255, 253, 247, 0.84);
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

.nav-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 1.25rem;
  padding: 0.55rem 0;
}

.hero-actions {
  flex-wrap: wrap;
  align-items: center;
}

.footer-shell,
.site-nav,
.hero-actions,
.program-grid,
.support-grid,
.values-grid,
.founders-grid,
.blog-grid,
.footer-links {
  display: flex;
  gap: 1rem;
}

.footer-shell {
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand img,
.footer-logo {
  width: 50px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(35, 31, 32, 0.72);
}

.site-nav {
  align-items: center;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 1.25rem;
  overflow: visible;
}

.site-nav a {
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.25rem 0.2rem;
  white-space: nowrap;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger::after {
  content: "▾";
  display: inline-block;
  margin-left: 0.2rem;
  font-size: 0.65rem;
  opacity: 0.75;
  vertical-align: middle;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 280px;
  padding: 0.45rem 0;
  background: rgba(255, 253, 247, 0.98);
  border: 1px solid rgba(35, 31, 32, 0.1);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 50;
  pointer-events: none;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.55rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--brand-ink);
}

.nav-dropdown__menu a:hover {
  background: rgba(152, 214, 252, 0.28);
}

.header-cta {
  justify-self: end;
  flex-shrink: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 999px;
  background: var(--brand-yellow);
  color: var(--brand-ink);
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

/* Primary (already yellow): reinforce brand yellow on hover/focus */
.button:not(.button-dark):not(.button-light):hover,
.button:not(.button-dark):not(.button-light):focus-visible {
  transform: translateY(-1px);
  background: var(--brand-yellow);
  color: var(--brand-ink);
  filter: brightness(1.06);
  box-shadow: 0 20px 48px rgba(35, 31, 32, 0.14);
}

.button:focus-visible {
  outline: 3px solid var(--brand-sky);
  outline-offset: 3px;
}

.button-small {
  min-height: 40px;
  padding: 0.7rem 1.1rem;
}

.button-light {
  background: white;
}

.button-light:hover,
.button-light:focus-visible {
  background: var(--brand-yellow);
  color: var(--brand-ink);
  transform: translateY(-1px);
  filter: none;
  box-shadow: 0 20px 48px rgba(35, 31, 32, 0.12);
}

.button-dark {
  background: var(--brand-ink);
  color: white;
}

.button-dark:hover,
.button-dark:focus-visible {
  background: var(--brand-yellow);
  color: var(--brand-ink);
  transform: translateY(-1px);
  filter: none;
  box-shadow: 0 20px 48px rgba(35, 31, 32, 0.12);
}

@media (prefers-reduced-motion: reduce) {
  .button,
  .button:hover,
  .button:focus-visible,
  .button-dark:hover,
  .button-light:hover {
    transition: none;
    transform: none;
  }
}

.eyebrow,
.mini-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(242, 135, 164, 0.18);
  color: var(--brand-ink);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero {
  overflow: hidden;
  padding: 5rem 0 4rem;
}

.hero-grid,
.split-section,
.portal-preview,
.contact-grid,
.facilities-grid,
.portal-layout,
.portal-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid,
.split-section,
.portal-preview,
.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero h1,
.blog-hero h1,
.article-card h1 {
  margin: 1rem 0;
  font-size: clamp(2.6rem, 5vw, 4.6rem);
  line-height: 1.05;
}

h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.hero-text.narrow {
  max-width: 720px;
}

.section-heading .hero-text.narrow {
  margin-inline: auto;
  max-width: min(46rem, 100%);
  text-wrap: pretty;
}

.image-stack {
  position: relative;
  min-height: 520px;
}

.image-main,
.image-accent {
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-main {
  width: 78%;
  height: 520px;
}

.image-accent {
  position: absolute;
  right: 0;
  width: 42%;
  height: 210px;
  border: 8px solid white;
}

.image-accent.top {
  top: 1.5rem;
}

.image-accent.bottom {
  bottom: 1rem;
}

.support-grid,
.values-grid,
.program-grid,
.founders-grid,
.blog-grid {
  flex-wrap: wrap;
}

.support-card,
.value-card,
.program-card,
.founder-card,
.blog-card,
.highlight-card,
.dashboard-card,
.facility-card,
.contact-card,
.card-panel,
.article-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.invoice-pill strong {
  display: block;
}

.trust-strip {
  padding: 1.35rem 0 1.5rem;
  background: var(--brand-ink);
  color: white;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1.75rem;
  font-size: 0.9rem;
}

.trust-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
  min-width: 0;
}

.trust-item img {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-sm);
  background: linear-gradient(165deg, #fff9ef 0%, #f0e8dc 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.trust-item p {
  margin: 0;
  flex: 1;
  min-width: 0;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

.highlight-card,
.dashboard-card,
.contact-card,
.card-panel,
.article-card {
  padding: 1.8rem;
}

.feature-list {
  padding-left: 1.1rem;
  line-height: 1.8;
}

.section-heading {
  margin-bottom: 2rem;
  text-align: center;
}

.section-heading.left {
  text-align: left;
}

.program-card,
.value-card,
.blog-card {
  flex: 1 1 240px;
}

.program-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: stretch;
}

.program-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.program-card__titles {
  flex: 1;
  min-width: 0;
}

.program-card__titles span {
  font-size: 0.88rem;
  font-weight: 700;
  color: rgba(35, 31, 32, 0.72);
  display: block;
}

.program-card__titles h3 {
  margin: 0.35rem 0 0;
  font-size: 1.22rem;
  line-height: 1.25;
}

.program-card__thumb {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(35, 31, 32, 0.12);
}

.program-card__text {
  flex: 1 1 auto;
  margin: 0;
}

.program-card__cta {
  align-self: flex-start;
  margin-top: 0.35rem;
}

.section-programs .container {
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
}

.section-programs .section-heading {
  margin-bottom: 2.25rem;
}

.program-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  gap: 1rem 1.15rem;
  padding: 1.65rem 1.5rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 36px rgba(35, 31, 32, 0.08);
  border: 1px solid rgba(35, 31, 32, 0.06);
}

.program-stats--hero {
  margin: 2.35rem 0 0;
  padding: 1.45rem 1.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px rgba(35, 31, 32, 0.1);
}

.program-stats__item {
  padding: 0.45rem 0.5rem;
  text-align: center;
}

.program-stats__item strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.3;
  color: var(--brand-ink);
}

.program-stats__item span {
  display: block;
  font-size: 0.84rem;
  font-weight: 500;
  color: rgba(35, 31, 32, 0.72);
  line-height: 1.45;
}

.program-grid {
  gap: 1.35rem;
}

.founder-card {
  flex: 0 1 280px;
  max-width: 280px;
  text-align: center;
}

.founder-card--profile {
  flex: 1 1 300px;
  max-width: min(440px, 100%);
  padding: 0;
}

.value-card,
.facility-card,
.support-card {
  padding: 1.6rem;
}

.program-card {
  padding: 1.9rem 1.75rem 1.85rem;
}

.facility-card h3 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.facility-card__emoji {
  font-style: normal;
  line-height: 1;
}

.support-grid {
  margin-top: 1.4rem;
}

.support-card {
  flex: 1 1 150px;
  text-align: center;
  font-weight: 700;
  background: rgba(193, 231, 184, 0.38);
}

.facilities-grid {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
}

.facilities-intro {
  min-width: 0;
}

.facilities-carousel {
  margin-top: 1.5rem;
  width: 100%;
}

.facilities-carousel__viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.65);
}

.facilities-carousel__viewport::-webkit-scrollbar {
  height: 8px;
}

.facilities-carousel__viewport::-webkit-scrollbar-thumb {
  background: rgba(35, 31, 32, 0.22);
  border-radius: 4px;
}

.facilities-carousel__track {
  display: flex;
  gap: 0.75rem;
  padding: 0.5rem;
}

.facilities-carousel__slide {
  flex: 0 0 min(100%, 320px);
  scroll-snap-align: start;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  aspect-ratio: 16 / 10;
  box-shadow: 0 8px 24px rgba(35, 31, 32, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.facilities-carousel__slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(35, 31, 32, 0.18);
}

.facilities-carousel__slide:focus-visible {
  outline: 3px solid var(--brand-sky);
  outline-offset: 2px;
}

.facilities-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.facilities-carousel__toolbar {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.carousel-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(35, 31, 32, 0.12);
  background: white;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  font-weight: 700;
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: var(--brand-yellow);
  color: var(--brand-ink);
  border-color: rgba(35, 31, 32, 0.12);
}

.carousel-btn:focus-visible {
  outline: 3px solid var(--brand-sky);
  outline-offset: 2px;
}

.facilities-carousel__hint {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(35, 31, 32, 0.78);
}

.facilities-carousel__hint a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.facilities-carousel__sep {
  opacity: 0.45;
}

.section-heading h1 {
  margin: 1rem 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.12;
}

.photo-page-staff-link {
  font-size: 0.92rem;
  font-weight: 500;
}

.photo-page-lead {
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}

.photo-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.photo-gallery__item {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.photo-gallery__link {
  display: block;
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
}

.photo-gallery__link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
  gap: 1.75rem;
  margin-top: 0.75rem;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.video-card__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #1c1b1f 0%, #3d3a42 100%);
}

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__frame--file video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: contain;
  background: #0f0f10;
}

.video-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0;
  padding: 1.05rem 1.2rem 0.25rem;
  line-height: 1.4;
  color: var(--brand-ink);
}

.video-card__meta {
  margin: 0;
  padding: 0 1.2rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(35, 31, 32, 0.62);
}

.video-card__drive {
  margin: 0.65rem 0 0;
  padding: 0 1.2rem 1.15rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.video-card__drive a {
  color: var(--brand-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#annual-day .section-heading {
  margin-bottom: 2rem;
}

.facility-columns {
  display: grid;
  gap: 1rem;
}

.dashboard-card {
  background: linear-gradient(135deg, rgba(152, 214, 252, 0.32), rgba(193, 231, 184, 0.5));
}

.progress-bars {
  display: grid;
  gap: 1rem;
}

.bar {
  margin-top: 0.45rem;
  height: 14px;
  border-radius: 999px;
  background: rgba(35, 31, 32, 0.1);
  overflow: hidden;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-yellow));
}

.invoice-pill {
  margin-top: 1.4rem;
  padding: 1rem 1.1rem;
  background: white;
  border-radius: var(--radius-md);
}

.founders-grid {
  justify-content: center;
}

.founders-section .founder-card:not(.founder-card--profile) img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 22%;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.founders-section .founder-card--profile img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.98);
}

.founder-card h3 {
  margin: 0.85rem 0 0.2rem;
}

.founder-card h3,
.founder-card p {
  padding: 0 1.1rem;
}

.founder-card p {
  padding-bottom: 1.35rem;
  margin-top: 0;
}

.blog-card {
  overflow: hidden;
}

.blog-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.blog-card-body {
  padding: 1.4rem;
}

.text-link,
.back-link {
  font-weight: 700;
  color: var(--brand-ink);
}

.centered-action {
  margin-top: 2rem;
  text-align: center;
}

.contact-section {
  background: linear-gradient(180deg, rgba(193, 231, 184, 0.28), rgba(255, 255, 255, 0.9));
}

.contact-section .contact-grid {
  align-items: start;
}

.contact-line {
  margin: 0 0 0.45rem;
  font-size: 1rem;
  line-height: 1.65;
}

.contact-line + .contact-line {
  margin-bottom: 1rem;
}

.contact-line__label {
  font-weight: 600;
  margin-right: 0.35rem;
}

.contact-line a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.contact-line a:hover {
  text-decoration-thickness: 2px;
}

.contact-line__sep {
  color: rgba(35, 31, 32, 0.45);
  font-weight: 400;
}

.contact-address {
  margin-bottom: 0.75rem;
  overflow-wrap: anywhere;
}

.contact-map {
  margin-top: 1.35rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.75);
}

.contact-map iframe {
  width: 100%;
  height: 280px;
  border: 0;
  display: block;
}

.map-external-link {
  display: block;
  text-align: center;
  padding: 0.65rem 0.85rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(35, 31, 32, 0.08);
}

.map-external-link:hover {
  text-decoration: underline;
}

.social-float {
  position: fixed;
  right: max(0.65rem, env(safe-area-inset-right));
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.social-float__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 28px rgba(35, 31, 32, 0.2);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.social-float__link:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.28);
}

.social-float__link--instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.social-float__link--whatsapp {
  background: #25d366;
}

.social-float__link--facebook {
  background: #1877f2;
}

.social-float__link--youtube {
  background: #ff0000;
}

.contact-card,
.login-form,
.details-stack,
.invoice-list {
  display: grid;
  gap: 1rem;
}

.contact-card {
  position: relative;
}

.contact-card .hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form-status.contact-form-status--ok {
  color: #1a6b3a;
  font-weight: 600;
}

.contact-form-status.contact-form-status--err {
  color: #9a1b3a;
  font-weight: 600;
}

label {
  display: grid;
  gap: 0.45rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: 16px;
  font: inherit;
  background: white;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-note {
  margin: 0;
  color: rgba(35, 31, 32, 0.7);
  font-size: 0.94rem;
}

.portal-layout {
  grid-template-columns: 360px 1fr;
  align-items: start;
}

.portal-panel {
  grid-column: 1 / -1;
}

.is-authenticated .portal-layout {
  grid-template-columns: 1fr;
}

.portal-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 1.5rem 0;
}

.portal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.portal-header h2 {
  margin: 0.6rem 0 0.25rem;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
}

.details-stack > div,
.invoice-row,
.card-headline {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.details-stack strong,
.invoice-row strong {
  display: block;
}

.details-stack span,
.invoice-row span,
.article-meta {
  color: rgba(35, 31, 32, 0.7);
}

.invoice-row {
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
}

.invoice-row:last-child {
  border-bottom: none;
}

.invoice-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.paid-tag {
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(193, 231, 184, 0.7);
  font-size: 0.84rem;
  font-weight: 700;
}

.demo-credentials {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: rgba(152, 214, 252, 0.18);
}

.article-layout {
  max-width: 860px;
}

.article-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  margin-bottom: 1.5rem;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.program-detail__inner {
  max-width: 720px;
  margin: 0 auto;
}

.program-detail h2 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.program-detail p {
  margin: 0 0 1rem;
}

.program-detail p:last-child {
  margin-bottom: 0;
}

.programs-page-jump {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.programs-page-jump a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.programs-page-hero {
  padding-bottom: 3rem;
}

.google-reviews {
  margin: 0 auto 2rem;
  max-width: 920px;
}

.google-reviews-loading {
  text-align: center;
  color: rgba(35, 31, 32, 0.58);
  margin: 0;
  font-size: 0.95rem;
}

.google-reviews-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.5rem 1.35rem;
}

.google-reviews-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-bottom: 1.25rem;
}

.google-stars-wrap {
  position: relative;
  display: inline-block;
  font-size: 1.55rem;
  line-height: 1;
  letter-spacing: 0.06em;
}

.google-stars__bg {
  color: rgba(35, 31, 32, 0.15);
}

.google-stars__fg {
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
  width: 0;
  color: #f5a623;
  white-space: nowrap;
}

.google-reviews-summary__text {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.5rem 1rem;
}

.google-reviews-score {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.google-reviews-out {
  font-weight: 600;
  color: rgba(35, 31, 32, 0.55);
}

.google-reviews-count {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(35, 31, 32, 0.72);
}

.reviews-carousel {
  position: relative;
  overflow: hidden;
  margin: 1rem 0 0;
  border-radius: var(--radius-md);
}

.reviews-carousel__track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.reviews-carousel__slide {
  flex: 0 0 100%;
  padding: 1.1rem 3rem;
  background: rgba(193, 231, 184, 0.28);
  border-radius: var(--radius-md);
  border: 1px solid rgba(35, 31, 32, 0.06);
  box-sizing: border-box;
  min-height: 160px;
}

.reviews-carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(35, 31, 32, 0.12);
  border-radius: 50%;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  z-index: 5;
  color: var(--brand-ink);
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.reviews-carousel__btn:hover {
  background: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.reviews-carousel__prev { left: 0.4rem; }
.reviews-carousel__next { right: 0.4rem; }

.reviews-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
}

.reviews-carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(35, 31, 32, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.reviews-carousel__dot.is-active {
  background: var(--brand-ink);
  transform: scale(1.35);
}

.google-review-item__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.google-review-item__time {
  color: rgba(35, 31, 32, 0.55);
  font-size: 0.85rem;
}

.google-review-item__rating {
  color: #f5a623;
  letter-spacing: 0.05em;
}

.google-review-item__text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--brand-ink);
}

.google-attribution {
  font-size: 0.8rem;
  color: rgba(35, 31, 32, 0.5);
  margin: 0 0 0.85rem;
}

.google-reviews-cta {
  margin-top: 0.25rem;
}

.google-reviews-fallback {
  text-align: center;
  padding: 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.google-reviews-fallback p {
  margin: 0 0 0.5rem;
}

.google-reviews-fallback__link a {
  font-weight: 700;
  color: var(--brand-ink);
}

.testimonials-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 1.25rem;
  align-items: stretch;
}

.testimonial-card--video {
  grid-column: 1 / -1;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.testimonial-card--text {
  padding: 1.65rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 4px solid rgba(152, 214, 252, 0.65);
}

.testimonial-video-row {
  display: grid;
  gap: 1.35rem;
  padding: 1.35rem 1.35rem 1.45rem;
}

@media (min-width: 800px) {
  .testimonial-video-row {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 1.75rem;
    padding: 1.5rem 1.6rem 1.6rem;
  }
}

.testimonial-video {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: linear-gradient(145deg, #2a282c 0%, #1a191c 100%);
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.15);
}

.testimonial-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  object-fit: contain;
  background: #141214;
}

.testimonial-video-copy .testimonial-quote {
  margin: 0;
}

.testimonial-quote {
  margin: 0;
  padding: 0;
}

.testimonial-quote p {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.72;
  font-style: italic;
  color: var(--brand-ink);
}

.testimonial-author {
  margin: 0.9rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(35, 31, 32, 0.72);
}

.testimonial-card--text .testimonial-quote {
  flex: 1;
}

.about-brochure-cta {
  margin-top: 1.35rem;
  margin-bottom: 0;
}

.pip-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-right))
    max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(35, 31, 32, 0.45);
  backdrop-filter: blur(4px);
}

.pip-backdrop[hidden] {
  display: none;
}

.pip-window {
  width: min(100%, 400px);
  max-height: min(88vh, 640px);
  overflow: auto;
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 247, 0.98);
  border: 1px solid rgba(35, 31, 32, 0.1);
  box-shadow: 0 24px 70px rgba(35, 31, 32, 0.28);
  animation: pip-pop 0.28s ease-out;
}

@keyframes pip-pop {
  from {
    opacity: 0;
    transform: translate(12px, 12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
}

.pip-window__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}

.pip-window__head h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.25;
}

.pip-close {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: rgba(35, 31, 32, 0.08);
  color: var(--brand-ink);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pip-close:hover {
  background: rgba(35, 31, 32, 0.14);
}

.pip-window__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: rgba(35, 31, 32, 0.78);
  line-height: 1.55;
}

.pip-form {
  display: grid;
  gap: 0.85rem;
}

.pip-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.pip-form .input,
.pip-form input {
  padding: 0.85rem 0.95rem;
  border-radius: 14px;
  border: 1px solid rgba(35, 31, 32, 0.12);
  font: inherit;
  background: white;
}

.pip-form .button {
  margin-top: 0.25rem;
}

/* ── Book-a-Visit modal (centered) ── */
.pip-backdrop--center {
  align-items: center;
  justify-content: center;
}

.pip-window--visit {
  width: min(100%, 440px);
  overflow: hidden;
  padding: 0;
}

.pip-window--visit .pip-window__lead,
.pip-window--visit .pip-form {
  padding: 0 1.4rem;
}

.pip-window--visit .pip-window__lead {
  padding-top: 1rem;
  padding-bottom: 0;
}

.pip-window--visit .pip-form {
  padding-bottom: 1.5rem;
}

.pip-window__head--yellow {
  background: var(--brand-yellow);
  padding: 1rem 1.4rem;
  margin: 0;
}

.pip-window__head--yellow h3 {
  color: var(--brand-ink);
}

@keyframes pip-pop-center {
  from {
    opacity: 0;
    transform: scale(0.94) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.pip-window--visit {
  animation: pip-pop-center 0.25s ease-out;
}

@media (max-width: 520px) {
  .pip-backdrop {
    align-items: stretch;
    justify-content: stretch;
    padding: 0.75rem;
  }

  .pip-window {
    width: 100%;
    max-height: min(90vh, 100%);
    border-radius: var(--radius-md);
  }
}

.site-footer {
  padding: 1.5rem 0 2.5rem;
}

.footer-links {
  flex-wrap: wrap;
}

/* Header needs to stack earlier than 900px to avoid mid-size wrap glitches */
@media (max-width: 1100px) {
  .nav-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    row-gap: 0.65rem;
    padding: 0.65rem 0;
  }

  .nav-shell .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-shell .header-cta {
    order: 2;
    flex-shrink: 0;
  }

  .nav-shell .site-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
  }

  .site-nav a {
    padding: 0.45rem 0.15rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-dropdown {
    width: auto;
    max-width: 100%;
  }

  .nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: auto;
    width: min(320px, 92vw);
    padding: 0.45rem 0;
    background: rgba(255, 253, 247, 0.98);
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    z-index: 60;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown__menu a {
    padding: 0.45rem 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    white-space: normal;
  }

  .social-float {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(0.5rem, env(safe-area-inset-right));
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split-section,
  .portal-preview,
  .contact-grid,
  .facilities-grid,
  .portal-layout,
  .portal-grid {
    grid-template-columns: 1fr;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .nav-shell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.75rem;
    row-gap: 0.65rem;
    padding: 0.65rem 0;
  }

  .nav-shell .brand {
    order: 1;
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-shell .header-cta {
    order: 2;
    flex-shrink: 0;
  }

  .nav-shell .site-nav {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.65rem 0.85rem;
  }

  .site-nav a {
    padding: 0.45rem 0.15rem;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .nav-dropdown {
    width: auto;
    max-width: 100%;
  }

  .nav-dropdown__menu {
    display: none;
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    right: auto;
    width: min(320px, 92vw);
    padding: 0.45rem 0;
    background: rgba(255, 253, 247, 0.98);
    border: 1px solid rgba(35, 31, 32, 0.1);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
    z-index: 60;
  }

  .nav-dropdown.is-open .nav-dropdown__menu {
    display: block;
  }

  .nav-dropdown__menu a {
    padding: 0.45rem 0;
    min-height: 40px;
    display: flex;
    align-items: center;
    white-space: normal;
  }

  /* Mobile: keep social actions off content */
  .social-float {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(0.5rem, env(safe-area-inset-right));
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }



  .footer-shell {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.15rem;
  }

  .portal-header {
    flex-wrap: wrap;
  }

  .image-main,
  .image-accent {
    position: static;
    width: 100%;
    height: auto;
  }

  .image-stack {
    display: grid;
    gap: 1rem;
    min-height: auto;
  }

  .details-stack > div,
  .invoice-row,
  .card-headline {
    flex-direction: column;
  }

  .highlight-card,
  .dashboard-card,
  .contact-card,
  .card-panel,
  .article-card {
    padding: 1.45rem 1.35rem;
  }

  .program-card {
    padding: 1.5rem 1.35rem 1.45rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .hero {
    padding: 3.25rem 0 2.75rem;
  }

  .section-heading {
    margin-bottom: 1.65rem;
  }

  .hero h1,
  .blog-hero h1,
  .article-card h1 {
    font-size: clamp(2rem, 7vw, 3.4rem);
  }

  h2 {
    font-size: clamp(1.55rem, 5.5vw, 2.75rem);
  }

  .facilities-grid {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.65rem 0;
  }

  .hero {
    padding: 2.35rem 0 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
    justify-content: center;
  }

  .program-stats:not(.program-stats--hero) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid {
    font-size: 0.86rem;
    gap: 0.6rem 0.75rem;
  }

  .contact-line {
    word-break: break-word;
  }

  .google-reviews-card {
    padding: 1.2rem 1.1rem 1.05rem;
  }

  .testimonial-card--text,
  .testimonial-video-row {
    padding: 1.15rem 1.1rem 1.2rem;
  }

  .founder-card {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .program-stats--hero {
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.2rem;
  }

  .social-float {
    top: auto;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: max(0.5rem, env(safe-area-inset-right));
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .social-float__link {
    width: 2.85rem;
    height: 2.85rem;
  }

  .contact-map iframe {
    height: 220px;
  }

  .site-footer {
    padding-bottom: max(2rem, calc(2rem + env(safe-area-inset-bottom)));
  }
}

/* ================================================================
   BRAND REFRESH — Animations, Colours, New Components
   ================================================================ */

/* ── Hero colourful background ── */
.hero {
  position: relative;
  background: linear-gradient(145deg, #fffbe8 0%, #fff5c2 60%, #ffffff 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -15%;
  right: -8%;
  width: 52%;
  height: 130%;
  background: var(--brand-sky);
  border-radius: 50% 0 0 60%;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ── Rainbow gradient divider bar ── */
.brand-divider {
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--brand-yellow) 0%,
    var(--brand-pink)   25%,
    var(--brand-sky)    50%,
    var(--brand-mint)   75%,
    var(--brand-yellow) 100%
  );
  background-size: 200% auto;
  animation: brand-slide 5s linear infinite;
}

@keyframes brand-slide {
  to { background-position: 200% center; }
}

/* ── Programme cards — coloured top border ── */
.program-card:nth-child(1) { border-top: 4px solid var(--brand-yellow); }
.program-card:nth-child(2) { border-top: 4px solid var(--brand-sky); }
.program-card:nth-child(3) { border-top: 4px solid var(--brand-pink); }
.program-card:nth-child(4) { border-top: 4px solid var(--brand-mint); }

/* ── Value cards — colourful backgrounds ── */
.values-grid .value-card:nth-child(1) {
  background: var(--brand-yellow);
  box-shadow: 0 12px 36px rgba(251, 230, 57, 0.35);
}
.values-grid .value-card:nth-child(2) {
  background: var(--brand-sky);
  box-shadow: 0 12px 36px rgba(152, 214, 252, 0.35);
}
.values-grid .value-card:nth-child(3) {
  background: var(--brand-pink);
  box-shadow: 0 12px 36px rgba(242, 135, 164, 0.35);
}

/* ── Support / extras chips ── */
.support-card:nth-child(1) { background: rgba(251, 230, 57,  0.45); }
.support-card:nth-child(2) { background: rgba(152, 214, 252, 0.48); }
.support-card:nth-child(3) { background: rgba(242, 135, 164, 0.35); }
.support-card:nth-child(4) { background: rgba(193, 231, 184, 0.55); }
.support-card:nth-child(5) { background: rgba(251, 230, 57,  0.35); }
.support-card:nth-child(6) { background: rgba(152, 214, 252, 0.38); }

/* ── Highlight card upgrade ── */
.highlight-card {
  background: linear-gradient(135deg, rgba(251,230,57,.28) 0%, rgba(193,231,184,.38) 100%);
  border: none;
}

/* ── Testimonial left-border colours ── */
.testimonial-card--text:nth-child(2) { border-left-color: var(--brand-yellow); }
.testimonial-card--text:nth-child(3) { border-left-color: var(--brand-mint); }
.testimonial-card--text:nth-child(4) { border-left-color: var(--brand-pink); }

/* ── Eyebrow tag colour variants ── */
.eyebrow-yellow { background: rgba(251, 230, 57,  0.55); }
.eyebrow-sky    { background: rgba(152, 214, 252, 0.45); }
.eyebrow-pink   { background: rgba(242, 135, 164, 0.32); }
.eyebrow-mint   { background: rgba(193, 231, 184, 0.55); }

/* ── Scroll-triggered fade-up animation ── */
.anim-fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.anim-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-fade-up:nth-child(2) { transition-delay: 0.08s; }
.anim-fade-up:nth-child(3) { transition-delay: 0.16s; }
.anim-fade-up:nth-child(4) { transition-delay: 0.24s; }
.anim-fade-up:nth-child(5) { transition-delay: 0.32s; }
.anim-fade-up:nth-child(6) { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .anim-fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ── WhatsApp floating pill button ── */
.wa-float {
  position: fixed;
  bottom: max(1.5rem, calc(env(safe-area-inset-bottom) + 1.5rem));
  left: max(1.25rem, env(safe-area-inset-left));
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.2s both;
}
.wa-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.6);
  color: #fff;
}
.wa-float svg { flex-shrink: 0; }

@keyframes wa-pop {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── FAQ accordion ── */
.faq-grid {
  display: grid;
  gap: 0.85rem;
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 18px rgba(35, 31, 32, 0.07);
  border: 1px solid rgba(35, 31, 32, 0.07);
  overflow: hidden;
}

.faq-item summary {
  list-style: none;
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }

.faq-toggle {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--brand-yellow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.22s ease;
  line-height: 1;
}

.faq-item[open] .faq-toggle {
  transform: rotate(45deg);
}

.faq-item[open] summary {
  border-bottom: 1px solid rgba(35, 31, 32, 0.08);
}

.faq-item p {
  margin: 0;
  padding: 1.1rem 1.5rem 1.25rem;
  font-size: 0.97rem;
  line-height: 1.78;
  color: rgba(35, 31, 32, 0.82);
}

/* ── Stat counter (animated number) ── */
.stat-number { font-variant-numeric: tabular-nums; }

/* ── Section with yellow background — override card colours ── */
.section-yellow .value-card,
.section-yellow .program-card {
  background: rgba(255, 255, 255, 0.95);
}

/* ── Founders section upgrade ── */
.founders-section {
  position: relative;
  overflow: hidden;
}
.founders-section::after {
  content: "";
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(251, 230, 57, 0.35);
  pointer-events: none;
}

/* ── Contact section upgrade ── */
.contact-section {
  background: linear-gradient(160deg, rgba(193, 231, 184, 0.35) 0%, rgba(251, 230, 57, 0.18) 100%);
}

/* ── Blog card upgrade ── */
.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(35, 31, 32, 0.14);
}

/* ── Program card hover ── */
.program-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(35, 31, 32, 0.13);
}

/* ── Open House preview grid (homepage teaser) ── */
.open-house-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.open-house-preview-grid figure {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: rgba(35, 31, 32, 0.06);
  box-shadow: 0 6px 20px rgba(35, 31, 32, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.open-house-preview-grid figure:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(35, 31, 32, 0.18);
}

.open-house-preview-grid a {
  display: block;
  width: 100%;
  height: 100%;
}

.open-house-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Mobile WA float ── */
@media (max-width: 640px) {
  .wa-float span { display: none; }
  .wa-float {
    padding: 0.85rem;
    border-radius: 50%;
    bottom: max(4.5rem, calc(env(safe-area-inset-bottom) + 4.5rem));
    left: max(1rem, env(safe-area-inset-left));
  }
}
