/* Wellness Guardians Occupational Therapy — shared styles */
:root {
  --ink: #26332e;
  --ink-soft: #51635c;
  --sage-logo: #97b09a;
  --sage-tint: #e3ebe1;
  --teal: #4e7a5b;
  --teal-dark: #36573f;
  --terra: #c96f4a;
  --terra-dark: #a85335;
  --cream: #faf6ef;
  --card: #ffffff;
  --line: #e5ddd0;
  --gold: #e8b64c;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(38, 51, 46, 0.08);
  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
}

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

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); margin-bottom: 0.6em; }
h3 { font-size: 1.25rem; margin-bottom: 0.4em; }

p { margin-bottom: 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--teal); }

.zh { font-family: "PingFang HK", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans CJK TC", sans-serif; }

/* ---------- Header / nav ---------- */
.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1080px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--ink); line-height: 1.15; }
.brand-name small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); }

.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--teal); }
.nav-cta {
  background: var(--terra); color: #fff !important;
  padding: 10px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--terra-dark); color: #fff !important; }

.lang-switch { display: flex; align-items: center; gap: 2px; font-size: 0.92rem; }
.lang-switch a {
  text-decoration: none; color: var(--ink-soft) !important; font-weight: 600;
  padding: 4px 8px; border-radius: 8px;
}
.lang-switch a:hover { background: #edf2eb; color: var(--teal-dark) !important; }
.lang-switch a[aria-current="true"] { background: var(--teal); color: #fff !important; }
.lang-switch .sep { color: var(--line); }
@media (max-width: 820px) { .nav-links .lang-switch { justify-content: center; padding-top: 10px; } }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; color: var(--ink); line-height: 1;
  padding: 4px 8px;
}

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 12px 20px; }
  .nav-cta { display: inline-block; margin-top: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, #eef3ec 0%, var(--cream) 70%);
  padding: 72px 0 64px;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } }

.hero .eyebrow {
  display: inline-block;
  background: var(--sage-tint);
  color: var(--teal-dark);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lede { font-size: 1.25rem; color: var(--ink-soft); max-width: 36em; }
.hero .zh-line { color: var(--ink-soft); font-size: 1.05rem; margin-top: 6px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 28px;
  border-radius: 999px;
  text-align: center;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-dark); }
.btn-secondary { background: transparent; color: var(--teal-dark); border: 2px solid var(--teal); }
.btn-secondary:hover { background: #edf2eb; }

.hero-media { position: relative; margin: 0 auto; max-width: 400px; width: 100%; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 72% center;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: 0 10px 30px rgba(38, 51, 46, 0.15);
}
.hero-badge {
  position: absolute;
  left: -24px; bottom: 28px;
  background: var(--card);
  border-left: 5px solid var(--sage-logo);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 14px 18px;
  max-width: 230px;
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink-soft);
}
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--teal-dark); }
@media (max-width: 820px) {
  .hero-media { max-width: 440px; margin: 0 auto; }
  .hero-media img { aspect-ratio: 4 / 3; object-position: center 30%; border-radius: var(--radius); }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--teal-dark); color: #f2efe6; padding: 26px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 820px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
.trust-grid strong { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; }
.trust-grid span { font-size: 0.92rem; opacity: 0.92; }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
section.alt { background: #f2ede2; }
.section-intro { max-width: 46em; color: var(--ink-soft); margin-bottom: 36px; font-size: 1.15rem; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.card .icon { font-size: 1.9rem; margin-bottom: 12px; display: block; }
.card h3 { color: var(--teal-dark); }
.card p { color: var(--ink-soft); font-size: 1.02rem; }

/* ---------- Stories ---------- */
.story {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin-bottom: 18px;
}
.story-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
@media (max-width: 640px) {
  .story { grid-template-columns: 1fr; gap: 16px; }
  .story-img { aspect-ratio: 16 / 9; }
}
.story h3 { color: var(--teal-dark); }
.story p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--card);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
}
.testimonial p { font-size: 1.05rem; font-style: italic; color: var(--ink); }
.testimonial footer { margin-top: 12px; font-style: normal; font-weight: 700; color: var(--teal-dark); font-size: 0.98rem; }
.testimonial footer span { display: block; font-weight: 400; color: var(--ink-soft); font-size: 0.9rem; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; font-size: 1.05rem; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  position: relative;
  padding-right: 48px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 20px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; color: var(--teal);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item .faq-body { padding: 0 22px 20px; color: var(--ink-soft); }

/* ---------- Service areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.area-chips span {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #e8efe6; max-width: 38em; margin: 0 auto 1em; }
.cta-band .btn-primary { background: #fff; color: var(--teal-dark); }
.cta-band .btn-primary:hover { background: var(--gold); color: var(--ink); }
.cta-band .zh-line { font-size: 1rem; opacity: 0.9; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(160deg, #eef3ec 0%, var(--cream) 70%); padding: 56px 0 44px; }
.page-hero p { color: var(--ink-soft); max-width: 44em; font-size: 1.18rem; }
.page-hero-split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.page-hero-split h1 { margin-bottom: 14px; }
.page-hero-img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(38, 51, 46, 0.15); }
@media (max-width: 820px) { .page-hero-split { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 44px; align-items: start; }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; } }
.portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 200px 200px var(--radius) var(--radius);
  box-shadow: 0 10px 30px rgba(38, 51, 46, 0.15);
}
@media (max-width: 820px) { .portrait { max-width: 360px; margin: 0 auto; } }
.fact-list { list-style: none; margin-top: 14px; }
.fact-list li { padding: 10px 0 10px 36px; position: relative; border-bottom: 1px solid var(--line); }
.fact-list li:last-child { border-bottom: none; }
.fact-list li::before { content: "●"; position: absolute; left: 8px; color: var(--terra); font-size: 0.7rem; top: 17px; }

/* ---------- Services page ---------- */
.service-block {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 22px;
}
.service-block h3 { font-size: 1.45rem; }
.service-block .tagline { color: var(--terra-dark); font-weight: 700; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.service-block ul { margin: 10px 0 0 22px; color: var(--ink-soft); }
.service-block li { margin-bottom: 6px; }

.funding-banner {
  background: var(--sage-tint);
  border: 1px solid #c9d8c6;
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 36px;
}
.funding-banner strong { color: var(--teal-dark); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}
.contact-card .big-link {
  display: block;
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--teal-dark);
  text-decoration: none;
  margin: 6px 0 2px;
  word-break: break-word;
}
.contact-card .hint { color: var(--ink-soft); font-size: 0.98rem; }
.badge {
  display: inline-block;
  background: #f7e9d2;
  color: #8a5a1d;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d2cd; padding: 48px 0 32px; font-size: 0.98rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 36px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-head); margin-bottom: 12px; font-size: 1.1rem; }
.site-footer a { color: #b9cdb9; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.footer-bottom { border-top: 1px solid #3c4a44; margin-top: 36px; padding-top: 20px; font-size: 0.85rem; color: #8fa198; text-align: center; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.note {
  background: #fdf3e3;
  border: 1px solid #f0ddb8;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 0.98rem;
  color: #6d5321;
}
