/* Guide pages – shared bits (page-homeopathy.php, page-counselling.php, page-contact.php → inc/guides.php)
   Each section has its own file in assets/css/guide/{section}.css (loaded only when the section is on). */

.g-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.g-sec + .g-sec { padding-top: clamp(32px, 5vw, 64px); }
/* Panels (navy / surface) keep their own full padding and sit as rounded blocks */
.g-panel { margin: clamp(24px, 4vw, 48px) clamp(8px, 1.4vw, 16px); border-radius: var(--r-lg); padding: clamp(64px, 9vw, 120px) 0 !important; }
.g-panel + .g-sec { padding-top: clamp(48px, 7vw, 96px); }

/* Section heading */
.g-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.g-head--center { margin-inline: auto; text-align: center; }
.g-head--center .lede { margin-inline: auto; }
.g-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.g-eyebrow {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
	font-size: .82rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
}
.g-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.g-head--center .g-eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.g-eyebrow--dark, .g-head--dark .g-eyebrow { color: color-mix(in srgb, var(--brand-accent) 85%, white); }
.g-head--dark h2 { color: var(--on-navy); }
.g-head--dark .lede { color: var(--on-navy-muted); }
.g-note { margin-top: clamp(28px, 4vw, 40px); color: var(--muted); font-size: .98rem; max-width: 70ch; }
.g-note--center { text-align: center; margin-inline: auto; }

/* Split layout: sticky heading left, content right */
.g-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.g-split-head { position: sticky; top: calc(var(--header-h) + var(--admin-bar) + 32px); }
.g-split-head .g-head { margin-bottom: 0; }
@media (max-width: 900px) {
	.g-split { grid-template-columns: 1fr; gap: 32px; }
	.g-split-head { position: static; }
}

/* Scroll reveal (assets/js/guide.js adds .g-anim to <html>, then .is-in per item) */
@media (prefers-reduced-motion: no-preference) {
	.g-anim .g-rev { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--d, 0) * .08s); }
	.g-anim .g-rev.is-in { opacity: 1; transform: none; }
}

/* Tick list (Good to know, Visit the clinic) */
.g-ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.g-ticks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: start; }
.g-ticks .icon { width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--btn); color: var(--btn-text); }
.g-ticks--info .icon { background: var(--card); color: var(--ink); }
.g-ticks span { padding-top: 2px; }
