/* practice-page.css: the home page's look on /dentists, /chiropractors and
   /medical (CL-2132, John Oct 15 2026: "can we fix the specialty pages to be
   more appealing or in line"). Loaded after each page's own <style>, so on
   equal terms these rules win. The values are index.html's: a flat navy hero
   with a gold pill, centred section headings with a short gold bar, and white
   cards with a gold border, all in the brand guide's navy and gold. */

/* ---- hero: flat navy, as on the home page ---- */
.hero { background: #0D1C33; padding: 64px 24px 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: -40%; right: -15%; width: 700px; height: 700px; background: radial-gradient(circle, rgba(201, 162, 39, 0.07) 0%, transparent 65%); border-radius: 50%; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero-eyebrow { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.15em; color: #C9A227; background: rgba(201, 162, 39, 0.15); border: 1px solid rgba(201, 162, 39, 0.3); border-radius: 20px; padding: 6px 16px; margin-bottom: 28px; }
.hero p { color: rgba(255, 255, 255, 0.72); font-size: 18px; }
.hero .hero-cred { font-size: 15px; color: rgba(255, 255, 255, 0.55); max-width: 560px; margin: 0 auto 32px; }
.hero .hero-cred strong { color: rgba(255, 255, 255, 0.8); }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn { padding: 15px 30px; font-size: 16px; }
.cta-btn.secondary { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, 0.25); box-shadow: none; }
.cta-btn.secondary:hover { border-color: #C9A227; color: #C9A227; box-shadow: none; }
.hero-note { color: rgba(255, 255, 255, 0.5); }
.hero-note a { color: rgba(255, 255, 255, 0.75); }

/* ---- the figures under the hero, inside the navy band ---- */
.stats-bar { background: #0D1C33; gap: 48px; padding: 40px 24px 56px; }
.stats-bar .stat-wrap { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 32px; max-width: 760px; margin: 0 auto; }
.stat-num { font-size: 30px; }
.stat-label { color: rgba(255, 255, 255, 0.7); }
@media (max-width: 560px) { .stats-bar .stat-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } }

/* ---- section headings: centred, with the home page's gold bar ---- */
.section { max-width: 1080px; }
.section-eyebrow, .section-title { text-align: center; }
.section-title::after { content: ""; display: block; width: 48px; height: 3px; background: #C9A227; border-radius: 2px; margin: 20px auto 0; }
.section-sub { text-align: center; margin-left: auto; margin-right: auto; }
.divider { display: none; }
.section + .section { padding-top: 24px; }

/* ---- cards: white with the home page's gold border ---- */
.missing-card, .tool-card, .diff-card, .comp-card.bad, .pl-covers { border: 1.5px solid rgba(201, 162, 39, 0.55); box-shadow: 0 2px 16px rgba(13, 28, 51, 0.06); }
.missing-card { display: block; padding: 22px 24px; }
.missing-name { font-size: 16px; margin-bottom: 6px; }
.missing-desc { font-size: 14px; }
.comp-card.good { background: #0D1C33; border: 1.5px solid #0D1C33; }
.diff-icon.emerald { background: #0D1C33; }
.tool-card a { background: #C9A227; color: #0D1C33; }

/* ---- the last band ---- */
.bottom-cta { background: #0D1C33; }
.bottom-cta .disclaimer { color: rgba(255, 255, 255, 0.7); }
/* the pricing card's second link is the quieter one */
.tool-card div a:not(.sl-btn) { background: transparent; color: #0D1C33; border: 1.5px solid #C9A227; }

/* ---- How It Works: three numbered steps ---- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1.5px solid rgba(201, 162, 39, 0.55); border-radius: 12px; padding: 28px 24px; box-shadow: 0 2px 16px rgba(13, 28, 51, 0.06); }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: #0D1C33; color: #C9A227; font-family: 'Playfair Display', Georgia, serif; font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.step h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; color: #0D1C33; margin-bottom: 8px; }
.step p { font-size: 15px; color: #5B6B82; line-height: 1.6; }

/* ---- Your Advisor: photo beside the bio ---- */
.advisor { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; background: #fff; border: 1.5px solid rgba(201, 162, 39, 0.55); border-radius: 16px; padding: 36px; box-shadow: 0 2px 16px rgba(13, 28, 51, 0.06); }
@media (max-width: 760px) { .advisor { grid-template-columns: 1fr; text-align: center; padding: 28px 22px; } .advisor-photo { margin: 0 auto; } }
.advisor-photo { width: 240px; height: 240px; object-fit: cover; border-radius: 12px; border: 3px solid #C9A227; display: block; }
.advisor .section-eyebrow, .advisor .section-title { text-align: left; }
.advisor .section-title::after { margin: 16px 0 0; }
@media (max-width: 760px) { .advisor .section-eyebrow, .advisor .section-title { text-align: center; } .advisor .section-title::after { margin: 16px auto 0; } }
.advisor p { font-size: 16px; color: #334155; line-height: 1.7; margin-top: 14px; }
.advisor .advisor-meta { font-size: 13px; font-weight: 600; color: #806719; letter-spacing: 0.02em; }

/* ---- the close ---- */
.bottom-cta h2 { margin-bottom: 12px; }
.bottom-cta > p { margin-bottom: 28px; }

/* ==== Refinement (CL-2132, John Oct 15 2026: "the pages need to look more
   polished and refined for the higher educated audience"). Quieter than the
   pass above: hairline borders instead of gold outlines, serif headings on
   every card, numbered strategies, alternating white and cream bands so each
   section reads as its own page, and one gold button per section. ==== */
body { font-size: 16px; -webkit-font-smoothing: antialiased; }
.band { width: 100%; }
.band-white { background: #FFFFFF; border-top: 1px solid #ECE7DC; border-bottom: 1px solid #ECE7DC; }
.band .section, .band .section + .section { padding-top: 88px; padding-bottom: 88px; }
.section-eyebrow { letter-spacing: 0.22em; font-size: 12px; }
.section-title { font-size: clamp(28px, 3.4vw, 38px); font-weight: 600; color: #0D1C33; letter-spacing: -0.005em; }
.section-sub { color: #5B6B82; font-size: 17px; line-height: 1.75; max-width: 660px; }

/* cards: a hairline, a soft shadow, and nothing gold but the details */
.missing-card, .tool-card, .diff-card, .step, .advisor { border: 1px solid #E6E0D3; box-shadow: 0 1px 2px rgba(13, 28, 51, 0.04), 0 8px 24px rgba(13, 28, 51, 0.04); border-radius: 10px; }
.band-white .missing-card, .band-white .tool-card, .band-white .diff-card, .band-white .step { background: #FBFAF7; box-shadow: none; }
.pl-covers { border: 1px solid #E6E0D3; }

/* the six strategies: a serif numeral, a serif name */
.missing-grid { gap: 20px; }
.missing-card { display: flex; gap: 20px; align-items: flex-start; padding: 26px 28px; }
.missing-idx { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; color: #806719; line-height: 1; min-width: 30px; padding-top: 2px; border-right: 1px solid #E6E0D3; padding-right: 16px; }
.missing-name { font-family: 'Playfair Display', Georgia, serif; font-size: 19px; font-weight: 600; color: #0D1C33; margin-bottom: 8px; }
.missing-desc { font-size: 15px; color: #5B6B82; line-height: 1.65; }

/* how it works: an outlined numeral, not a filled badge */
.step { padding: 32px 28px; }
.step-num { background: transparent; border: 1px solid #C9A227; color: #0D1C33; font-weight: 600; }
.step h3 { font-size: 21px; font-weight: 600; }
.step p { color: #5B6B82; }

/* the advisor */
.advisor { padding: 44px; gap: 48px; }
.advisor-photo { border: none; border-radius: 8px; box-shadow: 0 12px 32px rgba(13, 28, 51, 0.16); }
.advisor p { color: #2D3748; }

/* standards: the icons go, the heading carries the card */
.diff-card { padding: 32px 28px; }
.diff-card-header { display: block; margin-bottom: 14px; }
.diff-icon { display: none; }
.diff-card h3 { font-size: 21px; font-weight: 600; color: #0D1C33; }
.diff-card h3::before { content: ""; display: block; width: 28px; height: 2px; background: #C9A227; margin-bottom: 16px; }
.diff-card p { font-size: 15px; color: #5B6B82; line-height: 1.7; }
.diff-closing { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; color: #0D1C33; line-height: 1.6; max-width: 760px; margin-top: 40px; }

/* pricing: left-aligned, the price on its own line, buttons on one baseline */
.price-grid .tool-card { text-align: left; display: flex; flex-direction: column; padding: 34px 30px; }
.price-grid .tool-card h3 { font-size: 21px; font-weight: 600; color: #0D1C33; margin-bottom: 6px; }
.price-line { font-family: 'Playfair Display', Georgia, serif; font-size: 26px; font-weight: 600; color: #0D1C33; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid #E6E0D3; }
.price-line small { font-family: 'Source Sans Pro', -apple-system, sans-serif; font-size: 14px; font-weight: 400; color: #5B6B82; }
.price-grid .tool-card p { text-align: left; font-size: 15px; color: #5B6B82; line-height: 1.65; margin-bottom: 24px; flex: 1; }
.price-grid .tool-card > a, .card-actions { margin-top: auto; }
.card-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.price-grid .tool-card a { white-space: nowrap; display: block; text-align: center; padding: 13px 20px; border-radius: 8px; font-size: 15px; background: transparent; color: #0D1C33; border: 1px solid #0D1C33; }
.price-grid .tool-card a.sl-btn { background: #C9A227; border-color: #C9A227; color: #0D1C33; }
.price-grid .tool-card a:hover { transform: none; background: #15293F; color: #fff; }
.price-grid .tool-card a.sl-btn:hover { background: #B8931F; color: #15293F; }

/* free tools: quiet cards with a text link */
.free-grid .tool-card { padding: 30px 26px; }
.free-grid .tool-card .icon { margin-bottom: 14px; }
.free-grid .tool-card h3 { font-size: 19px; font-weight: 600; color: #0D1C33; }
.free-grid .tool-card p { color: #5B6B82; font-size: 15px; }
.free-grid .tool-card a { background: transparent; color: #806719; padding: 0; border-radius: 0; font-size: 15px; border-bottom: 1px solid rgba(128, 103, 25, 0.35); }
.free-grid .tool-card a:hover { transform: none; color: #15293F; border-bottom-color: #0D1C33; }

/* a client's own words, set as a pull quote */
.client-review { max-width: 760px; margin: 0 auto; text-align: center; }
.review-stars { color: #806719; letter-spacing: 0.3em; font-size: 15px; margin-bottom: 20px; }
.client-review blockquote { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(20px, 2.4vw, 26px); font-style: italic; font-weight: 400; color: #0D1C33; line-height: 1.55; }
.client-review figcaption { margin-top: 24px; font-size: 14px; color: #5B6B82; display: flex; flex-direction: column; gap: 4px; align-items: center; }
.client-review figcaption strong { color: #0D1C33; font-size: 15px; letter-spacing: 0.02em; }
.client-review figcaption::before { content: ""; display: block; width: 36px; height: 1px; background: #C9A227; margin-bottom: 14px; }
.band .section:has(.client-review) { padding-top: 0; }

@media (max-width: 640px) {
  .band .section, .band .section + .section { padding-top: 64px; padding-bottom: 64px; }
  .missing-card { padding: 22px 20px; gap: 14px; }
  .advisor { padding: 28px 22px; gap: 24px; }
}
/* two white bands in a row (the advisor and the review) read as one */
.band-white + .band-white { border-top: none; }
.band-white:has(+ .band-white) { border-bottom: none; }
.price-grid .tool-card .card-actions a:not(.sl-btn) { border: 1px solid #0D1C33; color: #0D1C33; }
.price-grid .tool-card .card-actions a:not(.sl-btn):hover { background: #15293F; color: #fff; }
.section-sub a { color: #806719; text-decoration-color: rgba(128, 103, 25, 0.4); text-underline-offset: 3px; }

/* CL-9168: these links measured 15-19px tall on a phone; 24px is the minimum tap target (WCAG 2.5.8). */
@media (max-width: 640px) { .free-grid .tool-card a, .hero-note a { display: inline-block; padding-top: 5px; padding-bottom: 5px; } }
/* CL-9168: the pricing cards ran 438px wide on a 375px phone (the page scrolled sideways): the
   buttons are nowrap, so their longest label set the card's minimum width. Let them wrap there. */
@media (max-width: 640px) { .price-grid .tool-card { padding: 28px 20px; min-width: 0; } .price-grid .tool-card a { white-space: normal; } }
