:root {
  --navy: #003b57;
  --navy-2: #00283c;
  --ink: #072433;
  --cream: #f4efe6;
  --paper: #fbf8f3;
  --white: #fffcf8;
  --tan: #d1bfa7;
  --tan-2: #e7dccb;
  --line: rgba(0, 59, 87, 0.16);
  --muted: #3d5564;
  --focus: #c4841d;
  --danger: #8d2b22;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 18px 40px rgba(0, 40, 60, 0.16);
  --header: 5.4rem;
  --radius: 16px;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-bottom: 4.75rem;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); }
a:hover { text-decoration-thickness: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6rem;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 0.9rem; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  background: var(--white);
  color: var(--navy);
  padding: 0.6rem 0.9rem;
  z-index: 100;
}
.skip:focus { top: 0.75rem; }

[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.utility {
  background: var(--navy-2);
  color: var(--tan);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.utility-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0;
}
.utility p { margin: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 248, 243, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-reach, .footer-reach {
  margin: 0;
  padding: 0.35rem 1rem 0.55rem;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--navy);
}
.footer-reach { color: var(--tan); text-align: left; padding: 0 0 0.6rem; }
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header);
  padding: 0.55rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--navy);
  min-width: 0;
}
.brand img { width: 58px; height: 58px; flex: 0 0 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.1;
}
.brand-person, .brand-tag {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.25;
}
.header-tools { display: flex; align-items: center; gap: 0.6rem; }
.header-phone {
  display: none;
  text-decoration: none;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  white-space: nowrap;
}
.header-phone span {
  display: block;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.lang-toggle {
  display: inline-flex;
  border: 2px solid var(--navy);
  border-radius: 999px;
  overflow: hidden;
  background: var(--white);
}
.lang-toggle a {
  color: var(--navy);
  text-decoration: none;
  padding: 0.45rem 0.75rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  font-size: 0.92rem;
}
.lang-toggle a[aria-current="true"] {
  background: var(--navy);
  color: var(--cream);
}

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.7rem 1.1rem;
  border-radius: 999px;
  background: var(--navy);
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  border: 2px solid var(--navy);
  cursor: pointer;
  font: inherit;
}
.btn-small { display: none; min-height: 44px; padding: 0.45rem 0.85rem; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-primary,
.hero .btn-primary,
.band-navy .btn-primary {
  background: var(--tan);
  color: var(--navy);
  border-color: var(--tan);
}
.hero .btn-ghost,
.band-navy .btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: var(--tan);
}
.btn-ghost.dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nav-toggle {
  width: 48px;
  height: 48px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.nav-toggle-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
}
.nav-toggle-bars::before { position: absolute; top: -6px; }
.nav-toggle-bars::after { position: absolute; top: 6px; }

.site-nav { display: none; background: var(--paper); border-top: 1px solid var(--line); }
.site-nav.is-open { display: block; }
.nav-inner { padding: 0.5rem 0 1rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
  font-weight: 650;
  color: var(--navy);
}
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25rem; }
.nav-extra { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; padding-top: 0.5rem; }
.header-tools .lang-toggle { display: inline-flex; }
.nav-extra .lang-toggle { display: inline-flex; }
.header-tools .lang-toggle a { padding: 0.35rem 0.55rem; font-size: 0.82rem; }

.hero {
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(209, 191, 167, 0.25), transparent 60%),
    var(--navy);
  color: var(--cream);
  padding: 2.2rem 0 2.6rem;
}
.hero a { color: var(--tan); }
.hero-grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: 1fr;
  grid-template-areas: "photo" "copy" "panel";
  justify-items: center;
}
.hero-copy { grid-area: copy; text-align: center; width: 100%; }
.hero-panel { grid-area: panel; width: 100%; }
.hero-photo {
  position: relative;
  grid-area: photo;
  margin: 0;
  width: 148px;
  justify-self: center;
}
.hero-shot {
  width: 148px;
  height: auto;
  display: block;
}
.hero-badge {
  position: absolute;
  width: 48px;
  height: 48px;
  right: -8px;
  bottom: -4px;
  border-radius: 50%;
  background: var(--navy);
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--tan);
  margin-bottom: 0.7rem;
}
.lede { font-size: 1.12rem; max-width: 40rem; }
.hero-note, .fine {
  font-size: 0.92rem;
  color: var(--tan-2);
  max-width: 42rem;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  margin: 1.1rem 0;
  width: 100%;
}
.hero-actions .btn { width: min(100%, 22rem); justify-content: center; text-align: center; }
.trust {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0.4rem auto 0;
  text-align: left;
  max-width: 18rem;
}
.trust li {
  border-left: 3px solid var(--tan);
  padding: 0.15rem 0 0.15rem 0.7rem;
  font-size: 0.95rem;
}
.hero-panel { display: grid; gap: 1rem; }
.about-photo {
  position: relative;
  width: min(280px, 100%);
  margin: 0 0 1.2rem;
}
.about-photo img { width: 100%; height: auto; display: block; }
.about-badge {
  display: none !important;
  position: absolute;
  width: 72px;
  height: 72px;
  right: -8px;
  bottom: -8px;
  border-radius: 50%;
  background: var(--cream);
}

.review-form, .card, .panel {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.review-form { padding: 1rem 1rem 1.1rem; }
.review-form a { color: var(--navy); }
.form-progress {
  display: flex;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
  margin: 0 0 0.8rem;
  font-size: 0.82rem;
}
.form-progress li {
  flex: 1;
  padding: 0.35rem 0.2rem;
  text-align: center;
  border-bottom: 3px solid var(--tan-2);
  color: var(--muted);
}
.form-progress li[aria-current="step"],
.form-progress li.is-done { border-color: var(--navy); color: var(--navy); font-weight: 700; }
.js .step { display: none; }
.js .step.is-active { display: block; }
.wizard-nav { display: none; }
.js .wizard-nav { display: flex; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.6rem; }
label { display: block; font-weight: 700; margin: 0.7rem 0 0.3rem; }
label span, .hint { font-weight: 500; color: var(--muted); font-size: 0.85rem; }
.hint { margin: 0.25rem 0 0; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid rgba(0, 59, 87, 0.35);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
}
textarea { min-height: 7rem; resize: vertical; }
.inline-choice { margin-top: 0.8rem; }
.choice { font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.choice input { width: 1.15rem; height: 1.15rem; min-height: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.9rem; }
.form-legal, .form-alert { font-size: 0.9rem; }
.form-alert {
  background: #f8e8e4;
  color: var(--danger);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
}
.form-alert[hidden] { display: none; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.section { padding: 3rem 0; }
.section-head { max-width: 42rem; margin-bottom: 1.4rem; }
.muted { color: var(--muted); }
.grid-3, .grid-2, .card-grid { display: grid; gap: 0.9rem; }
.card { padding: 1.1rem 1.15rem; box-shadow: none; border: 1px solid var(--line); }
.card h3 { margin-bottom: 0.35rem; }
.card a { font-weight: 700; }
.index-num {
  font-family: var(--serif);
  color: var(--navy);
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.2rem;
}

.band { background: var(--white); }
.band-navy { background: var(--navy); color: var(--cream); }
.band-navy a { color: var(--tan); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; }
.steps li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  border-top: 4px solid var(--tan);
}
.crumbs { padding: 1rem 0 0; font-size: 0.92rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; list-style: none; padding: 0; margin: 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 0.5rem; color: var(--muted); }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 1.6rem; }
.page-hero { padding: 1.4rem 0 0.4rem; }
.note {
  border-left: 4px solid var(--tan);
  padding: 0.2rem 0 0.2rem 0.8rem;
  color: var(--muted);
}
.callout {
  background: #f3e4c4;
  border: 1px solid #c4a36a;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}
.token {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: #fff4d6;
  padding: 0.05rem 0.3rem;
}
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; background: var(--white); }
th, td { text-align: left; padding: 0.75rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; }

.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
}
.faq-list summary { cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; }
.placeholder-grid { display: grid; gap: 0.8rem; }
.placeholder-card {
  border: 1.5px dashed rgba(0, 59, 87, 0.4);
  border-radius: 12px;
  padding: 1rem;
  background: transparent;
}
.kicker {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--danger);
}

.map-frame {
  border: 0;
  width: 100%;
  height: 320px;
  border-radius: 12px;
  background: var(--tan-2);
}
address { font-style: normal; }

.site-footer {
  background: var(--navy-2);
  color: var(--cream);
  padding: 2.2rem 0 1.2rem;
}
.site-footer a { color: var(--tan); }
.footer-grid { display: grid; gap: 1.3rem; }
.footer-brand { font-family: var(--serif); font-size: 1.5rem; margin-bottom: 0.3rem; }
.footer-ad {
  border-top: 1px solid rgba(209, 191, 167, 0.3);
  margin-top: 1.4rem;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--tan-2);
}
.site-footer h2 { font-size: 1rem; font-family: var(--sans); letter-spacing: 0.06em; text-transform: uppercase; }

.footer-social { margin-top: 0.15rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.footer-social .icon-x {
  display: block;
  flex: 0 0 auto;
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  padding: 0.55rem 0.65rem calc(0.55rem + env(safe-area-inset-bottom));
  background: var(--cream);
  border-top: 2px solid var(--navy);
  box-shadow: 0 -10px 28px rgba(0, 20, 30, 0.35);
}
.mobile-bar a {
  min-height: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  line-height: 1.15;
  color: var(--navy);
  background: var(--white);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 0.35rem 0.5rem;
}
.mobile-bar a.mobile-bar-review {
  background: var(--tan);
  border-color: #6e5840;
  color: var(--navy);
}
.carmen-launcher {
  position: fixed;
  right: 0.75rem;
  bottom: 5.5rem;
  z-index: 41;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.25rem 0.8rem 0.25rem 0.25rem;
  border-radius: 999px;
  border: 2px solid var(--navy);
  background: var(--tan);
  color: var(--navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 20, 30, 0.25);
}
.carmen-launcher img { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); }
@media (min-width: 768px) {
  .carmen-launcher {
    min-height: 40px;
    gap: 0.25rem;
    padding: 0.15rem 0.6rem 0.15rem 0.15rem;
    font-size: 14px;
  }
  .carmen-launcher img { width: 26px; height: 26px; }
}
@media (min-width: 980px) {
  .carmen-launcher { bottom: 1.25rem; }
}
.mobile-bar a.mobile-bar-call span {
  display: block;
  font-weight: 650;
  font-size: 0.75rem;
}

.link-row { display: flex; flex-wrap: wrap; gap: 0.5rem 0.9rem; padding: 0; margin: 0; list-style: none; }
.link-row a { font-weight: 700; }
.statewide-grid { display: grid; gap: 1.5rem; align-items: center; }
.city-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.45rem; }
.city-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  text-decoration: none;
  min-height: 44px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  font-weight: 700;
}
.city-list a span:last-child { font-weight: 500; color: var(--muted); }
.state-missing { font-weight: 700; }
.texas-map { width: min(220px, 70%); height: auto; color: var(--navy); justify-self: center; }

@media (min-width: 760px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(3, 1fr); }
  .brand-person { display: block; }
  .statewide-grid { grid-template-columns: 1.4fr 0.6fr; }
  .city-list { grid-template-columns: 1fr 1fr; gap: 0.2rem 1.5rem; }
}

@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .header-phone, .btn-small, .header-tools .lang-toggle { display: inline-flex; }
  .header-tools .lang-toggle a { padding: 0.45rem 0.75rem; font-size: 0.92rem; }
  .nav-toggle, .nav-extra { display: none; }
  .site-nav { display: block; border: 0; background: transparent; }
  .nav-inner { padding: 0 0 0.75rem; }
  .site-nav ul { display: flex; flex-wrap: wrap; gap: 0.2rem 1rem; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 210px minmax(280px, 380px);
    grid-template-areas: "copy photo form";
    align-items: center;
    gap: 1rem 1.25rem;
  }
  .hero-copy { grid-area: copy; text-align: left; }
  .hero-photo { grid-area: photo; width: 210px; justify-self: center; margin: 0; }
  .hero-shot { width: 210px; }
  .hero-actions { flex-direction: row; align-items: center; width: auto; justify-content: flex-start; }
  .hero-actions .btn { width: auto; }
  .trust { margin-left: 0; max-width: none; }
  .hero-badge { width: 72px; height: 72px; right: -8px; bottom: 10px; }
  .hero-panel { grid-area: form; }
}
@media (min-width: 1200px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 260px minmax(300px, 380px); }
  .hero-photo, .hero-shot { width: 260px; }
  .hero-badge { width: 84px; height: 84px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid.practices { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }
  .about-photo { width: 280px; }
}

@media (max-width: 759px) {
  .utility-inner { font-size: 0.72rem; }
  .brand-person { display: none; }
  .header-reach { font-size: 0.75rem; line-height: 1.3; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

@media print {
  .utility, .site-header, .mobile-bar, .review-form, .nav-toggle { display: none !important; }
  body { padding: 0; background: white; color: black; }
  a { text-decoration: none; }
}

.nowrap { white-space: nowrap; }

.brand-tag { display: block; }
.brand-judge { font-weight: 600; color: var(--navy); }
/* v6 spacing fixes */
.header-tools { gap: 1rem; }
.header-phone { padding: 0 0.25rem; }
.header-phone span { margin-bottom: 0.15rem; }
/* v17: keep phone numbers and hero CTAs on one line; wrap the row, not the text */
a[href^="tel:"] { white-space: nowrap; }
.hero-actions { flex-wrap: wrap; }
.hero-actions .btn {
  white-space: nowrap;
  flex: 0 0 auto;
}
