/* ============================================================
   Katlego Masemola Psychological Services
   Brand: navy + teal + gold
   ============================================================ */

:root {
  --navy: #0f2a4a;
  --navy-800: #15335a;
  --teal: #2a7d82;
  --teal-600: #246b70;
  --teal-50: #e9f4f4;
  --gold: #c8a24a;
  --gold-soft: #e7d6a8;
  --ink: #1d2733;
  --muted: #5b6876;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --bg-teal: #eef6f6;
  --line: #e4e9ef;
  --wa: #25d366;
  --wa-dark: #1ebe5a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 14px 40px rgba(15, 42, 74, 0.10);
  --shadow-sm: 0 6px 18px rgba(15, 42, 74, 0.08);
  --maxw: 1160px;
  --font-head: "Fraunces", Georgia, serif;
  --font-body: "Satoshi", "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 .4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .76rem;
  font-weight: 700;
  color: var(--teal);
  margin: 0 0 .7rem;
}
.eyebrow.light { color: var(--gold-soft); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  padding: .72rem 1.3rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { padding: .9rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; justify-content: center; margin-top: 1rem; }

.btn-whatsapp {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover { background: var(--wa-dark); }

.btn-outline {
  border-color: rgba(255,255,255,.65);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.12); }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(200,162,74,.4);
}
.btn-primary:hover { background: #d8b561; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark { color: var(--navy); display: inline-flex; }
.brand-logo { height: 46px; width: 46px; object-fit: contain; display: block; }
.brand-text strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  font-size: 1.1rem;
  line-height: 1;
}
.brand-text small {
  display: block;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .6rem;
  color: var(--teal);
  margin-top: 3px;
}

.main-nav { display: flex; align-items: center; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a { font-weight: 500; font-size: .95rem; color: var(--ink); transition: color .15s; }
.nav-links a:hover { color: var(--teal); }
.nav-cta a { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ============ Hero ============ */
.hero {
  color: #fff;
  padding: 118px 0 104px;
  position: relative;
  overflow: hidden;
  min-height: 86vh;
  display: flex;
  align-items: center;
}

/* Background slideshow */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroFade 28s infinite;
  will-change: opacity, transform;
}
/* Gradient fallbacks (shown until/if a photo loads) */
.hero-slide.s1 { background-image: linear-gradient(145deg, #0f2a4a, #1b5a60); animation-delay: 0s; }
.hero-slide.s2 { background-image: linear-gradient(145deg, #15335a, #2a7d82); animation-delay: -7s; }
.hero-slide.s3 { background-image: linear-gradient(145deg, #103b52, #246b70); animation-delay: -14s; }
.hero-slide.s4 { background-image: linear-gradient(145deg, #0f2a4a, #1f6a52); animation-delay: -21s; }

@keyframes heroFade {
  0%   { opacity: 0; transform: scale(1.08); }
  4%   { opacity: 1; }
  22%  { opacity: 1; }
  28%  { opacity: 0; transform: scale(1); }
  100% { opacity: 0; }
}

.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,22,40,.93) 0%, rgba(12,30,54,.8) 42%, rgba(11,26,46,.6) 100%),
    linear-gradient(0deg, rgba(10,22,40,.6), rgba(10,22,40,0) 55%);
}

/* Neural-brain canvas on the hero's right */
.hero-brain {
  position: absolute;
  top: 0; right: 0;
  width: 56%; height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 42%);
}

/* Floating brain / cognitive icons */
.hero-floaties { position: absolute; inset: 0; overflow: hidden; }
.float-ic {
  position: absolute;
  color: rgba(231,214,168,.16);
  animation: floatY 12s ease-in-out infinite;
}
.float-ic.f1 { top: 16%; left: 8%;  font-size: 3.4rem; animation-duration: 13s; }
.float-ic.f2 { top: 62%; left: 14%; font-size: 2.2rem; animation-duration: 10s; color: rgba(255,255,255,.12); }
.float-ic.f3 { top: 28%; right: 12%; font-size: 4rem;  animation-duration: 15s; }
.float-ic.f4 { top: 70%; right: 20%; font-size: 2.6rem; animation-duration: 11s; color: rgba(255,255,255,.1); }
.float-ic.f5 { top: 44%; right: 6%;  font-size: 2rem;  animation-duration: 14s; }

@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(6deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero-copy { max-width: 680px; }
.hero-copy .eyebrow { color: var(--gold-soft); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: .5em;
}
.hero .lead {
  font-size: 1.14rem;
  color: #dbe6f1;
  max-width: 34rem;
  margin: 0 0 1.8rem;
}
.hero .lead strong { color: #fff; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 1.8rem; }
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  list-style: none;
  margin: 0; padding: 0;
}
.hero-pills li {
  font-size: .85rem;
  font-weight: 600;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #eaf2f8;
}
.hero-pills li i { color: var(--gold-soft); margin-right: .35rem; }

/* Hero meta row */
.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.4rem;
  margin-top: 1.6rem;
  font-size: .92rem;
  color: #dbe6f1;
}
.hero-meta-row span { display: inline-flex; align-items: center; gap: .45rem; }
.hero-meta-row i { color: var(--gold-soft); }

/* ============ Media frames (Pexels photos w/ graceful fallback) ============ */
.media-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--teal-600));
}
.media-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
}
.media-frame.is-loaded img { opacity: 1; }
.media-fallback {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  color: rgba(255,255,255,.55);
  font-size: 2.2rem;
}
.media-frame.is-loaded .media-fallback { display: none; }

/* ============ Sections ============ */
.section { padding: 84px 0; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.section-sub { color: var(--muted); font-size: 1.1rem; margin: .4rem 0 0; }
.section-sub.light { color: #cfe0ec; }

.section-help { background: var(--bg-soft); }
.section-services { background: #fff; }
.section-assess { background: var(--bg-teal); }
.section-therapy { background: #fff; }
.section-who { background: var(--bg-soft); }
.section-about { background: #fff; }

/* ============ Help grid ============ */
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.help-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform .18s ease, box-shadow .18s ease;
}
.help-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.help-card h3 { font-size: 1.2rem; }
.help-card p { color: var(--muted); margin: 0; }
.help-ic {
  display: inline-grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal);
  font-size: 1.25rem;
  margin-bottom: .9rem;
}

.help-cta {
  margin-top: 40px;
  text-align: center;
  background: linear-gradient(135deg, var(--teal), var(--teal-600));
  color: #fff;
  border-radius: var(--radius);
  padding: 34px 28px;
}
.help-cta p { margin: 0 0 1.2rem; font-size: 1.15rem; font-weight: 500; }

/* ============ Services ============ */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-soft); }
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: 14px;
  background: var(--teal-50);
  margin-bottom: 1rem;
}
.service-card h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.service-card ul { margin: 0; padding-left: 1.1rem; color: var(--muted); }
.service-card li { margin-bottom: .35rem; }

/* ============ List grid (assessments/therapy) ============ */
.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.list-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--teal);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.list-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.list-ic {
  flex: none;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal);
  font-size: 1.15rem;
}
.section-therapy .list-item { border-left-color: var(--gold); }
.section-therapy .list-ic { background: #faf3e0; color: var(--gold); }
.list-item h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.list-item p { color: var(--muted); margin: 0; }

/* ============ Who we support ============ */
.who-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.who-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease;
}
.who-card { padding: 0; overflow: hidden; }
.who-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.who-photo {
  aspect-ratio: 1 / 1;
  border-radius: 0;
}
.who-photo .media-fallback { font-size: 2.6rem; }
.who-card h3 { margin: 1rem 0 .2rem; font-size: 1.25rem; }
.who-card p { color: var(--muted); margin: 0 0 1.2rem; font-size: .95rem; }

/* ============ About ============ */
.about-inner {
  display: grid;
  grid-template-columns: .85fr 1.2fr;
  gap: 48px;
  align-items: start;
}
.about-role { color: var(--teal); font-weight: 600; margin: -.2rem 0 1.1rem; }
.about-copy p { color: var(--muted); margin: 0 0 1rem; }
.about-values { list-style: none; margin: 1.2rem 0 0; padding: 0; display: grid; gap: .6rem; }
.about-values li {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .7rem 1rem;
  background: var(--bg-teal);
  border-radius: var(--radius-sm);
  color: var(--ink);
}
.about-values li i {
  color: var(--teal);
  width: 22px; text-align: center;
  font-size: 1.05rem;
}
.about-values strong { color: var(--navy); }

.about-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.about-card h3 { color: var(--gold-soft); font-size: 1.3rem; margin-bottom: 1rem; }
.about-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .55rem 1rem; }
.about-card dt { color: var(--gold-soft); font-weight: 600; font-size: .9rem; }
.about-card dd { margin: 0; color: #dbe6f1; font-size: .95rem; }

/* ============ Contact ============ */
.section-contact {
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(42,125,130,.4), transparent 60%),
    linear-gradient(150deg, #0f2a4a, #15335a 70%);
  color: #fff;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 30px;
}
.contact-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  transition: transform .18s ease, background .2s ease, border-color .2s;
}
.contact-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); }
.contact-card--wa { background: rgba(37,211,102,.14); border-color: rgba(37,211,102,.4); }
.contact-card--wa:hover { background: rgba(37,211,102,.22); }
.contact-ic {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}
.contact-card--wa .contact-ic { background: var(--wa); }
.contact-card h3 { color: #fff; font-size: 1.3rem; margin-bottom: .3rem; }
.contact-card p { color: #cfe0ec; margin: 0 0 .9rem; word-break: break-word; }
.contact-link { color: var(--gold-soft); font-weight: 600; font-size: .95rem; }

.payments {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: center;
  background: rgba(200,162,74,.16);
  border: 1px solid rgba(200,162,74,.4);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin-bottom: 22px;
  text-align: center;
}
.payments-ic {
  font-size: 1.5rem;
  display: inline-grid; place-items: center;
  width: 48px; height: 48px; flex: none;
  border-radius: 50%;
  background: rgba(200,162,74,.25);
}
.payments p { margin: 0; color: #f1e7cc; font-size: 1.05rem; }
.payments strong { color: var(--gold-soft); }

.locations {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.location {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 22px 24px;
}
.location .contact-ic { width: 46px; height: 46px; font-size: 1.2rem; margin: 0; flex: none; }
.location h3 { color: #fff; margin: 0 0 .25rem; font-size: 1.15rem; }
.location p { color: #cfe0ec; margin: 0; }

/* ============ Footer ============ */
.site-footer {
  background: #0a1f38;
  color: #cfe0ec;
  padding: 44px 0 30px;
}
.footer-inner {
  display: grid;
  gap: 22px;
  justify-items: center;
  text-align: center;
}
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand .brand-mark { color: var(--gold-soft); }
.footer-brand strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.footer-brand small { display: block; color: #9fb4c8; font-size: .82rem; margin-top: 3px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-nav a { color: #cfe0ec; font-size: .92rem; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-legal { font-size: .82rem; color: #7f94a8; margin: 0; }

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  right: 20px; bottom: 20px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: .6rem;
  background: var(--wa);
  color: #fff;
  padding: 14px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.5);
  font-weight: 600;
  transition: transform .18s ease, background .2s;
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); }
.wa-float-label { font-size: .95rem; }

@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 30px rgba(37,211,102,.5), 0 0 0 10px rgba(37,211,102,.12); }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .help-grid, .service-grid, .list-grid { grid-template-columns: repeat(2, 1fr); }
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 8px 22px 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease, padding .3s ease;
  }
  .nav-links.open { max-height: 480px; padding: 12px 22px 22px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: .7rem 0; width: 100%; }
  .nav-cta { margin-top: .4rem; }
  .nav-cta a { display: inline-flex; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 580px) {
  .section { padding: 60px 0; }
  .help-grid, .service-grid, .list-grid, .who-grid,
  .contact-grid, .locations { grid-template-columns: 1fr; }
  .hero { padding: 92px 0 64px; min-height: 0; }
  .float-ic.f3, .float-ic.f4 { display: none; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
  .wa-float-label { display: none; }
  .wa-float { padding: 15px; }
}

/* ============ Profile card (Meet Katlego) ============ */
.profile-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  text-align: center;
  position: sticky;
  top: 92px;
}
.profile-photo {
  width: 160px; height: 160px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  background: linear-gradient(150deg, var(--teal), var(--gold));
  border: 4px solid rgba(255,255,255,.15);
}
.profile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-monogram {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 600;
  color: #fff; letter-spacing: .05em;
}
.profile-name { color: #fff; font-size: 1.5rem; margin-bottom: .2rem; }
.profile-role { color: var(--gold-soft); font-weight: 600; margin: 0 0 1rem; }
.profile-chips {
  display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center;
  margin-bottom: 1.2rem;
}
.profile-chips span {
  font-size: .76rem; font-weight: 600;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  color: #dbe6f1;
  padding: .3rem .7rem; border-radius: 999px;
}
.profile-chips i { color: var(--gold-soft); margin-right: .3rem; }
.profile-glance { margin: 0 0 .4rem; text-align: left; display: grid; gap: .7rem; }
.profile-glance dt { color: var(--gold-soft); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.profile-glance dd { margin: .1rem 0 0; color: #dbe6f1; font-size: .92rem; }

.about-subhead { font-size: 1.2rem; margin: 1.6rem 0 .8rem; color: var(--navy); }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 1.4rem; }
.tag-list li {
  font-size: .85rem; font-weight: 600;
  background: var(--teal-50); color: var(--teal-600);
  border: 1px solid #d4e8e8;
  padding: .35rem .8rem; border-radius: 999px;
}

/* ============ Fees ============ */
.section-fees { background: var(--bg-soft); }
.fees-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 22px; margin-bottom: 30px;
}
.fee-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  text-align: center; box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--teal);
  transition: transform .18s ease, box-shadow .18s ease;
}
.fee-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fee-ic {
  display: inline-grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal);
  font-size: 1.4rem; margin-bottom: .9rem;
}
.fee-card h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.fee-amount { font-family: var(--font-head); font-size: 2rem; color: var(--navy); margin: 0; font-weight: 600; }
.fee-note { color: var(--muted); margin: .2rem 0 0; font-size: .9rem; }

.fees-info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.fees-block {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
  box-shadow: var(--shadow-sm);
}
.fees-block h3 { font-size: 1.15rem; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.fees-block h3 i { color: var(--gold); }
.tick-list, .medaid-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.tick-list li, .medaid-list li {
  font-weight: 600; font-size: .92rem;
  padding: .5rem .9rem; border-radius: 10px;
  background: var(--bg-teal); color: var(--ink);
}
.tick-list li::before { content: "\2713"; color: var(--teal); font-weight: 700; margin-right: .45rem; }
.medaid-list li { background: #faf3e0; color: #7a5e1f; }
.fees-fineprint { color: var(--muted); font-size: .85rem; margin: 1rem 0 0; }

/* ============ Testimonials (Swiper) ============ */
.section-reviews { background: var(--bg-teal); }
.reviews-swiper { padding: 10px 4px 54px; }
.reviews-swiper .swiper-slide { height: auto; }
.review-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
  box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column; gap: 1rem;
}
.review-card .stars { color: var(--gold); display: flex; gap: .2rem; }
.review-text { font-family: var(--font-head); font-style: italic; font-size: 1.1rem; color: var(--navy); margin: 0; flex: 1; }
.review-author { display: flex; align-items: center; gap: .8rem; }
.review-author .avatar {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--teal); color: #fff; font-weight: 700;
  font-family: var(--font-head);
}
.review-author strong { display: block; color: var(--navy); font-size: .95rem; }
.review-author small { color: var(--muted); }
.reviews-swiper .swiper-pagination-bullet-active { background: var(--teal); }
.reviews-swiper .swiper-button-prev,
.reviews-swiper .swiper-button-next { color: var(--teal); }
.reviews-swiper .swiper-button-prev::after,
.reviews-swiper .swiper-button-next::after { font-size: 1.4rem; }

/* ============ Booking form + map ============ */
.contact-split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  margin-top: 30px;
}
.booking-form {
  background: #fff; border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow);
}
.booking-form h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.booking-form label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: .9rem; }
.booking-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%; margin-top: .35rem;
  font: inherit; color: var(--ink);
  padding: .7rem .8rem;
  border: 1px solid var(--line); border-radius: 10px;
  background: #fbfcfd; transition: border-color .15s, box-shadow .15s;
}
.booking-form input:focus,
.booking-form select:focus,
.booking-form textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(42,125,130,.15);
}
.booking-form textarea { resize: vertical; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin: .9rem 0 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-status.ok { color: var(--teal); }
.form-status.err { color: #c0392b; }
.form-note { margin: .6rem 0 0; font-size: .88rem; color: var(--muted); }
.form-note a { color: var(--teal); font-weight: 600; }

.map-wrap { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.map-tabs { display: flex; }
.map-tab {
  flex: 1; border: 0; cursor: pointer;
  background: #eef2f6; color: var(--navy);
  font: inherit; font-weight: 600; padding: .8rem 1rem;
  transition: background .15s, color .15s;
}
.map-tab.active { background: var(--navy); color: #fff; }
.map-frames { position: relative; flex: 1; min-height: 240px; }
.map-frame { width: 100%; height: 100%; min-height: 240px; border: 0; display: none; }
.map-frame.active { display: block; }
.map-wrap .locations { grid-template-columns: 1fr; gap: 0; padding: 16px; }
.map-wrap .location { background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 8px; }
.map-wrap .location .contact-ic { background: var(--teal-50); color: var(--teal); }
.map-wrap .location h3 { color: var(--navy); }
.map-wrap .location p { color: var(--muted); }

.footer-credit { font-size: .8rem; color: #7f94a8; margin: 0; }
.footer-credit a { color: var(--gold-soft); }

/* ============ GSAP reveal initial states (removed if JS/motion off) ============ */
.js-reveal [data-aos] { opacity: 0; }
.js-reveal [data-aos="fade-up"] { transform: translateY(32px); }
.js-reveal [data-aos="fade-right"] { transform: translateX(-36px); }
.js-reveal [data-aos="fade-left"] { transform: translateX(36px); }
.js-reveal [data-aos="zoom-in"] { transform: scale(.94); }

/* ============ Stats band (CountUp) ============ */
.stats-band {
  background:
    radial-gradient(700px 300px at 80% 0%, rgba(42,125,130,.5), transparent 60%),
    linear-gradient(120deg, #0a1f38, #15335a);
  color: #fff;
  padding: 44px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.stat { padding: 8px 6px; }
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--gold-soft);
  line-height: 1;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  font-size: .9rem;
  letter-spacing: .04em;
  color: #cfe0ec;
}
.stat + .stat, .stat { position: relative; }

/* ============ Lottie breathing animation ============ */
.help-lottie {
  width: 150px;
  height: 150px;
  margin: 1.2rem auto 0;
  display: block;
}

/* Tilt: keep glare inside rounded corners */
.service-card, .help-card, .fee-card { overflow: hidden; }
.js-tilt-glare { border-radius: inherit; }

/* ============ Responsive (premium additions) ============ */
@media (max-width: 960px) {
  .fees-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-split { grid-template-columns: 1fr; }
  .profile-card { position: static; }
}
@media (max-width: 760px) {
  .reviews-swiper .swiper-button-prev,
  .reviews-swiper .swiper-button-next { display: none; }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .hero-brain {
    width: 100%;
    opacity: .22;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
    mask-image: linear-gradient(180deg, transparent 0%, #000 45%);
  }
}
@media (max-width: 580px) {
  .fees-grid, .fees-info { grid-template-columns: 1fr; }
  .booking-form .form-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; animation: none !important; transition: none !important; }
  .js-reveal [data-aos] { opacity: 1 !important; transform: none !important; }
  /* Keep a single hero slide visible when motion is off */
  .hero-slide.s1 { opacity: 1 !important; transform: none !important; }
}
