/* Opt-in visual layer. Content, links, controls and media states are left to the templates. */
html.dm-design-refresh {
  --dm-ink: #193942;
  --dm-text: #354c55;
  --dm-muted: #61747c;
  --dm-teal: #0e7c86;
  --dm-green: #118548;
  --dm-border: #dfe8e6;
  --dm-surface: #ffffff;
  --dm-tint: #f2f8f6;
  --dm-font: "Segoe UI", Tahoma, Arial, sans-serif;
  --dm-shadow: 0 5px 20px rgba(25, 57, 66, .055);
}
.dm-design-refresh body { background-color: #f7faf9; color: var(--dm-text); font-family: var(--dm-font); }
.dm-design-refresh main { font-family: var(--dm-font); }
.dm-design-refresh main :is(h1, h2, h3, h4) { font-family: var(--dm-font); letter-spacing: -.025em; }
.dm-design-refresh main :is(h1, h2) { text-wrap: balance; }
.dm-design-refresh main :is(p, li, dd) { line-height: 1.75; }
.dm-design-refresh main :is(p, li) > a:not([class]) { text-underline-offset: .2em; text-decoration-thickness: 1px; }
.dm-design-refresh main :is(a, button, summary, input, textarea, select):focus-visible { outline: 3px solid #0e7c86; outline-offset: 4px; }
.dm-design-refresh main .site-breadcrumb { color: var(--dm-muted); font-size: 13px; font-weight: 500; line-height: 1.6; }
.dm-design-refresh main .site-breadcrumb a { color: #276875; text-underline-offset: 3px; }
.dm-design-refresh main .site-breadcrumb [aria-current="page"] { color: #4c626b; }
.dm-design-refresh main:is(.wrap, .container) > .site-breadcrumb::before { left: 0; right: 0; }
.dm-design-refresh main .health-author { border-color: var(--dm-border); border-radius: 14px; background: #f5f9f8; color: var(--dm-muted); box-shadow: none; }

/* Home and the Sofia overview share these existing sections. */
.dm-design-refresh main > .hero-pro { background: linear-gradient(135deg, #f4faf7 0%, #fff 62%, #edf7f6 100%); padding-top: calc(var(--tb-h, 64px) + 44px); padding-bottom: 54px; }
.dm-design-refresh .hero-pro .hero-pro__wrap { gap: 40px; }
.dm-design-refresh .hero-pro .hero-pro__eyebrow { color: #28767d; font-size: 13px; font-weight: 650; letter-spacing: .055em; margin-bottom: 14px; }
.dm-design-refresh .hero-pro .hero-pro__title { color: #163b44; font-weight: 750; font-size: clamp(34px, 4.5vw, 52px); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 20px; }
.dm-design-refresh .hero-pro .hero-pro__subtitle { color: #526970; font-size: 18px; line-height: 1.75; margin-bottom: 25px; }
.dm-design-refresh .hero-pro .hero-pro__cta { gap: 12px; }
.dm-design-refresh :is(.hero-pro, .two-col, #pain-conditions-intro) :is(.btn-primary, .btn-book, .book-button) { background: #118548; background-image: none; color: #fff; border-color: #118548; border-radius: 12px; box-shadow: 0 4px 12px #11854818; text-shadow: none; }
.dm-design-refresh :is(.hero-pro, .two-col, #pain-conditions-intro) :is(.btn-primary, .btn-book, .book-button):hover { background: #0d703c; border-color: #0d703c; box-shadow: 0 6px 16px #11854825; }
.dm-design-refresh .hero-pro .btn-outline { color: #205e67; border: 1px solid #b8cfce; border-radius: 12px; background: #fff; box-shadow: none; }
.dm-design-refresh .hero-pro .btn-outline:hover { background: #edf6f4; border-color: #789e9d; }
.dm-design-refresh .hero-pro .link-accent { color: #216a74; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
.dm-design-refresh .hero-pro .hero-pro__stats { gap: 14px; margin-top: 28px; }
.dm-design-refresh .hero-pro .stat { padding: 17px 12px; border: 1px solid #e0e9e6; border-radius: 14px; background: rgba(255,255,255,.9); box-shadow: none; }
.dm-design-refresh .hero-pro .stat__value { color: #1b4a50; font-size: clamp(25px, 2.8vw, 32px); font-weight: 750; }
.dm-design-refresh .hero-pro .stat__label { color: #64777d; font-size: 13px; line-height: 1.45; font-weight: 500; }
.dm-design-refresh .hero-pro .hero-pro__media img { box-shadow: 0 10px 32px #254e4910; }
.dm-design-refresh .hero-pro :is(.hero-office-card, .hero-office-experience) { border: 1px solid var(--dm-border); border-radius: 18px; box-shadow: var(--dm-shadow); background: #fff; }
.dm-design-refresh .hero-pro .hero-office-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 16px; }
.dm-design-refresh .hero-pro .hero-office-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; }
.dm-design-refresh .hero-pro .hero-office-card__image { display: block; width: 100%; min-height: 0; aspect-ratio: 16 / 10; flex-shrink: 0; }
.dm-design-refresh .hero-pro .hero-office-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.dm-design-refresh .hero-pro .hero-office-card__body { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px; }
.dm-design-refresh .hero-pro .hero-office-card__body h2 { color: var(--dm-ink); font-size: 24px; line-height: 1.3; word-break: normal; overflow-wrap: normal; hyphens: none; }
.dm-design-refresh .hero-pro .hero-office-card__body address { color: var(--dm-text); line-height: 1.7; font-style: normal; }
.dm-design-refresh .hero-pro .hero-office-card__actions { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: stretch; gap: 8px; margin-top: auto; padding-top: 16px; }
.dm-design-refresh .hero-pro :is(.hero-office-card__map, .hero-office-card__book) { min-width: 0; min-height: 44px; padding: 10px 8px; font-size: 14px; line-height: 1.35; text-align: center; white-space: normal; word-break: normal; overflow-wrap: normal; hyphens: none; }
.dm-design-refresh .hero-pro .hero-office-card__map { color: #1e6e78; text-underline-offset: 4px; }
.dm-design-refresh .hero-pro .hero-office-card__book { color: #fff; background: var(--dm-green); border-color: var(--dm-green); border-radius: 10px; }
@media (max-width: 720px) {
  .dm-design-refresh .hero-pro .hero-office-grid { grid-template-columns: minmax(0, 1fr); }
}
.dm-design-refresh .two-col { background: #f7faf9; padding-top: 50px; padding-bottom: 48px; }
.dm-design-refresh .two-col .two-col__wrap { gap: 32px; }
.dm-design-refresh .two-col :is(.why, .dm-flow, .recovery-box) { background: #fff; border: 1px solid var(--dm-border); border-radius: 20px; box-shadow: var(--dm-shadow); padding: clamp(22px, 2.6vw, 34px); }
.dm-design-refresh .two-col :is(.why, .dm-flow, .recovery-box) + :is(.why, .dm-flow, .recovery-box) { margin-top: 24px; }
.dm-design-refresh .two-col :is(.why__title, .dm-flow__title, .recovery__title, .conditions__title) { color: #193f48; font-weight: 700; font-size: clamp(25px, 2.8vw, 34px); line-height: 1.25; margin-top: 0; margin-bottom: 20px; }
.dm-design-refresh .two-col :is(.why, .dm-flow, .recovery-box) p { color: #415c64; font-size: 17px; }
.dm-design-refresh .two-col :is(.brand-blue, .accent) { color: #0e7c86; }
.dm-design-refresh .two-col .brand-green { color: #118548; }
.dm-design-refresh .two-col .dm-flow__point { border-color: #e0ebe7; border-radius: 14px; background: #f6faf8; padding: 20px; }
.dm-design-refresh .two-col .dm-flow__point h3 { color: #24555d; font-size: 21px; line-height: 1.3; }
.dm-design-refresh .two-col .dm-flow__mission { background: #eff8f2; border-color: #d6e8da; border-radius: 14px; color: #2b6044; }
.dm-design-refresh .two-col .cta-box { background: #eaf5f1; border-color: #cfe4da; border-radius: 16px; padding: 24px; box-shadow: none; }
.dm-design-refresh .two-col .cta-text { color: #214e41; }
.dm-design-refresh .two-col .recovery__step { border-color: #e0e9e5; background: #f8fbf9; border-radius: 14px; padding: 20px; box-shadow: none; }
.dm-design-refresh .two-col .recovery__step h3 { color: #26565d; font-size: 20px; line-height: 1.35; }
.dm-design-refresh .two-col .recovery__step p { font-size: 15px; line-height: 1.7; }
.dm-design-refresh :is(.two-col, #pain-conditions-intro) .pain-button { border-color: var(--dm-border); border-radius: 18px; background: #fff; box-shadow: var(--dm-shadow); }
.dm-design-refresh :is(.two-col, #pain-conditions-intro) .pain-button-text { background: #fff; color: #1c4c55; font-size: 18px; line-height: 1.4; padding: 12px 4px; text-shadow: none; }
.dm-design-refresh :is(.two-col, #pain-conditions-intro) .pain-button-hook { color: #5f747b; font-size: 14px; line-height: 1.65; }
.dm-design-refresh #pain-conditions-intro { background: #fff; padding-top: 48px; padding-bottom: 48px; }
.dm-design-refresh #pain-conditions-intro .pci-title { color: #193f48; font-weight: 700; font-size: clamp(28px, 3vw, 38px); line-height: 1.25; }
.dm-design-refresh #pain-conditions-intro :is(.pci-intro, .pain-explanation) { color: #516a73; font-size: 17px; line-height: 1.8; }
.dm-design-refresh main :is(.reviews-section, .reviews) { background-color: #f2f8f6; }
.dm-design-refresh main .reviews-title { color: #214b52; font-weight: 700; letter-spacing: -.025em; }

/* Preserve all footer destinations; only their visual presentation changes. */
.dm-design-refresh footer.footer { background: #122e30; color: #d7e6e2; border-top: 1px solid #29484a; }
.dm-design-refresh footer.footer .contact-section { background: transparent; color: #d7e6e2; padding-top: 40px; padding-bottom: 26px; }
.dm-design-refresh footer.footer .dm-footer-mapless :is(h2,h3) { color: #f0f7f3; font-size: 18px; font-weight: 650; margin-bottom: 18px; }
.dm-design-refresh footer.footer .dm-footer-mapless :is(p,li,address,.contact-item) { color: #ccddd7; font-size: 14px; line-height: 1.7; }
.dm-design-refresh footer.footer .dm-footer-mapless a { color: #d4e8e3; font-weight: 500; text-shadow: none; text-decoration: none; }
.dm-design-refresh footer.footer .dm-footer-mapless a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.dm-design-refresh footer.footer .dm-footer-mapless__icon { color: #7cbfa3; }
.dm-design-refresh footer.footer .dm-footer-mapless .footer-links { color: #b6cbc5; border-top-color: #315054; font-size: 12px; }
.dm-design-refresh footer.footer .dm-footer-mapless .social-links a { border-radius: 10px; padding: 4px; background: rgba(255,255,255,.04); }
.dm-design-refresh footer.footer .dm-footer-mapless a:focus-visible { outline: 3px solid #9bd4b8; outline-offset: 4px; }
.dm-design-refresh .contact-main .dm-studio-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.dm-design-refresh .contact-main .dm-studio-map { min-width: 0; padding: 24px; background: #fff; border: 1px solid var(--dm-border); border-radius: 18px; box-shadow: var(--dm-shadow); }
.dm-design-refresh .contact-main .dm-studio-map h2 { color: var(--dm-ink); font-size: 24px; line-height: 1.3; margin: 0 0 10px; }
.dm-design-refresh .contact-main .dm-studio-map p { color: var(--dm-muted); font-size: 15px; margin: 0 0 20px; }
.dm-design-refresh .contact-main .dm-studio-directions { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: #1d6a73; font-size: 15px; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 900px) {
  .dm-design-refresh .contact-main .dm-studio-maps { grid-template-columns: 1fr; }
  .dm-design-refresh .contact-main .dm-studio-map { padding: 20px; }
  .dm-design-refresh main > .hero-pro { padding-top: calc(var(--tb-h, 56px) + 24px); padding-bottom: 34px; }
  .dm-design-refresh .hero-pro .hero-pro__wrap { gap: 24px; }
  .dm-design-refresh .hero-pro .hero-pro__title { font-size: clamp(30px, 6vw, 40px); line-height: 1.17; }
  .dm-design-refresh .hero-pro .hero-pro__subtitle { font-size: 17px; }
  .dm-design-refresh .two-col { padding-top: 28px; padding-bottom: 28px; }
  .dm-design-refresh .two-col .two-col__wrap { gap: 28px; }
  .dm-design-refresh .two-col :is(.why, .dm-flow, .recovery-box) { padding: 24px 20px; border-radius: 16px; }
  .dm-design-refresh #pain-conditions-intro { padding-top: 32px; padding-bottom: 32px; }
}
@media (max-width: 480px) {
  .dm-design-refresh .hero-pro .hero-pro__eyebrow { font-size: 12px; line-height: 1.5; }
  .dm-design-refresh .hero-pro .hero-pro__stats { gap: 8px; }
  .dm-design-refresh .hero-pro .stat { padding: 15px 6px; border-radius: 12px; }
  .dm-design-refresh .hero-pro .stat__label { font-size: 12px; }
  .dm-design-refresh .two-col :is(.why, .dm-flow, .recovery-box) p { font-size: 16px; }
  .dm-design-refresh .hero-pro .hero-office-card__body { padding: 20px; }
  .dm-design-refresh footer.footer .contact-section { padding-top: 32px; }
}
