/* ==========================================================================
   Lifeline Chiropractic — main stylesheet
   Palette: warm maroon + tan
   Contents:
     1. Variables & base
     2. Top bar, header & navigation
     3. Buttons
     4. Homepage banner & hero sections
     5. Sections, panels & cards
     6. Practice charm band & family cards
     7. Conditions grid
     8. Split band & CTA
     9. Reviews section
    10. Team, bio & health-topic layouts
    11. Documents, contact methods & map
    12. Forms
    13. Footer
    14. Floating contact widget
    15. Mobile styles
   ========================================================================== */

/* 1. Variables & base
   ------------------------------------------------------------------------ */
:root {
  --ink: #3a1f1f;            /* deep warm brown/maroon text */
  --ink-2: #5a2a2e;          /* secondary maroon */
  --maroon: #7b2634;         /* primary brand maroon */
  --maroon-dark: #521822;    /* darker hover/nav/footer */
  --tan: #d8b88f;            /* warm tan accent */
  --tan-light: #f3e4cf;      /* light tan background */
  --cream: #fbf6ed;          /* page background */
  --sand: #ead7bc;           /* card/section background */
  --white: #fffaf2;
  --muted: #735f59;
  --line: #ddc7aa;
  --gold: #b5822f;           /* review stars */
  --shadow: 0 22px 60px rgba(58, 31, 31, .14);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.62;
}

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

a { color: inherit; }

.container {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  color: var(--maroon);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
}

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.04;
  margin: 0 0 18px;
  color: var(--ink);
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.9rem, 3.1vw, 2.6rem); letter-spacing: -.04em; }
h3 { font-size: 1.65rem; }

p { margin: 0 0 18px; }

/* 2. Top bar, header & navigation
   ------------------------------------------------------------------------ */
.topbar {
  background: var(--maroon-dark);
  color: white;
  font-size: .95rem;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(251, 246, 237, .92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(58, 31, 31, .12);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 0;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand strong { display: block; font-size: 1.05rem; line-height: 1.05; }
.brand span span { display: block; font-size: .82rem; color: var(--muted); }

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  font-weight: 800;
  font-size: .93rem;
}

.mobile-menu-toggle {
  display: none;
  border: 2px solid var(--tan);
  background: var(--maroon);
  color: #fff;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
}

/* 3. Buttons
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 49px;
  padding: 13px 23px;
  border-radius: 999px;
  border: 2px solid var(--tan);
  text-decoration: none;
  font-weight: 850;
  line-height: 1.1;
}

.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 12px 28px rgba(123, 38, 52, .24);
}

.btn-primary:hover { background: var(--maroon-dark); }

.btn-secondary {
  border-color: var(--tan);
  color: var(--ink);
  background: transparent;
}

.btn-light { background: var(--white); color: var(--maroon-dark); }

/* Light buttons on dark maroon bands */
.topic-card.featured-topic .btn-secondary,
.split-band .btn-secondary,
.cta .btn-secondary {
  background: var(--white);
  color: var(--maroon-dark);
  border-color: var(--tan);
}

.topic-card.featured-topic .btn-secondary:hover,
.split-band .btn-secondary:hover,
.cta .btn-secondary:hover {
  background: var(--tan-light);
  border-color: var(--tan);
}

.topic-card.featured-topic .topic-actions .btn-secondary::before {
  content: "↓ ";
}

/* 4. Homepage banner & hero sections
   ------------------------------------------------------------------------ */
.banner-hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  aspect-ratio: 1914 / 822;
}

.banner-hero img {
  width: 100%;
  height: auto;
  display: block;
}

/* Real buttons positioned exactly over the buttons drawn in the banner image.
   Percentages measured against the 1914x822 banner art — if the banner is
   replaced with a new design, keep its buttons in the same spots or adjust
   the left/top/width/height percentages below. */
.banner-btn {
  position: absolute;
  top: 80%;
  height: 9.8%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-weight: 600;
  font-size: clamp(11px, 1.18vw, 24px);
  border-radius: clamp(8px, .68vw, 14px);
  text-decoration: none;
  line-height: 1;
  white-space: nowrap;
}

.banner-btn svg {
  width: .95em;
  height: .95em;
  fill: currentColor;
  flex: 0 0 auto;
}

.banner-btn-schedule {
  left: 4.25%;
  width: 20.75%;
  background: #6a1e22;
  color: #ffffff;
  border: 1px solid var(--tan);
}

.banner-btn-schedule:hover { background: var(--maroon-dark); }

.banner-btn-call {
  left: 25.55%;
  width: 15.95%;
  background: #e9d1ab;
  color: #6a1e22;
  border: 1px solid var(--tan);
}

.banner-btn-call:hover { background: var(--tan-light); }

.banner-btn:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

.page-hero {
  padding: 70px 0 42px;
  background: var(--tan-light);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 30px 0;
}

/* 5. Sections, panels & cards
   ------------------------------------------------------------------------ */
.section { padding: 86px 0; }
.section-white { background: var(--white); }

.intro-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 54px;
  align-items: start;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
}

.section-white .panel { background: var(--cream); }

.photo-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 14px;
  box-shadow: var(--shadow);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 4.2;
  object-fit: cover;
  border-radius: 24px;
}

.photo-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.photo-strip img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 20px;
  border: 1px solid var(--line);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.section-white .card { background: var(--cream); }

.card::before {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 99px;
  background: var(--tan);
  margin-bottom: 22px;
}

/* 6. Practice charm band & family cards
   ------------------------------------------------------------------------ */
.practice-charm-band {
  background: linear-gradient(135deg, var(--cream), var(--tan-light));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.practice-charm-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 38px;
  align-items: start;
}

.practice-letter {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 38px;
  box-shadow: 0 18px 48px rgba(58, 31, 31, .10);
}

.practice-letter p:not(.eyebrow) { font-size: 1.05rem; }

.warm-note {
  background: var(--ink);
  color: white;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.warm-note h3 { color: white; }
.warm-note p { color: rgba(255, 255, 255, .86); }

.family-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.family-card {
  background: rgba(255, 255, 255, .78);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}

.family-card strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 8px;
}

/* 7. Conditions grid
   ------------------------------------------------------------------------ */
.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 28px;
  margin-top: 30px;
  max-width: 900px;
}

.condition {
  padding: 8px 0 8px 24px;
  font-weight: 850;
  position: relative;
}

.condition::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--maroon);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 19px;
}

/* 8. Split band & CTA
   ------------------------------------------------------------------------ */
.split-band {
  background: var(--ink);
  color: white;
  padding: 80px 0;
}

.split-band h2, .split-band h3 { color: white; }
.split-band .eyebrow { color: var(--tan-light); }

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.list-clean {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.list-clean li {
  padding: 15px 0 15px 34px;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  position: relative;
}

.list-clean li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 23px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--tan);
}

.cta {
  background: linear-gradient(135deg, var(--ink-2), var(--maroon));
  color: white;
  border-radius: 34px;
  padding: 54px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

.cta h2 { color: white; }
.cta .eyebrow { color: var(--tan-light); }

/* 9. Reviews section
   ------------------------------------------------------------------------ */
.section-alt {
  background: linear-gradient(180deg, var(--cream), var(--tan-light));
}

.reviews-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.reviews-section h2 { margin-bottom: 12px; }

.reviews-subhead {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
  color: var(--muted);
}


.review-trust-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 0 auto 14px;
}

.review-trust-item {
  background: rgba(255, 255, 255, .84);
  border: 1px solid rgba(123, 38, 52, .14);
  border-radius: 20px;
  padding: 18px 16px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(58, 31, 31, .08);
}

.review-trust-number {
  display: block;
  color: var(--maroon);
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: .95;
  font-weight: 800;
}

.review-trust-label {
  display: block;
  margin-top: 8px;
  color: var(--brown);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .76rem;
}

.reviews-trust-note {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
  color: var(--muted);
  font-weight: 650;
}

/* Star ratings — drawn as SVG, warm gold to fit the maroon/tan palette */
.review-stars {
  display: inline-flex;
  gap: 3px;
  line-height: 0;
}

.review-stars svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 960px;
  margin: 0 auto 40px;
}

.review-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 16px 40px rgba(58, 31, 31, .08);
}

.review-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--ink);
  flex: 1;
}

.review-card footer {
  font-weight: 850;
  color: var(--maroon);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.review-card footer small {
  display: block;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .72rem;
  margin-top: 3px;
}

.review-cta {
  display: flex;
  justify-content: center;
}

/* 9b. Jane scheduling page
   ------------------------------------------------------------------------ */
.btn-outline {
  border-color: var(--tan);
  color: var(--maroon);
  background: transparent;
}

.btn-outline:hover { background: var(--tan-light); }

#jane-booking-embed { display: none; }

#jane-booking-embed.has-embed {
  display: block;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  margin: 0 auto 34px;
  max-width: 900px;
}

#jane-booking-embed iframe {
  width: 100%;
  min-height: 640px;
  border: 0;
  display: block;
  border-radius: 12px;
}

.jane-booking-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.jane-booking-buttons .btn {
  min-height: 60px;
  font-size: 1.02rem;
  padding: 16px 24px;
  text-align: center;
}

.jane-reassurance {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  margin: 22px auto 0;
  max-width: 900px;
}

/* 10. Team, bio & health-topic layouts
   ------------------------------------------------------------------------ */
.personal-bio { font-size: 1.08rem; }

.bio-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 24px 0;
}

.bio-highlight {
  background: var(--tan-light);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 15px;
  font-weight: 800;
}

.team-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.team-card-warm {
  background: linear-gradient(135deg, #ffffff, var(--cream));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 34px;
  box-shadow: 0 18px 48px rgba(58, 31, 31, .10);
}

.staff-role {
  color: var(--maroon);
  font-weight: 850;
  margin-bottom: 18px;
}

.team-bio-original { white-space: pre-line; }

.hours-list { white-space: pre-line; }

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.topic-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 14px 38px rgba(58, 31, 31, .08);
}

.section-white .topic-card { background: var(--cream); }

.topic-card h3 { margin-bottom: 12px; }

.topic-card .topic-tag {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--maroon);
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .76rem;
}

.topic-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.topic-card.featured-topic {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--ink-2), var(--maroon));
  color: white;
}

.topic-card.featured-topic h3 { color: white; }
.topic-card.featured-topic .topic-tag { color: var(--tan-light); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 42px;
  align-items: start;
}

.article-body {
  max-width: 850px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: 0 14px 38px rgba(58, 31, 31, .08);
}

.section-white .article-body { background: var(--cream); }

.article-body p {
  font-size: 1.05rem;
  line-height: 1.78;
}

.article-point {
  font-weight: 800;
  color: var(--ink);
  background: var(--tan-light);
  border-left: 5px solid var(--maroon);
  padding: 18px;
  border-radius: 14px;
}

.article-side {
  position: sticky;
  top: 110px;
}

/* 11. Documents, contact methods & map
   ------------------------------------------------------------------------ */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 34px;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 12px 34px rgba(58, 31, 31, .08);
}

.section-white .doc-card { background: var(--cream); }

.doc-card small {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.doc-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.info-stack {
  display: grid;
  gap: 18px;
}

.info-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}

.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.method {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.method strong {
  display: block;
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.map-embed {
  min-height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--tan-light);
}

.map-embed iframe {
  width: 100%;
  min-height: 420px;
  border: 0;
  display: block;
}

/* 12. Forms
   ------------------------------------------------------------------------ */
.form-box {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 32px;
  box-shadow: var(--shadow);
}

.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  font: inherit;
}

textarea { min-height: 140px; }

/* 13. Footer
   ------------------------------------------------------------------------ */
.footer {
  background: var(--maroon-dark);
  color: rgba(255, 255, 255, .88);
  padding: 54px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer h3,
.footer h2,
.footer strong { color: #ffffff; }

.footer p,
.footer a,
.footer .hours-list { color: rgba(255, 255, 255, .88); }

.footer a { text-decoration: none; }

.footer small {
  display: block;
  margin-top: 36px;
  color: rgba(255, 255, 255, .62);
}

.mobile-call { display: none; }



/* Floating Google Reviews tab
   ------------------------------------------------------------------------ */
.google-reviews-tab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 98;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 17px;
  border-radius: 999px;
  border: 1px solid rgba(123, 38, 52, .22);
  background: rgba(255, 248, 239, .96);
  color: var(--maroon);
  box-shadow: 0 14px 34px rgba(58, 31, 31, .18);
  font-weight: 800;
  font-size: .92rem;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.google-reviews-tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 42px rgba(58, 31, 31, .23);
  background: #fffaf2;
}

.google-reviews-tab-stars {
  color: var(--gold);
  letter-spacing: -1px;
  font-size: .78rem;
  line-height: 1;
}

/* 14. Floating contact widget
   ------------------------------------------------------------------------ */
.contact-widget-button {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10020;
  border: 2px solid var(--tan);
  border-radius: 999px;
  background: var(--maroon);
  color: #ffffff;
  padding: 15px 22px;
  font: inherit;
  font-weight: 900;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
  cursor: pointer;
}

.contact-widget-button:hover { background: var(--maroon-dark); }

.contact-widget-button span:first-child {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.contact-widget {
  position: fixed;
  right: 22px;
  bottom: 82px;
  width: min(332px, calc(100vw - 32px));
  z-index: 10021;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
  overflow: hidden;
  display: none;
}

.contact-widget.is-open { display: block; }

.contact-widget-header {
  background: var(--maroon-dark);
  color: #ffffff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.contact-widget-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-widget-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
}

.contact-widget-header strong {
  display: block;
  line-height: 1.1;
}

.contact-widget-header small {
  display: block;
  color: rgba(255, 255, 255, .75);
  margin-top: 2px;
}

.contact-widget-close {
  background: transparent;
  border: 0;
  color: white;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.contact-widget-body {
  padding: 17px;
  background: var(--cream);
}

.contact-widget-message {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 13px;
  color: var(--ink);
  font-size: .88rem;
  line-height: 1.45;
}

.contact-widget .field {
  margin-bottom: 9px;
  display: grid;
  gap: 5px;
}

.contact-widget label {
  font-weight: 800;
  color: var(--ink);
  font-size: .82rem;
}

.contact-widget input,
.contact-widget textarea,
.contact-widget select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 11px;
  font-size: .88rem;
  width: 100%;
}

.contact-widget textarea { min-height: 72px; }

.contact-widget-note {
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.42;
  margin: 12px 0 0;
}

.contact-widget-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 10px;
}

.contact-widget-actions .btn,
.contact-widget-actions button {
  width: 100%;
  min-height: 42px;
  padding: 10px 16px;
  font-size: .86rem;
}

.contact-widget-success {
  display: none;
  background: var(--tan-light);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-top: 12px;
  color: var(--ink);
  font-weight: 800;
}

.contact-widget-success.is-visible { display: block; }

/* 15. Mobile styles
   ------------------------------------------------------------------------ */
@media (max-width: 900px) {
  .intro-grid,
  .split-grid,
  .cta,
  .footer-grid,
  .practice-charm-grid,
  .family-row,
  .docs-grid,
  .contact-methods,
  .article-layout,
  .topic-grid,
  .bio-highlights {
    grid-template-columns: 1fr;
  }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .condition-grid { grid-template-columns: 1fr; }

  .nav {
    position: relative;
    gap: 12px;
  }

  .brand { min-width: 0; }
  .brand strong { font-size: .96rem; }
  .brand span span { font-size: .74rem; }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 22px 60px rgba(58, 31, 31, .18);
    z-index: 1002;
  }

  .nav-links.is-open {
    display: grid;
    gap: 8px;
  }

  .nav-links a {
    padding: 13px 14px;
    border-radius: 12px;
    background: var(--cream);
  }

  .nav-links .btn {
    width: 100%;
    margin-top: 4px;
  }

  .topbar-inner {
    display: grid;
    gap: 4px;
    font-size: .78rem;
    text-align: center;
  }

  /* On small screens the overlay buttons leave the image and become a
     full-width button bar directly under the banner. */
  .banner-hero { aspect-ratio: auto; }

  .banner-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 14px;
    background: var(--maroon-dark);
  }

  .banner-btn {
    position: static;
    width: auto;
    height: auto;
    min-height: 54px;
    padding: 14px 18px;
    font-size: 1rem;
    border-radius: 14px;
    white-space: normal;
    text-align: center;
  }

  .page-hero { padding: 48px 0 34px; }

  .page-hero h1,
  h1 { font-size: clamp(1.8rem, 7.5vw, 2.6rem); }
  h2 { font-size: clamp(1.65rem, 6.8vw, 2.4rem); }

  .hero-actions { width: 100%; }
  .hero-actions .btn { width: 100%; }

  .article-side { position: static; }
  .article-body { padding: 28px; }

  .map-embed,
  .map-embed iframe { min-height: 320px; }

  .footer-grid { gap: 20px; }

  .mobile-call {
    display: flex;
    position: fixed;
    bottom: 14px;
    left: 14px;
    right: 14px;
    z-index: 99;
    gap: 10px;
  }

  .mobile-call .btn { flex: 1; }

  .contact-widget {
    right: 10px;
    left: 10px;
    bottom: 150px;
    width: auto;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
  }

  .contact-widget-button {
    right: 14px;
    bottom: 86px;
  }



  .google-reviews-tab {
    left: 14px;
    bottom: 86px;
    padding: 10px 12px;
    gap: 7px;
    font-size: .78rem;
  }

  .google-reviews-tab-stars {
    font-size: .68rem;
  }

  body { padding-bottom: 78px; }
}

@media (max-width: 640px) {
  .review-trust-bar { grid-template-columns: 1fr; }
  .review-cards { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 26px, 1120px); }

  .cards,
  .photo-strip { grid-template-columns: 1fr; }

  .section { padding: 58px 0; }
  .cta { padding: 34px 24px; }

  .brand span span { display: none; }
  .topbar-inner span:first-child { display: none; }

  .banner-buttons { grid-template-columns: 1fr; }

  .photo-card,
  .practice-letter,
  .panel,
  .team-card-warm,
  .card,
  .doc-card,
  .topic-card {
    padding: 22px;
    border-radius: 20px;
  }

  .mobile-call {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  body { padding-bottom: 86px; }
}

/* 16. Mobile floating action cleanup
   ------------------------------------------------------------------------ */
/*
   Mobile review notes:
   - Desktop keeps the floating Google Reviews tab and floating contact widget.
   - Mobile uses ONE compact bottom action bar only.
   - The Google Reviews floater and contact widget are hidden on mobile so they do
     not stack over the page content or cover important buttons/text.
*/
@media (max-width: 900px) {
  .google-reviews-tab,
  .contact-widget-button,
  .contact-widget {
    display: none !important;
  }

  .mobile-call {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    position: fixed;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 1000;
    gap: 8px;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 248, 239, .98);
    border-top: 1px solid rgba(123, 38, 52, .18);
    box-shadow: 0 -12px 30px rgba(58, 31, 31, .16);
    backdrop-filter: blur(10px);
  }

  .mobile-call .btn {
    min-height: 46px;
    width: 100%;
    padding: 10px 8px;
    border-radius: 14px;
    font-size: .88rem;
    line-height: 1.1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    white-space: nowrap;
  }

  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom)) !important;
  }
}

@media (max-width: 360px) {
  .mobile-call {
    gap: 6px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .mobile-call .btn {
    font-size: .8rem;
    min-height: 44px;
    padding-left: 6px;
    padding-right: 6px;
  }
}

/* 17. Contact widget viewport safety fix
   ------------------------------------------------------------------------ */
/* Keeps the desktop Contact Us popup fully reachable on short or narrow windows.
   The popup now scrolls inside itself instead of extending above the page. */
.contact-widget {
  max-height: calc(100vh - 118px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

@media (max-height: 720px), (max-width: 760px) {
  .contact-widget:not([style*="display: none"]) {
    top: 14px;
    bottom: 92px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
  }

  .contact-widget-header {
    position: sticky;
    top: 0;
    z-index: 2;
  }

  .contact-widget-body {
    padding: 14px;
  }

  .contact-widget-message {
    font-size: .82rem;
    margin-bottom: 10px;
  }

  .contact-widget input,
  .contact-widget textarea,
  .contact-widget select {
    padding: 8px 10px;
  }

  .contact-widget textarea {
    min-height: 58px;
  }
}

/* 18. Mobile menu Schedule visibility fix
   ------------------------------------------------------------------------ */
/* The mobile dropdown gives every nav link a cream background. This made the
   Schedule item blend in with the rest of the menu. Keep Schedule as the clear
   primary action inside the mobile menu. */
@media (max-width: 900px) {
  .nav-links a.btn-primary,
  .nav-links a[href$="schedule.html"] {
    background: var(--maroon) !important;
    color: #fff !important;
    border: 2px solid var(--maroon-dark) !important;
    box-shadow: 0 12px 26px rgba(123, 38, 52, .24);
    text-align: center;
    justify-content: center;
    margin-top: 8px;
  }

  .nav-links a.btn-primary:hover,
  .nav-links a[href$="schedule.html"]:hover,
  .nav-links a.btn-primary:focus-visible,
  .nav-links a[href$="schedule.html"]:focus-visible {
    background: var(--maroon-dark) !important;
    color: #fff !important;
    outline: 3px solid rgba(196, 143, 92, .45);
    outline-offset: 2px;
  }
}


/* Client-requested July 2026 revisions */
.practice-charm-band > .container > .eyebrow {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  letter-spacing: .08em;
}
.cta .new-patients-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.55rem);
  letter-spacing: .08em;
}
.patient-extras {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.patient-extra {
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  background: rgba(255,255,255,.10);
}
.patient-extra strong { display:block; margin-bottom:4px; }
.patient-extra p { margin:0; font-size:.95rem; }
@media (max-width: 700px) { .patient-extras { grid-template-columns: 1fr; } }


/* Client revision v2 — visually obvious changes requested from handwritten notes */
:root { --white: #f8f1e7; }
body { background: #f8f1e7; }
.section-white { background: #f8f1e7; }
.client-emphasis { padding-block: 96px; }
.practice-message {
  margin: 0 auto 14px;
  text-align: center;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.65rem, 6vw, 5rem) !important;
  line-height: .98;
  letter-spacing: -.025em !important;
  text-transform: none;
  color: var(--maroon-dark);
}
.practice-message span { display: inline-block; color: var(--maroon); }
.section-label-large {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  letter-spacing: .12em;
  margin-bottom: 10px;
}
.conditions-highlight { background: #efe0cc; }
.services-highlight { background: #f8f1e7; }
.conditions-highlight .condition {
  background: rgba(255,255,255,.58);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 16px;
}
.patient-action-section { background: #efe0cc; }
.new-patient-banner {
  background: var(--maroon-dark);
  color: #fff;
  border-radius: 30px;
  padding: clamp(30px, 5vw, 58px);
  box-shadow: var(--shadow);
}
.new-patient-banner h2, .new-patient-banner p, .new-patient-banner .eyebrow { color: #fff; }
.new-patients-heading {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 6.5vw, 5.25rem) !important;
  line-height: .95;
  letter-spacing: -.02em !important;
  text-transform: none;
  margin-bottom: 14px;
}
.patient-notice-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 22px;
  margin-top: 24px;
}
.patient-notice {
  background: #fffaf2;
  border: 2px solid var(--tan);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 14px 34px rgba(58,31,31,.10);
}
.patient-notice h3 { font-size: clamp(1.7rem,3vw,2.25rem); margin: 5px 0 8px; }
.notice-kicker { font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: var(--maroon); font-size: .78rem; }
.patient-notice a { font-weight: 800; }
@media (max-width: 700px) {
  .patient-notice-grid { grid-template-columns: 1fr; }
  .practice-message { font-size: clamp(2.4rem, 12vw, 3.8rem) !important; }
  .new-patients-heading { font-size: clamp(2.5rem, 12vw, 4rem) !important; }
}

/* About page: professional portrait above the lifestyle photo, both beside the bio */
.doctor-about-grid {
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(34px, 5vw, 64px);
  align-items: start;
}

.doctor-photo-stack {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.doctor-photo-stack figure {
  margin: 0;
}

.doctor-headshot-card img {
  aspect-ratio: 4 / 5;
  object-position: center 28%;
}

.doctor-lifestyle-card img {
  aspect-ratio: 16 / 10;
  object-position: center center;
}

.doctor-bio-column {
  padding-top: 8px;
}

@media (max-width: 900px) {
  .doctor-about-grid {
    grid-template-columns: 1fr;
  }

  .doctor-photo-stack {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: start;
  }
}

@media (max-width: 620px) {
  .doctor-photo-stack {
    grid-template-columns: 1fr;
  }
}


/* Lifeline Jane booking integration */
.jane-official-embed {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  margin: 0 0 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid rgba(123, 38, 52, 0.2);
  border-radius: 24px;
  background: #fffaf3;
  box-shadow: 0 18px 45px rgba(42, 31, 33, 0.08);
}
.jane-official-copy h2 { margin: .25rem 0 .6rem; }
.jane-official-copy p:last-child { margin-bottom: 0; }
.jane-official-embed iframe {
  display: block;
  width: 177px;
  height: 28px;
  border: 0;
  overflow: hidden;
}
@media (max-width: 700px) {
  .jane-official-embed { grid-template-columns: 1fr; text-align: center; }
  .jane-official-embed iframe { margin: 0 auto; }
}

/* SEO/accessibility utilities */
.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;}
.medical-disclaimer{padding-top:1.25rem;padding-bottom:1.25rem;}
.medical-disclaimer p{max-width:900px;margin:0 auto;font-size:.92rem;line-height:1.6;}
.nav-links a[aria-current="page"]:not(.btn){font-weight:800;text-decoration:underline;text-underline-offset:.3em;}

/* Homepage consolidation: Lifeline Difference merged into Small Practice */
.practice-difference-merged {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.28);
}
.practice-difference-merged .split-grid {
  align-items: start;
}
.existing-patient-contact .cta {
  align-items: center;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}
.section-heading > p:last-child {
  max-width: 720px;
}

/* Homepage gift-card feature */
.gift-card-section {
  padding-top: 1rem;
}
.gift-card-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(220px, 0.8fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 28px;
  background: #5b1723;
  color: #fffaf1;
  box-shadow: 0 18px 45px rgba(70, 25, 31, 0.12);
}
.gift-card-feature .eyebrow,
.gift-card-feature h2,
.gift-card-feature h3,
.gift-card-feature p {
  color: inherit;
}
.gift-card-feature h2 {
  margin-bottom: 1rem;
}
.gift-card-feature p {
  max-width: 650px;
}
.gift-card-feature .btn {
  margin-top: 1rem;
}
.gift-card-note {
  padding: 1.5rem;
  border: 1px solid rgba(255, 250, 241, 0.45);
  border-radius: 20px;
  background: rgba(255, 250, 241, 0.08);
}
.gift-card-note h3 {
  margin-top: 0;
}
@media (max-width: 760px) {
  .gift-card-feature {
    grid-template-columns: 1fr;
  }
}

/* Gift-card section simplified */
.gift-card-feature {
  grid-template-columns: 1fr;
}
.gift-card-copy {
  max-width: 760px;
}

/* Calmer contact page */
.calm-contact-options {
  max-width: 980px;
}
.contact-option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
.contact-option-card {
  padding: 1.5rem;
  border: 1px solid rgba(91, 23, 35, 0.18);
  border-radius: 18px;
  background: rgba(255,255,255,0.38);
}
.contact-option-card h3 {
  margin-top: 0;
  margin-bottom: .5rem;
}
.contact-option-card p {
  margin-bottom: 1rem;
}
.contact-option-action,
.contact-choice-link {
  display: inline-block;
  color: #6b1d2b;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  margin-top: 1rem;
}
@media (max-width: 760px) {
  .contact-option-grid {
    grid-template-columns: 1fr;
  }
}

/* Match the About-page experience box to the site's maroon cards */
.about-maroon-card {
  background: #5b1723 !important;
  color: #fffaf1 !important;
}
.about-maroon-card h2,
.about-maroon-card h3,
.about-maroon-card p,
.about-maroon-card li,
.about-maroon-card a {
  color: #fffaf1 !important;
}

/* Merged contact appointment panel */
.contact-merged-panel {
  background: #762631 !important;
  color: #fffaf1 !important;
  border-radius: 28px;
  padding: clamp(2rem, 5vw, 3.5rem);
  margin: 2rem auto;
}
.contact-merged-panel .eyebrow,
.contact-merged-panel h2,
.contact-merged-panel p {
  color: #fffaf1 !important;
}
.contact-merged-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.contact-inline-link {
  color: #fffaf1 !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Appointment panel placement below the Contact header */
.page-hero + .contact-merged-panel {
  margin-top: 2rem;
  margin-bottom: 2rem;
}
.contact-merged-panel .contact-merged-actions {
  display: none;
}

/* Book Online card in the Contact information grid */
.contact-card .btn,
.contact-info-card .btn {
  margin-top: 1rem;
}

/* Match the Book Online card to the surrounding Contact cards */
.book-online-contact-card {
  border: 1px solid #dfc6a3 !important;
  border-radius: 20px !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 1.5rem !important;
}
.book-online-contact-card h3,
.book-online-contact-card p {
  color: inherit;
}

/* Appointments information merged into the Contact page header */
.contact-hero-appointments {
  margin-top: 1.5rem;
  max-width: 850px;
}
.contact-hero-appointments .eyebrow {
  margin-bottom: .5rem;
}
.contact-hero-appointments h2 {
  margin: 0 0 .75rem;
}
.contact-hero-appointments p {
  max-width: 780px;
}

/* Top bar address/fax alignment */
.topbar-inner {
  width: min(100% - 2rem, 1280px);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}
.topbar-address {
  text-align: left;
}
.topbar-fax {
  margin-left: auto;
  text-align: right;
}
@media (max-width: 640px) {
  .topbar-inner {
    flex-direction: column;
    gap: .2rem;
  }
  .topbar-address,
  .topbar-fax {
    margin-left: 0;
    text-align: center;
  }
}
