/* =========================================================
   Service detail pages (osteopathy.html, focal-shockwave.html, ...)
   Hero with booking card, long-form article, split FAQ,
   location map, CTA. Loads after styles.css and reuses its tokens.
   ========================================================= */

/* ---------- Hero ---------- */
.shero { position: relative; color: #fff; isolation: isolate; overflow: hidden; min-height: 520px; display: flex; align-items: center; padding: 110px 0 90px; }
.shero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink-2); }
.shero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.shero__overlay { position: absolute; inset: 0; z-index: -1; background: rgba(30,29,19,.62); }
.shero__copy { max-width: 720px; }
.shero__eyebrow { display: block; font-weight: 600; font-size: 1.05rem; color: #fff; margin-bottom: 20px; }
.shero h1 { color: #fff; font-size: clamp(3rem, 6vw, 5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.02; margin-bottom: 26px; }
.shero__desc { color: rgba(255,255,255,.9); font-size: 1.05rem; line-height: 1.55; max-width: 520px; font-weight: 500; }

/* Booking card (sticky in the article's right column) */
.book-card { width: 100%; max-width: 400px; background: #fff; color: var(--ink); border-radius: 12px; padding: 30px 32px 32px; border: 1px solid var(--line); box-shadow: 0 24px 60px -34px rgba(63,62,43,.35); }
.book-card--sticky { position: sticky; top: calc(var(--nav-h) + 24px); justify-self: end; }
.book-card__eyebrow { color: var(--text); font-size: 1.05rem; font-weight: 500; }
.book-card h3 { font-size: 1.5rem; margin: 2px 0 8px; }
.book-card__note { color: var(--text); font-size: .95rem; line-height: 1.5; margin-bottom: 18px; }
.book-card .btn--block { margin-top: 4px; padding: 15px 24px; }

/* Light form fields inside the white card (the base .field styles are for the dark glass form) */
.book-card .field label { color: var(--ink); }
.book-card .field label span { color: var(--muted); }
.book-card .field input, .book-card .field select, .book-card .field textarea { background: #fff; border: 1.5px solid var(--line); color: var(--ink); }
.book-card .field input::placeholder, .book-card .field textarea::placeholder { color: var(--muted); }
.book-card .field input:focus, .book-card .field select:focus, .book-card .field textarea:focus { background: #fff; border-color: var(--olive); box-shadow: 0 0 0 4px rgba(124,125,97,.14); }
.book-card .field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%233f3e2b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 16px 16px; }
.book-card .field select:invalid { color: var(--muted); }
.book-card .field input[type="date"] { color-scheme: light; min-height: 46px; }
.book-card .form__note { color: var(--text); margin-top: 10px; }

/* ---------- Article ---------- */
.article { padding: 96px 0; }
.article__inner { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 72px; align-items: start; }
.article__body { max-width: 880px; }
.article h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: 20px; }
.article h3 { font-size: 1.45rem; margin: 40px 0 14px; }
.article p { color: var(--text); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 16px; }
.article ul { list-style: disc; padding-left: 22px; margin: 4px 0 18px; color: var(--text); }
.article li { line-height: 1.6; margin-bottom: 4px; }
.callout { background: var(--cream); border-radius: 8px; padding: 24px 28px; margin: 24px 0 28px; }
.callout p { color: var(--ink); font-weight: 600; font-size: 1.1rem; line-height: 1.55; margin: 0; }

/* ---------- FAQ (split, line style) ---------- */
.sfaq { padding: 96px 0; background: #fff; border-top: 1px solid var(--line); }
.sfaq__inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 72px; align-items: start; }
.sfaq__intro .eyebrow { margin-bottom: 12px; }
.sfaq__intro .h2 { font-size: clamp(1.8rem, 2.8vw, 2.4rem); margin-bottom: 16px; }
.sfaq__intro p { color: var(--text); margin-bottom: 24px; max-width: 360px; }
.faq--lines { gap: 0; }
.faq--lines .faq__item { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; box-shadow: none; }
.faq--lines .faq__item.is-open { box-shadow: none; border-color: var(--line); }
.faq--lines .faq__q { padding: 22px 0; font-size: 1.1rem; font-weight: 600; }
.faq--lines .faq__icon { width: 22px; height: 22px; background: transparent; }
.faq--lines .faq__icon::before { width: 8px; height: 8px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: transparent; transform: translate(-50%, -65%) rotate(45deg); }
.faq--lines .faq__icon::after { display: none; }
.faq--lines .faq__item.is-open .faq__icon { background: transparent; transform: rotate(180deg); }
.faq--lines .faq__a p { padding: 0 32px 22px 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .shero { padding: 80px 0 64px; min-height: 0; }
  .article__inner { grid-template-columns: 1fr; gap: 40px; }
  .book-card--sticky { position: static; justify-self: start; max-width: 520px; order: -1; }
  .sfaq__inner { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .article, .sfaq { padding: 72px 0; }
}
@media (max-width: 560px) {
  .shero { padding: 56px 0 48px; }
  .shero h1 { font-size: clamp(2.4rem, 11vw, 3.2rem); margin-bottom: 18px; }
  .shero__eyebrow { margin-bottom: 14px; }
  .article, .sfaq { padding: 56px 0; }
  .article h3 { margin-top: 30px; }
  .article p, .article li { font-size: 1rem; }
  .callout { padding: 18px 20px; }
  .book-card { padding: 24px 20px 26px; }
  .book-card h3 { font-size: 1.35rem; }
  .faq--lines .faq__q { padding: 16px 0; font-size: 1.02rem; }
  .faq--lines .faq__a p { padding-right: 0; }
}

/* ---------- Legal pages (privacy policy, terms of service) ---------- */
.legal { padding: 72px 0 96px; }
.legal__inner { max-width: 880px; }
.legal__head { padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.legal__head .h2 { margin: 6px 0 10px; }
.legal__updated { color: var(--muted); font-size: .95rem; }
.legal__intro { font-size: 1.125rem; color: var(--ink); line-height: 1.65; }
.legal__toc { background: var(--cream); border-radius: var(--radius); padding: 22px 26px 22px 44px; margin: 24px 0 40px; }
.legal__toc ol { color: var(--text); columns: 2; column-gap: 32px; }
.legal__toc li { margin: 4px 0; line-height: 1.5; break-inside: avoid; }
.legal__toc a { color: var(--ink); font-weight: 500; }
.legal__toc a:hover { color: var(--olive); }
.legal__body h2 { font-size: 1.45rem; margin: 40px 0 12px; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal__body p { color: var(--text); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 14px; }
.legal__body ul { list-style: disc; padding-left: 22px; margin: 4px 0 18px; color: var(--text); }
.legal__body li { line-height: 1.65; margin-bottom: 6px; }
.legal__body a { color: var(--ink); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.legal__body a:hover { color: var(--olive); }
@media (max-width: 640px) { .legal { padding: 48px 0 72px; } .legal__toc ol { columns: 1; } }

/* ---------- Gallery carousel (location page) ---------- */
.gallery .section__head { align-items: flex-end; }
.carousel__nav { display: flex; gap: 10px; }
.carousel__btn { width: 48px; height: 48px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--ink); display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .35s var(--ease); }
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--olive); color: #fff; border-color: var(--olive); transform: translateY(-2px); }
.carousel__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 6px; outline: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track:focus-visible { outline: 2px solid var(--olive); outline-offset: 6px; border-radius: var(--radius); }
.carousel__slide { flex: 0 0 min(62%, 820px); aspect-ratio: 16 / 10; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream); scroll-snap-align: start; }
.carousel__slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
.carousel__slide:hover img { transform: scale(1.04); }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel__dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(63,62,43,.22); padding: 0; transition: width .35s var(--ease), background .3s; }
.carousel__dot.is-active { width: 26px; background: var(--olive); }
@media (max-width: 768px) {
  .gallery .section__head { flex-direction: row; align-items: flex-end; }
  .carousel__btn { width: 42px; height: 42px; }
  .carousel__slide { flex-basis: 84%; aspect-ratio: 4 / 3; }
  .carousel__track { gap: 12px; }
}

/* ---------- About page ---------- */
.profile__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: center; }
.profile__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--cream); }
.profile__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.profile__body .lead { margin: 22px 0 16px; color: var(--ink); }
.profile__body > p { color: var(--text); font-size: 1.0625rem; line-height: 1.7; margin-bottom: 14px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.creds li { background: var(--cream); color: var(--ink); font-weight: 600; font-size: .9rem; padding: 7px 13px; border-radius: 999px; }
.profile__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.creds-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.creds-intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.creds-intro .h2 { margin-bottom: 16px; }
.creds-intro > p { color: var(--text); margin-bottom: 24px; max-width: 440px; }
.verify { display: grid; gap: 10px; max-width: 440px; }
.verify__link { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; font-weight: 600; color: var(--ink); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.verify__link small { display: block; font-weight: 400; color: var(--text); font-size: .88rem; margin-top: 2px; }
.verify__link svg { width: 18px; height: 18px; margin-left: auto; color: var(--olive); flex: none; }
.verify__link:hover { border-color: var(--olive); transform: translateY(-2px); box-shadow: 0 16px 30px -22px rgba(63,62,43,.4); }
.timeline { list-style: none; display: grid; gap: 0; }
.timeline__item { display: grid; grid-template-columns: 92px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(63,62,43,.12); }
.timeline__item:last-child { border-bottom: 1px solid rgba(63,62,43,.12); }
.timeline__year { font-size: 1.6rem; font-weight: 700; color: var(--olive); letter-spacing: -.02em; line-height: 1.1; }
.timeline__item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.timeline__item p { color: var(--text); font-size: 1rem; line-height: 1.6; }

.links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.link-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; color: var(--ink); transition: border-color .3s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.link-card__icon { width: 46px; height: 46px; border-radius: 50%; background: var(--cream); color: var(--olive); display: grid; place-items: center; flex: none; }
.link-card__icon svg { width: 22px; height: 22px; }
.link-card strong { display: block; font-weight: 600; }
.link-card small { display: block; color: var(--text); font-size: .9rem; margin-top: 2px; }
.link-card > svg { width: 18px; height: 18px; margin-left: auto; color: var(--muted); flex: none; transition: color .3s, transform .35s var(--ease); }
.link-card:hover { border-color: var(--olive); transform: translateY(-3px); box-shadow: 0 20px 36px -24px rgba(63,62,43,.4); }
.link-card:hover > svg { color: var(--olive); transform: translate(2px, -2px); }
.btn svg { width: 16px; height: 16px; }
@media (max-width: 1024px) {
  .profile__inner, .creds-wrap { grid-template-columns: 1fr; gap: 36px; }
  .profile__media { aspect-ratio: 4 / 3; max-height: 520px; }
  .profile__media img { object-position: center 20%; }
  .creds-intro { position: static; }
}
@media (max-width: 640px) {
  .links-grid { grid-template-columns: 1fr; }
  .timeline__item { grid-template-columns: 1fr; gap: 6px; padding: 20px 0; }
}

/* Brand icons on the About page link cards */
.link-card__icon--linkedin { background: #0a66c2; color: #fff; }
.link-card__icon--instagram { background: linear-gradient(45deg, #f9ce34 0%, #ee2a7b 45%, #6228d7 100%); color: #fff; }
.link-card__icon--google { background: #fff; border: 1px solid var(--line); }
.link-card__icon--google svg { width: 24px; height: 24px; }
.link-card__icon--img { background: #fff; border: 1px solid var(--line); }
.link-card__icon--img img { width: 28px; height: 28px; object-fit: contain; display: block; }

/* ---------- Blog ---------- */
.shero--short { min-height: 440px; padding: 90px 0 70px; }
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.post-card:hover { transform: translateY(-5px); box-shadow: 0 24px 40px -22px rgba(63,62,43,.3); }
.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--cream); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card__meta { color: var(--text); font-size: .9rem; }
.post-card__meta span { color: var(--olive); font-weight: 600; }
.post-card h3 { font-size: 1.3rem; line-height: 1.3; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--olive); }
.post-card__body > p { color: var(--text); font-size: 1rem; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--olive); }
.post-card__more svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.post-card__more:hover svg { transform: translate(2px, -2px); }
.empty { text-align: center; max-width: 640px; margin: 0 auto; padding: 24px 0; }
.empty__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--cream); color: var(--olive); display: grid; place-items: center; margin: 0 auto 22px; }
.empty__icon svg { width: 28px; height: 28px; }
.empty .h2 { margin: 6px 0 14px; }
.empty > p { color: var(--text); margin-bottom: 26px; }
.subscribe--center { justify-content: center; margin: 0 auto; }
.topics .topic { display: block; color: inherit; background: #fff; border: 1px solid var(--line); }
.topics .topic h3 { font-size: 1.2rem; margin-bottom: 8px; transition: color .3s; }
.topics .topic:hover h3 { color: var(--olive); }
@media (max-width: 1024px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; } .shero--short { min-height: 0; } }

/* ---------- Blog: runtime grid + article page ---------- */
.blog-grid[hidden], .section__head[hidden] { display: none; }
.post-card--skeleton { pointer-events: none; }
.post-card--skeleton .post-card__media { background: linear-gradient(90deg, var(--cream) 25%, #f4f1ea 50%, var(--cream) 75%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
.post-card--skeleton .post-card__body span { display: block; height: 14px; border-radius: 6px; background: var(--cream); width: 60%; }
.post-card--skeleton .post-card__body span:nth-child(2) { width: 90%; height: 20px; }
.post-card--skeleton .post-card__body span:nth-child(3) { width: 75%; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.container--narrow { max-width: 780px; }
.post { padding: calc(var(--nav-h) + 56px) 0 72px; }
.post__meta { color: var(--text); font-size: .95rem; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 18px; }
.post__back { color: var(--olive); font-weight: 600; }
.post__category { color: var(--olive); font-weight: 600; }
.post__title { font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; }
.post__excerpt { font-size: 1.2rem; color: var(--text); line-height: 1.55; margin-bottom: 14px; }
.post__author { color: var(--muted); font-size: .95rem; margin-bottom: 34px; }
.post__cover { margin: 0 auto 40px; border-radius: var(--radius); overflow: hidden; background: var(--cream); }
.post__cover img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.post__body { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); }
.post__body > * + * { margin-top: 1.1em; }
.post__body h2 { font-size: 1.7rem; line-height: 1.25; margin-top: 1.8em; }
.post__body h3 { font-size: 1.3rem; line-height: 1.3; margin-top: 1.6em; }
.post__body h4 { font-size: 1.1rem; margin-top: 1.4em; }
.post__body p { color: var(--ink-2); }
.post__body ul, .post__body ol { padding-left: 1.4em; }
.post__body li + li { margin-top: .4em; }
.post__body a { color: var(--olive); text-decoration: underline; text-underline-offset: 3px; }
.post__body blockquote { border-left: 3px solid var(--lime); padding: 6px 0 6px 22px; color: var(--text); font-style: italic; }
.post__body img { max-width: 100%; height: auto; border-radius: var(--radius); display: block; }
.post__body figure { margin: 1.6em 0; } .post__body figcaption { font-size: .9rem; color: var(--muted); margin-top: 8px; }
.post__body pre { background: var(--cream); padding: 16px 18px; border-radius: 10px; overflow-x: auto; font-size: .9rem; }
.post__body code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }
.post__body table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.post__body th, .post__body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.post__body hr { border: 0; border-top: 1px solid var(--line); }
.post__ph { display: block; height: 16px; border-radius: 6px; background: var(--cream); margin: 14px 0; width: 100%; animation: shimmer 1.4s linear infinite; background-image: linear-gradient(90deg, var(--cream) 25%, #f4f1ea 50%, var(--cream) 75%); background-size: 200% 100%; }
.post__ph--title { height: 44px; width: 80%; margin: 0; }
.post__ph--short { width: 55%; }
.post:not(.post--loading) .post__ph { display: none; }
.post-404 { padding-top: calc(var(--nav-h) + 80px); }
@media (max-width: 640px) { .post { padding-top: calc(var(--nav-h) + 32px); } .post__body { font-size: 1.04rem; } }
