/* Soft open animation for the Dental Care and For Patients menus. Delete this block to remove it. */
@keyframes sbPanelIn { from { opacity:0; transform: translateY(-8px) scale(.98); } to { opacity:1; transform:none; } }
@keyframes sbAccordionIn { from { opacity:0; transform: translateY(-4px); } to { opacity:1; transform:none; } }
.sb-header__dropdown[open] > .sb-header__panel { transform-origin: top center; animation: sbPanelIn .32s cubic-bezier(.22,.61,.36,1) both; }
.sb-header__dropdown > summary svg { transition: transform .3s ease; }
.sb-header__dropdown > summary { transition: background-color .25s ease; }
@media (max-width:1100px){ .sb-header__dropdown[open] > .sb-header__panel { animation-name: sbAccordionIn; } }
@media (prefers-reduced-motion: reduce){ .sb-header__dropdown[open] > .sb-header__panel { animation: none; } }

/* Dark CTA tiles: keep buttons readable on hover (Nov 2026) */
html.sbx body .sb-v2-dark a.sb-v2-button.sb-v2-button.sb-v2-button:not(.sb-grad):not(.sb-grad-green):hover,
html.sbx body .sb-v2-dark a.sb-v2-button.sb-v2-button.sb-v2-button:not(.sb-grad):not(.sb-grad-green):focus-visible {
  background: #FFFFFF !important; background-image: none !important; color: #133927 !important;
  border: 1px solid #FFFFFF !important; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.32), 0 0 0 4px rgba(208,225,215,.35) !important;
}
html.sbx body .sb-v2-dark a.sb-v2-button.sb-grad.sb-grad.sb-grad:hover,
html.sbx body .sb-v2-dark a.sb-v2-button.sb-grad.sb-grad.sb-grad:focus-visible {
  background: linear-gradient(120deg,#FAD0BF 0%,#F2A491 50%,#E58A75 100%) 100% 50% / 180% 180% !important;
  color: #133927 !important; transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(214,110,88,.5), 0 0 0 4px rgba(232,147,132,.3) !important;
}


/* ===== Springbrook premium spacing & depth (Nov 2026) ===== */
html.sbx body{ --sbp-section: clamp(56px, 6.5vw, 100px); --sbp-gutter: clamp(20px, 4.5vw, 64px);
 --sbp-shadow-1: 0 1px 1px rgba(19,57,39,.04), 0 2px 4px rgba(19,57,39,.04);
 --sbp-shadow-2: 0 1px 1px rgba(19,57,39,.03), 0 6px 12px -4px rgba(19,57,39,.08), 0 22px 44px -18px rgba(19,57,39,.20);
 --sbp-shadow-3: 0 2px 2px rgba(19,57,39,.03), 0 12px 24px -8px rgba(19,57,39,.12), 0 40px 70px -28px rgba(19,57,39,.30); }
/* Section rhythm */
html.sbx body section.sb-live-section.sb-live-section{ padding-top: var(--sbp-section) !important; padding-bottom: var(--sbp-section) !important; padding-left: var(--sbp-gutter) !important; padding-right: var(--sbp-gutter) !important; }
html.sbx body section.sb-live-section.sb-live-section + section.sb-live-section{ padding-top: calc(var(--sbp-section) * .8) !important; }
html.sbx body .sb-live-wrap.sb-live-wrap{ max-width: 1200px !important; }
/* Headings and text */
html.sbx body .sb-live-h2.sb-live-h2{ letter-spacing: -0.025em; line-height: 1.08 !important; margin-bottom: .35em !important; }
html.sbx body .sb-live-section p{ line-height: 1.7; }
/* Grids */
html.sbx body [class*="sb-live-grid-"].e-grid-base{ gap: clamp(16px, 1.8vw, 28px) !important; margin-top: clamp(12px, 1.5vw, 24px); }
/* Cards: layered, forest-tinted depth */
html.sbx body .sb-live-card.sb-live-card{ border: 1px solid rgba(19,57,39,.07) !important; box-shadow: var(--sbp-shadow-2) !important; border-radius: 24px !important; padding: clamp(22px, 2.2vw, 32px) !important;
 transition: transform .45s var(--sbx-ease, ease), box-shadow .45s var(--sbx-ease, ease), border-color .45s ease !important; }
@media (hover: hover){ html.sbx body .sb-live-card.sb-live-card:hover{ transform: translateY(-4px); box-shadow: var(--sbp-shadow-3) !important; border-color: rgba(19,57,39,.12) !important; } }
/* Header: glass with a fine edge */
html.sbx body .sb-header.sb-header{ box-shadow: 0 1px 0 rgba(19,57,39,.06), 0 10px 30px -20px rgba(19,57,39,.25) !important; background: rgba(255,255,255,.78) !important; -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
/* Large photos: soft depth */
html.sbx body .sb-live-section img{ border-radius: inherit; }
html.sbx body .sb-live-section .e-image-base, html.sbx body .sb-live-section figure{ box-shadow: var(--sbp-shadow-3); border-radius: 28px; overflow: hidden; }
/* Trust strip stays compact */
html.sbx body .sb-live-trust.sb-live-trust.sb-live-trust{ padding-top: clamp(18px,2vw,28px) !important; padding-bottom: clamp(18px,2vw,28px) !important; }
html.sbx body .sb-live-trust.sb-live-trust + section.sb-live-section{ padding-top: var(--sbp-section) !important; }
/* Wellness: featured plan fills the right column */
@media (min-width: 768px){ html.sbx body .sbw-grid.sbw-split > .sbw-right.sbw-right{ align-self: stretch !important; display:flex !important; flex-direction:column; justify-content:center; box-shadow: var(--sbp-shadow-3) !important; border-radius:24px !important; } }
html.sbx body section.sb-live-section.sb-live-section:has(+ .sb-live-trust){ padding-bottom: clamp(32px, 3.5vw, 56px) !important; }
html.sbx body .sb-live-trust.sb-live-trust + section.sb-live-section.sb-live-section{ padding-top: clamp(48px, 5vw, 80px) !important; }
/* Inner pages (v2 layout) */
html.sbx body main.sb-v2-main > section.sb-v2-section, html.sbx body main.sb-v2-main > section.sb-v2-white, html.sbx body main.sb-v2-main > section.sb-v2-mint{
 padding-top: var(--sbp-section) !important; padding-bottom: var(--sbp-section) !important; padding-left: var(--sbp-gutter) !important; padding-right: var(--sbp-gutter) !important; }
html.sbx body main.sb-v2-main > section:first-child{ padding-top: clamp(64px, 6vw, 96px) !important; }
html.sbx body main.sb-v2-main > section.sb-v2-compact{ padding-left: var(--sbp-gutter) !important; padding-right: var(--sbp-gutter) !important; }
html.sbx body .sb-v2-wrap.sb-v2-wrap{ max-width: 1200px !important; }
html.sbx body .sb-v2-h2.sb-v2-h2{ letter-spacing: -0.025em; line-height: 1.08 !important; margin-bottom: .45em !important; }
html.sbx body main.sb-v2-main p{ line-height: 1.7; }
html.sbx body [class*="sb-v2-grid-"].e-grid-base{ gap: clamp(16px, 1.8vw, 28px) !important; margin-top: clamp(12px, 1.5vw, 24px); }
html.sbx body .sb-v2-card.sb-v2-card{ border: 1px solid rgba(19,57,39,.07) !important; box-shadow: var(--sbp-shadow-2) !important; border-radius: 24px !important; padding: clamp(24px, 2.4vw, 34px) !important;
 transition: transform .45s var(--sbx-ease, ease), box-shadow .45s var(--sbx-ease, ease), border-color .45s ease !important; }
@media (hover: hover){ html.sbx body .sb-v2-card.sb-v2-card:hover{ transform: translateY(-4px); box-shadow: var(--sbp-shadow-3) !important; border-color: rgba(19,57,39,.12) !important; } }
html.sbx body .sb-v2-photo.sb-v2-photo{ box-shadow: var(--sbp-shadow-3) !important; border-radius: 28px !important; overflow: hidden; }
html.sbx body main.sb-v2-main > section.sb-v2-dark.sb-v2-dark{ box-shadow: 0 30px 80px -30px rgba(19,57,39,.55), 0 10px 24px -12px rgba(19,57,39,.3) !important; }


/* Unclassed headings inherit the brand type */
html.sbx body main :is(h1,h2,h3,h4):not([class*="sb-"]){ font-family: Manrope, "DM Sans", sans-serif !important; letter-spacing: -0.02em; color: var(--sbx-forest, #133927); }
/* Long-form pages (privacy, policies): calmer subheads */
html.sbx body main .sb-v2-narrow h2:not([class*="sb-"]){ font-size: clamp(24px, 2.3vw, 32px) !important; line-height: 1.2 !important; margin: 1.8em 0 .5em !important; }
html.sbx body main .sb-v2-narrow h3:not([class*="sb-"]){ font-size: clamp(19px, 1.6vw, 22px) !important; margin: 1.4em 0 .4em !important; }
html.sbx body main .sb-v2-narrow :is(p,li){ line-height: 1.75; }
/* Forms: refined fields and choices */
html.sbx body main .elementor-form .elementor-field-textual{ border-radius: 14px !important; border: 1px solid rgba(19,57,39,.14) !important; background: #fff !important; transition: border-color .25s ease, box-shadow .25s ease !important; }
html.sbx body main .elementor-form .elementor-field-textual:focus{ border-color: var(--sbx-sage, #7EA288) !important; box-shadow: 0 0 0 4px rgba(126,162,136,.22) !important; outline: none !important; }
html.sbx body main .elementor-form input[type=checkbox], html.sbx body main .elementor-form input[type=radio]{ accent-color: var(--sbx-forest, #133927); width: 18px; height: 18px; margin: 0 8px 0 0; vertical-align: -3px; cursor: pointer; }
html.sbx body main .elementor-form .elementor-field-subgroup{ gap: 8px 22px; }
html.sbx body main .elementor-form .elementor-field-option{ padding: 3px 0; }
html.sbx body main .elementor-form .elementor-field-option label{ cursor: pointer; }
html.sbx body main .elementor-form .elementor-field-type-html{ color: var(--sbx-forest, #133927) !important; }
html.sbx body main .elementor-form .elementor-field-label{ color: var(--sbx-forest, #133927) !important; }
html.sbx body main .elementor-form .elementor-field-type-html, html.sbx body main .elementor-form .elementor-field-type-html *{ font-family: "DM Sans", sans-serif !important; }

/* Privacy policy: calmer long-form layout */
html.sbx body.page-id-892 main .sb-v2-narrow.sb-v2-narrow{ gap: 12px !important; }
html.sbx body.page-id-892 main .sb-v2-narrow h2.sb-v2-h3{ font-size: clamp(24px, 2.3vw, 32px) !important; line-height: 1.2 !important; margin-top: 1.6em !important; margin-bottom: .2em !important; }
html.sbx body.page-id-892 main .sb-v2-narrow h1 + p{ margin-top: .4em !important; }
