/* OB Station Plus — site theme (loaded on every page after style.css).
   Softer plum-navy text, teal-blue trust accents, serif headlines, 17px body.
   To revert the whole look: remove the theme.css <link> from the pages. */
/* Shared icon primitives (Lucide sprite) */
.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; vertical-align: -0.24em; }
.icon-tile { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--off-white); color: var(--pink-cta); border: 1px solid var(--soft-pink); }
.icon-tile .icon { width: 20px; height: 20px; }


/* Softer, warmer text (plum-navy) — backgrounds that use --navy stay unchanged.
   To revert: delete this block. */
:root { --ink: #2B2A45; --ink-soft: #56546E; --heading: #27254A; }
main h1, main h2, main h3, main h4 { color: var(--heading); }

/* ============================================================
   DIRECTION B — calm, clinical-warm trust
   Teal-blue carries trust (labels, icons, links); pink is kept for the
   main buttons and ONE accent per section; serif headlines; 17px body.
   To revert: delete from here to the end of the file.
   ============================================================ */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 500 700; font-display: swap; src: url('fonts/playfair-display-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root { --trust: #0E6E8C; --trust-soft: #E8F5FA; --trust-line: #BFE3F0; }
body { font-size: 1.0625rem; }
main h1 { font-weight: 700; }
main h2 { font-family: var(--font-accent); font-weight: 600; letter-spacing: -0.012em; line-height: 1.18; }
main h3, main h4 { font-weight: 700; }
.eyebrow { color: var(--trust); }
.eyebrow::before { background: var(--trust); }
.nav-links > li > a[aria-current="true"] { color: var(--trust); }
.icon-tile { background: var(--trust-soft); color: var(--trust); border-color: var(--trust-line); }
.chip .icon, .space-grid figcaption .icon, .space-points .icon, .accred .license-badge .icon { color: var(--trust); }
.fork .path small, .vcard .sub, .rate a { color: var(--trust); }
.rate .big { color: var(--trust); }
.hero-m .chip, .chip { border-color: var(--trust-line); }
.jnum, .jstep:nth-child(even) .jnum { background: var(--trust); }

/* Official logo */
.brand .brand-logo { height: 50px; width: auto; max-width: 100%; display: block; }
.footer-brand .brand-logo { height: 58px; }
@media (max-width: 560px) { .brand .brand-logo { height: 44px; } }

/* Contact: ways to reach us */
.reach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); max-width: 980px; margin: 0 auto var(--space-4); }
.reach-card { display: flex; flex-direction: column; align-items: flex-start; gap: 0.5em; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease, ease), box-shadow .3s var(--ease, ease), border-color .3s; }
.reach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--trust-line); }
.reach-card:focus-visible { outline: 3px solid var(--sky-blue); outline-offset: 3px; }
.reach-card .icon-tile { margin-bottom: 0.4em; }
.reach-card h4 { font-size: 1.02rem; }
.reach-card p { font-size: 0.92rem; color: var(--ink-soft); }
.location-info .item .ico { background: var(--trust-soft); color: var(--trust); }
.location-info .item .ico .icon { width: 18px; height: 18px; }
@media (max-width: 760px) { .reach-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .reach-card { transition: none; } }

/* Real Cases: media, citations, references */
.case-card .case-media, .article-hero-img { background: var(--soft-pink); }
.case-card .case-media img, .article-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cite { font-size: 0.68em; line-height: 0; margin-left: 0.15em; font-weight: 700; }
.cite a { color: var(--trust); padding: 0 0.12em; }
.cite a:hover { color: var(--pink-cta); text-decoration: underline; }
.article-callout { background: var(--trust-soft); border: 1px solid var(--trust-line); border-left: 4px solid var(--trust); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); margin: var(--space-3) 0; font-size: 0.98rem; color: var(--ink); }
.article-callout strong { color: var(--trust); }
.refs { margin: var(--space-5) 0 var(--space-4); padding-top: var(--space-3); border-top: 1px solid var(--line); }
.refs h2 { font-size: 1.15rem !important; margin: 0 0 0.8em !important; }
.refs ol { padding-left: 1.3em; margin: 0 0 1em; }
.refs li { font-size: 0.92rem; margin-bottom: 0.7em; color: var(--ink-soft); scroll-margin-top: calc(var(--nav-height) + 16px); }
.refs li a { color: var(--trust); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.refs li span { display: block; font-size: 0.84rem; }
.refs-note { font-size: 0.82rem; color: var(--ink-soft); }

/* ============================================================
   POLISH PASS — type floor, contrast, touch targets, responsive safety
   ============================================================ */
:root { --pink-cta: #C81656; --pink-cta-hover: #A8104A; }
html { scroll-padding-top: calc(var(--nav-height) + 12px); scrollbar-gutter: stable; }
[id] { scroll-margin-top: calc(var(--nav-height) + 12px); }
img { max-width: 100%; height: auto; }

/* Type floor: nothing below ~12.5px */
.eyebrow { font-size: 0.78rem; }
.fine, .float-card span, .doc-counts span, .jstep small, .case-tag, .license-badge span,
.footer-license, .roster-names .sub, .roster-card span.sub, .hero-media .badge span,
.space-grid figcaption, .tag-noacct, .qtag { font-size: 0.78rem; }
.footer-license { color: rgba(255, 255, 255, 0.72); }
.breadcrumb a, .breadcrumb { font-size: 0.86rem; }

/* Header: soft shadow on scroll (all pages) + nav hit area */
.site-header { transition: box-shadow 0.3s ease; }
.site-header.scrolled { box-shadow: 0 8px 28px rgba(26, 26, 46, 0.07); }
@media (min-width: 961px) { .nav-links > li > a { padding-block: 0.7em; } }

/* Touch targets */
.btn { min-height: 44px; }
.btn-sm { min-height: 40px; }
.rate a, .quote figcaption a, .breadcrumb a, .site-footer li > a, .site-footer .footer-col a { display: inline-flex; align-items: center; min-height: 36px; }
.menu-toggle { min-width: 44px; min-height: 44px; }
.faq-q { min-height: 52px; }
.location-info .item a, .faq-a a { display: inline-block; padding-block: 0.2em; }

/* Sticky hover lifts only on devices that really hover */
@media (hover: none) {
  .gyne-card:hover, .reach-card:hover, .roster-grid .roster-card:hover, .case-card:hover, .reel-fac:hover,
  .rate:hover, .vcard:hover, .svc-mini > div:hover, .pillar-card:hover, .doctor-card:hover { transform: none; box-shadow: var(--shadow-sm); }
}

/* Inline two-column layouts must collapse on small screens */
@media (max-width: 820px) {
  [style*="grid-template-columns"] { grid-template-columns: 1fr !important; }
  .doctor-grid[style*="grid-template-columns"] { max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 560px) {
  main h2 { font-size: clamp(1.6rem, 7vw, 1.9rem); }
  .page-hero h1 { font-size: clamp(1.9rem, 8vw, 2.3rem); }
}

/* Focus: one consistent, visible ring */
:where(a, button, summary, input, select, textarea, [tabindex]):focus-visible { outline: 3px solid var(--sky-blue); outline-offset: 3px; border-radius: 6px; }

/* Smoother details toggle */
.faq-item { transition: border-color .25s ease, box-shadow .25s ease; }
.faq-item[open] { border-color: var(--trust-line); box-shadow: var(--shadow-sm); }
.faq-q .plus { transition: transform .3s ease, background-color .25s ease; }
.faq-item[open] .faq-q .plus { background: var(--trust-soft); color: var(--trust); }
@media (prefers-reduced-motion: reduce) { .faq-item, .faq-q .plus { transition: none; } }
.qr-card .tag-noacct { font-size: 0.78rem; }
.service-item .num { color: var(--trust); opacity: 0.85; }
.compliance-note a { display: inline-block; padding-block: 0.25em; text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 961px) { .nav-links > li > a { padding-inline: 0.45em; } }
.fork .path small, .vcard .sub, .space-points span { font-size: 0.8rem; }
.cite { font-size: 0.75em; }
.case-card .read-more, .case-card .read-more a { display: inline-flex; align-items: center; min-height: 36px; }
.reel-fac .tag, .reel-fac .views { font-size: 0.78rem; }
.nav-links a { white-space: nowrap; }
@media (min-width: 961px) { .nav-links { gap: 0.9rem; } .nav-links > li > a { padding-inline: 0.3em; } }
@media (min-width: 1221px) { .nav-links { gap: 1.35rem; } }

/* Hamburger: three stacked bars that morph into a clean X */
.menu-toggle { flex-direction: column; gap: 0; position: relative; border-radius: 12px; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { width: 22px; height: 2px; border-radius: 2px; background: var(--heading); transition: transform .25s ease, opacity .2s ease; }
.menu-toggle span { margin: 5px 0; }
.menu-toggle[aria-expanded="true"]::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"]::after { transform: translateY(-7px) rotate(-45deg); }
.menu-toggle[aria-expanded="true"] span { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .menu-toggle span, .menu-toggle::before, .menu-toggle::after { transition: none; } }
.page-hero h1 + .lede, .page-hero h1 + p { margin-top: 0.7em; }

/* Inquiry form */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field .opt { font-weight: 500; color: var(--ink-soft); font-size: 0.8em; }
.field .hint { display: block; margin-top: 0.4em; font-size: 0.8rem; color: var(--ink-soft); }
.form-status.success { display: block; background: var(--trust-soft); color: var(--ink); border: 1px solid var(--trust-line); }
.form-status.error { display: block; background: #FFF0F4; color: var(--ink); border: 1px solid var(--soft-pink); }
.field input, .field textarea, .field select { min-height: 46px; }
.form-card .btn-block { width: 100%; }
@media (max-width: 560px) { .form-card { padding: var(--space-3); } .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Reviews (shared by Home and Testimonials) */
.rate-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); max-width: 860px; margin: var(--space-5) auto var(--space-4); }
.rate { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-4); display: flex; align-items: center; gap: var(--space-3); box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.rate:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.rate .big { font-family: var(--font-head); font-weight: 800; font-size: 2.7rem; color: var(--pink-cta); line-height: 1; letter-spacing: -0.04em; }
.rate h4 { margin-bottom: 0.15em; }
.rate p { font-size: 0.84rem; }
.rate a { font-size: 0.82rem; font-weight: 700; color: var(--pink-cta); display: inline-flex; align-items: center; gap: 0.3em; }
.themes { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6em; margin: var(--space-3) 0; }
.themes span { font-family: var(--font-accent); font-style: italic; font-size: 1.2rem; color: var(--navy); background: var(--soft-pink); border-radius: var(--radius-pill); padding: 0.4em 1.15em; }
.themes span:nth-child(even) { background: var(--soft-blue); }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); margin-top: var(--space-4); }
.rate a { padding-block: 0.4em; }
.quote { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: var(--space-3); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.9em; text-align: left; }
.quote .qtag { align-self: flex-start; background: var(--trust-soft); color: var(--trust); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35em 0.9em; border-radius: var(--radius-pill); }
.quote blockquote { margin: 0; font-family: var(--font-accent); font-size: 1.08rem; line-height: 1.55; color: var(--ink); }
.quote figcaption { margin-top: auto; font-size: 0.82rem; font-weight: 600; color: var(--ink-soft); }
.quote figcaption a { color: var(--trust); text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding-block: 0.3em; }
@media (max-width: 900px) { .rate-row, .quote-row { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .rate { flex-direction: column; text-align: center; } }
.center { text-align: center; }
