:root {
  --ink: #102735;
  --ink-soft: #38505d;
  --paper: #fbfcfa;
  --surface: #ffffff;
  --surface-soft: #eef5f2;
  --line: #d9e3df;
  --teal: #0f746f;
  --teal-dark: #095651;
  --copper: #bd6b3f;
  --copper-soft: #f7e8df;
  --focus: #ffd56a;
  --shadow: 0 18px 45px rgba(16, 39, 53, 0.10);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--copper); }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 5px; }

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  background: var(--ink); color: white; padding: 12px 16px; border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 820px); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(251, 252, 250, .95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(217, 227, 223, .85);
}
.header-inner { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; min-width: 240px; }
.brand-mark { width: 42px; height: 42px; flex: 0 0 42px; }
.brand-text { display: grid; line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: -.025em; }
.brand-sub { color: var(--ink-soft); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; margin-top: 5px; }

.nav-toggle { display: none; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 10px 12px; font: inherit; color: var(--ink); }
.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 10px 12px; border-radius: 9px; font-size: .95rem; font-weight: 650; }
.site-nav a:hover, .site-nav a[aria-current="page"] { background: var(--surface-soft); color: var(--teal-dark); }
.site-nav .nav-cta { background: var(--ink); color: white; padding-inline: 16px; }
.site-nav .nav-cta:hover { background: var(--teal-dark); color: white; }

.notice-bar { background: var(--ink); color: white; font-size: .88rem; }
.notice-inner { min-height: 42px; display: flex; align-items: center; justify-content: center; text-align: center; gap: 10px; padding-block: 8px; }
.notice-inner a { color: white; font-weight: 750; }

.hero { padding: 78px 0 64px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 64px; align-items: center; }
.eyebrow { color: var(--teal-dark); font-weight: 800; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; margin: 0 0 16px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.035em; margin-top: 0; }
h1 { font-size: clamp(2.65rem, 7vw, 5.2rem); margin-bottom: 24px; max-width: 14ch; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
.lead { font-size: clamp(1.08rem, 2vw, 1.28rem); color: var(--ink-soft); max-width: 66ch; }
.hero-actions, .button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 12px 20px; border-radius: 12px; text-decoration: none; font-weight: 800; border: 1px solid transparent; }
.button-primary { background: var(--teal); color: white; box-shadow: 0 10px 24px rgba(15, 116, 111, .20); }
.button-primary:hover { background: var(--teal-dark); color: white; }
.button-secondary { background: var(--surface); color: var(--ink); border-color: var(--line); }
.button-secondary:hover { border-color: var(--teal); color: var(--teal-dark); }
.button-disabled { background: #e5e9e7; color: #65736f; cursor: not-allowed; border-color: #d5dcda; }
.hero-card { position: relative; border-radius: var(--radius-lg); background: linear-gradient(145deg, #dcefeb, #f5e9df); min-height: 520px; padding: 38px; box-shadow: var(--shadow); display: grid; place-items: center; }
.hero-card::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255,255,255,.68); border-radius: calc(var(--radius-lg) - 8px); }
.hero-art { width: min(100%, 420px); position: relative; z-index: 1; }
.hero-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; z-index: 2; background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.95); border-radius: 16px; padding: 16px 18px; backdrop-filter: blur(10px); font-weight: 720; }

.trust-strip { border-block: 1px solid var(--line); background: var(--surface); }
.trust-grid { min-height: 100px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.trust-item { padding: 22px 28px; text-align: center; font-weight: 750; color: var(--ink-soft); }
.trust-item + .trust-item { border-left: 1px solid var(--line); }

.section { padding: 88px 0; }
.section-soft { background: var(--surface-soft); }
.section-dark { background: var(--ink); color: white; }
.section-dark .eyebrow, .section-dark a { color: #9be0d9; }
.section-dark .lead, .section-dark .muted { color: #c7d4d9; }
.section-heading { max-width: 760px; margin-bottom: 38px; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; box-shadow: 0 8px 22px rgba(16,39,53,.045); }
.card-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--copper-soft); color: var(--copper); font-size: 1.35rem; margin-bottom: 20px; }
.card p { color: var(--ink-soft); margin-bottom: 0; }
.card-link { display: inline-flex; margin-top: 18px; font-weight: 800; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.check-list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 23px; height: 23px; border-radius: 50%; background: var(--surface-soft); color: var(--teal-dark); display: grid; place-items: center; font-weight: 900; font-size: .8rem; }

.info-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow); }
.info-panel h3 { margin-bottom: 14px; }
.info-list { display: grid; gap: 14px; margin: 0; }
.info-row { display: grid; grid-template-columns: 120px 1fr; gap: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.info-row:first-child { border-top: 0; padding-top: 0; }
.info-row dt { font-weight: 800; color: var(--ink-soft); }
.info-row dd { margin: 0; }

.page-hero { padding: 72px 0 54px; background: linear-gradient(145deg, #f7faf8, #eaf3ef); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); max-width: 18ch; }
.breadcrumb { font-size: .9rem; color: var(--ink-soft); margin-bottom: 20px; }
.breadcrumb a { color: inherit; }

.prose { color: var(--ink); }
.prose h2 { margin-top: 2.2em; font-size: 2rem; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; }
.policy-box { border-left: 5px solid var(--teal); background: var(--surface-soft); padding: 22px 24px; border-radius: 0 14px 14px 0; margin: 28px 0; }
.warning-box { border-left-color: var(--copper); background: var(--copper-soft); }

.service-block { display: grid; grid-template-columns: 220px 1fr; gap: 38px; padding: 36px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-label { font-weight: 850; font-size: 1.35rem; letter-spacing: -.025em; }
.service-details p:first-child { margin-top: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.tag { background: var(--surface-soft); border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; font-size: .86rem; font-weight: 700; color: var(--ink-soft); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; }
.contact-card a.big-link { display: block; font-size: 1.3rem; font-weight: 850; margin-top: 10px; word-break: break-word; }
.fax-line { margin-top: 14px; font-size: 1.08rem; }

.site-footer { background: #0b1f2a; color: #d3dee2; padding: 58px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .7fr .7fr; gap: 54px; }
.site-footer a { color: #d3dee2; }
.site-footer h3 { color: white; font-size: 1.05rem; letter-spacing: -.01em; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-small { border-top: 1px solid rgba(255,255,255,.14); margin-top: 40px; padding-top: 22px; font-size: .82rem; color: #9fb0b8; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

.muted { color: var(--ink-soft); }
.kicker { color: var(--copper); font-weight: 800; }
.divider { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
.hide-desktop { display: none; }

@media (max-width: 960px) {
  .hero-grid, .two-col, .footer-grid { grid-template-columns: 1fr; }
  .hero-card { min-height: 420px; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { gap: 32px; }
  .service-block { grid-template-columns: 1fr; gap: 12px; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 72px; }
  .brand { min-width: 0; }
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: calc(100% + 1px); left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 14px; box-shadow: var(--shadow); align-items: stretch; flex-direction: column; }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 13px 14px; }
  .hero { padding-top: 54px; }
  .hero-grid { gap: 38px; }
  h1 { font-size: clamp(2.5rem, 14vw, 4rem); }
  .hero-card { min-height: 360px; padding: 22px; }
  .hero-caption { left: 18px; right: 18px; bottom: 18px; }
  .trust-grid { grid-template-columns: 1fr; padding-block: 12px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding: 66px 0; }
  .card-grid, .contact-grid { grid-template-columns: 1fr; }
  .info-row { grid-template-columns: 1fr; gap: 4px; }
  .page-hero { padding: 52px 0 42px; }
  .hide-mobile { display: none; }
  .hide-desktop { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media print {
  .site-header, .notice-bar, .site-footer, .hero-actions, .button-row { display: none !important; }
  body { background: white; color: black; font-size: 11pt; }
  .section, .page-hero { padding: 20px 0; }
  a { color: black; text-decoration: none; }
}

/* Physician portrait */
.notice-inner { flex-wrap: wrap; }
.notice-divider { opacity: .65; }
.hero-photo-card { overflow: hidden; padding: 0; background: #dcefeb; align-items: stretch; }
.hero-photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,31,42,.38), transparent 44%); z-index: 1; pointer-events: none; }
.hero-photo-wrap { position: absolute; inset: 0; display: block; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; display: block; }
.hero-photo-caption { display: grid; gap: 4px; color: var(--ink); }
.hero-photo-caption strong { font-size: 1.05rem; }
.hero-photo-caption span { color: var(--ink-soft); font-size: .88rem; font-weight: 650; line-height: 1.35; }
.about-photo { display: block; overflow: hidden; margin: -36px -36px 28px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; background: var(--surface-soft); }
.about-photo img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 39%; }

/* Texas Medical Board complaint notice */
.complaint-section { padding-top: 62px; }
.tmb-notice { color: #000; background: #fff; border: 1px solid #d8d8d8; padding: clamp(28px, 5vw, 58px); margin: 34px 0; font-family: "Times New Roman", Times, serif; font-size: 1.18rem; line-height: 1.45; box-shadow: 0 8px 22px rgba(16,39,53,.05); }
.tmb-notice h2 { color: #000; font-family: "Times New Roman", Times, serif; text-align: center; font-size: clamp(1.65rem, 4vw, 2.25rem); letter-spacing: 0; margin-bottom: 1.2em; }
.tmb-notice p { color: #000; }
.tmb-notice a { color: #000; text-decoration: underline; }
.complaint-card { grid-column: 1 / -1; }

@media (max-width: 760px) {
  .notice-divider { display: none; }
  .notice-inner { gap: 4px 12px; }
  .notice-inner > span:first-child { flex-basis: 100%; }
  .hero-photo-card { min-height: 430px; }
  .about-photo { margin: -30px -30px 24px; }
  .tmb-notice { padding: 24px 20px; font-size: 1.03rem; }
}

@page { size: Letter portrait; margin: .55in; }
@media print {
  .no-print { display: none !important; }
  .complaint-section { padding: 0; }
  .complaint-section .narrow { width: 100%; max-width: none; }
  .tmb-notice { border: 0; box-shadow: none; margin: 0; padding: 0; color: #000; background: #fff; font-family: "Times New Roman", Times, serif; font-size: 24pt; line-height: 1.15; break-after: page; page-break-after: always; }
  .tmb-notice:last-child { break-after: auto; page-break-after: auto; }
  .tmb-notice h2 { font-family: "Times New Roman", Times, serif; font-size: 24pt; line-height: 1.1; margin: 0 0 .55in; }
  .tmb-notice p { color: #000; margin: 0 0 .28in; }
  .tmb-notice a { color: #000; text-decoration: none; }
}


/* Final Stripe-ready content merge */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }
.card-grid-four { grid-template-columns: repeat(4, 1fr); }
.fees-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.fee-panel { border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); background: rgba(255,255,255,.055); padding: 10px 30px 26px; }
.fee-row { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.fee-row strong { display: block; color: white; font-size: 1.06rem; }
.fee-row span { display: block; color: #b9c9d0; margin-top: 4px; font-size: .92rem; }
.fee-row b { color: #9be0d9; font-size: 1.25rem; white-space: nowrap; }
.fee-note { color: #b9c9d0; font-size: .88rem; margin: 22px 0 0; }
.fee-table-wrap { overflow-x: auto; margin: 28px 0; }
.fee-table { width: 100%; border-collapse: collapse; min-width: 620px; }
.fee-table th { text-align: left; color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
.fee-table th:last-child, .fee-table td:last-child { text-align: right; white-space: nowrap; }
.fee-table td { padding: 18px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.fee-table td:last-child { font-weight: 900; color: var(--teal-dark); font-size: 1.12rem; }
.fee-table td span { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: 3px; }
.fee-table-light { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-md); }
.business-card address, .contact-card address { font-style: normal; font-size: 1.06rem; }
.business-card .big-link { display: inline-block; font-size: 1.16rem; font-weight: 850; }
.footer-address { font-size: .9rem; }
.footer-address span { color: #9fb0b8; font-size: .86rem; }
.footer-contact { font-size: .9rem; line-height: 1.7; }

@media (max-width: 1100px) {
  .card-grid-four { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .fees-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .card-grid-four { grid-template-columns: 1fr; }
  .fee-panel { padding: 8px 20px 22px; }
  .fee-row { gap: 14px; }
}
