/* Route adapters use Sparkdesign's original spacing, type scale, monochrome tokens,
   pill controls and 24/32px radii. The downloaded template owns the homepage layout. */
:root {
  --shell: min(100% - 112px, 1328px);
  --font-instrument-sans: "Instrument Sans";
  --paper: var(--background);
  --cream: var(--card);
  --ink: var(--foreground);
  --line: var(--border);
  --deep: var(--foreground);
  --forest: var(--foreground);
  --gold: var(--foreground);
  --gold-light: var(--muted);
  --sage: #e8eddf;
}
* {
  box-sizing: border-box;
}
body {
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
}
address {
  font-style: normal;
}
em {
  font-style: normal;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
input,
select,
textarea {
  color: inherit;
}
[hidden] {
  display: none !important;
}
.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;
}
.template-container {
  width: var(--shell);
  max-width: 1328px;
  margin-inline: auto;
}
.skip-link {
  position: fixed;
  z-index: 150;
  left: 20px;
  top: 10px;
  transform: translateY(-150%);
  padding: 12px 20px;
  background: var(--foreground);
  color: var(--background);
  border-radius: 100px;
}
.skip-link:focus {
  transform: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 13px 24px;
  border: 1px solid var(--foreground);
  border-radius: 100px;
  background: var(--foreground);
  color: var(--background);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px #00000014;
}
.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.button--gold {
  background: var(--foreground);
}
.text-link {
  display: inline-flex;
  gap: 10px;
  padding-block: 8px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 500;
}
.eyebrow,
.section-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  font-weight: 500;
  color: var(--muted-foreground);
}
.template-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -1.2px;
}
.template-fallback-nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: var(--background);
  border-bottom: 1px solid var(--border);
}
.template-fallback-nav > .template-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.template-fallback-nav nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
}
.template-fallback-footer {
  padding-block: 64px 32px;
  border-top: 1px solid var(--border);
  line-height: 1.7;
}
.template-fallback-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 24px;
}
.template-fallback-footer p {
  margin-top: 16px;
  color: var(--muted-foreground);
}
.fallback-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 72px;
  padding-block: 168px 108px;
}
.fallback-hero h1 {
  font-size: clamp(44px, 4.15vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin-block: 32px 28px;
}
.fallback-hero p {
  max-width: 400px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted-foreground);
}
.fallback-hero > img {
  height: 540px;
  width: 100%;
  object-fit: cover;
  border-radius: 32px;
}
.fallback-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-block: 32px;
}
.fallback-section {
  padding-block: 64px;
}
.fallback-section > h2,
.insurance-partners h2,
.template-offers > h2 {
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.fallback-section > p {
  max-width: 650px;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.fallback-equipment {
  border-radius: 28px;
  max-height: 550px;
  width: 100%;
  object-fit: cover;
  margin-block: 24px;
}
.clinic-notice {
  margin-top: 100px;
  display: flex;
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: var(--sage);
  color: #20251f;
  border-radius: 24px;
}
.clinic-notice img {
  width: 220px;
  max-height: 160px;
  object-fit: cover;
  border-radius: 16px;
}
.clinic-notice p {
  font-size: 20px;
  line-height: 1.45;
  margin-block: 8px;
  white-space: pre-line;
}
.clinic-notice + .none {
  display: none;
}
main:has(.clinic-notice) #clinicHomepage > section:first-child {
  padding-top: 56px;
}
.insurance-partners {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 64px;
}
.insurance-partners > div:last-child {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.insurance-partners img {
  width: 100px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.insurance-partners h2 {
  font-size: 36px;
  margin-block: 16px;
}
.template-offers {
  padding-block: 64px;
}
.template-offers > h2 {
  margin-top: 20px;
}
.template-block > section {
  background: var(--background);
}
.template-block > section > div {
  max-width: 1328px;
}
.template-block h2 {
  font-weight: 400 !important;
  letter-spacing: -0.035em;
  font-size: clamp(34px, 3.4vw, 48px) !important;
}
.template-block > section {
  padding-inline: 56px;
}
.template-block p {
  letter-spacing: -0.02em;
}
/* Server-rendered catalogue: real rows and notes, using the template card system. */
.price-page,
.editorial-page,
.booking-page,
.privacy-page {
  width: var(--shell);
  max-width: 1328px;
  margin-inline: auto;
  padding-top: 144px;
  padding-bottom: 88px;
}
.price-page__hero,
.editorial-hero__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 72px;
  margin-block: 30px 64px;
}
.price-page h1,
.editorial-hero h1,
.booking-heading h1,
.privacy-page h1 {
  font-size: clamp(44px, 4.15vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.045em;
  margin: 0;
}
.price-page__hero p,
.editorial-hero__body p,
.booking-heading > p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 540px;
}
.price-page__hero .text-link,
.editorial-hero .button {
  margin-top: 20px;
}
.price-tools {
  display: flex;
  gap: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 24px;
  margin-bottom: 32px;
  background: var(--card);
}
.price-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  max-width: 580px;
  background: var(--muted);
  border-radius: 100px;
  padding: 10px 18px;
}
.price-search > span:first-child {
  font-size: 24px;
}
.price-search input {
  background: transparent;
  border: 0;
  outline: 0;
  min-width: 0;
  width: 100%;
  padding: 6px 0;
}
.price-search kbd {
  font-family: inherit;
  font-size: 11px;
  color: var(--muted-foreground);
}
.price-reset {
  padding: 12px 16px;
  font-size: 13px;
  white-space: nowrap;
}
.price-catalog {
  display: grid;
  grid-template-columns: 256px minmax(0, 1fr);
  gap: 32px;
}
.price-categories {
  align-self: start;
  position: sticky;
  top: 98px;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px 16px;
}
.price-categories > .eyebrow {
  display: block;
  margin: 0 8px 18px;
}
.price-categories nav {
  display: grid;
  gap: 4px;
}
.price-categories nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
}
.price-categories nav a:hover,
.price-categories nav a[aria-current] {
  background: var(--muted);
}
.price-categories small {
  font-size: 11px;
  color: var(--muted-foreground);
}
.price-categories > p {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
  padding: 20px 8px 0;
}
.price-result-count {
  font-size: 12px;
  color: var(--muted-foreground);
  margin-bottom: 16px;
}
.price-group {
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 24px;
  scroll-margin-top: 100px;
}
.price-group__heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px;
  background: var(--muted);
}
.price-group__heading > span {
  font-size: 12px;
  color: var(--muted-foreground);
}
.price-group__heading h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.price-group__heading small {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
  color: var(--muted-foreground);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13px;
  line-height: 1.5;
}
.price-table th,
.price-table td {
  padding: 18px 16px;
  vertical-align: top;
  border-bottom: 1px solid var(--border);
}
.price-table th {
  font-weight: 400;
}
.price-table thead th {
  font-size: 11px;
  color: var(--muted-foreground);
}
.price-table tbody th {
  width: 43%;
  font-weight: 500;
}
.price-table tbody tr:last-child > * {
  border-bottom: 0;
}
.price-table__insurance {
  color: var(--muted-foreground);
}
.price-table__final {
  font-weight: 500;
}
.price-item-note {
  display: block;
  font-weight: 400;
  font-size: 12px;
  color: var(--muted-foreground);
  margin-top: 8px;
}
.price-cell-label {
  display: none;
}
.price-group__note {
  padding: 20px 24px;
  background: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}
.price-group__note strong {
  display: block;
  color: var(--foreground);
  font-weight: 500;
  margin-bottom: 6px;
}
.price-no-results,
.price-empty {
  padding: 40px;
  border: 1px solid var(--border);
  border-radius: 24px;
}
.price-no-results h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.price-no-results p {
  color: var(--muted-foreground);
  line-height: 1.6;
}
.price-no-results .button {
  margin-top: 24px;
}
.price-page__footer {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  border-radius: 24px;
  background: var(--muted);
}
.price-page__footer p {
  font-size: 28px;
  letter-spacing: -0.03em;
  margin-top: 10px;
}
/* Editorial routes keep all original clinic copy and share the source template's geometry. */
.editorial-hero {
  padding-bottom: 20px;
}
.editorial-section {
  padding-block: 64px;
  border-top: 1px solid var(--border);
}
.editorial-section__heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: end;
  margin-block: 24px 36px;
}
.editorial-section h2,
.editorial-cta h2,
.booking-aside h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.035em;
}
.editorial-section__heading p,
.editorial-section > p,
.editorial-cta p {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.editorial-card-grid,
.editorial-steps,
.technology-grid,
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
  list-style: none;
}
.editorial-card-grid article,
.editorial-steps li,
.technology-grid article,
.contact-cards > a {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}
.editorial-card-grid h3,
.editorial-steps h3,
.technology-grid h3 {
  font-size: 21px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-block: 16px 12px;
}
.editorial-card-grid p,
.editorial-steps p,
.technology-grid p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.editorial-steps li > span {
  font-size: 12px;
  color: var(--muted-foreground);
}
.editorial-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 64px;
  padding: 48px;
  border-radius: 32px;
  background: var(--muted);
  margin-top: 48px;
}
.editorial-cta h2 {
  margin-top: 20px;
}
.editorial-cta .button {
  margin-top: 24px;
}
.technology-grid article {
  overflow: hidden;
}
.technology-grid article > img {
  width: 100%;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
}
.technology-demo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.technology-demo__stage {
  height: 500px;
  border-radius: 32px;
  background: var(--muted);
  overflow: hidden;
}
.technology-demo__stage > .eyebrow {
  padding: 24px;
}
.tooth-stage {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 350px;
  touch-action: pan-y;
}
.tooth-stage__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  height: 100%;
  padding: 24px;
  text-align: center;
}
.tooth-stage__placeholder small {
  color: var(--muted-foreground);
  font-size: 12px;
}
.contact-cards > a {
  display: flex;
  flex-direction: column;
  gap: 26px;
  transition:
    transform 0.2s,
    background 0.2s;
}
.contact-cards > a:hover {
  transform: translateY(-3px);
  background: var(--muted);
}
.contact-cards strong {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.contact-cards small {
  font-size: 12px;
  color: var(--muted-foreground);
}
.contact-location .button {
  margin-top: 16px;
}
.contact-social {
  display: flex;
  gap: 24px;
  margin-top: 24px;
  font-size: 14px;
}
.hours-list,
.booking-hours {
  display: grid;
  max-width: 650px;
  gap: 0;
}
.hours-list > div,
.booking-hours > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.hours-list strong,
.booking-hours strong {
  font-weight: 500;
}
.hours-list span,
.booking-hours span {
  color: var(--muted-foreground);
  text-align: right;
}
.hours-timezone {
  font-size: 12px !important;
  color: var(--muted-foreground);
  margin-top: 20px;
}
.insurance-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}
.insurance-grid > * {
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px;
}
.insurance-grid img {
  height: 70px;
  width: 160px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px;
}
.insurance-grid h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  margin-block: 24px 12px;
}
.insurance-grid p {
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.privacy-page h1 {
  margin-block: 24px 64px;
}
.privacy-page__body {
  max-width: 800px;
}
.privacy-page__body h2 {
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-block: 36px 16px;
}
.privacy-page__body p,
.privacy-page__body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted-foreground);
}
.privacy-page__body a {
  text-decoration: underline;
}
.privacy-page__body ul {
  list-style: disc;
  padding-left: 24px;
}
/* Booking is a working PHP-backed form, not the template's demo email signup. */
.booking-heading {
  max-width: 820px;
  margin-bottom: 64px;
}
.booking-heading h1 {
  margin-block: 24px;
}
.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr);
  gap: 32px;
  align-items: start;
}
.booking-panel {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  min-width: 0;
}
.booking-step-heading {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}
.booking-step-heading > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--muted);
  font-size: 12px;
}
.booking-step-heading h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.25;
}
.booking-step-heading p {
  font-size: 13px;
  color: var(--muted-foreground);
  line-height: 1.6;
  margin-top: 8px;
}
.booking-services {
  display: grid;
  gap: 12px;
}
.booking-service {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px;
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--card);
  transition:
    background 0.2s,
    border 0.2s;
}
.booking-service:hover {
  background: var(--muted);
}
.booking-service[aria-pressed="true"] {
  background: var(--sage);
  border-color: #879376;
  color: #20251f;
}
.booking-service > span {
  display: grid;
  gap: 7px;
}
.booking-service strong {
  font-size: 16px;
  font-weight: 500;
}
.booking-service > span > span {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-foreground);
}
.booking-service[aria-pressed="true"] > span > span {
  color: #536046;
}
.booking-service b {
  flex: none;
  font-size: 11px;
  font-weight: 400;
}
.booking-selection {
  margin-block: 20px;
  color: var(--muted-foreground);
  font-size: 12px;
}
.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.booking-step-heading--form,
.booking-field--full,
.booking-summary,
.consent,
.field-error--full,
.booking-form > .button {
  grid-column: 1/-1;
}
.booking-field {
  display: grid;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  align-content: start;
}
.booking-field input {
  width: 100%;
  min-width: 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--muted);
  font-size: 16px;
  font-weight: 400;
}
.booking-field input[aria-invalid="true"] {
  border-color: #b43f3f;
}
.booking-field > small {
  font-weight: 400;
}
.field-error {
  color: #b43f3f;
  font-size: 12px;
  line-height: 1.5;
}
.booking-summary {
  padding: 20px;
  border-radius: 16px;
  background: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}
.booking-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted-foreground);
  line-height: 1.65;
}
.consent input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: #2a3322;
  margin-top: 2px;
}
.consent a {
  color: var(--foreground);
  text-decoration: underline;
}
.booking-result:not(:empty) {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 24px;
  line-height: 1.7;
}
.booking-result a {
  text-decoration: underline;
}
.booking-aside {
  padding: 32px;
  border-radius: 24px;
  background: var(--muted);
}
.booking-aside__eyebrow {
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted-foreground);
}
.booking-aside h2 {
  font-size: 38px;
  margin-top: 20px;
}
.booking-aside > p,
.booking-aside address {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted-foreground);
  margin-top: 16px;
}
.booking-call {
  display: block;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-top: 24px;
}
.booking-aside__divider {
  height: 1px;
  background: var(--border);
  margin-block: 28px;
}
.booking-aside h3 {
  font-size: 14px;
  font-weight: 500;
}
.booking-map-link {
  display: inline-block;
  font-size: 12px;
  margin-top: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
}
.booking-hours > div {
  font-size: 12px;
  gap: 12px;
}
.booking-hours span {
  max-width: 160px;
}
.cookie-panel {
  position: fixed;
  z-index: 100;
  inset: auto 20px 20px auto;
  width: min(520px, 100% - 40px);
  max-height: calc(100svh - 40px);
  overflow: auto;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 16px 64px #0002;
}
.cookie-panel h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.03em;
  margin-block: 12px;
}
.cookie-panel p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.cookie-panel a {
  display: inline-block;
  font-size: 12px;
  margin-top: 12px;
  text-decoration: underline;
}
.cookie-panel__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-block: 24px;
  font-size: 12px;
}
.cookie-panel__choices label {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cookie-panel__choices input {
  accent-color: #384330;
}
.cookie-panel__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cookie-panel__buttons button {
  flex: 1;
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px;
  font-size: 11px;
  line-height: 1.4;
}
.cookie-panel__buttons button:last-child {
  background: var(--foreground);
  color: var(--background);
}
@media (max-width: 1200px) {
  .price-catalog {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 24px;
  }
  .price-table th,
  .price-table td {
    padding: 16px 12px;
  }
  .template-fallback-nav nav {
    gap: 16px;
  }
  .booking-layout {
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
  }
}
@media (max-width: 992px) {
  :root {
    --shell: calc(100% - 64px);
  }
  .template-block > section {
    padding-inline: 32px;
  }
  .price-page__hero,
  .editorial-hero__body {
    gap: 32px;
  }
  .price-catalog {
    grid-template-columns: 1fr;
  }
  .price-categories {
    position: static;
    padding: 20px;
  }
  .price-categories nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }
  .price-categories nav a {
    font-size: 12px;
  }
  .price-categories nav a small {
    margin-left: 6px;
  }
  .price-categories > p {
    max-width: 600px;
    padding-top: 12px;
  }
  .editorial-card-grid,
  .technology-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contact-cards > a:last-child {
    grid-column: 1/-1;
  }
  .editorial-cta {
    gap: 32px;
    padding: 32px;
  }
  .booking-layout {
    grid-template-columns: 1fr;
  }
  .booking-aside {
    display: block;
  }
  .insurance-partners {
    gap: 32px;
  }
  .fallback-hero {
    gap: 32px;
  }
  .fallback-hero > img {
    height: 460px;
  }
  .technology-demo {
    gap: 32px;
  }
  .technology-demo__stage {
    height: 420px;
  }
  .hours-list {
    max-width: 100%;
  }
}
@media (max-width: 768px) {
  :root {
    --shell: calc(100% - 48px);
  }
  .template-block > section {
    padding-inline: 24px;
  }
  .template-fallback-nav > .template-container {
    display: block;
    padding-block: 16px;
  }
  .template-fallback-nav nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    font-size: 12px;
  }
  .template-fallback-nav .button {
    font-size: 12px;
    min-height: 34px;
    padding: 8px 12px;
  }
  .template-brand {
    font-size: 22px;
  }
  .fallback-hero {
    padding-block: 124px 80px;
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .fallback-hero h1 {
    font-size: 44px;
  }
  .fallback-hero > img {
    height: 460px;
  }
  .fallback-section {
    padding-block: 44px;
  }
  .fallback-actions {
    gap: 16px;
  }
  .fallback-hero p {
    font-size: 16px;
  }
  .clinic-notice {
    flex-direction: column;
    align-items: stretch;
    margin-top: 96px;
    padding: 20px;
    gap: 20px;
  }
  .clinic-notice img {
    width: 100%;
    height: 180px;
    max-height: none;
  }
  .clinic-notice p {
    font-size: 17px;
  }
  .insurance-partners {
    grid-template-columns: 1fr;
    padding-block: 44px;
  }
  .insurance-partners h2 {
    font-size: 34px;
  }
  .insurance-partners > div:last-child {
    justify-content: flex-start;
    gap: 20px;
  }
  .template-offers {
    padding-block: 44px;
  }
  .price-page,
  .editorial-page,
  .booking-page,
  .privacy-page {
    padding-top: 124px;
    padding-bottom: 64px;
  }
  .price-page__hero,
  .editorial-hero__body {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-block: 24px 40px;
  }
  .price-page h1,
  .editorial-hero h1,
  .booking-heading h1,
  .privacy-page h1 {
    font-size: 44px;
  }
  .price-page__hero p,
  .editorial-hero__body p,
  .booking-heading > p {
    font-size: 16px;
  }
  .price-tools {
    padding: 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .price-search {
    max-width: none;
    flex-basis: 100%;
  }
  .price-reset {
    margin-left: auto;
    font-size: 12px;
  }
  .price-table,
  .price-table tbody {
    display: block;
  }
  .price-table thead {
    display: none;
  }
  .price-table tbody tr {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 18px;
  }
  .price-table tbody tr:last-child {
    border: 0;
  }
  .price-table tbody th {
    grid-column: 1/-1;
    display: block;
    width: auto;
    border: 0;
    padding: 0 0 16px;
    font-size: 14px;
  }
  .price-table td {
    display: block;
    border: 0;
    padding: 0 12px 0 0;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .price-table td:last-child {
    padding: 0;
  }
  .price-cell-label {
    display: block;
    font-size: 9px;
    font-weight: 400;
    color: var(--muted-foreground);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
  }
  .price-group__heading {
    padding: 20px;
    gap: 12px;
  }
  .price-group__heading h2 {
    font-size: 20px;
  }
  .price-group__heading small {
    display: none;
  }
  .price-group__note {
    padding: 18px;
  }
  .price-page__footer {
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
  }
  .price-page__footer p {
    font-size: 24px;
  }
  .editorial-section {
    padding-block: 44px;
  }
  .editorial-section__heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 28px;
  }
  .editorial-section h2,
  .editorial-cta h2 {
    font-size: 34px;
  }
  .editorial-section__heading p,
  .editorial-section > p {
    font-size: 16px;
  }
  .editorial-card-grid,
  .editorial-steps,
  .technology-grid,
  .contact-cards,
  .insurance-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .editorial-card-grid article,
  .editorial-steps li,
  .technology-grid article,
  .contact-cards > a,
  .insurance-grid > * {
    padding: 28px;
  }
  .editorial-cta {
    grid-template-columns: 1fr;
    padding: 28px;
    gap: 24px;
    border-radius: 24px;
  }
  .editorial-cta p {
    font-size: 16px;
  }
  .technology-demo {
    grid-template-columns: 1fr;
  }
  .technology-demo__stage {
    height: 400px;
  }
  .booking-heading {
    margin-bottom: 40px;
  }
  .booking-panel,
  .booking-aside {
    padding: 24px;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .booking-service {
    padding: 16px;
    gap: 12px;
  }
  .booking-service strong {
    font-size: 14px;
  }
  .booking-service b {
    font-size: 10px;
  }
  .booking-step-heading {
    gap: 12px;
  }
  .booking-step-heading h2 {
    font-size: 22px;
  }
  .booking-field {
    grid-column: 1/-1;
  }
  .booking-call {
    font-size: 26px;
  }
  .cookie-panel {
    inset: auto 12px 12px;
    width: calc(100% - 24px);
    max-height: calc(100svh - 24px);
    padding: 24px;
  }
  .cookie-panel__buttons {
    flex-direction: column;
  }
  .cookie-panel__buttons button {
    flex: auto;
    font-size: 12px;
  }
  .privacy-page__body p,
  .privacy-page__body li {
    font-size: 15px;
  }
  .hours-list > div {
    font-size: 13px;
  }
  .hours-list span {
    max-width: 52%;
  }
}
@media (max-width: 480px) {
  :root {
    --shell: calc(100% - 40px);
  }
  .template-block > section {
    padding-inline: 20px;
  }
  .fallback-hero h1 {
    font-size: 36px;
  }
  .fallback-hero > img {
    height: 420px;
  }
  .price-page h1,
  .editorial-hero h1,
  .booking-heading h1,
  .privacy-page h1 {
    font-size: 38px;
  }
  .price-search kbd {
    display: none;
  }
  .price-categories {
    padding: 16px 12px;
  }
  .price-categories nav a {
    font-size: 11px;
    padding: 9px;
  }
  .price-group__heading h2 {
    font-size: 18px;
  }
  .price-table tbody tr {
    padding: 16px;
  }
  .price-table td {
    font-size: 11px;
  }
  .booking-panel,
  .booking-aside {
    padding: 20px;
  }
  .booking-service {
    flex-wrap: wrap;
  }
  .booking-service b {
    margin-left: auto;
  }
  .booking-service > span {
    width: 100%;
  }
  .booking-continue {
    width: 100%;
    font-size: 13px;
    padding-inline: 16px;
  }
  .booking-aside h2 {
    font-size: 34px;
  }
  .editorial-card-grid article,
  .editorial-steps li,
  .technology-grid article,
  .contact-cards > a,
  .insurance-grid > * {
    padding: 24px;
  }
  .hours-list > div {
    gap: 16px;
    font-size: 12px;
  }
  .clinic-notice {
    margin-top: 92px;
  }
  .template-fallback-nav .template-brand {
    font-size: 20px;
  }
}
/* Existing editorial steps use either an ordered list or plain section children. */
.editorial-steps > div {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--card);
}
.editorial-steps > div > b,
.editorial-card-grid article > span {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-foreground);
}
.technology-demo > div:first-child > p {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted-foreground);
}
.technology-demo > div:first-child > small {
  display: block;
  margin-top: 16px;
  font-size: 12px;
  color: var(--muted-foreground);
}
.insurance-grid > div {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}
.editorial-card-grid:has(> article:nth-child(4)) {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.tooth-canvas {
  display: block;
  width: 100%;
  height: 100%;
}
@media (max-width: 768px) {
  .editorial-steps > div {
    padding: 28px;
  }
  .editorial-card-grid:has(> article:nth-child(4)) {
    grid-template-columns: 1fr;
  }
  .technology-demo > div:first-child > p {
    font-size: 15px;
  }
}
@media (max-width: 480px) {
  .editorial-steps > div {
    padding: 24px;
  }
}
/* Diamond Clinic identity, shared by the template blocks and PHP routes. */
:root { --font-instrument-sans: "Manrope"; --sage: #e1ebdd; }
.dark { --sage: #303d36; }
body { font-size: 16px; line-height: 1.6; }
h1,h2,h3 { text-wrap: balance; }
a,button { touch-action: manipulation; }
.clinic-logo { display: block; width: 112px; line-height: 0; }
.clinic-logo img { width: 100%; height: auto; }
.clinic-symbol { display: block; width: 32px; }
.brand-dark { display: none; }
.dark .brand-light { display: none; }
.dark .brand-dark { display: block; }
#templateNav .template-fallback-nav { background: var(--background); }
#templateNav header nav { margin-left: auto; }
#templateNav .template-fallback-nav a[href="/booking/"] { background: var(--foreground); color: var(--background); padding: 13px 22px; border-color: var(--foreground); }
#templateNav dialog .clinic-logo { width: 100px; }
#templateNav dialog nav { margin: 0; }
#templateFooter { background: var(--muted); }
#templateFooter .clinic-logo { width: 132px; }
#templateFooter footer > div > div:last-child { padding-right: 100px; }
.clinic-hero { padding: calc(var(--header-height) + 52px) 0 60px; border-bottom: 1px solid var(--border); }
.clinic-hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px,6vw,96px); align-items: center; }
.clinic-hero__copy { min-width: 0; padding-bottom: 24px; }
.hero-location { display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 600; letter-spacing: .03em; margin-bottom: 32px; }
.status-dot { width: 7px; height: 7px; background: #688f65; border-radius: 50%; flex: none; }
.clinic-hero h1 { font-size: clamp(42px,4.5vw,67px); font-weight: 400; line-height: 1.13; letter-spacing: -.055em; max-width: 650px; }
.hero-intro { margin: 28px 0 36px; color: var(--muted-foreground); max-width: 420px; font-size: 17px; line-height: 1.8; }
.hero-address { margin-top: 30px; display: inline-flex; gap: 10px; align-items: center; font-size: 12px; color: var(--muted-foreground); }
.hero-photo { position: relative; height: clamp(460px,43vw,610px); border-radius: 24px; overflow: hidden; background: var(--muted); }
.hero-photo__frame { position: absolute; inset: 0; }
.hero-photo img { object-fit: cover; object-position: center 48%; }
.hero-hours { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 13px 16px; border-radius: 12px; background: var(--card); color: var(--foreground); display: inline-flex; align-items: center; gap: 10px; font-size: 12px; max-width: calc(100% - 36px); }
.hero-photo__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.hero-photo__footer p { font-size: 11px; color: var(--muted-foreground); }
.photo-tabs { display: flex; }
.photo-tabs button { width: 30px; height: 44px; display: grid; place-items: center; }
.photo-tabs span { width: 6px; height: 6px; border-radius: 100%; background: var(--foreground); opacity: .25; }
.photo-tabs [aria-selected="true"] span { opacity: 1; }
.insurance-partners { border-bottom: 1px solid var(--border); grid-template-columns: 1fr 1.5fr; padding-block: 38px; gap: 32px; }
.insurance-partners h2 { font-size: 21px; line-height: 1.35; margin-block: 8px; letter-spacing: -.03em; }
.insurance-partners .text-link { font-size: 12px; }
.insurance-partners img { width: 88px; height: 48px; padding: 8px; border: 1px solid var(--border); border-radius: 10px; }
.insurance-partners > div:last-child { justify-content: flex-end; gap: 12px; }
.template-block > section { border-top: 1px solid var(--border); background: var(--background); }
.template-block .contact-intro { margin: -32px 0 36px; color: var(--muted-foreground); max-width: 600px; line-height: 1.7; }
.service-link { display: inline-block; padding-block: 10px; }
.service-link > span { opacity: .4; margin-left: 6px; font-size: .7em; }
.service-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.editorial-photo { width: 100%; height: 480px; object-fit: cover; border-radius: 24px; margin-bottom: 64px; }
.team-story { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.team-story > img { width: 100%; height: 580px; object-fit: cover; object-position: center; border-radius: 24px; }
.team-story h2 { margin: 20px 0 24px; }
.team-story p { color: var(--muted-foreground); margin-bottom: 18px; line-height: 1.8; }
.team-story a { margin-top: 12px; }
.clinic-photo-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin-top: 32px; }
.clinic-photo-grid img { width: 100%; height: 390px; object-fit: cover; border-radius: 20px; }
.clinic-photo-grid figcaption { color: var(--muted-foreground); font-size: 12px; padding-top: 12px; }
.contact-location { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-location > img { width: 100%; height: 440px; object-fit: cover; border-radius: 24px; }
.contact-location .editorial-section__heading { display: block; margin-bottom: 20px; }
.contact-location .editorial-section__heading p { margin-top: 24px; }
.booking-panel { background: var(--card); }
.booking-service[aria-pressed="true"] { color: var(--foreground); border-color: var(--ring); background: var(--sage); }
.booking-service[aria-pressed="true"] > span > span { color: var(--muted-foreground); }
.booking-field:has(input:focus-visible) { color: var(--foreground); }
.booking-field[data-invalid] input { border-color: #b43f3f; }
.dark .field-error { color: #ffb7a9; }
.booking-field > small:not(.field-error) { display: inline; }
.booking-form { scroll-margin-top: calc(var(--header-height) + 24px); }
.hours-timezone { line-height: 1.7; }
.technology-demo small { display: block; color: var(--muted-foreground); font-size: 12px; margin-top: 16px; }
.editorial-steps > div { padding: 24px; border: 1px solid var(--border); border-radius: 20px; }
.breadcrumbs { font-size: 11px; margin-bottom: 30px; color: var(--muted-foreground); display: flex; gap: 10px; }
.breadcrumbs a:hover { text-decoration: underline; }
.clinic-notice { margin-top: calc(var(--header-height) + 24px); background: var(--sage); color: var(--foreground); }
main:has(.clinic-notice) .clinic-hero { padding-top: 40px; }
.cookie-panel { width: min(440px,100% - 32px); padding: 24px; border-radius: 20px; }
.cookie-panel__buttons button { min-height: 44px; font-size: 12px; flex-basis: 44%; }
.cookie-panel__buttons button:last-child { flex-basis: 100%; }
@media (max-width: 1100px) {
 #templateNav header nav { gap: 18px; font-size: 13px; }
 .clinic-hero__grid { gap: 36px; }
 .insurance-partners { grid-template-columns: 1fr 1.2fr; }
 .team-story { gap: 36px; }
}
@media (max-width: 768px) {
 :root { --header-height: 88px; }
 #templateNav header > div { height: 88px; }
 .clinic-logo { width: 94px; }
 .clinic-hero { padding: 124px 0 40px; }
 .clinic-hero__grid { grid-template-columns: 1fr; gap: 30px; }
 .clinic-hero__copy { padding-bottom: 0; }
 .clinic-hero h1 { font-size: clamp(37px,7.7vw,56px); max-width: 620px; }
 .hero-location { margin-bottom: 24px; font-size: 10px; gap: 8px; }
 .hero-intro { font-size: 15px; line-height: 1.8; margin: 22px 0 28px; max-width: 520px; }
 .hero-address { margin-top: 24px; }
 .hero-photo { height: 440px; border-radius: 20px; }
 .hero-photo img { object-position: center 47%; }
 .hero-photo__footer { gap: 4px; }
 .hero-photo__footer p { font-size: 10px; }
 .hero-hours { font-size: 11px; left: 14px; bottom: 14px; }
 .insurance-partners { grid-template-columns: 1fr; gap: 22px; padding-block: 30px; }
 .insurance-partners > div:last-child { justify-content: flex-start; gap: 10px; }
 .insurance-partners img { width: 78px; height: 44px; }
 #services > div:last-child { padding-inline: 24px; }
 #services ul { display: grid; grid-template-columns: 1fr 1fr; width: 100%; transform: none !important; gap: 10px; }
 #services li { font-size: 13px; white-space: normal; gap: 10px; align-items: center; }
 #services li[data-copy="true"] { display: none; }
 #services li > span { width: 40px; height: 48px; transform: none; }
 #services .service-link { line-height: 1.5; }
 #templateFooter footer > div > div:last-child { padding-right: 0; padding-bottom: 90px; }
 .template-block .contact-intro { margin: 0 0 28px; }
 .editorial-photo { height: 360px; margin-bottom: 40px; }
 .team-story,.contact-location { grid-template-columns: 1fr; gap: 32px; }
 .team-story > img { height: auto; max-height: 660px; }
 .clinic-photo-grid { gap: 20px; grid-template-columns: 1fr; }
 .clinic-photo-grid img { height: 400px; }
 .contact-location > img { height: 360px; }
 .price-categories { padding: 18px 12px; }
 .price-categories nav { gap: 4px; }
 .price-categories nav a { padding: 10px; min-height: 44px; }
 .price-page,.editorial-page,.booking-page,.privacy-page { padding-top: 124px; }
 .editorial-hero__body { margin-top: 22px; }
 .editorial-hero h1,.price-page h1,.booking-heading h1,.privacy-page h1 { font-size: clamp(36px,8vw,48px); }
 .cookie-panel { right: 16px; bottom: 16px; max-height: calc(100svh - 32px); }
}
@media (max-width: 480px) {
 .hero-photo { height: 380px; }
 .clinic-hero__copy > div > div { gap: 10px; }
 .hero-location { letter-spacing: 0; }
 .clinic-hero h1 { font-size: clamp(34px,9.2vw,43px); }
 .clinic-hero__copy a[href="/booking/"],.clinic-hero__copy a[href="/cenik/"] { font-size: 13px; padding-inline: 18px; }
 #services > div:last-child { padding-inline: 20px; }
 #services li > span { width: 34px; height: 42px; }
 #services li { gap: 8px; font-size: 12px; }
 .hero-photo__footer p { max-width: 220px; }
 .photo-tabs button { width: 24px; }
 .hours-list > div,.booking-hours > div { flex-wrap: wrap; gap: 8px; }
 .hours-list span,.booking-hours span { text-align: left; }
 .editorial-photo { height: 280px; }
 .contact-location > img { height: 320px; }
}
.breadcrumbs { left: 0; right: 0; }
#templateFooter nav { min-width: 0; }
#templateFooter nav a { max-width: 100%; overflow-wrap: anywhere; }
#templateFooter nav a svg { flex-shrink: 0; }
@media (max-width: 360px) {
  #templateFooter footer > div > div:first-child { grid-template-columns: 1fr; }
}
/* Keep the controls reachable without covering the last footer links. */
#templateFooter [aria-label="Вигляд і анімація"] { right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); }
@media (max-width: 768px) { .template-fallback-nav { position: absolute; } }

/* React Bits Pro integration: original blocks own their layout. */
.rb-home { --rb-section-min-h: 0px; }
.rb-home > section:first-child { padding-top: calc(var(--header-height) + 64px); }
.rb-home #services > div:last-child { padding-inline: 0; }
#templateNav header > div { height: auto; }
#templateNav header nav { margin-left: 0; }
#templateNav .template-fallback-nav a[href="/booking/"] { padding: 10px 18px; }
#templateNav .clinic-logo { width: 96px; }
.rb-home #why img { object-position: center 18%; }
.rb-home > section:first-child > div > div > div:last-child img { object-position: center 43%; }
.rb-home #contact a[href^="mailto:"] { overflow-wrap: anywhere; }
@media(max-width:639px) {
 .rb-home > section:first-child { padding-top: calc(var(--header-height) + 32px); }
 .rb-home > section:first-child h1 > span[aria-hidden] > div { font-size: clamp(26px,7.4vw,44px); line-height: 1.12; }
 .rb-home #contact .absolute.inset-6 { inset: 16px; padding: 24px; }
}

/* Public type roles and quieter surfaces. Critical information never uses tiny metadata type. */
body,button,input,select,textarea { font-family: var(--font-sans); }
.booking-panel { border: 0; padding: 0; border-radius: 0; }
.booking-service { border-color: transparent; border-radius: 12px; background: var(--muted); padding: 20px; min-height: 100px; }
.booking-service:hover { background: var(--sage); }
.booking-service[aria-pressed="true"] { border-color: transparent; box-shadow: inset 3px 0 0 var(--brand-gold); background: var(--sage); }
.booking-service strong { font-size: var(--type-body); line-height: 1.5; font-weight: 600; }
.booking-service > span > span { font-size: var(--type-small); line-height: 1.6; color: var(--muted-foreground); }
.booking-service b { font-size: var(--type-small); line-height: 1.5; font-weight: 600; color: var(--foreground); white-space: nowrap; }
.booking-step-heading p,.booking-selection,.booking-field,.consent,.field-error,.booking-summary { font-size: var(--type-small); line-height: var(--leading-body); }
.booking-aside > p,.booking-aside address,.booking-map-link { font-size: var(--type-small); line-height: var(--leading-body); }
.booking-aside h3 { font-size: var(--type-body); line-height: 1.5; font-weight: 600; }
.hours-list > div,.booking-hours > div { font-size: var(--type-body); line-height: var(--leading-body); gap: 12px; align-items: start; }
.hours-list span,.booking-hours span { color: var(--foreground); opacity: 1; }
.hours-list strong,.booking-hours strong { font-weight: 500; }
.hours-timezone { font-size: var(--type-small) !important; line-height: var(--leading-body); }
.booking-hours > div { display: grid; grid-template-columns: 1fr; gap: 4px; }
.booking-hours span { max-width: none; text-align: left; }
.contact-cards small,.clinic-photo-grid figcaption,.contact-social,.price-search-label,.price-results-count { font-size: var(--type-small); line-height: var(--leading-body); }
.breadcrumbs,.eyebrow,.section-label,.booking-aside__eyebrow { font-size: 13px; line-height: 1.6; }
.contact-cards > a,.insurance-grid > *,.editorial-steps > div { border-color: transparent; background: var(--muted); }
#templateNav header nav { border-color: transparent; }
#templateNav .template-fallback-nav a[href="/booking/"] { border-color: transparent; }
.floating-theme { right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); }
.footer-preferences { color: var(--muted-foreground); }
@media(max-width:639px) {
 .booking-service { padding: 18px; min-height: 110px; align-items: start; }
 .booking-service > span { min-width: 0; }
 .booking-service b { padding-top: 2px; }
 .hours-list > div { display: grid; grid-template-columns: 1fr; gap: 4px; }
 .hours-list span { text-align: left; }
}

/* Data-heavy pages use the same readable text roles as the React Bits sections. */
.price-tools { border-color: transparent; background: transparent; padding: 0; }
.price-categories { border-color: transparent; }
.price-group { border-color: transparent; background: var(--card); border-radius: 16px; }
.price-table,.price-table td,.price-table th,.price-table thead th,.price-table tbody th { font-size: var(--type-small); line-height: var(--leading-body); }
.price-cell-label,.price-item-note,.price-group__note,.price-group__heading small,.price-group__heading > span,.price-result-count,.price-reset,.price-categories nav a,.price-categories small,.price-categories > p,.price-search kbd { font-size: var(--type-small); line-height: 1.5; }
.price-cell-label { text-transform: none; letter-spacing: 0; }
.price-search input { font-size: var(--type-body); line-height: 1.5; }
.editorial-card-grid article,.editorial-steps li,.technology-grid article { border-color: transparent; background: var(--muted); }
#templateFooter .rb-footer > div > div:last-child { padding-right: 0; padding-bottom: 0; }
.rb-footer .clinic-logo { width: 112px; }
.rb-footer nav a { line-height: 1.65; }
.rb-footer .footer-preferences { font-size: var(--type-small); line-height: 1.65; }
.footer-appointment-panel a:focus-visible { outline-color: #d4b575; }
@media(max-width:359px) {
 .booking-service { flex-wrap: nowrap; gap: 14px; }
 .booking-service > span { width: auto; flex: 1; }
 .booking-service b { margin-left: 0; }
}

.booking-service { flex-wrap: nowrap; gap: 16px; }
.booking-service > span { width: auto; flex: 1; min-width: 0; }
.booking-service b { margin-left: 0; align-self: flex-start; }
body[data-page] main small { font-size: var(--type-small); line-height: 1.5; }
.cookie-panel p,.cookie-panel label,.cookie-panel__buttons button { font-size: var(--type-small); line-height: 1.6; }

/* Native frosted glass: flat tints and a restrained edge, with opaque fallbacks. */
:root {
 --glass-fill: rgba(241,247,240,.87);
 --glass-edge: rgba(255,255,255,.65);
 --glass-highlight: rgba(255,255,255,.72);
 --glass-shadow: 0 8px 32px -16px rgba(15,49,38,.22);
 --glass-green: rgba(21,67,53,.92);
 --glass-green-hover: rgba(26,79,62,.95);
}
.dark {
 --glass-fill: rgba(32,35,38,.90);
 --glass-edge: rgba(243,240,233,.10);
 --glass-highlight: rgba(243,240,233,.10);
 --glass-shadow: 0 12px 32px -16px rgba(0,0,0,.5);
 --glass-green: rgba(61,91,76,.96);
 --glass-green-hover: rgba(73,105,89,.98);
}
.glass-surface,.glass-button,.button,.floating-theme,.booking-aside,
.contact-cards > a,.editorial-card-grid article,.editorial-steps li,
.editorial-steps > div,.technology-grid article,.booking-summary {
 background-color: var(--glass-fill);
 border: 1px solid var(--glass-edge);
 box-shadow: inset 0 1px 0 var(--glass-highlight),var(--glass-shadow);
 -webkit-backdrop-filter: blur(20px) saturate(120%);
 backdrop-filter: blur(20px) saturate(120%);
 color: var(--foreground);
}
.glass-button,.button { min-height: 44px; line-height: 1.5; transition: background-color .2s,box-shadow .2s,transform .2s; }
.glass-button:hover,.button:hover { background-color: var(--sage); }
.glass-button--green,.button:not(.button--secondary),#templateNav .glass-button--green {
 background: var(--glass-green); color: #f4f8ee;
 border-color: rgba(255,255,255,.17);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.20),0 5px 18px -10px rgba(9,42,30,.5);
}
.glass-button--green:hover,.button:not(.button--secondary):hover,#templateNav .glass-button--green:hover { background: var(--glass-green-hover); }
.button:disabled { opacity: .45; box-shadow: none; cursor: not-allowed; }
#templateNav .rb-navigation-12 { background: transparent; }
#templateNav .nav-glass { height: 84px; border: 1px solid var(--glass-edge); margin: 0; }
#templateNav .nav-glass .clinic-logo { width: 100px; }
#templateNav .nav-glass a { flex-shrink: 0; }
#templateNav .nav-glass > div > a:not(.glass-button) { color: var(--muted-foreground); }
#templateNav .nav-glass-indicator { background: color-mix(in srgb,var(--foreground) 8%,transparent); box-shadow: inset 0 1px 0 var(--glass-highlight); }
#templateNav .nav-mobile { background-color: color-mix(in srgb,var(--background) 95%,transparent); border-color: var(--glass-edge); }
#templateNav .nav-mobile a:not(.glass-button) { color: var(--foreground); }
#templateNav .nav-mobile-wrapper { max-height: calc(100svh - 116px); overflow-y: auto; overscroll-behavior: contain; }
#templateNav .nav-mobile a { min-height: 48px; }
.rb-home .contact-glass {
 background: rgba(20,58,46,.54);
 border-color: rgba(235,248,231,.25);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.24),0 12px 30px -20px rgba(0,0,0,.5);
 -webkit-backdrop-filter: blur(22px) saturate(115%);
 backdrop-filter: blur(22px) saturate(115%);
}
.rb-home .contact-glass p { color: #f4f7ef; line-height: 1.6; }
.rb-home .contact-glass a { min-height: 44px; }
.editorial-cta {
 position: relative; isolation: isolate; overflow: hidden;
 background: #163f32; color: #f4f8ee;
 border: 1px solid rgba(232,247,224,.22);
 box-shadow: inset 0 1px 0 rgba(255,255,255,.2),var(--glass-shadow);
}
.editorial-cta::before {
 content: ""; position: absolute; inset: -16px; z-index: -2;
 background: url('/images/clinic-lounge-640.webp') center/cover; opacity: .24;
 filter: blur(8px);
}
.editorial-cta::after {
 content: ""; position: absolute; inset: 0; z-index: -1;
 background: rgba(15,54,40,.55);
 -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.editorial-cta h2,.editorial-cta p,.editorial-cta .eyebrow { color: #f4f8ee; }
.editorial-cta .button { background: rgba(238,246,229,.94); color: #163f32; }
.booking-aside { border-radius: 24px; }
.booking-aside > p,.booking-aside address { color: var(--muted-foreground); }
.floating-theme { padding: 3px; }
#templateFooter { background: var(--background); }
#templateFooter .rb-footer-7 { padding-bottom: 88px; }
#templateFooter .rb-footer-7 .clinic-logo { width: 158px; }
#templateFooter .rb-footer-7 nav a { line-height: 1.4; }
.rb-footer-7 a,.rb-footer-7 button { text-underline-offset: 4px; }
.rb-footer-7 a:hover { text-decoration: underline; }
.rb-footer-7 .footer-whatsapp:hover { text-decoration: none; }
.rb-footer-7 .footer-icon { display: grid; place-items: center; width: 44px; height: 44px; margin: -8px; }
.rb-footer-7 .footer-whatsapp { gap: 8px; }
.rb-footer-7 .footer-whatsapp > .glass-button { -webkit-backdrop-filter: none; backdrop-filter: none; }
.rb-footer-7 .footer-brand { display: inline-block; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--ring); outline-offset: 4px; }
@media(max-width:1023px) {
 #templateNav .nav-glass { height: 76px; padding-left: 22px; }
 #templateNav .nav-glass .clinic-logo { width: 90px; }
}
@media(max-width:639px) {
 #templateNav .rb-navigation-12 { padding: 12px 16px; }
 #templateNav .nav-glass { height: 72px; }
 #templateNav .nav-glass .clinic-logo { width: 84px; }
 .rb-home > section:first-child { padding-top: 128px; }
 .rb-footer-7 .footer-whatsapp { gap: 2px; }
 .rb-footer-7 .footer-whatsapp > span:first-child { padding-inline: 14px; }
 .rb-footer-7 .footer-whatsapp > .glass-button { padding-inline: 16px; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
 .glass-surface,.glass-button,.button,.floating-theme,.booking-aside { background-color: var(--muted); }
 .glass-button--green,.button:not(.button--secondary),#templateNav .glass-button--green { background-color: #174b39; }
 .rb-home .contact-glass { background: #174133; }
}

@media(prefers-reduced-motion:reduce) {
 .glass-button,.button,.footer-whatsapp svg { transition: none; transform: none; }
}

#templateFooter .rb-footer-7 a { line-height: 1.5; }

/* Dark mode: graphite foundations, warm neutral text, restrained forest accents. */
.dark .rb-home .contact-glass { background: rgba(25,39,34,.72); border-color: rgba(243,240,233,.16); }
.dark .editorial-cta { background: #202b26; border-color: rgba(243,240,233,.12); }
.dark .editorial-cta::after { background: rgba(25,39,32,.70); }
.dark .editorial-cta .button { background: rgba(236,234,224,.95); color: #25362c; }

/* An anatomical model leads the page; existing React Bits sections follow. */
.rb-home > section.tooth-hero { padding: 116px 32px 32px; overflow: hidden; }
.tooth-hero__inner { max-width: 1400px; margin-inline: auto; }
.tooth-hero__visual { height: 640px; position: relative; isolation: isolate; }
.tooth-hero__location { position: absolute; top: 18px; left: 0; z-index: 3; font-size: 14px; color: var(--muted-foreground); }
.tooth-hero__model { position: absolute; inset: 0 12%; }
.tooth-hero h1 { position: absolute; left: 0; bottom: 112px; z-index: 2; font-size: clamp(60px,6.3vw,96px); line-height: 1.04; letter-spacing: -.055em; font-weight: 500; white-space: pre-line; color: #fff; mix-blend-mode: difference; pointer-events: none; max-width: 1100px; }
.tooth-hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 18px; }
.tooth-hero__bottom > p { max-width: 520px; font-size: 16px; line-height: 1.65; color: var(--muted-foreground); }
.tooth-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.tooth-hero__actions a { display: inline-flex; justify-content: center; align-items: center; padding: 14px 24px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.tooth-experience { position: relative; width: 100%; height: 100%; min-height: 360px; }
.tooth-viewport { position: absolute; inset: 0 0 92px; outline-offset: -4px; border-radius: 24px; }
.tooth-viewport:focus-visible { outline: 2px solid var(--ring); }
.tooth-viewport canvas { display: block; cursor: grab; }
.tooth-viewport canvas:active { cursor: grabbing; }
.tooth-poster { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s; pointer-events: none; }
.tooth-poster img { width: 130px; height: auto; opacity: .45; }
.tooth-experience[data-ready="true"] .tooth-poster { opacity: 0; }
.tooth-controls { position: absolute; z-index: 4; inset: auto 0 0; display: grid; justify-items: center; gap: 10px; }
.tooth-toolbar { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; padding: 6px; border-radius: 20px; max-width: 100%; }
.tooth-modes,.tooth-tools { display: inline-flex; align-items: center; gap: 2px; }
.tooth-toolbar button { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border-radius: 14px; background: transparent; padding: 8px 12px; font-size: 14px; line-height: 1.5; color: var(--foreground); transition: background .2s; }
.tooth-toolbar button[aria-pressed="true"] { background: var(--sage); }
.tooth-toolbar button:hover { background: var(--sage); }
.tooth-toolbar button:disabled { opacity: .5; }
.tooth-tools button { padding: 8px; }
.tooth-hint { font-size: 14px; line-height: 1.5; color: var(--muted-foreground); text-align: center; }
.touch-hint { display: none; }
.tooth-error { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 18px; padding: 24px; text-align: center; }
.tooth-error p { font-size: 16px; color: var(--muted-foreground); }
.tooth-error button { padding: 12px 24px; border-radius: 999px; }
.technology-demo__stage { height: 620px; background: transparent; overflow: visible; }
.technology-demo__stage .tooth-viewport { bottom: 112px; }
.technology-demo__stage .tooth-experience { min-height: 500px; }
.insurance-partners__panel { border-radius: 28px; padding: 36px 28px 24px; }
.insurance-partners__logos { gap: 8px; align-items: center; }
.insurance-partners__logo { background: transparent; min-height: 100px; }
.insurance-partners__logo img,.insurance-grid img { filter: grayscale(1) brightness(0); opacity: .72; transition: opacity .2s; }
.dark .insurance-partners__logo img,.dark .insurance-grid img { filter: grayscale(1) brightness(0) invert(1); opacity: .8; }
.insurance-partners__logo:hover img,.insurance-grid > div:hover img { opacity: 1; }
.insurance-grid > div { background: var(--glass-fill); border-radius: 20px; box-shadow: inset 0 1px 0 var(--glass-highlight); }
@media(max-width:1023px) {
 .tooth-hero__visual { height: 590px; }
 .tooth-hero__model { inset-inline: 4%; }
 .tooth-hero h1 { font-size: clamp(48px,7.5vw,76px); bottom: 110px; }
 .tooth-hero__bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
 .technology-demo__stage { height: 560px; }
}
@media(max-width:639px) {
 .rb-home > section.tooth-hero { padding: 112px 16px 24px; }
 .tooth-hero__visual { height: 520px; }
 .tooth-hero__location { position: relative; top: 0; font-size: 13px; margin-bottom: 14px; }
 .tooth-hero h1 { top: 32px; bottom: auto; font-size: clamp(30px,8.9vw,40px); line-height: 1.1; color: var(--foreground); mix-blend-mode: normal; }
 .tooth-hero__model { inset: 110px -8px 0; }
 .tooth-viewport { bottom: 112px; }
 .tooth-hero__bottom { margin-top: 14px; gap: 20px; }
 .tooth-hero__bottom > p { font-size: 16px; }
 .tooth-hero__actions { gap: 10px; }
 .tooth-hero__actions a { padding: 13px 19px; }
 .tooth-toolbar { gap: 4px; padding: 4px; border-radius: 18px; }
 .tooth-toolbar button { padding-inline: 10px; }
 .tooth-tools button { min-width: 40px; padding: 6px; }
 .tooth-hint { padding-inline: 8px; }
 .technology-demo__stage { height: 530px; }
 .technology-demo__stage .tooth-experience { min-height: 490px; }
 .insurance-partners__panel { padding: 28px 12px 16px; border-radius: 24px; }
 .insurance-partners__logo { min-height: 88px; padding: 20px 14px; }
}
@media(pointer:coarse) { .pointer-hint { display: none; } .touch-hint { display: inline; } }
@media(prefers-reduced-motion:reduce) { .tooth-poster,.tooth-toolbar button { transition: none; } }

.rb-insurance { display: block; }
.insurance-partners__panel { width: 100%; }
.insurance-partners__logo img,.insurance-grid img { background: transparent; border: 0; padding: 0; border-radius: 0; }
.tooth-poster img { position:absolute; width:100%; height:100%; object-fit:contain; opacity:1; }
.tooth-poster-dark { display:none; }
.dark .tooth-poster-light { display:none; }
.dark .tooth-poster-dark { display:block; }
.tooth-error { inset:12px 12px auto auto; width:min(280px,calc(100% - 24px)); padding:18px; border-radius:18px; gap:12px; background:var(--glass-fill); backdrop-filter:blur(18px); box-shadow:inset 0 1px 0 var(--glass-highlight); }
.tooth-hero__visual { background:var(--background); }

@media(max-width:639px) { .tooth-tools button { min-width:44px; } }
@media(max-width:360px) { .tooth-hero__model .tooth-viewport { bottom:158px; } }

/* Direct inspection: no toolbar; the lens itself is the pointer affordance. */
.tooth-experience--direct .tooth-viewport { inset:0; }
.technology-demo__stage .tooth-experience--direct .tooth-viewport { inset:0; }
.tooth-magnifier { position:absolute; z-index:5; mix-blend-mode:difference; transform:translate(-50%,-50%); pointer-events:none; opacity:0; transition:opacity .12s; }
.tooth-magnifier[data-visible="true"] { opacity:1; }
.tooth-magnifier svg { width:100%; height:100%; overflow:visible; }
.tooth-magnifier__edge { stroke:#fff; stroke-opacity:.48; stroke-width:1; }
.tooth-magnifier__shine { stroke:#fff; stroke-opacity:.65; stroke-width:1; }
.tooth-magnifier text { fill:#fff; stroke:none; font-family:inherit; font-size:8.5px; font-weight:500; letter-spacing:.8px; }
.tooth-canvas[data-inspecting="true"] canvas { cursor:none; }
.tooth-canvas[data-dragging="true"] canvas { cursor:grabbing; }
@media(max-width:639px) { .tooth-hero__model .tooth-experience--direct .tooth-viewport { bottom:14px; } .tooth-hero__visual { height:450px; } }
@media(prefers-reduced-motion:reduce) { .tooth-magnifier { transition:none; } }
.tooth-viewport [data-inspecting="true"] canvas { cursor:none; }
.tooth-viewport [data-dragging="true"] canvas { cursor:grabbing; }

@media(min-width:640px) { .tooth-hero__visual { height:580px; } .tooth-hero h1 { bottom:56px; } }

/* Quiet editorial hero: copy and anatomy occupy separate columns. */
.rb-home > section.tooth-hero { padding:116px 32px 36px; }
.tooth-hero__inner { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.1fr); align-items:center; gap:32px; }
.tooth-hero__copy { min-width:0; padding-block:48px; }
.tooth-hero .tooth-hero__copy h1 { position:static; color:var(--foreground); mix-blend-mode:normal; font-size:clamp(44px,5.1vw,76px); line-height:1.08; max-width:10ch; margin:0 0 36px; white-space:normal; }
.tooth-hero__visual { height:600px; min-width:0; background:transparent; }
.tooth-hero__model { inset:0; }
.tooth-experience--direct { min-height:0; }
.tooth-magnifier { transition:none; will-change:left,top,width,height,opacity; }
@media(max-width:1023px) and (min-width:640px) { .tooth-hero__inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:16px; } .tooth-hero .tooth-hero__copy h1 { font-size:clamp(38px,5.6vw,58px); } .tooth-hero__visual { height:520px; } }
@media(max-width:639px) {
 .rb-home > section.tooth-hero { padding:108px 16px 28px; }
 .tooth-hero__inner { display:flex; flex-direction:column; gap:8px; align-items:stretch; }
 .tooth-hero__copy { padding:0; display:contents; }
 .tooth-hero .tooth-hero__copy h1 { order:0; font-size:clamp(34px,9.5vw,48px); max-width:12ch; margin:0; }
 .tooth-hero__visual { order:1; height:380px; }
 .tooth-hero__copy .tooth-hero__actions { order:2; margin-top:8px; }
 .tooth-hero__model .tooth-experience--direct .tooth-viewport { inset:0; }
}
.tooth-magnifier { left:0; top:0; will-change:transform,opacity; }
.tooth-hero__visual { background:var(--background); }

/* Compact copy and balanced Footer 7 columns, including tablet widths. */
.tooth-hero__copy { padding-left:clamp(24px,3.3vw,48px); }
.tooth-hero .tooth-hero__copy h1 { font-size:clamp(30px,3.2vw,46px); line-height:1.14; max-width:23ch; margin-bottom:28px; }
#templateFooter .rb-footer-7 .footer-main-grid { grid-template-columns:1.15fr 1fr 1.1fr 1.15fr; gap:28px; }
#templateFooter .footer-main-grid > * { min-width:0; }
#templateFooter .rb-footer-7 .clinic-logo { width:136px; }
#templateFooter .footer-lower-grid { grid-template-columns:1fr 1fr; }
#templateFooter .footer-main-grid h3 { font-size:12px; line-height:1.5; letter-spacing:.09em; }
@media(min-width:640px) and (max-width:1023px) {
 .tooth-hero__copy { padding-left:16px; }
 .tooth-hero .tooth-hero__copy h1 { font-size:clamp(28px,3.8vw,38px); }
 #templateFooter .rb-footer-7 .footer-main-grid { grid-template-columns:1fr 1fr 1.15fr; gap:28px 20px; }
 #templateFooter .footer-brand-col { grid-column:1/-1; }
 #templateFooter .footer-lower-grid { grid-template-columns:1fr 1.15fr; gap:24px; }
}
@media(max-width:639px) {
 .tooth-hero__copy { padding-left:0; }
 .tooth-hero .tooth-hero__copy h1 { font-size:clamp(28px,7.6vw,38px); line-height:1.14; max-width:23ch; margin:0 0 4px; }
 #templateFooter .rb-footer-7 .footer-main-grid { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:28px 18px; }
 #templateFooter .footer-brand-col,#templateFooter .footer-contact-col { grid-column:1/-1; }
 #templateFooter .footer-lower-grid { grid-template-columns:1fr; gap:24px; }
 #templateFooter .footer-main-grid nav,#templateFooter .footer-main-grid > div { gap:12px; }
 #templateFooter .footer-main-grid a { font-size:15px; }
 #templateFooter .footer-main-grid .footer-contact-col > a:first-of-type { font-size:18px; }
 #templateFooter .rb-footer-7 .clinic-logo { width:124px; }
}

/* Compact first-screen rhythm with an unobstructed anatomical model. */
.breadcrumbs { align-items:center; white-space:nowrap; }
.breadcrumbs > a,.breadcrumbs > span:not(:last-child) { flex-shrink:0; }
.breadcrumbs > span:last-child { min-width:0; overflow:hidden; text-overflow:ellipsis; }
@media(max-width:768px) { .breadcrumbs { transform:translateY(-8px); } }
.rb-home > section.tooth-hero { padding-bottom:24px; }
.tooth-hero__inner { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(32px,5vw,76px); }
.tooth-hero__copy { padding:32px 0 32px clamp(16px,2.5vw,36px); }
.tooth-hero .tooth-hero__copy h1 { margin-bottom:20px; text-wrap:balance; }
.tooth-hero__intro { max-width:32ch; margin:0 0 30px; color:var(--muted-foreground); font-size:17px; line-height:1.65; }
.tooth-hero__visual { height:548px; border-radius:0; overflow:visible; background:var(--background); box-shadow:none; }
.tooth-hero__model { inset:0; }
.rb-home > .rb-insurance { padding-top:8px; padding-bottom:32px; }
.rb-insurance .insurance-partners__panel { display:grid; grid-template-columns:220px minmax(0,1fr); gap:28px; align-items:center; padding:20px 0; border-radius:0; border:0; border-top:1px solid var(--border); background:transparent; box-shadow:none; backdrop-filter:none; -webkit-backdrop-filter:none; }
.rb-insurance .insurance-partners__panel h2 { margin:0; text-align:left; font-size:14px; line-height:1.65; color:var(--muted-foreground); }
.rb-insurance .insurance-partners__logo { min-height:64px; padding:12px; }
.rb-insurance .insurance-partners__logo img { max-width:144px; height:40px; opacity:.7; }
.rb-home #why > section { padding-top:48px; }
@media(min-width:640px) and (max-width:1023px) {
 .tooth-hero__inner { gap:24px; }
 .tooth-hero__copy { padding-left:8px; }
 .tooth-hero__visual { height:480px; }
 .tooth-hero__intro { font-size:15px; }
 .rb-insurance .insurance-partners__panel { grid-template-columns:180px minmax(0,1fr); gap:20px; }
 .rb-insurance .insurance-partners__logos { grid-template-columns:repeat(5,minmax(0,1fr)); gap:4px; }
 .rb-insurance .insurance-partners__logo { padding:8px 4px; }
 .rb-insurance .insurance-partners__logo:last-child { grid-column:auto; }
}
@media(max-width:639px) {
 .rb-home > section.tooth-hero { padding:104px 16px 20px; }
 .tooth-hero__inner { gap:18px; }
 .tooth-hero__copy { display:contents; padding:0; }
 .tooth-hero .tooth-hero__copy h1 { margin:0; }
 .tooth-hero__intro { order:1; margin:0; max-width:32ch; font-size:15px; line-height:1.6; }
 .tooth-hero__visual { order:3; height:330px; }
 .tooth-hero__copy .tooth-hero__actions { order:2; margin:0; }
 .rb-insurance .insurance-partners__panel { grid-template-columns:1fr; gap:12px; padding:18px 0; }
 .rb-insurance .insurance-partners__panel h2 { max-width:27ch; }
 .rb-insurance .insurance-partners__logos { grid-template-columns:repeat(3,minmax(0,1fr)); gap:4px 10px; }
 .rb-insurance .insurance-partners__logo { min-height:52px; padding:8px 4px; }
 .rb-insurance .insurance-partners__logo:last-child { grid-column:auto; }
 .rb-insurance .insurance-partners__logo img { height:30px; }
 .rb-home #why > section { padding-top:32px; }
}
/* Keep the map at a useful size on touch screens and avoid layout shift. */
.clinic-map {
  position: relative;
  isolation: isolate;
  min-width: 0;
  height: clamp(280px, 36vw, 420px);
  overflow: hidden;
  border-radius: 24px;
  background: var(--card);
}
.clinic-map > img,
.clinic-map > iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}
.clinic-map__open {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: grid;
  gap: .2rem;
  padding: .9rem 1.25rem;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  color: #fff;
  background: rgb(24 48 40 / 93%);
  text-align: left;
  cursor: pointer;
}
.clinic-map__open[hidden] { display: none; }
.clinic-map__open span { font-size: .875rem; }
.clinic-map__open:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* Owner-requested temporary event diagnostics, enabled only by a signed short-lived link. */
.tracking-diagnostics { position:fixed; z-index:110; right:16px; bottom:16px; width:min(380px,calc(100vw - 32px)); max-height:70vh; overflow:auto; border:1px solid #7777; border-radius:14px; padding:18px; background:#171717; color:#fff; box-shadow:0 12px 40px #0004; font:14px/1.5 system-ui,sans-serif; }
.tracking-diagnostics p { margin:8px 0; font-size:13px; }
.tracking-diagnostics button { border:1px solid #777; border-radius:8px; background:#303030; color:white; padding:8px 12px; margin:8px 8px 0 0; cursor:pointer; }
