/* PageBreak shared stylesheet — change colours in :root; find sections by heading. */

/* 01 | THEME — colours and design tokens */
:root {
  --ink: #163e4a;
  --teal: #0b5368;
  --sea: #6da5a3;
  --mint: #a4cfbe;
  --lav: #8996bf;
  --cream: #f8f7f4;
  --soft: #edf4f1;
  --line: #dbe5e1;
  --white: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans",sans-serif;
  line-height: 1.7;
}

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

button {
  font: inherit;
}

h1,h2,h3,p {
  margin-top: 0;
}

h1,h2,h3 {
  line-height: 1.15;
}

h1,h2 {
  font-family: "DM Serif Display",Georgia,serif;
  font-weight: 400;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(3.3rem,6.2vw,6.7rem);
  line-height: 1.04;
  margin: 20px 0 28px;
}

h2 {
  font-size: clamp(2.5rem,4vw,4.5rem);
  margin: 14px 0 25px;
}

h2 em,h1 em {
  font-weight: 400;
  color: var(--sea);
}

h3 {
  font-size: 1.3rem;
}

p {
  color: #47636a;
}

.shell {
  width: min(1180px,calc(100% - 48px));
  margin: auto;
}

.section {
  padding: 112px 0;
}

.eyebrow {
  font-size: .73rem;
  letter-spacing: .19em;
  font-weight: 700;
  color: #568b87;
}

/* 02 | HEADER AND NAVIGATION */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #f8f7f4ef;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Official transparent wordmark — includes the practice name. */
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  display: block;
  width: 205px;
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 21px;
  font-size: .8rem;
  font-weight: 600;
}

.nav-links a:not(.nav-cta):hover,.inline:hover {
  color: var(--sea);
}

.nav-cta {
  background: var(--teal);
  color: #fff;
  padding: 12px 17px;
  border-radius: 99px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.7rem;
  color: var(--teal);
}

/* 03 | HERO */
.hero {
  overflow: hidden;
  background: linear-gradient(135deg,#faf9f6 25%,#eef5f0 100%);
  padding: 94px 0 104px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}

.lead {
  font-size: 1.13rem;
  max-width: 620px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 99px;
  font-size: .88rem;
  font-weight: 700;
  transition: transform .2s,background .2s;
}

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

.primary {
  background: var(--teal);
  color: white;
}

.secondary {
  border: 1px solid #adc6bf;
  color: var(--teal);
}

.subtle {
  font-size: .8rem;
  color: #71878a;
}

.hero-art {
  height: 500px;
  position: relative;
  display: grid;
  place-items: center;
}

.art-orbit {
  position: absolute;
  border-radius: 50%;
}

.orbit-one {
  width: 430px;
  height: 430px;
  background: #d8e7e0;
  top: 15px;
  right: 2px;
}

.orbit-two {
  width: 310px;
  height: 310px;
  background: #d9dff0;
  bottom: 0;
  left: 0;
  opacity: .8;
}

.art-sheet {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 355px;
  background: #fff;
  border-radius: 180px 180px 22px 22px;
  box-shadow: 0 25px 80px #1d4d4c19;
  padding: 80px 40px 40px;
  text-align: center;
  transform: rotate(-7deg);
}

.art-sheet p {
  font: 2.15rem/1.2 "DM Serif Display",serif;
  color: var(--teal);
}

.art-symbol {
  font: 5rem Georgia,serif;
  color: var(--mint);
  line-height: .6;
}

.art-line {
  display: block;
  width: 90px;
  height: 3px;
  background: var(--lav);
  margin: 30px auto;
}

.art-spark {
  position: absolute;
  font-size: 3rem;
  color: var(--sea);
}

.spark-one {
  right: 0;
  top: 20px;
}

.spark-two {
  left: 22px;
  bottom: 50px;
}

/* 04 | ABOUT AND SERVICE CARDS */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.prose p {
  font-size: 1.05rem;
  margin-bottom: 22px;
}

.tinted {
  background: #eef3f1;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 32px;
}

.section-head h2 {
  max-width: 600px;
  margin-bottom: 0;
}

.section-head p {
  max-width: 410px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
}

.service-card,.screen-card,.price-card {
  background: white;
  border: 1px solid #e2e9e5;
  border-radius: 22px;
  padding: 35px;
}

.service-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  background: #e7f1eb;
  border-radius: 17px;
  color: var(--teal);
  font-size: 1.8rem;
  margin-bottom: 22px;
}

.service-card h3 {
  font-size: 1.42rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: .93rem;
}

.service-card ul {
  padding-left: 20px;
  color: #47636a;
  font-size: .87rem;
}

.service-card li {
  margin: 5px 0;
}

.note {
  font-size: .8rem;
  margin: 22px 0 0;
}

/* 05 | PSYCHOLOGIST PROFILE */
.profile {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 95px;
  align-items: center;
}

.profile-image {
  background: #dbe9e5;
  border-radius: 210px 210px 25px 25px;
  overflow: hidden;
  max-height: 650px;
}

.profile-image img {
  display: block;
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
}

.profile-name {
  margin-bottom: 5px;
}

.credential {
  font-size: .85rem;
  font-weight: 700;
  color: var(--sea);
  margin-bottom: 25px;
}

.language {
  padding: 16px 20px;
  background: #e9f2ef;
  border-radius: 12px;
  font-size: .84rem;
  font-weight: 600;
}

/* 06 | FREE SCREENING */
.screening {
  background: #f2f0f8;
}

.screen-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 15px;
}

.screen-card {
  padding: 27px;
  display: flex;
  flex-direction: column;
}

.screen-num {
  font: 2.5rem "DM Serif Display",serif;
  color: var(--lav);
}

.screen-card h3 {
  margin: 16px 0 8px;
}

.screen-card p {
  font-size: .85rem;
  flex: 1;
}

.screen-card a {
  font-size: .83rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.inline {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.screen-consult {
  margin-top: 25px;
  background: var(--teal);
  color: white;
  padding: 38px;
  border-radius: 24px;
  display: flex;
  gap: 30px;
  justify-content: space-between;
  align-items: center;
}

.screen-consult .eyebrow {
  color: #b5d5cb;
}

.screen-consult h3 {
  font: 2rem "DM Serif Display",serif;
  margin: 12px 0;
}

.screen-consult p {
  color: #d5e9e7;
  max-width: 680px;
  margin: 0;
}

.consult-action {
  min-width: 250px;
  text-align: center;
}

.consult-action strong {
  display: block;
  font: 2.5rem "DM Serif Display",serif;
  margin-bottom: 16px;
}

.consult-action small {
  font: 500 .9rem "DM Sans",sans-serif;
}

.consult-action .primary {
  background: white;
  color: var(--teal);
}

.disclaimer {
  font-size: .77rem;
  line-height: 1.65;
  margin: 24px 0 0;
}

/* 07 | FEES AND BOOKING */
.price-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.price-card {
  padding: 30px 24px;
}

.price-card span {
  font-size: .67rem;
  letter-spacing: .1em;
  color: var(--sea);
  font-weight: 700;
}

.price-card h3 {
  min-height: 62px;
  margin: 16px 0;
}

.price-card strong {
  font: 2.3rem "DM Serif Display",serif;
  color: var(--teal);
}

.price-card .quote {
  font-size: 1.65rem;
}

.price-card p {
  font-size: .82rem;
  margin: 12px 0 0;
}

.policy {
  border-left: 3px solid var(--mint);
  padding: 12px 25px;
  margin-top: 35px;
}

.policy h3 {
  margin-bottom: 8px;
}

.policy p {
  font-size: .87rem;
  max-width: 900px;
  margin: 0;
}

/* 08 | FAQ */
.faq-wrap {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}

.faq-list details {
  padding: 23px 0;
  border-bottom: 1px solid #cdded6;
}

.faq-list summary {
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 25px;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0;
  color: var(--teal);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  font-size: .9rem;
  margin: 14px 0 0;
}

/* 09 | CONTACT */
.contact {
  padding: 85px 0;
}

.contact-panel {
  background: var(--teal);
  border-radius: 28px;
  padding: 65px 75px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  color: white;
  overflow: hidden;
}

.contact-panel h2 {
  max-width: 750px;
}

.contact-panel h2 em {
  color: #a4cfbe;
}

.contact-panel p {
  color: #d7e9e6;
}

.contact-panel .eyebrow {
  color: #b5d5cb;
}

.light {
  background: white;
  color: var(--teal);
}

.outline-light {
  border: 1px solid #91b6b4;
  color: white;
}

.contact-detail {
  font-size: .82rem;
}

.contact-mark {
  font-size: 13rem;
  color: #a4cfbe55;
  line-height: 1;
}

/* 10 | FOOTER */
.footer {
  border-top: 1px solid var(--line);
  padding: 45px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.footer strong {
  font-family: "DM Serif Display",serif;
  font-size: 1.4rem;
}

.footer p,.footer small {
  font-size: .8rem;
  color: #6b8185;
}

/* 11 | ACCESSIBILITY */
.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: white;
  padding: 10px;
  z-index: 50;
}

.skip:focus {
  left: 10px;
}

a:focus-visible,button:focus-visible,summary:focus-visible {
  outline: 3px solid #8996bf;
  outline-offset: 4px;
}

/* Responsive layout */
@media (max-width:1050px) {
  .nav-links {
    gap: 11px;
    font-size: .73rem;
  }

  .nav-cta {
    padding: 10px;
  }

  .hero-grid {
    gap: 10px;
  }

  .screen-grid,.price-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .split,.profile,.faq-wrap {
    gap: 45px;
  }

}

/* Responsive layout */
@media (max-width:900px) {
  .shell {
    width: min(100% - 34px,1180px);
  }

  .section {
    padding: 70px 0;
  }

  .nav {
    min-height: 74px;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 20px 24px 30px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    box-shadow: 0 18px 30px #143d4714;
  }

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

  .hero {
    padding: 65px 0;
  }

  .hero-grid,.split,.profile,.faq-wrap {
    grid-template-columns: 1fr;
  }

  .hero-art {
    height: 320px;
  }

  .orbit-one {
    width: 290px;
    height: 290px;
    right: 5%;
  }

  .orbit-two {
    width: 220px;
    height: 220px;
    left: 8%;
  }

  .art-sheet {
    width: 205px;
    height: 245px;
    padding: 60px 20px 20px;
  }

  .art-sheet p {
    font-size: 1.55rem;
  }

  .art-symbol {
    font-size: 3.5rem;
  }

  .art-line {
    margin: 12px auto;
  }

  .section-head {
    display: block;
  }

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

  .profile-image {
    max-width: 430px;
  }

  .profile-image img {
    height: 500px;
  }

  .screen-grid,.price-grid {
    grid-template-columns: repeat(2,1fr);
  }

  .screen-consult {
    display: block;
    padding: 26px;
  }

  .consult-action {
    margin-top: 20px;
    text-align: left;
  }

  .contact-panel {
    padding: 40px 28px;
  }

  .contact-mark {
    display: none;
  }

  .footer-grid {
    display: block;
  }

}

/* Responsive layout */
@media (max-width:460px) {
  .screen-grid,.price-grid {
    grid-template-columns: 1fr;
  }

  .screen-card {
    min-height: 0;
  }

  .price-card h3 {
    min-height: 0;
  }

  .actions .btn {
    width: 100%;
  }

  h1 {
    font-size: 3.1rem;
  }

  .hero-art {
    height: 290px;
  }

}

/* Testimonials page */
.testimonial-hero {
  padding: 105px 0 75px;
  background: linear-gradient(135deg,#f8f5f7 0%,#eef5f1 100%);
}

.testimonial-hero .shell {
  max-width: 850px;
  text-align: center;
}

.testimonial-hero h1 {
  font-size: clamp(2.8rem,5vw,5rem);
  margin: 18px 0;
}

.testimonial-hero p {
  font-size: 1.1rem;
  line-height: 1.85;
  color: #4f6870;
  max-width: 680px;
  margin: 0 auto;
}

.testimonial-empty {
  max-width: 850px;
  margin: 0 auto;
  text-align: center;
  padding: 52px 42px;
  border: 1px solid #dce9e4;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 40px #123c4510;
}

.testimonial-empty .mark {
  font-size: 2.4rem;
  color: #6da5a3;
}

.testimonial-empty h2 {
  margin: 15px 0;
  font-size: 2rem;
}

.testimonial-empty p {
  max-width: 610px;
  margin: 0 auto 15px;
  line-height: 1.8;
  color: #4f6870;
}

.testimonial-info {
  max-width: 850px;
  margin: 35px auto 0;
  padding: 24px 30px;
  background: #f3f6f4;
  border-radius: 18px;
  line-height: 1.8;
}

.testimonial-info h3 {
  margin: 0 0 8px;
}

.testimonial-info p {
  margin: 0;
}

.testimonial-actions {
  text-align: center;
  margin-top: 32px;
}

.testimonial-actions .btn {
  display: inline-block;
}

/* Responsive layout */
@media (max-width:600px) {
  .testimonial-hero {
    padding: 75px 0 55px;
  }

  .testimonial-empty {
    padding: 35px 23px;
  }

}

/* TESTIMONIAL REVIEW CARD */
.testimonial-card {
  max-width: 820px;
  margin: 0 auto 34px;
  padding: clamp(24px,5vw,54px);
  background: #fff;
  border: 1px solid #e0e9e5;
  border-radius: 26px;
  box-shadow: 0 14px 35px rgba(11,83,104,.07);
}

.testimonial-stars {
  color: #d4a345;
  font-size: 1.55rem;
  letter-spacing: .14em;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-size: clamp(1.04rem,2vw,1.24rem);
  line-height: 1.95;
  color: #244c57;
  margin: 0 0 25px;
}

.testimonial-author {
  font-weight: 700;
  color: #0b5368;
}

/* FOOTER LOGO AND CONTACTS */
.footer {
  padding: 28px 0 20px;
  background: var(--cream);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: inline-block;
  max-width: 100%;
  text-decoration: none;
}

/* The same transparent logo is used in the header and footer. */
.footer-logo {
  display: block;
  width: 265px;
  max-width: 100%;
  height: auto;
}

.footer-identity p {
  margin: 6px 0 0;
}

.footer-contact h3 {
  font-size: 1rem;
  margin: 0 0 8px;
}

.footer-contact p {
  margin-bottom: 10px;
}

.footer-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .86rem;
  color: var(--teal);
  overflow-wrap: anywhere;
  margin: 6px 0;
}

.footer-contact-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.footer-contact-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 18px;
  padding-top: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 18px;
  font-size: .78rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-logo {
    width: 220px;
  }

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

/* Booking and attendance information */
.policy-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px 32px;
  margin-top: 18px;
}

.policy-grid h4 {
  font-size: .94rem;
  margin: 0 0 7px;
  color: var(--teal);
}

.policy-grid p {
  line-height: 1.75;
}

.policy-grid>div {
  min-width: 0;
}

/* Responsive layout */
@media (max-width:760px) {
  .policy-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .policy {
    padding: 10px 16px;
  }

}

/* Privacy notice */
.privacy-content {
  max-width: 850px;
}

.privacy-content h2 {
  margin: 18px 0 24px;
}

.privacy-content h3 {
  margin: 30px 0 10px;
}

.privacy-content p {
  line-height: 1.85;
}

.privacy-content hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 64px 0;
}

.privacy-content article {
  scroll-margin-top: 105px;
}


/* CONTACT DETAILS | Clickable email and WhatsApp number */
.contact-detail a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}


/* 12 | MULTI-PAGE HOMEPAGE — navigation cards, not full service sections */
.home-explore {
  padding: 60px 0 76px;
}

.home-explore h2 {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  margin-bottom: 28px;
}

.home-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 20px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: border-color .2s, transform .2s;
}

.home-card:hover {
  border-color: var(--sea);
  transform: translateY(-2px);
}

.home-card-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  height: 44px;
  background: var(--soft);
  border-radius: 13px;
  color: var(--teal);
  font-size: 1.35rem;
}

.home-card h3 {
  margin: 0 0 5px;
  font-size: 1.06rem;
  color: var(--teal);
}

.home-card p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.5;
}

.home-card-arrow {
  margin-left: auto;
  color: var(--teal);
  font-size: 1.25rem;
}

/* 13 | INNER PAGES — consistent page titles and active navigation */
.inner-page {
  padding: 72px 0 88px;
  min-height: 55vh;
}

.page-heading {
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  line-height: 1.15;
  margin: 14px 0 25px;
}

.nav-links a[aria-current="page"] {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Explicit dimensions prevent image layout shift; keep the transparent artwork proportional. */
.brand img, .footer-logo {
  height: auto;
  object-fit: contain;
}

@media (max-width: 1100px) {
  .nav {
    min-height: 74px;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--cream);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    box-shadow: 0 18px 30px #143d4714;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }

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

@media (max-width: 650px) {
  .home-card-grid {
    grid-template-columns: 1fr;
  }

  .home-explore, .inner-page {
    padding: 48px 0;
  }

  .home-card {
    padding: 16px;
  }
}

.contact-panel .page-heading em {
  color: var(--mint);
}


/* 14 | FLEXIBLE THERAPY PACKAGES — pricing cards and responsive layout */
.therapy-packages {
  padding: 60px 0 48px;
  scroll-margin-top: 100px;
}

.packages-intro {
  max-width: 750px;
  margin: 0 auto 32px;
  text-align: center;
}

.packages-intro h2 {
  color: var(--teal);
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  margin: 12px 0 14px;
}

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

/* Individual card colours — change these to adjust the package palette. */
.package-lavender {
  --package-bg: #e9e8f4;
  --package-accent: #626a98;
}

.package-mint {
  --package-bg: #dcede4;
  --package-accent: #356d5d;
}

.package-teal {
  --package-bg: #d4e6ea;
  --package-accent: #0b5368;
}

.package-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: clamp(18px, 2.2vw, 30px);
  background: var(--package-bg);
  color: var(--package-accent);
  border: 1px solid #163e4a0d;
  border-radius: 24px;
}

.package-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.package-kicker {
  margin: 0 0 8px;
  color: var(--package-accent);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
}

.package-card h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.8rem);
  margin: 0;
}

.package-leaf {
  width: 66px;
  height: 60px;
  flex: 0 0 66px;
}

.package-description {
  margin: 0;
  flex: 1;
  font-size: .95rem;
}

.package-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-variant-numeric: tabular-nums;
}

.package-price strong {
  font-size: clamp(1.9rem, 2.6vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.package-price del {
  color: #52686d;
  font-size: .92rem;
}

.package-breakdown {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: var(--white);
  border-radius: 14px;
  padding: 14px;
  gap: 12px;
}

.package-breakdown strong,
.package-breakdown span {
  display: block;
}

.package-breakdown strong {
  font-size: 1.25rem;
  line-height: 1.35;
}

.package-breakdown span {
  color: #52686d;
  font-size: .78rem;
}

.package-enquiry {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 10px;
  border-radius: 12px;
  background: var(--package-accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

.package-enquiry:hover {
  filter: brightness(.92);
}

.package-enquiry:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.package-choice {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  max-width: 850px;
  margin: 32px auto 0;
}

.package-choice svg {
  color: var(--teal);
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
}

.package-choice h3 {
  color: var(--teal);
  margin: 0 0 7px;
}

.package-choice p {
  margin: 0;
}

.package-note {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin: 24px auto 0;
  text-align: center;
  font-size: .87rem;
}

/* On smaller screens, stack cards in reading order. */
@media (max-width: 860px) {
  .package-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: auto;
  }
}

/* 15 | AFFORDABLE SUPERVISED TRAINEE CARE */
.standard-fees-heading {
  color: var(--teal);
  margin: 0 0 20px;
}

.trainee-care {
  margin-top: 48px;
  padding: clamp(20px, 4vw, 48px);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 28px;
  scroll-margin-top: 100px;
}

.trainee-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 880px;
  margin-inline: auto;
}

@media (max-width: 860px) {
  .trainee-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
  }
}


/* 16 | LANGUAGE SWITCHER — English / Simplified Chinese */
.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: var(--white);
  white-space: nowrap;
  font-size: .8rem;
  font-weight: 600;
}
.language-choice {
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--teal);
  text-decoration: none;
}
.language-choice[aria-current="true"] {
  background: var(--teal);
  color: var(--white);
}
.language-choice:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
html[lang="zh-Hans"] body {
  font-family: "Noto Sans SC", "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.8;
}
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2,
html[lang="zh-Hans"] h3, html[lang="zh-Hans"] h1 em,
html[lang="zh-Hans"] .art-sheet p {
  font-family: "Noto Serif SC", "Noto Serif CJK SC", "Songti SC", "SimSun", serif;
  font-style: normal;
}
@media (min-width: 1251px) {
  .nav { gap: 16px; }
  .nav-links { gap: 13px; }
}
@media (max-width: 1250px) {
  .nav { min-height: 74px; gap: 10px; }
  .nav .brand { margin-right: auto; }
  .brand img { width: 170px; }
  .menu-toggle { display: block; order: 3; }
  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0; right: 0;
    background: var(--cream);
    padding: 18px 24px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    box-shadow: 0 18px 30px #143d4714;
  }
  .nav-links.open { display: flex; }
}
@media (max-width: 400px) {
  .brand img { width: 136px; }
  .language-choice { padding: 5px 7px; }
}

/* Chinese brand name — original English logo remains unchanged. */
.chinese-brand-name {
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 4px;
}

/* 17 | LOGO SIZE — shared across English and Chinese pages.
   Change these three values to adjust the logo without editing the artwork. */
:root {
  --header-logo-width: 280px;
  --mobile-logo-width: 225px;
  --footer-logo-width: 350px;
}

.nav {
  min-height: 120px;
}

.brand img {
  width: var(--header-logo-width);
  max-width: 100%;
  height: auto;
}

.footer-logo {
  width: var(--footer-logo-width);
  max-width: 100%;
  height: auto;
}

/* Allow the desktop links to wrap naturally beside the larger logo. */
@media (min-width: 1251px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 13px;
  }
  .nav-links a {
    white-space: nowrap;
  }
}

@media (max-width: 1250px) {
  .nav {
    min-height: 104px;
    gap: 10px;
    padding: 7px 0;
  }
  .nav .brand {
    flex: 0 1 var(--mobile-logo-width);
    min-width: 0;
  }
  .brand img {
    width: var(--mobile-logo-width);
  }
  .menu-toggle {
    flex: 0 0 auto;
  }
  .nav-links {
    top: 100%;
    max-height: calc(100dvh - 104px);
  }
}

@media (max-width: 760px) {
  .footer-logo {
    width: 300px;
  }
}

/* Keep small-screen language controls visible alongside the wordmark. */
@media (max-width: 400px) {
  .nav {
    gap: 6px;
  }
  .menu-toggle {
    padding: 4px;
  }
}


/* 18 | HEADER LAYOUT — always-visible top-right language switcher */
.header .nav {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr) auto;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 20px;
  row-gap: 6px;
  padding: 12px 0;
}
.header .brand {
  grid-column: 1;
  grid-row: 1 / 3;
  min-width: 0;
  margin: 0;
}
.header .language-switch {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: start;
  display: inline-flex;
  visibility: visible;
  font-size: .9rem;
  border-color: var(--teal);
}
.header .language-choice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 44px;
  padding: 6px 11px;
  line-height: 1.2;
}
.header .nav-links {
  grid-column: 2 / 4;
  grid-row: 2;
  justify-content: flex-end;
}
@media (max-width: 1250px) {
  .header .nav {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 10px;
    row-gap: 3px;
    min-height: 104px;
    padding: 8px 0;
  }
  .header .language-switch {
    grid-column: 2;
    grid-row: 1;
  }
  .header .menu-toggle {
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    min-width: 44px;
    min-height: 40px;
    padding: 0 6px;
    line-height: 1;
    cursor: pointer;
  }
  .header .nav-links {
    top: 100%;
  }
}


/* 19 | CHINESE TYPOGRAPHY — line wrapping and responsive spacing
   Scoped to Chinese pages; English and Malay text retains its own layout. */
html[lang="zh-Hans"] :lang(zh) {
  line-break: strict;
  word-break: normal;
}
html[lang="zh-Hans"] :is(h1, h2, h3, h4, summary):lang(zh) {
  letter-spacing: 0;
  line-height: 1.4;
  text-wrap: balance;
}
html[lang="zh-Hans"] h1:lang(zh) {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
}
html[lang="zh-Hans"] h2:lang(zh) {
  font-size: clamp(1.65rem, 2.9vw, 2.75rem);
}
html[lang="zh-Hans"] .hero h1 {
  font-size: clamp(2.15rem, 4.6vw, 4rem);
  line-height: 1.35;
}
/* Keep the two complete phrases of the homepage tagline together. */
html[lang="zh-Hans"] .hero h1 em {
  display: block;
}
html[lang="zh-Hans"] .eyebrow,
html[lang="zh-Hans"] .package-kicker,
html[lang="zh-Hans"] .price-card > span {
  letter-spacing: .035em;
  line-height: 1.5;
}
html[lang="zh-Hans"] :is(p, li, blockquote):lang(zh) {
  text-wrap: pretty;
  line-height: 1.8;
}
html[lang="zh-Hans"] :is(.home-card p, .service-card p, .screen-card p,
  .price-card p, .package-description, .section-head p, .packages-intro p,
  .package-note, .subtle, .art-sheet p, .footer p):lang(zh) {
  text-wrap: balance;
}
html[lang="zh-Hans"] .art-sheet p {
  font-size: clamp(1.1rem, 1.75vw, 1.6rem);
  line-height: 1.5;
}
/* Keep short labels and prices together; give grid children room to shrink. */
html[lang="zh-Hans"] :is(.nav-links a, .language-choice, .btn, .package-enquiry,
  .package-price strong, .package-price del, .package-breakdown strong) {
  white-space: nowrap;
}
html[lang="zh-Hans"] :is(.home-card > div, .package-card-top > div,
  .section-head > *, .split > *, .profile > *, .faq-wrap > *, .hero-grid > *) {
  min-width: 0;
}
html[lang="zh-Hans"] .home-card-arrow {
  flex-shrink: 0;
}
html[lang="zh-Hans"] .section-head h2 {
  max-width: none;
}
html[lang="zh-Hans"] .price-card h3 {
  min-height: 0;
}
html[lang="zh-Hans"] .consult-action {
  min-width: 0;
}
html[lang="zh-Hans"] .footer-bottom small {
  text-wrap: balance;
  overflow-wrap: anywhere;
}
@media (min-width: 901px) {
  html[lang="zh-Hans"] .section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px;
  }
  html[lang="zh-Hans"] .section-head p {
    max-width: none;
    margin-bottom: 0;
  }
  html[lang="zh-Hans"] .split {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: clamp(36px, 5vw, 72px);
  }
}
@media (max-width: 1050px) {
  html[lang="zh-Hans"] .package-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }
}
@media (max-width: 600px) {
  html[lang="zh-Hans"] :is(.section, .inner-page, .hero) {
    padding-block: 44px;
  }
  html[lang="zh-Hans"] .section-head {
    margin-bottom: 22px;
  }
  html[lang="zh-Hans"] :is(.service-card, .screen-card, .price-card) {
    padding: 24px 20px;
  }
  html[lang="zh-Hans"] .home-card {
    gap: 12px;
    padding: 16px 14px;
  }
  html[lang="zh-Hans"] .package-card-top .package-leaf {
    width: 48px;
    height: 44px;
    flex-basis: 48px;
  }
  html[lang="zh-Hans"] .contact-panel {
    padding: 32px 22px;
  }
  html[lang="zh-Hans"] .contact-panel > div:first-child {
    width: 100%;
    min-width: 0;
  }
  html[lang="zh-Hans"] .btn {
    max-width: 100%;
    padding-inline: 16px;
  }
  html[lang="zh-Hans"] .therapy-packages {
    padding-block: 44px 32px;
  }
}

/* Intentional phrase breaks in the decorative Chinese quote. */
html[lang="zh-Hans"] .art-sheet p span {
  display: block;
  white-space: nowrap;
}
