﻿:root {
  --bg: #05080f;
  --surface: #0f1728;
  --surface-soft: #152037;
  --text: #f8fafc;
  --muted: #94a3b8;
  --accent: #a5ff45;
  --accent-strong: #c6ff3e;
  --blue: #4fb7ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  font-family: "Inter", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 7rem;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: radial-gradient(circle at top left, rgba(72, 209, 255, 0.11), transparent 18%),
    linear-gradient(180deg, #03060d 0%, #020409 100%);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--accent);
  color: #06120a;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
}

.btn:focus-visible,
.top-nav a:focus-visible,
.social-links a:focus-visible {
  outline-color: var(--text);
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.member-portal,
.member-dashboard {
  position: relative;
}

#member-dashboard[hidden] {
  display: none;
}

.member-page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem 2rem;
}

.member-page-intro h3 {
  margin: 0.55rem 0;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.member-page-intro p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.7;
}

.member-page-intro .portal-note {
  grid-column: 1 / -1;
  font-size: 0.82rem;
}

.portal-shell,
.dashboard-shell {
  display: grid;
  gap: 1.5rem;
}

.portal-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}

.portal-panel,
.dashboard-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.portal-panel {
  padding: 2rem;
}

.portal-card-header h3 {
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
}

.portal-hero p,
.portal-note,
.goal-item span,
.metric-row span,
.metric-row strong,
.payment-summary h3,
.goals-card h3,
.assessment-card h3 {
  color: var(--muted);
}

.portal-hero p {
  line-height: 1.8;
}

.portal-benefits {
  margin: 1.5rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: var(--text);
  line-height: 1.7;
}

.portal-tabs {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 1.25rem;
}

.portal-tab {
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
}

.portal-tab.is-active {
  background: rgba(165, 255, 69, 0.12);
  color: var(--text);
  box-shadow: inset 0 0 0 1px rgba(165, 255, 69, 0.24);
}

.portal-form {
  display: none;
  gap: 1rem;
}

.portal-form.is-visible {
  display: grid;
}

.portal-note {
  margin: 0;
  font-size: 0.9rem;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-card {
  padding: 1.5rem;
}

.dashboard-card h3 {
  margin: 0 0 1rem;
  font-size: 1.2rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.metric-row:last-child {
  border-bottom: 0;
}

.status-positive {
  color: var(--accent);
}

.status-pending {
  color: #ffd166 !important;
}

.dashboard-welcome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid rgba(165, 255, 69, 0.2);
  border-radius: 1.75rem;
  background: radial-gradient(circle at 90% 15%, rgba(79, 183, 255, 0.14), transparent 35%), rgba(255, 255, 255, 0.05);
}

.dashboard-welcome h2 {
  margin: 0.55rem 0;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.dashboard-welcome p {
  margin: 0;
  color: var(--muted);
}

.dashboard-welcome-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.dashboard-member-status,
.history-count {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 209, 102, 0.1);
  color: #ffd166;
  font-size: 0.8rem;
  font-weight: 700;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.dashboard-stat {
  display: grid;
  gap: 0.55rem;
  min-width: 0;
}

.dashboard-stat > span,
.dashboard-stat small {
  color: var(--muted);
}

.dashboard-stat > strong {
  color: var(--accent);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  overflow-wrap: anywhere;
}

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

.dashboard-content-grid > .dashboard-card {
  min-width: 0;
}

.dashboard-hint,
.dashboard-card-heading p,
.dashboard-privacy-note {
  color: var(--muted);
  line-height: 1.65;
}

.dashboard-hint {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}

.dashboard-save-status:empty {
  display: none;
}

.progress-history-card {
  grid-column: 1 / -1;
}

.dashboard-card-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dashboard-card-heading h3 {
  margin-bottom: 0.35rem;
}

.dashboard-card-heading p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.history-count {
  background: rgba(79, 183, 255, 0.12);
  color: var(--blue);
  white-space: nowrap;
}

.progress-history {
  display: grid;
  gap: 0.75rem;
}

.progress-history-entry {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.035);
}

.progress-history-entry header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.progress-history-entry time,
.progress-history-entry p,
.empty-history {
  color: var(--muted);
}

.progress-history-entry p {
  margin: 0.5rem 0 0;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dashboard-privacy-note {
  margin: 0;
  font-size: 0.82rem;
}

.goal-list {
  display: grid;
  gap: 0.9rem;
}

.goal-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.goal-item strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.goal-item small {
  color: var(--muted);
}

.assessment-form {
  display: grid;
  gap: 1rem;
}

.assessment-form .form-field {
  display: grid;
  gap: 0.55rem;
}

.assessment-form textarea,
.assessment-form input,
.assessment-form select {
  width: 100%;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  font: inherit;
}

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

@media (max-width: 1080px) {
  .portal-layout,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

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

  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .header-cta-group {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (max-width: 760px) {
  .header-cta-group {
    width: 100%;
    justify-content: stretch;
  }

  .header-cta-group .btn {
    flex: 1;
  }

  .portal-panel {
    padding: 1.3rem;
  }

  .member-page-intro {
    grid-template-columns: 1fr;
  }

  .member-page-intro .portal-note {
    grid-column: auto;
  }

  .dashboard-welcome,
  .dashboard-card-heading,
  .progress-history-entry header {
    align-items: flex-start;
    flex-direction: column;
  }

  .dashboard-welcome-actions {
    justify-content: flex-start;
  }

  .dashboard-metrics {
    grid-template-columns: 1fr 1fr;
  }

  .goal-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

video {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(5, 8, 15, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.18);
}

.brand-logo {
  width: 5.75rem;
  max-width: 42vw;
  height: auto;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
}

.brand-tag {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.top-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.top-nav a:hover,
.top-nav a.active {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.9rem;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.7rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.3rem;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #a5ff45, #8ae300);
  color: #06120a;
  box-shadow: 0 18px 30px rgba(112, 255, 82, 0.18);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero {
  position: relative;
  padding: 4rem 0 2rem;
  background: radial-gradient(circle at top left, rgba(72, 209, 255, 0.14), transparent 20%),
    linear-gradient(180deg, #03060d 0%, #04050a 100%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.75)),
    url("assets/mphaplama-field-background.jpeg");
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-blend-mode: overlay;
  opacity: 0.92;
  filter: saturate(0.72) blur(0.75px);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(145deg, rgba(10, 19, 35, 0.48) 0%, transparent 38%),
    radial-gradient(circle at top right, rgba(165, 255, 69, 0.12), transparent 20%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.72));
  z-index: 1;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.88rem;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 1.02;
  max-width: 11ch;
}

.hero-copy p {
  margin-top: 1.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-stats div {
  padding: 1rem 1.25rem;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
  color: var(--text);
}

.hero-stats span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-subtitle {
  display: inline-block;
  margin: 1.2rem 0 1.4rem;
  color: var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-copy p {
  max-width: 640px;
  margin: 1.5rem 0 0;
  line-height: 1.8;
  color: rgba(248, 250, 252, 0.86);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.5rem;
}

.hero-meta {
  display: flex;
}

.hero-meta-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.meta-icon {
  width: 2.8rem;
  height: 2.8rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(165, 255, 69, 0.16);
  color: var(--accent);
  font-size: 1.15rem;
}

.hero-visual {
  display: grid;
  gap: 1.5rem;
  justify-items: center;
}

.hero-visual-card,
.hero-feature-panel {
  width: 100%;
  border-radius: 2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

.hero-visual-card {
  position: relative;
  isolation: isolate;
  transition: transform 350ms ease, border-color 350ms ease, box-shadow 350ms ease;
  min-width: 0;
}

.hero-visual-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 25%, rgba(255, 255, 255, 0.2) 48%, transparent 68%);
  transform: translateX(-120%);
  transition: transform 750ms ease;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 500ms ease;
}

.hero-video-card video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.hero-video-card .hero-card-badge {
  top: 1.5rem;
  bottom: auto;
}

.hero-visual-group {
  display: grid;
  gap: 1rem;
}

.hero-card-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--text);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border: 1px solid rgba(165, 255, 69, 0.2);
  z-index: 2;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-visual-card:hover,
  .hero-visual-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(165, 255, 69, 0.55);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.48), 0 0 32px rgba(165, 255, 69, 0.16);
  }

  .hero-visual-card:hover::after,
  .hero-visual-card:focus-within::after {
    transform: translateX(120%);
  }

  .hero-visual-card:hover img,
  .hero-visual-card:focus-within img {
    transform: scale(1.045);
    filter: saturate(1.16) contrast(1.04);
  }

  .hero-card-small {
    overflow: hidden;
  }

  .hero-card-small img {
    transition: transform 550ms cubic-bezier(0.2, 0.7, 0.2, 1), filter 450ms ease;
  }

  .hero-card-small:hover img {
    transform: scale(1.06);
    filter: saturate(1.12);
  }
}

.hero-feature-panel {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.5rem;
}

.feature-icon,
.feature-marker,
.who-chip-dot,
.approach-icon,
.aside-icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(165, 255, 69, 0.16);
  color: var(--accent);
  font-size: 1.35rem;
}

.feature-marker {
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a5ff45, #6dde40);
  box-shadow: 0 0 0 6px rgba(165, 255, 69, 0.12);
}

.who-chip-dot {
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(165, 255, 69, 0.12);
}

.approach-icon,
.aside-icon {
  font-size: 0;
}

.hero-feature-panel strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
  color: var(--text);
}

.hero-feature-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.hero-card-small {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.35rem;
}

.hero-card-small img {
  width: 100%;
  height: auto;
  max-width: 90px;
  border-radius: 1.5rem;
}

.hero-card-copy {
  display: grid;
  gap: 0.35rem;
}

.hero-card-copy strong {
  color: var(--text);
}

.hero-card-copy span {
  color: var(--muted);
  font-size: 0.95rem;
}

.section {
  padding: 4rem 0;
}

.approach {
  padding: 3rem 0 4rem;
}

.approach-grid {
  display: grid;
  gap: 2rem;
}

.approach-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.approach-card {
  min-width: 0;
  padding: 1.8rem;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 1rem;
}

.approach-card-image {
  overflow: hidden;
  border-radius: 1.5rem;
  min-height: 180px;
}

.approach-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.approach-icon {
  width: 3.2rem;
  height: 3.2rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(165, 255, 69, 0.16);
  color: var(--accent);
  font-size: 1.45rem;
}

.approach-card h3 {
  margin: 0;
}

.approach-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.service-card-body h3 {
  margin: 0 0 0.9rem;
}

.service-card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.who-serve-bar {
  margin-top: 3rem;
  padding: 1.35rem 1.4rem;
  border-radius: 1.5rem;
  background: rgba(3, 5, 12, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}

.who-title {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
}

.who-title span {
  color: var(--muted);
  font-size: 0.95rem;
}

.who-title strong {
  color: var(--text);
  font-size: 0.95rem;
}

.who-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.who-chip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 170px;
  padding: 0.9rem 1rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.who-chip span {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 1rem;
  background: rgba(79, 183, 255, 0.16);
  color: var(--blue);
  font-size: 1.1rem;
}

.who-chip small {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}

.services {
  position: relative;
}

.services-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.5rem;
  align-items: stretch;
}

.section-header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.section-header span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-header h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2rem, 2.4vw, 2.7rem);
  line-height: 1.05;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: auto;
  border-radius: 1.75rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 68px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 255, 69, 0.24);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.26);
}

.service-image {
  width: 100%;
  min-height: 220px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  animation: service-image-drift 18s ease-in-out infinite alternate;
}

.service-card:nth-child(2) .service-image img {
  animation-delay: -4s;
}

.service-card:nth-child(3) .service-image img {
  animation-delay: -8s;
}

.service-card:nth-child(4) .service-image img {
  animation-delay: -12s;
}

.service-card:nth-child(5) .service-image img {
  animation-delay: -6s;
}

.service-card:nth-child(6) .service-image img {
  animation-delay: -10s;
}

.service-card:hover .service-image img {
  animation-play-state: paused;
}

@keyframes service-image-drift {
  from {
    transform: scale(1.1) translateX(-3%);
  }

  to {
    transform: scale(1.1) translateX(3%);
  }
}

.service-card h3 {
  margin: 1.25rem 1.5rem 0.75rem;
  font-size: 1.15rem;
}

.service-card p {
  margin: 0 1.5rem 1.5rem;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.96rem;
}

.services-aside {
  display: grid;
  gap: 1rem;
}

.aside-card {
  border-radius: 1.75rem;
  padding: 1.8rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}

.aside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 1rem;
  background: rgba(165, 255, 69, 0.16);
  color: var(--accent);
  font-size: 1.3rem;
}

.aside-feature h3,
.aside-secondary h3 {
  margin: 0 0 0.9rem;
  font-size: 1.35rem;
}

.aside-feature p,
.aside-secondary p {
  margin: 0;
  line-height: 1.85;
  color: var(--muted);
}

.medical-aid-prompt {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.25rem;
  padding: 1rem;
  border: 1px solid rgba(165, 255, 69, 0.18);
  border-radius: 1.25rem;
  background: rgba(165, 255, 69, 0.045);
}

.medical-aid-prompt h4,
.medical-aid-prompt p {
  margin: 0;
}

.medical-aid-prompt h4 {
  color: var(--text);
}

.medical-aid-prompt .btn {
  justify-self: start;
  margin-top: 0.25rem;
}

.programs {
  padding-top: 3rem;
}

.programs-heading {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin-bottom: 2rem;
}

.program-row {
  display: flex;
  gap: 1rem;
  flex: 0 0 auto;
  width: max-content;
}

.program-marquee {
  width: 100%;
  overflow: hidden;
  border-radius: 1.75rem;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}

.program-track {
  display: flex;
  width: max-content;
  gap: 1rem;
  animation: program-image-marquee 36s linear infinite;
}

.program-marquee:hover .program-track,
.program-marquee:focus-within .program-track {
  animation-play-state: paused;
}

@keyframes program-image-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-50% - 0.5rem));
  }
}

.plans-section {
  padding: 3rem 0 0;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.plan-card {
  min-width: 0;
  padding: 1.7rem 1.4rem;
  display: flex;
  flex-direction: column;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.16);
}

.plan-image {
  width: 100%;
  height: 120px;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: 1rem;
  background: rgba(0,0,0,0.04);
}
.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.plan-card strong {
  display: block;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

.plan-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.plan-pricing {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(3, 5, 12, 0.42);
  border: 1px solid rgba(79, 183, 255, 0.16);
}

.plan-pricing p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.plan-pricing p + p {
  margin-top: 0.5rem;
}

.plan-pricing p strong,
.plan-price-on-request strong {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0;
  text-align: right;
}

.plan-pricing p strong small {
  color: var(--muted);
  font-size: 0.75rem;
}

.plan-pricing > small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
}

.plan-price-on-request {
  color: var(--muted);
}

.plan-student {
  border-color: rgba(79, 183, 255, 0.2);
}

.plan-basic {
  border-color: rgba(165, 255, 69, 0.18);
}

.program-item {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1rem 1.2rem;
  min-height: 150px;
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 50px rgba(0, 0, 0, 0.14);
}

.program-item img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 1.35rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.22));
}

.program-item small {
  display: block;
  color: var(--text);
  font-weight: 700;
}

.results {
  padding: 4rem 0;
}

.results-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.results-copy span {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.results-copy h2 {
  margin: 0.8rem 0 1rem;
  font-size: clamp(2.1rem, 2.6vw, 3rem);
}

.results-copy p {
  margin: 0 0 1.8rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 620px;
}

.result-pill-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.result-pill {
  display: grid;
  align-content: start;
  gap: 0.65rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.result-pill-image,
.testimonial-image {
  overflow: hidden;
  border-radius: 1.1rem;
}

.result-pill-image {
  height: 120px;
  margin-bottom: 0.35rem;
}

.result-pill-image img,
.testimonial-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-pill strong {
  display: block;
  font-size: 1.4rem;
}

.result-pill span {
  color: var(--muted);
  line-height: 1.7;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.25rem;
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(10, 16, 29, 0.96);
  border: 1px solid rgba(165, 255, 69, 0.14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.testimonial-image {
  height: 220px;
}

.testimonial-card p {
  margin: 0;
  color: var(--text);
  line-height: 1.8;
  font-size: 1.05rem;
}

.testimonial-card strong {
  display: block;
  color: var(--accent);
}

.dashboard-welcome-actions .dashboard-member-status {
  flex: 0 0 auto;
}

.cta-banner {
  margin: 3rem 0 0;
  padding: 2rem 0;
  border-radius: 2rem;
  border: 1px solid rgba(165, 255, 69, 0.3);
  background:
    linear-gradient(90deg, rgba(3, 5, 10, 0.78), rgba(2, 7, 18, 0.55)),
    url("assets/mphaplama-field-background.jpeg") center 44% / cover no-repeat;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1.5rem;
  align-items: center;
}

.biokinetics-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.5rem;
  align-items: start;
}

.bio-copy p,
.contact-card p {
  max-width: 660px;
  margin: 0;
  line-height: 1.8;
  color: rgba(248, 250, 252, 0.86);
  font-size: 1rem;
}

.highlight-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.feature-pill {
  padding: 1.4rem 1.3rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
  display: grid;
  gap: 0.85rem;
}

.feature-pill-image {
  overflow: hidden;
  border-radius: 1.25rem;
  min-height: 140px;
}

.feature-pill-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-pill strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.6rem;
  color: var(--text);
}

.feature-pill span {
  color: var(--muted);
  line-height: 1.75;
}

.bio-card {
  border-radius: 2rem;
  padding: 2rem;
  background: linear-gradient(180deg, rgba(10, 16, 29, 0.96), rgba(12, 21, 37, 0.94));
  border: 1px solid rgba(165, 255, 69, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.bio-card-content {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.bio-card-image,
.aside-image,
.aside-logo {
  border-radius: 1.5rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
}

.bio-card-image img,
.aside-image img,
.aside-logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.aside-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
}

.aside-logo img {
  width: 56px;
  height: auto;
  object-fit: contain;
}

.bio-logo {
  width: 96px;
  margin-bottom: 1rem;
}
.bio-logo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.6rem;
}

.aside-image {
  min-height: 180px;
}

/* Make the feature aside image larger so it reads as a full photographic panel */
.aside-card.aside-feature .aside-image {
  min-height: 280px;
}

.bio-card-image {
  min-height: 220px;
}

.footer-note {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-section {
  padding-bottom: 4rem;
}

.contact-card {
  border-radius: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.contact-card h2 {
  margin: 1rem 0 1rem;
  font-size: clamp(2rem, 2.4vw, 2.5rem);
}

.contact-details {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.4rem;
  color: var(--muted);
}

.contact-details span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-form,
.registration-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.password-input-row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.password-input-row input {
  flex: 1;
  min-width: 0;
}

.registration-form .password-visibility-button {
  flex: 0 0 auto;
  justify-self: auto;
  padding: 0 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.registration-form .password-visibility-button:hover {
  border-color: rgba(165, 255, 69, 0.35);
}

.form-field.full-width {
  grid-column: 1 / -1;
}

.payment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: center;
}

.payment-methods {
  min-width: 0;
  margin: 0;
  padding: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.025);
}

.payment-methods legend {
  padding: 0 0.5rem;
  color: var(--text);
  font-weight: 700;
}

.payment-fields {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(165, 255, 69, 0.14);
  border-radius: 1.5rem;
  background: rgba(165, 255, 69, 0.035);
}

.payment-fields[hidden] {
  display: none;
}

.payment-fields h3 {
  margin: 0;
  font-size: 1.05rem;
}

.ikhokha-payment {
  display: grid;
  justify-items: start;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid rgba(165, 255, 69, 0.24);
  border-radius: 1rem;
  background: rgba(165, 255, 69, 0.06);
}

.ikhokha-payment[hidden] {
  display: none;
}

.ikhokha-payment > span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.payment-option input {
  accent-color: var(--accent);
  margin: 0;
}

.payment-option span {
  user-select: none;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.1rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.registration-form select {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
}

.payment-option input[type="radio"] {
  appearance: auto;
  flex: 0 0 1.15rem;
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
}

.registration-form textarea {
  min-height: 140px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.registration-form input:focus,
.registration-form textarea:focus,
.registration-form select:focus {
  outline: none;
  border-color: rgba(165, 255, 69, 0.35);
  box-shadow: 0 0 0 4px rgba(165, 255, 69, 0.08);
}

.contact-form button,
.registration-form button {
  justify-self: start;
}

.payment-option:hover {
  border-color: rgba(165, 255, 69, 0.24);
}

.payment-option input:checked + span {
  color: var(--text);
  font-weight: 700;
}

.payment-extra-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.registration-form input[type="file"] {
  padding: 0.8rem;
  font-size: 0.9rem;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-consent input {
  width: 1.15rem;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--accent);
}

.plan-card ul {
  margin: 1rem 0 0;
  padding-left: 1.35rem;
  color: var(--muted);
  list-style: disc;
}

.plan-card ul li {
  margin-bottom: 0.55rem;
}

.plan-select-button {
  width: 100%;
  margin-top: auto;
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
}

.contact-status {
  min-height: 2rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.contact-status.error {
  color: #ff7f7f;
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(1, 8, 18, 0.75);
  z-index: 60;
}

.modal-backdrop.modal-open {
  display: flex;
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 2rem;
  border-radius: 1.8rem;
  background: rgba(5, 13, 24, 0.98);
  border: 1px solid rgba(165, 255, 69, 0.18);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.38);
  text-align: center;
}

.modal-panel .eyebrow {
  margin-bottom: 1rem;
}

.modal-panel h2 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.modal-panel p {
  margin: 0 0 1.5rem;
  color: var(--muted);
  line-height: 1.8;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover {
  background: rgba(165, 255, 69, 0.2);
}

.social-links a:hover {
  background: rgba(165, 255, 69, 0.18);
  color: var(--accent);
}

.footer-admin-link {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-admin-link:hover {
  color: var(--text);
}

.cta-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

.cta-banner h2 {
  margin: 0.75rem 0 1rem;
  font-size: clamp(2rem, 2.5vw, 3rem);
}

.cta-banner p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.btn-xl {
  padding: 1.2rem 2rem;
  font-size: 1rem;
}

.site-footer {
  margin-top: 3rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand .brand-logo {
  width: 5.75rem;
}

.footer-brand .brand-name {
  font-weight: 700;
  color: var(--text);
  display: block;
}

.footer-brand .brand-tag {
  color: var(--accent);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-links a {
  width: 2.8rem;
  height: 2.8rem;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

[hidden] {
  display: none !important;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.admin-header .brand {
  background: transparent;
  box-shadow: none;
  padding-left: 0;
}

.admin-header .brand-logo {
  width: 5.75rem;
}

.admin-main {
  min-height: calc(100vh - 110px);
  padding-top: 3rem;
  padding-bottom: 4rem;
}

.admin-login-card,
.registration-admin-card {
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.75rem;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2);
}

.admin-login-card {
  width: min(520px, 100%);
  margin: 4rem auto;
}

.admin-login-card h1,
.admin-title-row h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.admin-login-card > p,
.registration-admin-heading p {
  color: var(--muted);
  line-height: 1.7;
}

.admin-message {
  min-height: 1.5rem;
  margin: 0;
  color: var(--accent);
}

.admin-message.error {
  color: #ff7f7f;
}

.admin-title-row,
.registration-admin-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.admin-title-actions {
  display: flex;
  gap: 0.75rem;
}

.admin-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.admin-collection-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 0;
}

.admin-summary-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.admin-summary-card:hover {
  transform: translateY(-2px);
}

.admin-summary-card[aria-pressed="true"] {
  background: rgba(165, 255, 69, 0.1);
  border-color: rgba(165, 255, 69, 0.55);
}

.admin-summary-card strong {
  font-size: 1.7rem;
  color: var(--accent);
}

.admin-summary-card span {
  color: var(--muted);
}

.registrations-list {
  display: grid;
  gap: 1rem;
}

.registration-admin-card {
  padding: 1.5rem;
}

.registration-admin-heading h2 {
  margin: 0;
  font-size: 1.25rem;
}

.registration-admin-heading p {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
}

.registration-admin-heading select {
  min-width: 9rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.9rem;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.registration-admin-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.6rem;
}

.registration-admin-actions .btn {
  padding: 0.7rem 0.9rem;
}

.registration-admin-actions .admin-delete-button {
  border-color: rgba(255, 127, 127, 0.45);
  color: #ff9b9b;
}

.registration-admin-actions .admin-delete-button:hover {
  border-color: #ff7f7f;
  background: rgba(255, 127, 127, 0.12);
}

.registration-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.5rem;
  margin-top: 1.25rem;
}

.registration-document-detail {
  grid-column: 1 / -1;
}

.admin-document-preview {
  display: grid;
  gap: 0.75rem;
  width: min(100%, 560px);
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(0, 0, 0, 0.2);
}

.admin-document-preview figcaption {
  color: var(--text);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.payment-proof-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.admin-document-preview img,
.admin-document-preview iframe {
  display: block;
  width: 100%;
  max-height: 520px;
  border: 0;
  border-radius: 0.75rem;
  background: #fff;
  object-fit: contain;
}

.admin-document-preview img {
  height: auto;
  min-height: 120px;
}

.admin-document-preview iframe {
  height: 480px;
}

.registration-document-link {
  width: fit-content;
  color: var(--accent);
  overflow-wrap: anywhere;
}

.registration-detail {
  overflow-wrap: anywhere;
  color: var(--muted);
  line-height: 1.6;
}

.registration-detail strong {
  color: var(--text);
}

.admin-empty {
  padding: 2rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 1.25rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 1080px) {
  .hero-grid,
  .services-layout,
  .cta-grid,
  .biokinetics-grid,
  .contact-grid,
  .results-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-card {
    min-height: 0;
  }

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

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

@media (max-width: 920px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-controls {
    width: 100%;
    justify-content: space-between;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .top-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 1.2rem;
    background: rgba(15, 23, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  }

  .top-nav.nav-open {
    display: flex;
  }

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

  .approach-card:last-child {
    grid-column: 1 / -1;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-feature-panel {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .approach-cards,
  .plans-grid,
  .result-pill-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .approach-card:last-child {
    grid-column: auto;
  }

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

  .admin-header,
  .admin-title-row,
  .registration-admin-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-main {
    padding-top: 1.5rem;
  }

  .admin-login-card {
    margin: 2rem auto;
    padding: 1.4rem;
  }

  .admin-title-actions {
    width: 100%;
  }

  .admin-title-actions .btn {
    flex: 1;
  }

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

  .registration-admin-card {
    padding: 1.2rem;
  }

  .registration-admin-heading select {
    width: 100%;
  }

  .registration-admin-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .registration-details {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy h1 {
    font-size: 2.4rem;
  }

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

  .hero-meta-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .who-chips,
  .service-grid,
  .services-layout {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .who-chip {
    justify-content: flex-start;
  }

  .cta-grid {
    padding: 1.5rem 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1.25rem);
  }

  .section {
    padding: 2.75rem 0;
  }

  .brand {
    padding: 0.4rem 0.55rem;
  }

  .brand-logo {
    width: 5rem;
    max-width: 42vw;
  }

  .header-controls {
    gap: 0.5rem;
  }

  .header-controls > .btn {
    padding: 0.8rem 1rem;
    font-size: 0.85rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 10vw, 2.4rem);
  }

  .hero-card-small {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem;
  }

  .hero-card-small img {
    max-width: 72px;
  }

  .hero-card-badge {
    top: 0.75rem;
    left: 0.75rem;
    bottom: auto;
    padding: 0.65rem 0.85rem;
    font-size: 0.72rem;
  }

  .who-serve-bar,
  .contact-card,
  .registration-form,
  .approach-card,
  .plan-card,
  .testimonial-card,
  .aside-card,
  .payment-fields,
  .payment-methods {
    padding: 1.15rem;
  }

  .who-chip {
    width: 100%;
    min-width: 0;
  }

  .modal-backdrop {
    padding: 0.75rem;
  }

  .modal-panel {
    padding: 1.5rem 1rem;
  }
}

@media (min-width: 1440px) {
  .container {
    width: min(1320px, calc(100% - 5rem));
  }
}

@media (min-width: 921px) and (max-width: 1080px) {
  .header-inner {
    gap: 0.6rem;
  }

  .brand {
    padding: 0.35rem 0.55rem;
  }

  .brand-logo {
    width: 4.4rem;
  }

  .header-controls {
    gap: 0.6rem;
  }

  .top-nav {
    flex-wrap: nowrap;
    gap: 0.7rem;
  }

  .top-nav a {
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .header-cta-group {
    gap: 0.5rem;
  }

  .header-cta-group .btn {
    padding: 0.75rem 1rem;
    font-size: 0.82rem;
    white-space: nowrap;
  }

  .hero-grid,
  .biokinetics-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.25rem;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 4vw, 4rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .hero-stats div {
    padding: 0.8rem 1rem;
  }
}

@media (max-width: 920px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.6rem 0.8rem;
    padding: 0.7rem 0;
  }

  .header-controls {
    display: contents;
  }

  .brand {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .nav-toggle {
    grid-column: 1;
    grid-row: 2;
  }

  .header-cta-group {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    gap: 0.55rem;
  }

  .header-cta-group .btn {
    min-width: 0;
    padding: 0.8rem 1rem;
  }

  .top-nav {
    grid-column: 1 / -1;
    grid-row: 3;
    margin: 0;
  }

  .top-nav.nav-open {
    display: flex;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 1.5rem);
  }

  .section,
  .results {
    padding: 3rem 0;
  }

  .hero {
    padding: 2.25rem 0 1.5rem;
  }

  .hero-grid {
    gap: 1.5rem;
  }

  .hero-copy p {
    line-height: 1.7;
  }

  .hero-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-top: 1.25rem;
  }

  .hero-stats div {
    padding: 0.9rem;
  }

  .hero-stats div:last-child {
    grid-column: 1 / -1;
  }

  .hero-stats strong {
    font-size: 1.1rem;
  }

  .hero-stats span {
    font-size: 0.85rem;
  }

  .hero-visual {
    gap: 1rem;
  }

  .hero-video-card video {
    max-height: 55vh;
  }

  .section-header h2,
  .results-copy h2,
  .contact-card h2 {
    font-size: clamp(1.75rem, 6vw, 2.4rem);
    line-height: 1.12;
  }

  .approach-card,
  .aside-card,
  .contact-card,
  .registration-form,
  .plan-card,
  .payment-fields,
  .payment-methods {
    padding: 1.25rem;
  }

  .plan-image {
    height: clamp(150px, 42vw, 220px);
  }

  .registration-form input,
  .registration-form select,
  .registration-form textarea,
  .assessment-form input,
  .assessment-form select,
  .assessment-form textarea {
    min-height: 3rem;
    padding: 0.85rem 0.95rem;
    font-size: 1rem;
  }

  .contact-form button,
  .registration-form button,
  .assessment-form button {
    width: 100%;
    justify-self: stretch;
    min-height: 3rem;
  }

  .payment-grid {
    gap: 0.65rem;
  }

  .payment-option {
    min-height: 3rem;
    padding: 0.8rem;
    justify-content: flex-start;
  }

  .payment-option input[type="radio"],
  .privacy-consent input[type="checkbox"] {
    min-height: 1.15rem;
    height: 1.15rem;
  }

  .dashboard-card,
  .dashboard-welcome {
    padding: 1.25rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    gap: 0.5rem 0.65rem;
  }

  .brand-logo {
    width: 4.5rem;
  }

  .header-cta-group .btn {
    padding: 0.75rem 0.7rem;
    font-size: 0.82rem;
  }

  .header-cta-group {
    gap: 0.45rem;
  }

  .top-nav {
    gap: 0.65rem;
    padding: 0.85rem;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.4rem);
  }

  .hero-actions .btn {
    min-height: 3rem;
  }

  .hero-stats div {
    padding: 0.8rem;
  }

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

  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
  }

  .dashboard-card,
  .dashboard-welcome,
  .portal-panel {
    padding: 1rem;
    border-radius: 1.25rem;
  }

  .dashboard-stat > strong {
    font-size: clamp(1.2rem, 6vw, 1.65rem);
  }
}

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

  .service-image img {
    animation: none;
    transform: none;
  }

  .program-track {
    animation: none;
    transform: none;
  }

  .program-marquee {
    overflow-x: auto;
    mask-image: none;
  }

  .program-row[aria-hidden="true"] {
    display: none;
  }
}
