:root {
  --sage: #16b562;
  --sage-dark: #0d7a41;
  --sage-light: #e0f8ea;
  --cream: #faf7f0;
  --sand: #e9e0cd;
  --clay: #c07a52;
  --ink: #2c2b26;
  --ink-soft: #5a5850;
  --white: #ffffff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  color: var(--ink);
  line-height: 1.6;
  /* Light medical-style background — pure CSS, no image file needed */
  background-color: #f2fbfa;
  background-image:
    radial-gradient(1px 1px at 20px 30px, #b9e4e2, transparent),
    radial-gradient(1px 1px at 60px 110px, #b9e4e2, transparent),
    radial-gradient(1.5px 1.5px at 90px 40px, #a6dbd8, transparent),
    radial-gradient(1px 1px at 130px 150px, #b9e4e2, transparent),
    radial-gradient(1.5px 1.5px at 170px 90px, #a6dbd8, transparent),
    radial-gradient(1px 1px at 10px 170px, #b9e4e2, transparent),
    radial-gradient(2px 2px at 150px 20px, #9fd6d3, transparent),
    linear-gradient(180deg, #f6fdfc 0%, #eaf9f7 40%, #dcf3f0 75%, #cdeeea 100%);
  background-repeat: repeat, repeat, repeat, repeat, repeat, repeat, repeat, no-repeat;
  background-size: 200px 200px, 200px 200px, 200px 200px, 200px 200px, 200px 200px, 200px 200px, 200px 200px, cover;
  background-attachment: fixed;
}
h1, h2, h3 { font-family: Georgia, 'Times New Roman', serif; font-weight: 600; color: var(--sage-dark); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Header */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 240, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid var(--sand);
  transition: box-shadow 0.2s ease;
}
.nav-wrap {
  display: flex; align-items: center;
  padding: 18px 24px; gap: 14px;
  max-width: 1120px; margin: 0 auto;
  position: relative;
}
.logo { font-family: Georgia, serif; font-size: 1.3rem; color: var(--sage-dark); font-weight: 700; margin-right: auto; }
.logo span { color: var(--clay); }
nav ul {
  list-style: none; display: none; flex-direction: column; gap: 2px;
  position: absolute; top: calc(100% + 10px); right: 0;
  background: var(--cream); border: 1px solid var(--sand); border-radius: 14px;
  padding: 10px; min-width: 230px; z-index: 200;
  box-shadow: 0 14px 32px rgba(40, 50, 40, 0.14);
}
nav ul.open { display: flex; }
nav a {
  display: block; font-size: 0.9rem; color: var(--ink-soft); font-weight: 500;
  white-space: nowrap; padding: 10px 12px; border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
nav a:hover { color: var(--sage-dark); background: var(--sage-light); }
nav a.active { color: var(--sage-dark); font-weight: 700; }
.nav-cta {
  background: var(--sage); color: var(--white); padding: 10px 20px;
  border-radius: 30px; font-size: 0.9rem; font-weight: 600;
  transition: background 0.15s ease, transform 0.15s ease;
}
.nav-cta:hover { background: var(--sage-dark); transform: translateY(-1px); }
.menu-toggle {
  display: flex; align-items: center; justify-content: center;
  min-width: 44px; min-height: 44px;
  background: none; border: none; cursor: pointer;
  font-size: 1.7rem; color: var(--sage-dark); line-height: 1; padding: 4px 6px;
  transition: transform 0.15s ease;
}
.menu-toggle:active { transform: scale(0.9); }

/* Back link (detail pages) */
.back-link {
  display: inline-block; margin: 24px 24px 0; font-size: 0.85rem; font-weight: 600; color: var(--sage-dark);
}
.back-link:hover { text-decoration: underline; }

/* Hero */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  padding: 72px 24px; max-width: 1120px; margin: 0 auto;
}
.hero-tag {
  display: inline-block; background: var(--sage-light); color: var(--sage-dark);
  padding: 6px 14px; border-radius: 30px; font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.03em; margin-bottom: 18px;
}
.hero h1 { font-size: 2.6rem; line-height: 1.2; margin-bottom: 18px; }
.hero p.lead { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 28px; max-width: 480px; }
.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-primary {
  background: var(--sage); color: var(--white); padding: 14px 28px;
  border-radius: 30px; font-weight: 600; display: inline-block;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-primary:hover { background: var(--sage-dark); transform: translateY(-1px); }
.btn-secondary {
  border: 1.5px solid var(--sage); color: var(--sage-dark); padding: 13px 26px;
  border-radius: 30px; font-weight: 600; display: inline-block;
  transition: background 0.15s ease, transform 0.15s ease;
}
.btn-secondary:hover { background: var(--sage-light); transform: translateY(-1px); }
.hero-image {
  width: 100%; aspect-ratio: 4/5; border-radius: 18px; overflow: hidden;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed #c9bd9e; position: relative;
}
.placeholder-label {
  text-align: center; color: #8a7f63; font-size: 0.9rem; padding: 20px;
}
.placeholder-label strong { display: block; font-size: 1rem; margin-bottom: 6px; color: var(--sage-dark); }

/* Section shared */
section { padding: 72px 24px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow {
  color: var(--clay); font-weight: 700; letter-spacing: 0.08em; font-size: 0.8rem;
  text-transform: uppercase; margin-bottom: 10px; display: block;
}
.section-head h2 { font-size: 2rem; margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); }

/* About */
.about { background: var(--white); }
.about-grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center;
  max-width: 1120px; margin: 0 auto;
}
.about-image {
  aspect-ratio: 3/4; border-radius: 16px; background: var(--sage-light);
  border: 2px dashed #a9bfa9; display: flex; align-items: center; justify-content: center;
}
.about-image .placeholder-label strong { color: var(--sage-dark); }
.credentials {
  display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap;
}
.credential-pill {
  background: var(--sage-light); color: var(--sage-dark); padding: 8px 16px;
  border-radius: 30px; font-size: 0.85rem; font-weight: 600;
}
.about-text h2 { margin-bottom: 6px; }
.about-text .role { color: var(--clay); font-weight: 600; margin-bottom: 18px; display: block; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }

/* Services / focus areas */
.services { background: var(--sage-light); }
.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 24px;
  max-width: 1120px; margin: 0 auto;
}
.service-card {
  background: var(--white); border-radius: 16px; padding: 32px 24px;
  box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06);
  border: 2px solid transparent; position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(60, 60, 40, 0.1);
}
.service-card.featured {
  border-color: var(--sage); box-shadow: 0 4px 18px rgba(22, 181, 98, 0.18);
}
.featured-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--sage); color: var(--white); font-size: 0.7rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px; letter-spacing: 0.03em;
}
.service-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--sage);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 1.4rem; margin-bottom: 18px;
}
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--ink-soft); font-size: 0.92rem; }

/* Trust bar */
.trust-bar {
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  max-width: 1120px; margin: 0 auto; padding: 0 24px 56px;
}
.trust-item { flex: 1; min-width: 150px; text-align: center; }
.trust-item .num { font-family: Georgia, serif; font-size: 1.7rem; color: var(--sage-dark); font-weight: 700; }
.trust-item .label { font-size: 0.82rem; color: var(--ink-soft); }

/* Service detail list */
.service-card ul { margin-top: 12px; padding-left: 18px; color: var(--ink-soft); font-size: 0.88rem; }
.service-card li { margin-bottom: 4px; }

/* Philosophy quote */
.quote-block {
  background: var(--sand); border-radius: 16px; padding: 32px; margin-top: 28px;
  border-left: 4px solid var(--clay);
}
.quote-block p { font-style: italic; color: var(--ink); font-size: 1.02rem; }
.quote-block span { display: block; margin-top: 10px; font-size: 0.85rem; color: var(--ink-soft); font-style: normal; font-weight: 600; }

/* Reviews */
.reviews { background: var(--sage-light); }
.reviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  max-width: 1120px; margin: 0 auto;
}
.review-card {
  background: var(--white); border-radius: 16px; padding: 28px;
  box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06);
}
.stars { color: var(--clay); font-size: 1rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-card p.quote { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 16px; }
.reviewer { display: flex; align-items: center; gap: 10px; }
.reviewer .avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--sage);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem;
}
.reviewer .name { font-weight: 600; font-size: 0.9rem; }
.reviewer .visit { font-size: 0.78rem; color: var(--ink-soft); }

/* Positivity video backdrop (matches ruan.ca) */
.positivity-banner {
  position: relative; overflow: hidden; border-radius: 0; background: #1a1a1a;
  aspect-ratio: 700 / 394; width: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; margin-bottom: 56px;
}
.positivity-banner video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: fill; z-index: 0;
}
.positivity-banner .overlay {
  position: absolute; inset: 0; background: rgba(111, 111, 111, 0.72); z-index: 1;
}

/* Generic video backdrop banner (reused across focus-area pages) */
.video-banner {
  position: relative; overflow: hidden; border-radius: 0; background: #1a1a1a;
  aspect-ratio: 700 / 394; width: 100%; display: flex; align-items: center; justify-content: center;
  text-align: center; margin-bottom: 56px;
}
.video-banner video {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: fill; z-index: 0;
}
.video-banner .overlay {
  position: absolute; inset: 0; background: rgba(111, 111, 111, 0.72); z-index: 1;
}
.video-banner .banner-content { position: relative; z-index: 2; color: var(--white); padding: 24px; }
.video-banner .eyebrow { color: #f2f2f2; }
.video-banner h2 { color: var(--white); font-size: 2.1rem; }
.video-banner p { color: #ececec; max-width: 640px; margin: 12px auto 0; }
.positivity-banner .banner-content { position: relative; z-index: 2; color: var(--white); padding: 24px; }
.positivity-banner .eyebrow { color: #f2f2f2; }
.positivity-banner h2 { color: var(--white); font-size: 2.1rem; }
.positivity-banner p { color: #ececec; max-width: 640px; margin: 12px auto 0; }

/* Tips box (chart-style highlight box) */
.tips-box {
  max-width: 820px; margin: 0 auto 40px; background: var(--white);
  border-radius: 16px; padding: 28px 32px; box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06);
}
.tips-box h3 { margin-bottom: 16px; }
.tips-box .table-scroll { overflow-x: auto; }
.tips-box table { width: 100%; border-collapse: collapse; font-size: 0.88rem; min-width: 560px; }
.tips-box th, .tips-box td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sand); color: var(--ink-soft); vertical-align: top; }
.tips-box th { color: var(--sage-dark); font-weight: 700; background: var(--sage-light); }
.tips-box td:first-child { font-weight: 600; color: var(--ink); white-space: nowrap; }

.tips-highlight {
  max-width: 820px; margin: 0 auto 40px; background: var(--sage-light);
  border-radius: 16px; padding: 24px 28px; border-left: 4px solid var(--sage);
}
.tips-highlight h3 { margin-bottom: 12px; }
.tips-highlight ul { list-style: none; padding: 0; }
.tips-highlight li { padding: 6px 0; font-weight: 600; color: var(--ink); }

.evidence-tip {
  max-width: 820px; margin: 0 auto 40px; background: var(--sand);
  border-radius: 16px; padding: 22px 28px; border-left: 4px solid var(--clay);
}
.evidence-tip p { color: var(--ink); font-size: 0.95rem; }

/* Detailed focus area sections */
.detail-section { background: var(--white); }
.detail-section .section-head { max-width: 760px; }
.detail-block {
  max-width: 820px; margin: 0 auto 40px; display: flex; gap: 22px; align-items: flex-start;
}
.detail-num {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--sage);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-family: Georgia, serif;
}
.detail-block h3 { font-size: 1.2rem; margin-bottom: 10px; }
.detail-block p { color: var(--ink-soft); margin-bottom: 12px; font-size: 0.96rem; }
.detail-block ul { padding-left: 20px; color: var(--ink-soft); margin-bottom: 12px; }
.detail-block li { margin-bottom: 5px; font-size: 0.96rem; }
.detail-block .source-note { font-size: 0.82rem; color: #8a8a80; font-style: italic; }
.detail-block .inline-ref { font-size: 0.82rem; color: #8a8a80; font-style: italic; margin-top: 6px; }
.detail-block-alt {
  max-width: 820px; margin: 0 auto 40px; padding-left: 64px;
}
.detail-block-alt h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--sage-dark); }
.detail-block-alt p { color: var(--ink-soft); margin-bottom: 12px; font-size: 0.96rem; }
.detail-block-alt ul { padding-left: 20px; color: var(--ink-soft); margin-bottom: 12px; }
.detail-block-alt li { margin-bottom: 5px; font-size: 0.96rem; }
.detail-block-alt table, .detail-block table {
  width: 100%; border-collapse: collapse; margin-bottom: 14px; font-size: 0.9rem;
}
.detail-block-alt th, .detail-block-alt td, .detail-block th, .detail-block td {
  text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--sand); color: var(--ink-soft);
}
.detail-block-alt th, .detail-block th {
  color: var(--sage-dark); font-weight: 700; background: var(--sage-light);
}
.references {
  max-width: 820px; margin: 8px auto 0; padding-top: 24px; border-top: 1px solid var(--sand);
}
.references h4 { font-size: 0.95rem; color: var(--sage-dark); margin-bottom: 12px; }
.references ol { padding-left: 20px; color: #8a8a80; font-size: 0.82rem; }
.references li { margin-bottom: 8px; line-height: 1.5; }
.card-link { display: inline-block; margin-top: 12px; font-size: 0.85rem; font-weight: 700; color: var(--sage-dark); }
.card-link:hover { text-decoration: underline; }

/* Leave a review */
.leave-review {
  background: var(--white); border-radius: 18px; padding: 36px; max-width: 720px;
  margin: 44px auto 0; box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06); text-align: center;
}
.leave-review h3 { margin-bottom: 8px; }
.leave-review p { color: var(--ink-soft); margin-bottom: 20px; font-size: 0.94rem; }
.star-picker { display: flex; justify-content: center; gap: 6px; margin-bottom: 20px; font-size: 1.6rem; }
.star-picker span { cursor: pointer; color: var(--sand); transition: color 0.15s; }
.star-picker span.active, .star-picker span:hover, .star-picker span:hover ~ span { color: var(--clay); }
.leave-review .form-group { text-align: left; margin-bottom: 16px; }
.review-links { margin-top: 18px; font-size: 0.88rem; color: var(--ink-soft); }
.review-links a { color: var(--sage-dark); font-weight: 600; }

/* Hours table */
.hours-card { background: var(--white); border-radius: 16px; padding: 28px; box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06); }
.hours-card table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.hours-card td { padding: 8px 0; border-bottom: 1px solid var(--sand); color: var(--ink-soft); }
.hours-card td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

/* Gallery strip */
.gallery { background: var(--white); }
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1120px; margin: 0 auto;
}
.gallery-img {
  aspect-ratio: 3/4; border-radius: 14px; background: var(--sand);
  border: 2px dashed #c9bd9e; display: flex; align-items: center; justify-content: center;
}

/* Appointment */
.appointment { background: var(--sage-dark); color: var(--white); }
.appointment .section-head h2, .appointment .section-head p { color: var(--white); }
.appointment .section-head p { color: #cfe0cf; }
.appointment-info {
  max-width: 600px; margin: 36px auto 0; background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 16px; padding: 28px 32px;
  text-align: left;
}
.appointment-info h3 { color: var(--white); margin-bottom: 14px; font-size: 1.1rem; }
.appointment-info ul { padding-left: 20px; margin-bottom: 14px; }
.appointment-info li { margin-bottom: 6px; color: #dcebdc; font-size: 0.92rem; }
.appointment-info p { color: #cfe0cf; font-size: 0.88rem; }
.form-card {
  background: var(--white); border-radius: 18px; padding: 40px; max-width: 720px; margin: 0 auto;
  color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
label { font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); }
input, select, textarea {
  border: 1.5px solid var(--sand); border-radius: 10px; padding: 12px 14px;
  font-size: 0.95rem; font-family: inherit; background: var(--cream); color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage); }
textarea { resize: vertical; min-height: 90px; }
.submit-btn {
  background: var(--clay); color: var(--white); border: none; padding: 14px 32px;
  border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer; margin-top: 6px;
}
.submit-btn:hover { background: #a5643f; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }

/* Contact */
.contact { background: var(--cream); }
.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px;
  max-width: 700px; margin: 0 auto;
}
.contact-card {
  background: var(--white); border-radius: 16px; padding: 28px; text-align: center;
  box-shadow: 0 2px 12px rgba(60, 60, 40, 0.06);
}
.contact-card .icon { font-size: 1.6rem; margin-bottom: 12px; }
.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p { color: var(--ink-soft); font-size: 0.92rem; }
.map-block {
  max-width: 1120px; margin: 32px auto 0; height: 260px; border-radius: 16px;
  background: var(--sand); border: 2px dashed #c9bd9e;
  display: flex; align-items: center; justify-content: center; color: #8a7f63;
}

footer {
  background: var(--sage-dark); color: #dfe8df; text-align: center; padding: 36px 24px; font-size: 0.88rem;
}
footer .foot-logo { font-family: Georgia, serif; font-size: 1.1rem; color: var(--white); margin-bottom: 8px; }
footer .disclaimer { max-width: 640px; margin: 14px auto 0; color: #b9c9b9; font-size: 0.8rem; }
footer .footer-links { margin-top: 14px; font-size: 0.8rem; }
footer .footer-links a { color: #cfe0cf; font-weight: 600; }
footer .footer-links a:hover { color: var(--white); text-decoration: underline; }

@media (max-width: 860px) {
  nav ul { left: 0; right: 0; min-width: 0; }
  .hero { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hours-card table { font-size: 0.82rem; }
  .video-banner h2, .positivity-banner h2 { font-size: 1.6rem; }
  .video-banner p, .positivity-banner p { font-size: 0.92rem; }
}

@media (max-width: 520px) {
  .logo { font-size: 1rem; line-height: 1.25; min-width: 0; }
  .nav-cta { padding: 10px 14px; font-size: 0.8rem; }
  .hero h1 { font-size: 2rem; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-bar { justify-content: center; text-align: center; }
  .video-banner, .positivity-banner { aspect-ratio: 4 / 3; }
}
