@font-face{font-family:"Inter";font-style:normal;font-weight:400 800;font-display:swap;src:url("/fonts/inter-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Inter";font-style:normal;font-weight:400 800;font-display:swap;src:url("/fonts/inter-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500 800;font-display:swap;src:url("/fonts/plus-jakarta-latin-ext.woff2") format("woff2");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:500 800;font-display:swap;src:url("/fonts/plus-jakarta-latin.woff2") format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-display:swap;font-family:bootstrap-icons;src:url("/fonts/bootstrap-icons.woff2") format("woff2")}
.bi::before,[class*=" bi-"]::before,[class^=bi-]::before{display:inline-block;font-family:bootstrap-icons!important;font-style:normal;font-weight:400!important;font-variant:normal;text-transform:none;line-height:1;vertical-align:-.125em;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
.bi-box-arrow-up::before{content:"\f1c6"}
.bi-box-arrow-up-right::before{content:"\f1c5"}
.bi-calendar-week::before{content:"\f1f3"}
.bi-calendar3::before{content:"\f214"}
.bi-capsule::before{content:"\f7df"}
.bi-chat-dots-fill::before{content:"\f249"}
.bi-chat-heart::before{content:"\f714"}
.bi-chat-left-text::before{content:"\f252"}
.bi-circle::before{content:"\f28a"}
.bi-clipboard2-pulse::before{content:"\f730"}
.bi-currency-pound::before{content:"\f639"}
.bi-envelope-fill::before{content:"\f32c"}
.bi-exclamation-triangle::before{content:"\f33b"}
.bi-facebook::before{content:"\f344"}
.bi-geo-alt::before{content:"\f3e8"}
.bi-globe2::before{content:"\f3ef"}
.bi-hand-thumbs-down::before{content:"\f405"}
.bi-hand-thumbs-up::before{content:"\f407"}
.bi-heart::before{content:"\f417"}
.bi-heart-pulse::before{content:"\f76f"}
.bi-layers::before{content:"\f45b"}
.bi-link-45deg::before{content:"\f470"}
.bi-linkedin::before{content:"\f472"}
.bi-list::before{content:"\f479"}
.bi-patch-check-fill::before{content:"\f4b5"}
.bi-person-hearts::before{content:"\f77b"}
.bi-send-fill::before{content:"\f6b9"}
.bi-share::before{content:"\f52e"}
.bi-share-fill::before{content:"\f52d"}
.bi-shield-check::before{content:"\f52f"}
.bi-shield-plus::before{content:"\f53a"}
.bi-star::before{content:"\f588"}
.bi-stars::before{content:"\f589"}
.bi-telegram::before{content:"\f5b3"}
.bi-telephone::before{content:"\f5c1"}
.bi-translate::before{content:"\f658"}
.bi-twitter-x::before{content:"\f8db"}
.bi-universal-access::before{content:"\f826"}
.bi-universal-access-circle::before{content:"\f825"}
.bi-whatsapp::before{content:"\f618"}
:root {
  --bg: #f6f9fc;
  --bg-soft: #eef4fb;
  --card: #ffffff;
  --text: #0f2740;
  --muted: #4b6074;
  --primary: #0d63d8;
  --primary-strong: #0a4ea8;
  --line: #d9e4f2;
  --error: #c4362f;
  --success: #0f8652;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 16px 44px rgba(8, 51, 107, 0.09);
}

/* Crawlable clinic directory */
.clinic-directory-filter {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 10px;
  margin: -27px 0 38px;
  padding: 16px;
  border: 1px solid #d6e3ed;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(9, 45, 79, 0.13);
}

.clinic-directory-filter label span {
  display: block;
  margin: 0 0 5px 2px;
  color: #4d6579;
  font-size: 0.68rem;
  font-weight: 700;
}

.clinic-directory-filter input {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  border: 1px solid #cbdbe7;
  border-radius: 11px;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
  font-size: 0.77rem;
}

.clinic-directory-filter .btn {
  min-height: 43px;
  white-space: nowrap;
}

.clinic-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.clinic-directory-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #d9e4ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(18, 53, 82, 0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.clinic-directory-card:hover {
  transform: translateY(-2px);
  border-color: #a9cad8;
  box-shadow: 0 15px 34px rgba(18, 53, 82, 0.1);
}

.clinic-directory-card__image {
  display: block;
  height: 128px;
  overflow: hidden;
  background: #e9f2f8;
}

.clinic-directory-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.clinic-directory-card__image img.is-fallback {
  padding: 36px;
  object-fit: contain;
  background: linear-gradient(135deg, #edf6ff, #dff7f4);
  transform: none;
}

.clinic-directory-card:hover .clinic-directory-card__image img {
  transform: scale(1.025);
}

.clinic-directory-card:hover .clinic-directory-card__image img.is-fallback {
  transform: none;
}

.clinic-directory-card__image--fallback {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #edf6ff, #dff7f4);
}

.clinic-directory-card__image--fallback .logo-mark {
  width: 46px;
  height: 46px;
}

.clinic-directory-card__body {
  display: flex;
  min-height: 210px;
  flex-direction: column;
  padding: 17px;
}

.clinic-directory-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.28;
}

.clinic-directory-card h2 a {
  text-decoration: none;
}

.clinic-directory-card h2 a:hover {
  color: var(--primary);
}

.clinic-directory-card__address {
  margin: 7px 0 0;
  color: #65798a;
  font-size: 0.71rem;
  line-height: 1.48;
}

.clinic-directory-card__rating {
  margin: 10px 0 0;
  color: #173f68;
  font-size: 0.74rem;
  font-weight: 800;
}

.clinic-directory-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 9px;
}

.clinic-directory-card__facts span {
  padding: 4px 7px;
  border-radius: 999px;
  color: #27646c;
  background: #eaf8f5;
  font-size: 0.62rem;
  font-weight: 750;
}

.clinic-directory-card .dentist-card-link {
  align-self: flex-end;
  margin-top: auto;
  padding-top: 14px;
}

@media (max-width: 900px) {
  .clinic-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .clinic-directory-filter,
  .clinic-directory-grid {
    grid-template-columns: 1fr;
  }

  .clinic-directory-filter .btn {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", "Plus Jakarta Sans", "Avenir Next", Avenir, "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f9fbfe 0%, #ffffff 320px);
  line-height: 1.55;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.ui-icon {
  font-size: 0.92em;
  line-height: 1;
  vertical-align: -1px;
  margin-right: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 8px;
  z-index: 10000;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 20px rgba(18, 64, 120, 0.08);
}

.nav-wrap {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background-image: url('/logo-mark.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex: 0 0 auto;
}

.nav {
  display: none;
  gap: 22px;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.94rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--primary);
}

.home-primary-nav {
  align-items: center;
  gap: 10px;
}

.home-nav-menu {
  position: relative;
}

.home-nav-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.home-nav-menu summary::-webkit-details-marker {
  display: none;
}

.home-nav-menu summary::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 0 3px 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.home-nav-menu[open] summary,
.home-nav-menu summary:hover,
.home-nav-menu summary:focus-visible {
  color: var(--primary);
  background: #edf5ff;
}

.home-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 70;
  width: 300px;
  padding: 10px;
  display: grid;
  gap: 3px;
  border: 1px solid #d6e3f2;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 55px rgba(10, 48, 95, 0.18);
}

.home-nav-panel--services {
  width: 540px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.nav .home-nav-panel a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border-radius: 11px;
  color: var(--text);
}

.nav .home-nav-panel a:hover,
.nav .home-nav-panel a:focus-visible {
  background: #f1f6fd;
  color: var(--primary);
}

.home-nav-panel strong {
  font-size: 0.88rem;
}

.home-nav-panel span {
  color: #6a819a;
  font-size: 0.75rem;
  font-weight: 500;
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}

.public-nav-toggle {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #cdddef;
  border-radius: 11px;
  background: #f7fbff;
  color: #173d67;
  cursor: pointer;
}

.public-nav-toggle > span:first-child,
.public-nav-toggle > span:first-child::before,
.public-nav-toggle > span:first-child::after {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}

.public-nav-toggle > span:first-child { position: relative; }
.public-nav-toggle > span:first-child::before,
.public-nav-toggle > span:first-child::after { content: ""; position: absolute; left: 0; }
.public-nav-toggle > span:first-child::before { top: -6px; }
.public-nav-toggle > span:first-child::after { top: 6px; }
.public-nav-toggle[aria-expanded="true"] > span:first-child { background: transparent; }
.public-nav-toggle[aria-expanded="true"] > span:first-child::before { top: 0; transform: rotate(45deg); }
.public-nav-toggle[aria-expanded="true"] > span:first-child::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 759px) {
  .site-header .nav-wrap { position: relative; }
  .site-header .logo { min-width: 0; font-size: .9rem; }
  .site-header .header-actions { gap: 6px; }
  .site-header .header-actions .btn { min-height: 40px; padding: 0 10px; font-size: .75rem; }
  .home-primary-nav.is-open {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 90;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
    padding: 10px;
    display: grid;
    gap: 4px;
    border: 1px solid #cfdeef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(10, 48, 95, .2);
  }
  .home-primary-nav > a,
  .home-nav-menu summary { padding: 11px 12px; border-radius: 10px; }
  .home-nav-panel,
  .home-nav-panel--services {
    position: static;
    width: auto;
    margin-top: 3px;
    grid-template-columns: 1fr;
    border-radius: 12px;
    box-shadow: none;
    background: #f6f9fd;
  }
  body.public-nav-open { overflow: hidden; }
}

.account-header-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.account-back-btn {
  background: #f5f9ff;
  border-color: #cfe0f3;
  color: #1e446f;
}

.account-back-btn:hover {
  background: #ebf3ff;
  border-color: #b8d2f0;
}

.member-header .nav-wrap {
  flex-wrap: wrap;
  row-gap: 8px;
}

.member-header .logo {
  white-space: nowrap;
  flex: 0 1 auto;
}

  .member-header .account-header-actions {
    margin-left: auto;
    flex: 0 0 auto;
  }

.member-dashboard-shell {
  max-width: 1080px;
  padding: 34px 0 80px;
  display: grid;
  gap: 12px;
}

.member-dashboard-shell > section {
  padding: 0;
  margin: 0;
}

.member-account-hero {
  padding: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f3f8ff 100%);
}

.card.member-account-hero {
  border: 0;
  box-shadow: none;
  border-radius: 0;
}

.member-stats-grid {
  margin-top: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.member-stat-card {
  padding: 12px 10px;
  text-align: center;
  display: grid;
  justify-items: center;
  align-items: center;
  gap: 4px;
}

.member-stat-icon .ui-icon {
  font-size: 1.05rem;
  margin-right: 0;
}

.member-stat-value {
  margin: 0;
  font-size: 1.05rem;
}

.member-dashboard-grid {
  margin-top: 0;
  display: grid;
  gap: 12px;
  align-content: start;
}

.member-section-card {
  padding: 16px;
}

.member-side-stack {
  display: grid;
  gap: 12px;
}

.member-items-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}

.member-item-card {
  padding: 12px;
  border-radius: 12px;
}

.member-item-title {
  margin: 0 0 6px;
  font-size: 0.95rem;
  line-height: 1.35;
}

.member-item-meta {
  margin-top: 6px;
}

.member-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #edf7f0;
  color: #0f6b3f;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.member-review-card {
  border: 1px solid #dce9f8;
}

.member-review-prompt {
  margin: 0 0 12px;
  padding: 14px;
  border: 1px solid #dbe7f6;
  border-radius: 14px;
  background: linear-gradient(135deg, #f6fbff 0%, #eef5ff 100%);
}

.member-review-prompt__eyebrow {
  margin: 0 0 6px;
  color: #204674;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.structured-review-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.structured-review-fieldset {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #d9e4f2;
  border-radius: 12px;
}

.structured-review-fieldset legend {
  padding: 0 6px;
  font-weight: 800;
  color: #173b67;
}

.structured-review-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.structured-review-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border: 1px solid #d9e4f2;
  border-radius: 999px;
  background: #fff;
  font-size: 0.86rem;
  color: #234768;
}

.structured-review-option input {
  margin: 0;
}

.structured-review-card {
  border: 1px solid #dce9f8;
}

.structured-review-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 6px;
}

.structured-review-meta {
  margin: 0 0 8px;
}

.structured-review-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}

.structured-review-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef4fb;
  color: #204674;
  font-size: 0.74rem;
  font-weight: 700;
}

@media (max-width: 640px) {
  .member-dashboard-shell {
    padding: 16px 0 26px;
  }

  .member-account-hero {
    padding: 16px;
  }

  .member-stats-grid {
    margin-top: 0;
    gap: 8px;
  }

  .member-stat-card {
    padding: 10px 8px;
  }

  .member-dashboard-grid {
    margin-top: 0;
    gap: 10px;
  }

  .member-section-card {
    padding: 14px;
  }

  .member-header .logo {
    width: 100%;
  }

  .member-header .account-header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .account-header-actions {
    width: 100%;
    justify-content: space-between;
  }

  .member-items-grid {
    grid-template-columns: 1fr;
  }

  .structured-review-grid {
    grid-template-columns: 1fr;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.15s ease, background-color 0.2s ease;
}

.btn:focus-visible {
  outline: 3px solid #9cc4fb;
  outline-offset: 2px;
}

.btn-primary {
  padding: 14px 22px;
  color: #fff;
  background: var(--primary);
  box-shadow: 0 10px 20px rgba(13, 99, 216, 0.2);
}

.btn-primary:hover {
  background: var(--primary-strong);
  transform: translateY(-1px);
}

.btn-small {
  padding: 10px 15px;
  font-size: 0.92rem;
}

.btn-ghost {
  padding: 14px 22px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
}

.btn-ghost:hover {
  background: #f4f8fd;
}

.btn.btn-small {
  padding: 9px 12px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.vote-btn.vote-active {
  border-color: var(--primary);
  color: var(--primary);
  background: #eef5ff;
}

.btn-light {
  padding: 14px 24px;
  background: #fff;
  color: var(--text);
}

.language-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.language-filter label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d4e0ef;
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.85rem;
  color: #2e4760;
  background: #fbfdff;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.language-filter input {
  margin: 0;
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
}

.language-filter label:has(input:checked) {
  border-color: #85b3ee;
  background: #eaf3ff;
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.facility-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.chip-option {
  width: auto;
  min-width: 84px;
  justify-content: flex-start;
}

.chip-option span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.flag-icon {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
  display: inline-block;
  box-shadow: 0 0 0 1px rgba(10, 30, 60, 0.12);
}

.chip-option-wide {
  justify-content: flex-start;
  border-radius: 10px;
  width: 100%;
  min-width: 0;
  min-height: 44px;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 48px 0 76px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 12%, rgba(70, 214, 199, 0.25), transparent 25rem),
    radial-gradient(circle at 9% 92%, rgba(47, 125, 217, 0.2), transparent 24rem),
    linear-gradient(125deg, #0b2948 0%, #123e72 62%, #0d5c76 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -116px;
  bottom: -205px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 22px;
}

.hero-copy {
  max-width: 760px;
}

.home-hero-kicker {
  margin: 0 0 12px;
  color: #70e4d7;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero-stat {
  width: max-content;
  min-width: 158px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(4, 29, 52, 0.36);
  backdrop-filter: blur(8px);
}

.home-hero-stat strong,
.home-hero-stat span {
  display: block;
}

.home-hero-stat strong {
  font-size: 2rem;
  line-height: 1;
}

.home-hero-stat span {
  margin-top: 7px;
  color: #cfe0ed;
  font-size: 0.76rem;
}

.eyebrow {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e9f2ff;
  color: var(--primary-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-text {
  margin: 16px 0 0;
  max-width: 62ch;
  color: #4f6780;
  font-size: clamp(1rem, 2.6vw, 1.15rem);
}

.hero .hero-text {
  color: #d7e8f3;
}

.hero .eyebrow {
  margin-bottom: 16px;
  background: rgba(112, 228, 215, 0.14);
  color: #80eadf;
  box-shadow: inset 0 0 0 1px rgba(112, 228, 215, 0.18);
}

.hero h1 {
  max-width: 760px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.35rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.hero-actions {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

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

.hero-actions .btn-ghost {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero-actions .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-points {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-points li {
  padding: 7px 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 29, 52, 0.34);
  color: #e5f3fb;
  font-weight: 600;
  font-size: 0.88rem;
  backdrop-filter: blur(8px);
}

.home-price-section {
  padding: 46px 0 52px;
  border-top: 1px solid #e4edf7;
  border-bottom: 1px solid #e4edf7;
  background:
    radial-gradient(circle at 92% 10%, rgba(40, 111, 208, 0.12), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #eef5fc 100%);
}

.home-section-heading {
  display: grid;
  align-items: start;
  gap: 18px;
  margin-bottom: 22px;
}

.home-section-heading > .btn {
  justify-self: start;
}

.home-section-heading .eyebrow {
  margin-bottom: 10px;
}

.home-section-heading .section-title,
.home-section-heading .section-subtitle {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.home-price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.home-price-card {
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 15px;
  border: 1px solid #d5e3f2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(14, 57, 105, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.home-price-card:hover,
.home-price-card:focus-visible {
  transform: translateY(-2px);
  border-color: #8eb9ea;
  box-shadow: 0 14px 30px rgba(14, 57, 105, 0.1);
  outline: none;
}

.home-price-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #e8f2ff;
  color: #155bb8;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.home-price-copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.home-price-copy strong {
  font-size: 0.98rem;
}

.home-price-value {
  color: #0b56b5;
  font-size: 0.92rem;
  font-weight: 800;
}

.home-price-copy small {
  color: #6a819a;
  font-size: 0.77rem;
}

.home-price-arrow {
  color: #0b56b5;
  font-size: 1.25rem;
  transition: transform 0.18s ease;
}

.home-price-card:hover .home-price-arrow {
  transform: translateX(3px);
}

.home-market-proof {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 16px;
}

.home-market-proof[hidden] {
  display: none;
}

.home-market-proof span {
  padding: 10px 12px;
  border: 1px solid #d4e2f1;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.75);
  color: #4f6882;
  font-size: 0.82rem;
  text-align: center;
}

.home-market-proof strong {
  display: block;
  color: #102e52;
  font-size: 1.05rem;
}

.home-price-note {
  margin: 12px 0 0;
  color: #607892;
  font-size: 0.78rem;
}

.form-card {
  order: 1;
  background: var(--card);
  color: var(--text);
  border: 1px solid rgba(213, 229, 242, 0.95);
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(2, 24, 50, 0.27);
  padding: 22px;
}

.home-search-section {
  position: relative;
  z-index: 3;
  padding: 0 0 42px;
  background: linear-gradient(180deg, #f7fafc 0%, #fff 100%);
}

.home-search-section .container {
  position: relative;
  margin-top: 0;
  margin-bottom: -27px;
  transform: translateY(-27px);
}

.home-search-section .form-card {
  position: relative;
  margin: 0;
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(9, 45, 79, 0.13);
  padding: 16px;
}

.home-search-section .form-card::before {
  display: none;
}

.ai-search-box {
  scroll-margin-top: 96px;
  margin: 0 0 16px;
  padding: 18px;
  border: 1px solid #bcd9f4;
  border-radius: 16px;
  background:
    radial-gradient(circle at 100% 0, rgba(103, 224, 212, 0.18), transparent 16rem),
    linear-gradient(135deg, #eff7ff 0%, #f8fcff 58%, #eefbf9 100%);
}

.ai-search-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.ai-search-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: #113f78;
  color: #70e4d7;
  box-shadow: 0 9px 20px rgba(17, 63, 120, 0.2);
}

.ai-search-kicker {
  margin: 0 0 2px;
  color: #157d7b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.ai-search-heading h2 {
  margin: 0;
  color: #102f56;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  letter-spacing: -0.025em;
}

.ai-search-language-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: -2px 0 12px;
  color: #486783;
  font-size: 0.78rem;
  line-height: 1.45;
}

.ai-search-language-hint i {
  flex: 0 0 auto;
  color: #157d7b;
  font-size: 1rem;
}

.ai-search-language-hint strong {
  color: #173e6d;
}

.ai-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.ai-search-form input {
  min-width: 0;
  min-height: 54px;
  border: 1.5px solid #a9c9e8;
  border-radius: 13px;
  background: #fff;
  color: #102f56;
  padding: 0 16px;
  font: inherit;
  box-shadow: inset 0 1px 2px rgba(14, 52, 91, 0.04);
}

.ai-search-form input:focus {
  outline: 3px solid rgba(26, 112, 220, 0.18);
  border-color: #1a70dc;
}

.ai-search-form .btn {
  min-height: 54px;
  gap: 8px;
  padding-inline: 22px;
  white-space: nowrap;
}

.ai-search-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 10px;
}

.ai-search-examples button {
  border: 1px solid #c7dcef;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #28547f;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 800;
  cursor: pointer;
}

.ai-search-examples button:hover {
  border-color: #72a9df;
  background: #fff;
}

.ai-search-interpretation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: #244d75;
  font-size: 0.75rem;
}

.ai-search-interpretation span {
  padding: 5px 8px;
  border-radius: 999px;
  background: #dfeeff;
  color: #184f91;
  font-weight: 800;
}

.ai-search-status {
  min-height: 0;
  margin: 8px 0 0;
  color: #174d7d;
  font-size: 0.8rem;
  font-weight: 700;
}

.ai-search-status:empty {
  display: none;
}

.ai-search-note {
  margin: 8px 0 0;
  color: #607892;
  font-size: 0.68rem;
  line-height: 1.45;
}

.ai-search-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #526b84;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ai-search-divider::before,
.ai-search-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #d8e4f0;
}

.ai-search-spinner {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: aiSearchSpin 0.7s linear infinite;
}

@keyframes aiSearchSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 759px) {
  .ai-search-box {
    padding: 14px;
  }

  .ai-search-form {
    grid-template-columns: 1fr;
  }

  .ai-search-language-hint {
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .ai-search-form .btn {
    width: 100%;
  }

  .ai-search-examples {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 3px;
  }

  .ai-search-examples button {
    flex: 0 0 auto;
  }
}

.home-search-section .form-heading {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.35rem, 2.3vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.home-search-section .form-subtitle {
  max-width: 48ch;
  color: #5a7188;
}

.home-search-section .search-form input,
.home-search-section .search-form select {
  min-height: 48px;
  border-color: #cfddec;
  background-color: #fbfdff;
}

.home-search-section .advanced-search {
  border-color: #cfdeed;
  background: #fbfdff;
}

.home-search-section .form-submit {
  min-height: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(13, 99, 216, 0.22);
}

#lead-form,
#treatment-prices,
#language-browse,
#how-it-works,
#faq {
  scroll-margin-top: 88px;
}

.form-heading {
  margin: 0;
  font-size: 1.3rem;
  letter-spacing: -0.01em;
}

.form-subtitle {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.search-form {
  display: grid;
  gap: 14px;
}

.advanced-search {
  border: 1px solid #dbe5f2;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
}

.advanced-search summary {
  cursor: pointer;
  font-size: 0.94rem;
  font-weight: 800;
  color: #183b62;
  list-style: none;
}

.advanced-search summary::-webkit-details-marker {
  display: none;
}

.advanced-search summary::after {
  content: "+";
  float: right;
  color: #5c7692;
  font-weight: 700;
}

.advanced-search[open] summary::after {
  content: "-";
}

.advanced-search-note {
  margin: 8px 0 10px;
  color: #5f7894;
  font-size: 0.82rem;
}

.top-filter-tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 2px 0 12px;
}

.top-tile {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  border: 1px solid #d3e1f2;
  border-radius: 12px;
  padding: 9px 10px;
  background: #f8fbff;
  font-size: 0.82rem;
  font-weight: 700;
  color: #22486f;
  cursor: pointer;
}

.top-tile input {
  width: 16px;
  height: 16px;
  min-height: 16px;
}

.top-tile:has(input:checked) {
  border-color: #90b9ec;
  background: #e8f2ff;
}

.advanced-search .form-group:last-child {
  margin-bottom: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.form-group {
  margin-bottom: 0;
}

.form-group-postcode {
  position: relative;
}

.postcode-actions {
  position: absolute;
  z-index: 30;
  top: calc(100% + 7px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px;
  display: grid;
  gap: 6px;
  justify-items: stretch;
  border: 1px solid #cfdeed;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.99);
  box-shadow: 0 16px 36px rgba(9, 45, 79, 0.16);
}

.postcode-actions[hidden] {
  display: none !important;
}

.use-location-btn {
  order: 1;
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  border: 1px solid #c9dbf0;
  background: #f3f8ff;
  color: #21496f;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.2;
}

.use-location-btn:hover {
  background: #eaf3ff;
}

#locationStatus {
  order: 2;
  display: block;
  padding: 0 4px;
  font-size: 0.82rem;
  color: #5a7694;
  word-break: break-word;
}

#locationStatus:empty {
  display: none;
}

.postcode-suggestions {
  order: 3;
  display: grid;
  gap: 2px;
  padding-top: 5px;
  border-top: 1px solid #e3ecf5;
}

.postcode-suggestions[hidden] {
  display: none !important;
}

.postcode-suggestion {
  width: 100%;
  min-height: 36px;
  padding: 7px 9px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #173d67;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
}

.postcode-suggestion:hover,
.postcode-suggestion.is-active {
  background: #edf5ff;
  color: #0d63d8;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.section-hint {
  font-size: 0.75rem;
  font-weight: 700;
  color: #5f7894;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  color: #36506a;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.96rem;
  color: var(--text);
  background: #fdfefe;
}

input:focus,
select:focus {
  outline: none;
  border-color: #70a9f5;
  box-shadow: 0 0 0 4px #e8f2ff;
}

input[type="checkbox"],
input[type="radio"] {
  width: 16px;
  height: 16px;
  min-height: 16px;
  padding: 0;
  border-radius: 4px;
  accent-color: var(--primary);
  box-shadow: none;
}

.chip-option input[type="checkbox"],
.chip-option input[type="radio"] {
  flex: 0 0 16px;
  margin: 0;
}

.input-error {
  border-color: var(--error);
}

.error-text {
  margin: 6px 0 0;
  display: none;
  color: var(--error);
  font-size: 0.84rem;
  font-weight: 600;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.inline-note {
  padding: 12px 14px;
  border: 1px solid #d7e4f4;
  border-radius: 14px;
  font-size: 0.92rem;
  line-height: 1.5;
  text-align: left;
}

.inline-note-info {
  background: #f4f8fd;
  color: #20456f;
}

.inline-note-success {
  border-color: #c9ead4;
  background: #eff9f2;
  color: #18794e;
}

.success-state {
  text-align: center;
  padding: 12px 6px;
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--success);
  background: #dff5ea;
  font-size: 1.6rem;
  font-weight: 800;
}

.success-state h3 {
  margin: 0;
}

.success-state p {
  margin: 8px 0 0;
  color: var(--muted);
}

.match-state {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: visible;
}

.results-section {
  padding-top: 10px;
  padding-bottom: 28px;
  scroll-margin-top: 72px;
}

.results-section > .container {
  width: min(1480px, calc(100% - 16px));
}

.match-title {
  margin: 0;
  font-size: 1.02rem;
}

.match-subtitle {
  margin: 6px 0 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.results-controls {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
  background: #f7fafd;
  border: 1px solid #dce7f4;
  border-radius: 12px;
  padding: 10px;
}

.results-controls label {
  margin: 0;
  font-size: 0.84rem;
}

.results-loading-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #dce7f4;
  border-radius: 12px;
  background: rgba(247, 251, 255, 0.92);
  padding: 10px 12px;
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #395572;
}

.results-loading-overlay[hidden] {
  display: none !important;
}

.results-loading-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #bfd6f3;
  border-top-color: #0d63d8;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.results-controls select {
  min-height: 38px;
  width: auto;
  min-width: 180px;
  padding: 6px 10px;
}

.recent-hint {
  margin: 0;
  width: 100%;
}

.filter-kebab {
  margin-right: auto;
  font-weight: 800;
}

.review-highlights {
  display: grid;
  gap: 10px;
  margin-bottom: 8px;
}

.review-overview {
  margin-bottom: 14px;
  padding: 0;
}

.review-overview .review-highlights,
.review-overview > .tiny-note {
  display: none;
}

.snapshot-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.snapshot-item {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f3f9ff;
  padding: 10px;
}

.snapshot-label {
  margin: 0;
  color: #516a84;
  font-size: 0.8rem;
}

.snapshot-value {
  margin: 4px 0 0;
  color: var(--text);
  font-size: 1.1rem;
  font-weight: 800;
}

.review-block {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  background: #f9fcff;
}

.review-block h4 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.review-block ul {
  margin: 0;
  padding-left: 18px;
}

.review-block li {
  margin: 6px 0;
  color: #2f4862;
  font-size: 0.82rem;
}

.tiny-note {
  color: #5f7690;
  font-size: 0.76rem;
}

.tiny-note a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.tiny-note a:hover,
.tiny-note a:focus-visible {
  text-decoration: underline;
}

.match-list {
  display: grid;
  gap: 16px;
}

.match-list.is-updating {
  opacity: 0.72;
  transition: opacity 0.16s ease;
}

.results-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 18px 0 4px;
}

.results-load-more[hidden] {
  display: none !important;
}

.results-range {
  margin: 0;
  color: #526d89;
  font-size: 0.84rem;
  font-weight: 700;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  overflow: visible;
}

.filter-sidebar {
  background: #f5f9ff;
  border: 1px solid #d5e2f3;
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 28px rgba(9, 52, 105, 0.06);
}

.filter-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.filter-sidebar-head h4 {
  margin: 0;
  font-size: 0.92rem;
  color: #395572;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.filter-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid #cfddee;
  border-radius: 10px;
  background: #fff;
  color: #3f5f80;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.filter-overlay {
  display: none;
}

.filter-clear-btn {
  border: 0;
  background: transparent;
  color: #1f5ba5;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.filter-clear-btn:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 10px;
}

.filter-card {
  background: #fff;
  border: 1px solid #dce6f3;
  border-radius: 12px;
  padding: 12px;
}

#rsLanguageSearch,
#languageSearchInput {
  margin: 0 0 8px;
  min-height: 38px;
  padding: 8px 10px;
  font-size: 0.84rem;
  border-radius: 10px;
}

.filter-group h4 {
  margin: 0 0 10px;
  color: #4f6680;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.88rem;
  color: #2f4862;
  font-weight: 600;
}

.filter-option input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.filter-option-disabled {
  opacity: 0.5;
}

.count-badge {
  margin-left: auto;
  border: 1px solid #d5e4f6;
  border-radius: 999px;
  padding: 1px 7px;
  font-size: 0.72rem;
  font-weight: 800;
  color: #355675;
  background: #f4f9ff;
}

.quick-budget-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 10px;
}

.quick-budget-btn {
  border: 1px solid #cfe0f4;
  background: #f3f8ff;
  color: #244b77;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
}

.quick-budget-btn:hover,
.quick-budget-btn.active {
  border-color: #94baeb;
  background: #e7f2ff;
}

.service-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 4px;
}

.inline-service-tag {
  border: 1px solid #cfe0f4;
  background: #f3f8ff;
  color: #234f82;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.74rem;
  font-weight: 700;
  cursor: pointer;
}

.inline-service-tag .bi {
  margin-right: 4px;
}

.inline-service-tag:hover {
  background: #e7f2ff;
  border-color: #b9d0ec;
}

.language-warning {
  border: 1px solid #f6cc9f;
  background: #fff7ef;
  color: #9a4f1a;
  border-radius: 10px;
  padding: 10px 12px;
  margin: 8px 0 10px;
  font-size: 0.88rem;
  font-weight: 600;
}

.match-card {
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  padding: 0;
  box-shadow: 0 8px 26px rgba(15, 39, 64, 0.05);
  display: grid;
  gap: 0;
  overflow: hidden;
}

.clinic-media {
  position: relative;
  min-height: 180px;
  background: #f0f5fb;
}

.clinic-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.clinic-media-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e9f1fb 0%, #f7faff 100%);
}

.clinic-media-placeholder .logo-mark {
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

.distance-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  border-radius: 999px;
  background: rgba(10, 29, 53, 0.78);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 10px;
}

.match-card__body {
  min-width: 0;
  padding: 14px;
}

.match-card__title {
  margin: 4px 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.match-card__title-link {
  color: inherit;
  text-decoration: none;
}

.match-card__title-link:hover,
.match-card__title-link:focus-visible {
  color: var(--primary);
  text-decoration: underline;
}

.match-card__address,
.match-card__meta-line {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.9rem;
}

.match-card__summary {
  margin: 0 0 9px;
  color: #244461;
  font-size: 0.9rem;
  line-height: 1.48;
  font-weight: 600;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.match-card__meta {
  border-top: 1px solid #e7eef8;
  padding: 12px 14px 14px;
  display: grid;
  gap: 8px;
  align-content: start;
  background: #fbfdff;
}

.rating {
  color: #0f3258;
  font-weight: 800;
  font-size: 1.05rem;
}

.reviews-count {
  color: #60758c;
  font-size: 0.82rem;
}

.price-info {
  margin-top: 2px;
}

.price-label {
  font-size: 0.76rem;
  color: #647a90;
}

.price-val {
  font-size: 1.2rem;
  font-weight: 800;
  color: #143a64;
}

.rating-box {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.rating-score {
  min-width: 44px;
  text-align: center;
  border-radius: 8px 8px 8px 2px;
  background: #003b89;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 7px;
}

.reviews-label {
  font-weight: 800;
}

.language-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0 2px;
}

.language-tags__label {
  color: #526b87;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
}

.language-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cddbef;
  background: #f2f7ff;
  color: #1f4f87;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 3px 8px;
}

/* Keep newly discovered language signals visual without requiring an app restart. */
.language-tag[href*="languages=DE"],
.language-tag[href*="languages=NL"],
.language-tag[href*="languages=EL"],
.language-tag[href*="languages=FA"],
.language-tag[href*="languages=HI"],
.language-tag[href*="languages=HU"],
.language-tag[href*="languages=IT"],
.language-tag[href*="languages=SV"],
.language-tag[href*="languages=UR"],
.language-tag[href*="languages=RU"],
.language-tag[href*="languages=ZH"],
.language-tag[href*="languages=CS"],
.language-tag[href*="languages=SK"],
.language-tag[href*="languages=BG"],
.language-tag[href*="languages=SQ"],
.language-tag[href*="languages=SR"],
.language-tag[href*="languages=HR"],
.language-tag[href*="languages=UK"],
.language-tag[href*="languages=LT"],
.language-tag[href*="languages=LV"],
.language-tag[href*="languages=ET"],
.language-tag[href*="languages=HE"],
.language-tag[href*="languages=JA"],
.language-tag[href*="languages=KO"],
.language-tag[href*="languages=VI"] {
  font-size: 0;
}

.language-tag[href*="languages=DE"]::before { content: "🇩🇪"; }
.language-tag[href*="languages=NL"]::before { content: "🇳🇱"; }
.language-tag[href*="languages=EL"]::before { content: "🇬🇷"; }
.language-tag[href*="languages=FA"]::before { content: "🇮🇷"; }
.language-tag[href*="languages=HI"]::before { content: "🇮🇳"; }
.language-tag[href*="languages=HU"]::before { content: "🇭🇺"; }
.language-tag[href*="languages=IT"]::before { content: "🇮🇹"; }
.language-tag[href*="languages=SV"]::before { content: "🇸🇪"; }
.language-tag[href*="languages=UR"]::before { content: "🇵🇰"; }
.language-tag[href*="languages=RU"]::before { content: "🇷🇺"; }
.language-tag[href*="languages=ZH"]::before { content: "🇨🇳"; }
.language-tag[href*="languages=CS"]::before { content: "🇨🇿"; }
.language-tag[href*="languages=SK"]::before { content: "🇸🇰"; }
.language-tag[href*="languages=BG"]::before { content: "🇧🇬"; }
.language-tag[href*="languages=SQ"]::before { content: "🇦🇱"; }
.language-tag[href*="languages=SR"]::before { content: "🇷🇸"; }
.language-tag[href*="languages=HR"]::before { content: "🇭🇷"; }
.language-tag[href*="languages=UK"]::before { content: "🇺🇦"; }
.language-tag[href*="languages=LT"]::before { content: "🇱🇹"; }
.language-tag[href*="languages=LV"]::before { content: "🇱🇻"; }
.language-tag[href*="languages=ET"]::before { content: "🇪🇪"; }
.language-tag[href*="languages=HE"]::before { content: "🇮🇱"; }
.language-tag[href*="languages=JA"]::before { content: "🇯🇵"; }
.language-tag[href*="languages=KO"]::before { content: "🇰🇷"; }
.language-tag[href*="languages=VI"]::before { content: "🇻🇳"; }

.language-tag[href*="languages=DE"]::before,
.language-tag[href*="languages=NL"]::before,
.language-tag[href*="languages=EL"]::before,
.language-tag[href*="languages=FA"]::before,
.language-tag[href*="languages=HI"]::before,
.language-tag[href*="languages=HU"]::before,
.language-tag[href*="languages=IT"]::before,
.language-tag[href*="languages=SV"]::before,
.language-tag[href*="languages=UR"]::before,
.language-tag[href*="languages=RU"]::before,
.language-tag[href*="languages=ZH"]::before,
.language-tag[href*="languages=CS"]::before,
.language-tag[href*="languages=SK"]::before,
.language-tag[href*="languages=BG"]::before,
.language-tag[href*="languages=SQ"]::before,
.language-tag[href*="languages=SR"]::before,
.language-tag[href*="languages=HR"]::before,
.language-tag[href*="languages=UK"]::before,
.language-tag[href*="languages=LT"]::before,
.language-tag[href*="languages=LV"]::before,
.language-tag[href*="languages=ET"]::before,
.language-tag[href*="languages=HE"]::before,
.language-tag[href*="languages=JA"]::before,
.language-tag[href*="languages=KO"]::before,
.language-tag[href*="languages=VI"]::before {
  font-size: 1rem;
}

.decision-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 9px;
}

.decision-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #d8e6f6;
  background: #f8fbff;
  color: #1f4a79;
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1.2;
  padding: 4px 8px;
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  width: 100%;
}

.filter-chip {
  border-radius: 999px;
  border: 1px solid #d7e5f7;
  background: #f4f8ff;
  color: #274d7d;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 10px;
}

.filter-chip-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}

.filter-chip-btn:hover,
.filter-chip-btn:focus-visible {
  border-color: #a9c8ef;
  background: #e8f2ff;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 6px;
}

.badge {
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 8px;
  border: 1px solid transparent;
}

.badge-verified {
  color: #1f4f87;
  background: #e8f2ff;
  border-color: #cddff8;
}

.badge-cqc {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #124d3a;
  background: #e9f7f0;
  border-color: #bfe4d2;
  text-decoration: none;
}

a.badge-cqc:hover,
a.badge-cqc:focus-visible {
  color: #0c3f2f;
  background: #dcf1e7;
  border-color: #83c8a8;
}

.badge-expat {
  color: #0f5b66;
  background: #e7f8f7;
  border-color: #ccece9;
}

.badge-emergency {
  color: #9a3116;
  background: #fff2ee;
  border-color: #ffd8cc;
}

.skeleton-card {
  min-height: 220px;
  border: 1px solid #e4edf8;
  background: linear-gradient(90deg, #f4f8fc 25%, #eaf1f9 37%, #f4f8fc 63%);
  background-size: 400% 100%;
  animation: skeleton-shimmer 1.2s ease-in-out infinite;
}

@keyframes skeleton-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: 0 0; }
}

.review-snippets {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #324a63;
  font-size: 0.84rem;
}

.review-snippets li {
  margin: 4px 0;
}

.review-quote {
  margin: 8px 0 0;
  color: #3a526b;
  font-size: 0.82rem;
  line-height: 1.4;
  border-left: 2px solid #d5e4f6;
  padding-left: 8px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.ai-summary {
  border: 1px solid #dbe9fb;
  border-radius: 10px;
  background: #f7fbff;
  padding: 8px 10px;
  margin-top: 8px;
}

.ai-summary-title {
  margin: 0 0 2px;
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: #4e6782;
  text-transform: uppercase;
  cursor: pointer;
}

.ai-summary p {
  margin: 4px 0;
  color: #36506b;
  font-size: 0.83rem;
}

.ai-summary-collapsible {
  margin-top: 6px;
}

.ai-summary-collapsible summary {
  list-style: none;
}

.ai-summary-collapsible summary::-webkit-details-marker {
  display: none;
}

.ai-summary-collapsible summary::after {
  content: "Show";
  float: right;
  font-size: 0.72rem;
  color: #5f7894;
  font-weight: 700;
}

.ai-summary-collapsible[open] summary::after {
  content: "Hide";
}

.map-embed {
  width: 100%;
  height: 130px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 10px;
}

.match-actions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.match-primary-cta {
  min-height: 42px;
  font-size: 0.9rem;
}

.match-cta-note {
  margin: -1px 0 0;
  color: #667d95;
  font-size: 0.74rem;
  line-height: 1.35;
  text-align: center;
}

.favorite-btn {
  border-color: #d9e7f8;
  color: #1f4f87;
}

.favorite-btn:hover {
  background: #f2f8ff;
}

.favorite-btn.is-favorite {
  border-color: #f3c4d2;
  background: #fff1f6;
  color: #b42361;
}

.quick-match-card {
  border-style: dashed;
  border-color: #b9d3f2;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
}

.quick-match-card .match-card__title {
  color: #173f6b;
}

.quick-match-card .ldh-ai-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.clinic-favorite-btn {
  width: auto;
}

.mini-link {
  color: var(--primary);
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 700;
}

.phone-link {
  font-size: 0.84rem;
}

.whatsapp-card-link {
  color: #129653;
}

.whatsapp-card-link:hover {
  color: #0d7a43;
}

@media (min-width: 900px) {
  .results-section > .container {
    width: min(1480px, calc(100% - 32px));
  }

  .results-section .match-state {
    padding: 20px;
  }

  .results-grid {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
  }

  .filter-sidebar {
    position: sticky;
    top: 92px;
    align-self: start;
    max-height: calc(100vh - 110px);
    overflow: auto;
  }

  .filter-kebab {
    display: none;
  }

  .filter-close {
    display: none;
  }

  .snapshot-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .review-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-card {
    grid-template-columns: 210px minmax(360px, 1fr) 225px;
    align-items: start;
    gap: 0;
  }

  .clinic-media {
    height: 230px;
    min-height: 230px;
    margin: 14px 0 14px 14px;
    border-radius: 12px;
    overflow: hidden;
    align-self: start;
  }

  .clinic-media-link--fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #eef4fb url('/logo.png') center / 58px 58px no-repeat;
  }

  .match-card__body {
    padding: 16px 18px;
  }

  .match-card__meta {
    border-top: 0;
    border-left: 1px solid #e7eef8;
    min-height: 100%;
    padding: 16px;
  }

  .map-embed {
    height: 140px;
  }

  .quick-match-card {
    grid-template-columns: minmax(0, 1fr) 260px;
  }
}

@media (max-width: 640px) {
  .results-section .match-state {
    padding: 12px;
  }

  .match-card {
    grid-template-columns: 1fr;
  }

  .match-card__title {
    font-size: 1.12rem;
  }

  .match-card__address,
  .match-card__meta-line {
    font-size: 0.88rem;
  }

  .clinic-media {
    height: 190px;
    min-height: 190px;
  }

  .clinic-media-link--fallback::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #eef4fb url('/logo.png') center / 52px 52px no-repeat;
  }

  .badges,
  .decision-strip,
  .service-link-row {
    gap: 5px;
  }

  .service-link-row {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .service-link-row > * {
    flex: 0 0 auto;
  }

  .review-quote {
    display: none;
  }

  .match-card__meta {
    gap: 6px;
    padding: 12px 14px 14px;
  }

  .badge,
  .decision-pill,
  .inline-service-tag {
    font-size: 0.7rem;
  }
}

@media (max-width: 899px) {
  .results-controls {
    position: static;
  }

  .filter-kebab {
    display: inline-flex;
  }

  .filter-sidebar {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 86px;
    bottom: 12px;
    z-index: 120;
    overflow: auto;
    transform: translateY(16px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .filter-sidebar.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .filter-overlay.active {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(16, 34, 56, 0.35);
    z-index: 110;
  }
}

section {
  padding: 58px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-title {
  margin: 0 0 24px;
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-align: center;
}

.section-subtitle {
  margin: -14px auto 20px;
  max-width: 760px;
  text-align: center;
  color: var(--muted);
}

.language-browse {
  padding-top: 14px;
}

.language-browse-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.language-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border: 1px solid #d9e6f5;
  border-radius: 12px;
  background: #fff;
  text-decoration: none;
  font-weight: 700;
  color: #21486f;
  transition: all 0.2s ease;
}

.language-shortcut .flag-icon {
  width: 22px;
  height: 16px;
}

.language-shortcut:hover,
.language-shortcut:focus-visible {
  border-color: #95bced;
  background: #eef6ff;
}

.expat-features {
  border-top: 1px solid #e4ebf5;
  border-bottom: 1px solid #e4ebf5;
}

.expat-grid {
  display: grid;
  gap: 12px;
}

.expat-card h3 {
  color: #163a61;
}

.community-proof {
  padding-top: 36px;
  padding-bottom: 36px;
}

.community-grid {
  display: grid;
  gap: 12px;
}

.quote-card p {
  margin: 0;
  color: #284663;
  font-size: 0.94rem;
}

.quote-card span {
  display: inline-block;
  margin-top: 12px;
  color: #5e748d;
  font-size: 0.83rem;
  font-weight: 700;
}

.neighbourhood-grid {
  display: grid;
  gap: 12px;
}

.neighbourhood-card {
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.neighbourhood-card:hover,
.neighbourhood-card:focus-visible {
  border-color: #9cbfe9;
  transform: translateY(-2px);
}

.neighbourhood-card h3 {
  margin: 0;
}

.neighbourhood-card p {
  margin: 4px 0 0;
  color: #59728c;
  font-size: 0.88rem;
}

.trust-strip {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust-grid {
  display: grid;
  gap: 14px;
}

.trust-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  padding: 16px;
}

.trust-grid h2 {
  margin: 0;
  font-size: 1.03rem;
}

.trust-grid p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.cards-3,
.cards-4 {
  display: grid;
  gap: 14px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}

.card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.step-card {
  text-align: center;
}

.step {
  width: 44px;
  height: 44px;
  margin: 0 auto 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: var(--primary);
}

.link-arrow {
  display: inline-flex;
  margin-top: 14px;
  text-decoration: none;
  color: var(--primary);
  font-weight: 700;
}

.link-arrow::after {
  content: "\2192";
  margin-left: 6px;
}

.faq-wrap {
  max-width: 850px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 10px;
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  width: 100%;
  border: 0;
  background: #fff;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}

.faq-question:hover,
.faq-question:focus-visible {
  background: #f6fafe;
}

.faq-answer {
  padding: 0 16px 16px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.cta-wrap {
  padding-top: 18px;
}

.final-cta {
  padding: 34px 22px;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, #0e3a78 0%, #0d63d8 100%);
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.final-cta p {
  margin: 8px 0 20px;
  color: #e1edff;
}

footer {
  padding: 46px 0 94px;
  background: #f3f7fc;
  border-top: 1px solid var(--line);
}

.footer-content {
  text-align: center;
}

.footer-brand {
  margin: 0;
  font-weight: 800;
  font-size: 1.1rem;
}

.footer-summary {
  margin: 8px 0 0;
  color: var(--muted);
}

.footer-links {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--primary);
}

.footer-disclaimer {
  margin: 18px auto 0;
  max-width: 700px;
  color: #526b84;
  font-size: 0.83rem;
}

.legal-page {
  background:
    radial-gradient(circle at 14% 8%, rgba(13, 99, 216, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 360px);
}

.legal-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid #dbe7f5;
}

.legal-hero-grid {
  display: grid;
  gap: 18px;
  align-items: start;
}

.legal-hero-grid-single {
  max-width: 860px;
}

.legal-hero h1 {
  margin: 0;
  color: #0d2948;
  letter-spacing: -0.04em;
  line-height: 1.02;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
}

.legal-updated {
  display: inline-flex;
  margin: 16px 0 0;
  padding: 6px 12px;
  border: 1px solid #cfe0f3;
  border-radius: 999px;
  background: #ffffff;
  color: #315d86;
  font-size: 0.86rem;
  font-weight: 800;
}

.legal-intro {
  max-width: 760px;
  margin-top: 18px;
  display: grid;
  gap: 10px;
  color: #3f5871;
  font-size: 1.03rem;
  line-height: 1.75;
}

.legal-intro p {
  margin: 0;
}

.legal-side-card {
  padding: 20px;
  border: 1px solid #cfe0f3;
  border-radius: 22px;
  background: linear-gradient(160deg, #ffffff 0%, #eef6ff 100%);
  box-shadow: 0 18px 46px rgba(13, 65, 128, 0.1);
}

.legal-side-card p {
  margin: 8px 0 0;
  color: #38546f;
}

.legal-side-card a {
  display: inline-flex;
  margin-top: 14px;
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.legal-side-label,
.legal-trust-kicker {
  margin: 0;
  color: #0d63d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-body {
  padding: 28px 0 84px;
}

.legal-trust-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.legal-trust-card {
  padding: 18px;
  border: 1px solid #d9e6f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 72, 130, 0.06);
}

.legal-trust-card p {
  margin: 8px 0 0;
  color: #49637d;
  line-height: 1.6;
}

.legal-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.legal-toc {
  display: none;
}

.legal-content {
  display: grid;
  gap: 12px;
}

.legal-section {
  padding: 22px;
  border: 1px solid #d9e6f4;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 72, 130, 0.055);
  scroll-margin-top: 96px;
}

.legal-section h2 {
  margin: 0 0 12px;
  color: #143d64;
  font-size: clamp(1.18rem, 2.4vw, 1.55rem);
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: #3f5871;
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p,
.legal-section ul + p,
.legal-section p + ul {
  margin-top: 12px;
}

.legal-section ul {
  margin: 0;
  padding-left: 20px;
}

.legal-section li + li {
  margin-top: 8px;
}

.info-page {
  background:
    radial-gradient(circle at 16% 4%, rgba(11, 114, 133, 0.12), transparent 30%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 420px);
}

.info-hero {
  padding: 56px 0 28px;
  border-bottom: 1px solid #dbe7f5;
}

.info-hero-grid {
  display: grid;
  gap: 18px;
  align-items: stretch;
}

.info-hero h1 {
  margin: 0;
  max-width: 820px;
  color: #0d2948;
  font-size: clamp(2.35rem, 6vw, 4.65rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.info-intro {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin-top: 18px;
  color: #3f5871;
  font-size: 1.04rem;
  line-height: 1.72;
}

.info-intro p {
  margin: 0;
}

.info-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.info-contact-panel {
  display: inline-grid;
  gap: 4px;
  margin-top: 18px;
  padding: 14px 16px;
  border: 1px solid #cae0f6;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 72, 130, 0.07);
}

.info-contact-panel a {
  color: #0d63d8;
  font-size: 1.04rem;
  font-weight: 900;
  text-decoration: none;
}

.info-contact-panel span {
  color: #5f7894;
  font-size: 0.88rem;
  font-weight: 700;
}

.info-side-card {
  padding: 22px;
  border: 1px solid #cfe0f3;
  border-radius: 24px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.96) 0%, rgba(232, 246, 255, 0.96) 100%),
    radial-gradient(circle at 90% 0%, rgba(13, 99, 216, 0.14), transparent 34%);
  box-shadow: 0 20px 48px rgba(13, 65, 128, 0.11);
}

.info-side-label {
  margin: 0 0 14px;
  color: #0d63d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-side-card ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-side-card li {
  position: relative;
  padding-left: 24px;
  color: #294b69;
  font-weight: 800;
  line-height: 1.45;
}

.info-side-card li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0d63d8;
  box-shadow: 0 0 0 5px #e6f1ff;
}

.info-body {
  padding: 28px 0 84px;
}

.info-signal-grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.info-signal-card {
  padding: 18px;
  border: 1px solid #d9e6f4;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 28px rgba(20, 72, 130, 0.06);
}

.info-signal-card span {
  color: #0d63d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.info-signal-card p {
  margin: 8px 0 0;
  color: #49637d;
  line-height: 1.6;
}

.info-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}

.info-toc {
  display: none;
}

.info-content {
  display: grid;
  gap: 12px;
}

.info-section {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  padding: 22px;
  border: 1px solid #d9e6f4;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(20, 72, 130, 0.055);
  scroll-margin-top: 96px;
}

.info-section-number {
  margin: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #eaf3ff;
  color: #0d63d8;
  font-weight: 900;
}

.info-section h2 {
  margin: 0 0 10px;
  color: #143d64;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  letter-spacing: -0.02em;
}

.info-section p,
.info-section li {
  color: #3f5871;
  line-height: 1.72;
}

.info-section p {
  margin: 0;
}

.info-section p + p,
.info-section ul + p,
.info-section p + ul {
  margin-top: 12px;
}

.business-auth-page {
  min-height: calc(100vh - 75px);
  padding: 56px 0 84px;
  background:
    radial-gradient(circle at 12% 8%, rgba(13, 99, 216, 0.12), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(15, 134, 82, 0.1), transparent 28%),
    linear-gradient(180deg, #f7fbff 0%, #ffffff 460px);
}

.business-auth-grid {
  display: grid;
  gap: 20px;
  align-items: center;
}

.business-auth-copy h1 {
  margin: 0;
  max-width: 720px;
  color: #0d2948;
  font-size: clamp(2.45rem, 6vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.business-auth-lede {
  margin: 18px 0 0;
  max-width: 640px;
  color: #3f5871;
  font-size: 1.08rem;
  line-height: 1.7;
}

.business-auth-points {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}

.business-auth-points article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #d9e6f4;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 28px rgba(20, 72, 130, 0.055);
}

.business-auth-points span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #eaf3ff;
  color: #0d63d8;
  font-weight: 900;
  font-size: 0.78rem;
}

.business-auth-points p {
  margin: 0;
  color: #38546f;
  line-height: 1.55;
  font-weight: 700;
}

.business-auth-card {
  order: initial;
  padding: 24px;
}

.business-auth-card h2 {
  margin: 0;
  color: #143d64;
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.025em;
}

.business-auth-kicker {
  margin: 0 0 10px;
  color: #0d63d8;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-alert {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.auth-alert-success {
  border: 1px solid #c9efd8;
  background: #f1fbf5;
  color: #0f8652;
}

.auth-alert-error {
  border: 1px solid #f3cdbf;
  background: #fff6f2;
  color: #a13a1d;
}

.business-auth-foot {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #dce7f4;
}

.business-auth-foot p {
  margin: 0;
  color: #5f7690;
  font-size: 0.84rem;
  text-align: center;
}

.business-auth-foot a {
  color: #0d63d8;
  font-weight: 800;
  text-decoration: none;
}

.member-auth-body {
  min-height: 100vh;
  background: #f5f8fc;
}

.member-auth-page {
  min-height: calc(100vh - 310px);
  padding: 48px 0 68px;
  background:
    radial-gradient(circle at 8% 10%, rgba(53, 139, 216, 0.13), transparent 28rem),
    radial-gradient(circle at 90% 14%, rgba(45, 184, 166, 0.12), transparent 26rem),
    linear-gradient(180deg, #f6faff 0%, #ffffff 72%);
}

.member-auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: stretch;
  gap: 20px;
}

.member-auth-context {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vw, 52px);
  border-radius: 26px;
  color: #ffffff;
  background:
    radial-gradient(circle at 94% 8%, rgba(72, 220, 202, 0.3), transparent 19rem),
    linear-gradient(135deg, #0d2f57 0%, #174b83 66%, #176878 100%);
  box-shadow: 0 24px 60px rgba(16, 61, 107, 0.18);
}

.member-auth-context::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -170px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
  pointer-events: none;
}

.member-auth-kicker,
.member-auth-form-kicker {
  margin: 0 0 11px;
  color: #70e4d7;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.member-auth-context h1 {
  max-width: 650px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.15rem, 4.7vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.member-auth-lede {
  max-width: 620px;
  margin: 17px 0 0;
  color: #d7e7f3;
  font-size: 1rem;
  line-height: 1.65;
}

.member-auth-profile {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-top: 27px;
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 17px;
  background: rgba(5, 35, 66, 0.33);
  backdrop-filter: blur(8px);
}

.member-auth-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #0b5862;
  background: linear-gradient(145deg, #dff8f3, #c7e8f3);
  font-size: 0.82rem;
  font-weight: 900;
}

.member-auth-avatar--brand {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: #ffffff;
  box-shadow: 0 9px 24px rgba(1, 24, 51, 0.24);
}

.member-auth-avatar--brand img {
  display: block;
  width: 34px;
  height: 35px;
  object-fit: contain;
}

.member-auth-profile div {
  min-width: 0;
}

.member-auth-profile strong,
.member-auth-profile span {
  display: block;
}

.member-auth-profile strong {
  font-size: 0.88rem;
  line-height: 1.35;
}

.member-auth-profile div span {
  margin-top: 3px;
  overflow: hidden;
  color: #c9ddea;
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Verified dental professional workspace */
.professional-workspace {
  min-height: 100vh;
  padding-bottom: 96px;
  background:
    radial-gradient(circle at 92% 18%, rgba(75, 211, 196, 0.12), transparent 29rem),
    linear-gradient(180deg, #edf5fd 0, #f7faff 520px, #f4f7fb 100%);
}

.professional-admin-preview {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 12px 18px;
  border-bottom: 1px solid #e0bd4f;
  background: #fff2c7;
  color: #5d4400;
  font-weight: 800;
  text-align: center;
}

.professional-admin-preview a {
  margin-left: 8px;
  color: #143d79;
}

.professional-workspace-hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 86px;
  color: #fff;
  background: linear-gradient(125deg, #0c2f58 0%, #164a82 62%, #147783 100%);
}

.professional-workspace-hero::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -230px;
  width: 470px;
  height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.professional-workspace-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: end;
  gap: 50px;
  max-width: 1200px;
}

.professional-workspace-kicker {
  margin: 0 0 14px;
  color: #76eee2;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.professional-workspace-hero h1 {
  max-width: 760px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.professional-workspace-hero__inner > div > p:last-child {
  max-width: 720px;
  margin: 20px 0 0;
  color: #d7e7f5;
  font-size: 1rem;
  line-height: 1.65;
}

.professional-workspace-hero__status {
  display: grid;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: rgba(5, 35, 66, 0.38);
  box-shadow: 0 18px 42px rgba(1, 24, 53, 0.2);
}

.professional-workspace-hero__status span {
  color: #7ef0e4;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.professional-workspace-hero__status strong {
  margin-top: 8px;
  font-size: 2.8rem;
  line-height: 1;
}

.professional-workspace-hero__status small {
  margin-top: 7px;
  color: #d2e2f0;
}

.professional-workspace-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  align-items: start;
  gap: 22px;
  max-width: 1200px;
  margin-top: -46px;
}

.professional-workspace-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
  padding: 20px;
  border: 1px solid #d2e1f0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 20px 50px rgba(22, 64, 105, 0.12);
}

.professional-workspace-identity {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.professional-workspace-identity > img,
.professional-workspace-identity > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  object-fit: cover;
  background: linear-gradient(145deg, #123d72, #166f80);
  color: #fff;
  font-weight: 900;
}

.professional-workspace-identity div,
.professional-workspace-identity strong,
.professional-workspace-identity small {
  min-width: 0;
}

.professional-workspace-identity strong,
.professional-workspace-identity small {
  display: block;
}

.professional-workspace-identity strong {
  overflow: hidden;
  color: #102f52;
  font-size: 0.88rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.professional-workspace-identity small {
  margin-top: 4px;
  color: #647d96;
  font-size: 0.7rem;
  line-height: 1.35;
}

.professional-workspace-progress {
  display: grid;
  gap: 9px;
  padding: 14px;
  border-radius: 15px;
  background: #f1f7fd;
}

.professional-workspace-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #173e6d;
  font-size: 0.72rem;
}

.professional-workspace-progress > i {
  overflow: hidden;
  display: block;
  height: 7px;
  border-radius: 99px;
  background: #d6e4f2;
}

.professional-workspace-progress > i b {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #1767d8, #20b7a7);
}

.professional-workspace-progress small {
  color: #627b94;
  font-size: 0.66rem;
  line-height: 1.45;
}

.professional-workspace-sidebar nav {
  display: grid;
  gap: 5px;
}

.professional-workspace-sidebar nav a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 11px;
  border-radius: 10px;
  color: #294b6e;
  font-size: 0.73rem;
  font-weight: 800;
  text-decoration: none;
}

.professional-workspace-sidebar nav a:hover {
  color: #0f5ebf;
  background: #edf5ff;
}

.professional-workspace-public-link {
  justify-content: center;
  width: 100%;
  min-height: 42px;
  font-size: 0.72rem;
}

.professional-workspace-content {
  min-width: 0;
}

.professional-workspace-form {
  display: grid;
  gap: 18px;
  padding-bottom: 22px;
}

.professional-workspace-section {
  scroll-margin-top: 20px;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid #d4e2f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(22, 64, 105, 0.08);
}

.professional-workspace-section > header {
  padding-bottom: 16px;
  border-bottom: 1px solid #e3ebf4;
}

.professional-workspace-section > header p {
  margin: 0 0 6px;
  color: #147c7e;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.professional-workspace-section > header h2 {
  margin: 0;
  color: #102f52;
  font-size: 1.3rem;
  letter-spacing: -0.025em;
}

.professional-workspace-section > header span {
  display: block;
  margin-top: 6px;
  color: #667f97;
  font-size: 0.75rem;
  line-height: 1.5;
}

.professional-workspace-section .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.professional-workspace-section > label,
.professional-workspace-section .grid > label,
.professional-workspace-section .card label {
  color: #294a6a;
  font-size: 0.73rem;
  font-weight: 800;
}

.professional-workspace-section > label:not(.checkbox-line),
.professional-workspace-section .grid > label:not(.checkbox-line),
.career-editor-card > label:not(.checkbox-line),
.professional-clinic-relationship > label:not(.checkbox-line) {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.professional-workspace-section input:not([type="checkbox"]),
.professional-workspace-section textarea,
.professional-workspace-section select {
  width: 100%;
  min-width: 0;
  margin-top: 0;
  box-sizing: border-box;
  border-color: #cbdced;
  border-radius: 12px;
  background: #fbfdff;
  color: #122f50;
  font-size: 0.82rem;
}

.professional-workspace-section input:focus,
.professional-workspace-section textarea:focus,
.professional-workspace-section select:focus {
  border-color: #1767d8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(23, 103, 216, 0.12);
}

.professional-workspace-section textarea {
  min-height: 118px;
  resize: vertical;
}

.professional-structured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.professional-language-picker,
.professional-list-editor {
  min-width: 0;
  padding: 17px;
  border: 1px solid #d9e6f2;
  border-radius: 15px;
  background: #f8fbfe;
}

.professional-list-editor__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 13px;
}

.professional-list-editor__header > div {
  display: grid;
  gap: 3px;
}

.professional-list-editor__header strong {
  color: #173b63;
  font-size: 0.78rem;
}

.professional-list-editor__header span,
.professional-list-editor__header small {
  color: #6a8299;
  font-size: 0.66rem;
  line-height: 1.4;
}

.professional-list-editor__header small {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e8f2fd;
  color: #245686;
  font-weight: 800;
}

.professional-language-search {
  min-height: 42px;
  margin-bottom: 11px;
}

.professional-language-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  max-height: 210px;
  overflow-y: auto;
  padding-right: 4px;
}

.professional-language-option {
  display: block;
  cursor: pointer;
}

.professional-language-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.professional-language-option span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid #d6e3f0;
  border-radius: 10px;
  background: #fff;
  color: #294a6a;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.professional-language-option span b { font-size: 0.69rem; }
.professional-language-option span small { color: #8296aa; font-size: 0.58rem; }

.professional-language-option input:checked + span {
  border-color: #1767d8;
  background: #eaf3ff;
  color: #0f4f9c;
  box-shadow: inset 3px 0 #1767d8;
}

.professional-list-rows,
.professional-link-rows {
  display: grid;
  gap: 8px;
}

.professional-list-row,
.professional-link-row,
.professional-list-composer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.professional-link-row {
  grid-template-columns: minmax(100px, 0.55fr) minmax(150px, 1fr) auto;
}

.professional-list-composer {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e0eaf3;
}

.professional-structured-grid .professional-list-composer {
  grid-template-columns: 1fr;
}

.professional-structured-grid .professional-list-composer .btn {
  justify-self: start;
}

.professional-list-row button,
.professional-link-row button {
  min-height: 38px;
  padding: 0 8px;
  border: 0;
  background: transparent;
  color: #9b3d45;
  font-size: 0.63rem;
  font-weight: 800;
  cursor: pointer;
}

.professional-links-editor > .btn { margin-top: 10px; }

.professional-minimal-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid #bfe4dc;
  border-radius: 14px;
  background: #effaf7;
  color: #174f50;
}

.professional-minimal-note > span {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: #d4f3eb;
  color: #087f72;
}

.professional-minimal-note > div {
  display: grid;
  gap: 3px;
}

.professional-minimal-note strong { font-size: 0.75rem; }
.professional-minimal-note span { color: #547475; font-size: 0.68rem; line-height: 1.45; }

.professional-optional-block,
.professional-clinic-change {
  border: 1px solid #d9e6f2;
  border-radius: 14px;
  background: #fbfdff;
}

.professional-optional-block > summary,
.professional-clinic-change > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 17px;
  color: #1c436a;
  font-size: 0.74rem;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.professional-optional-block > summary::-webkit-details-marker,
.professional-clinic-change > summary::-webkit-details-marker { display: none; }

.professional-optional-block > summary span {
  display: grid;
  gap: 2px;
}

.professional-optional-block > summary small {
  color: #758ba0;
  font-size: 0.64rem;
  font-weight: 600;
}

.professional-optional-block > summary i { transition: transform 0.18s ease; }
.professional-optional-block[open] > summary i { transform: rotate(180deg); }

.professional-optional-content,
.professional-clinic-change > div {
  display: grid;
  gap: 14px;
  padding: 0 17px 17px;
  border-top: 1px solid #e3edf5;
}

.professional-optional-content { padding-top: 17px; }

.professional-clinic-change {
  margin-top: 14px;
  background: #fff;
}

.professional-clinic-change > div { padding-top: 15px; }

.professional-workspace-section .card {
  box-shadow: none;
}

.professional-photo-editor {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-color: #d9e6f2;
  background: #f7fbff;
}

.professional-photo-editor img,
.professional-photo-placeholder {
  display: grid;
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 22px;
  object-fit: cover;
  background: linear-gradient(145deg, #123d72, #166f80);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 900;
}

.professional-photo-editor__fields {
  display: grid;
  flex: 1 1 auto;
  gap: 9px;
  min-width: 0;
}

.professional-photo-editor__fields input[type="file"] {
  min-height: 48px;
  padding: 8px;
}

.career-editor-section,
.professional-clinic-relationship {
  padding: 0;
  border: 0;
}

.career-editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.career-editor-list {
  display: grid;
  gap: 13px;
}

.career-editor-empty {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 18px;
  border: 1px dashed #bcd1e5;
  border-radius: 14px;
  background: #f6faff;
  color: #5f7891;
  font-size: 0.75rem;
  line-height: 1.5;
}

.career-editor-empty strong {
  color: #173e6d;
  font-size: 0.82rem;
}

.career-editor-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid #d4e2f2;
  border-radius: 16px;
  background: #f9fbfe;
}

.career-editor-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.career-editor-heading > div {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.career-status {
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
}

.career-status.is-pending { background: #fff1cf; color: #765100; }
.career-status.is-verified { background: #dff7ec; color: #096744; }
.career-remove { border: 0; background: transparent; color: #a23535; font-weight: 800; }
.professional-clinic-relationship { display: grid; gap: 12px; }
.professional-clinic-relationship h2 { margin: 0; color: #12375f; }
.professional-clinic-relationship > p { margin: 0; color: #627b94; }

.professional-workspace-actions {
  position: sticky;
  z-index: 10;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px;
  border: 1px solid #bdd2e7;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 45px rgba(12, 49, 88, 0.2);
  backdrop-filter: blur(12px);
}

.professional-workspace-actions strong,
.professional-workspace-actions span {
  display: block;
}

.professional-workspace-actions strong { color: #12375f; font-size: 0.78rem; }
.professional-workspace-actions span { margin-top: 3px; color: #698199; font-size: 0.67rem; }
.professional-workspace-actions .btn { min-width: 150px; }

@media (max-width: 900px) {
  .professional-workspace-hero { padding: 42px 0 72px; }
  .professional-workspace-hero__inner { grid-template-columns: 1fr; gap: 24px; }
  .professional-workspace-hero__status { width: min(220px, 100%); }
  .professional-workspace-layout { grid-template-columns: 1fr; }
  .professional-workspace-sidebar { position: relative; top: 0; }
  .professional-workspace-sidebar nav { grid-template-columns: repeat(5, minmax(130px, 1fr)); overflow-x: auto; }
}

@media (max-width: 640px) {
  .professional-workspace { padding-bottom: 70px; }
  .professional-workspace-hero { padding: 34px 0 68px; }
  .professional-workspace-hero h1 { font-size: 2.35rem; }
  .professional-workspace-layout { margin-top: -38px; }
  .professional-workspace-sidebar,
  .professional-workspace-section { border-radius: 18px; }
  .professional-workspace-section { padding: 19px; }
  .professional-workspace-section .grid { grid-template-columns: 1fr; }
  .professional-structured-grid { grid-template-columns: 1fr; }
  .professional-language-options { grid-template-columns: 1fr; max-height: 250px; }
  .professional-link-row { grid-template-columns: 1fr auto; }
  .professional-link-row [data-profile-link-label] { grid-column: 1 / -1; }
  .professional-workspace-sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
  }
  .professional-workspace-sidebar nav a {
    justify-content: center;
    min-width: 0;
    border: 1px solid #d8e5f2;
    text-align: center;
  }
  .professional-workspace-sidebar nav a:last-child { grid-column: 1 / -1; }
  .professional-photo-editor { align-items: flex-start; flex-direction: column; }
  .career-editor-header { align-items: stretch; flex-direction: column; }
  .professional-workspace-actions {
    bottom: 8px;
    align-items: center;
    padding: 10px 11px;
  }
  .professional-workspace-actions span { display: none; }
  .professional-workspace-actions .btn {
    width: auto;
    min-width: 124px;
    min-height: 44px;
  }
}

.member-auth-assurances {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 10px;
  margin: 23px 0 0;
  padding: 0;
  list-style: none;
}

.member-auth-assurances li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  gap: 9px;
  color: #dcebf4;
  font-size: 0.78rem;
  line-height: 1.5;
}

.member-auth-assurances i {
  margin-top: 2px;
  color: #70e4d7;
}

.member-auth-return {
  position: relative;
  z-index: 1;
  align-self: flex-start;
  margin-top: 28px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.member-auth-return:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.member-auth-form-card {
  align-self: center;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  box-shadow: 0 22px 55px rgba(17, 65, 111, 0.12);
}

.member-auth-form-kicker {
  color: #177c83;
}

.member-auth-form-card h2 {
  margin: 0 0 8px;
  color: #102f50;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.member-auth-form-card .form-subtitle {
  margin-bottom: 22px;
}

.member-auth-form-card .form-group label {
  color: #284d70;
  font-size: 0.78rem;
  font-weight: 800;
}

.member-auth-form-card .form-group input {
  min-height: 48px;
  border-color: #cbdceb;
  background: #fbfdff;
}

.member-auth-form-card .form-submit {
  min-height: 48px;
  margin-top: 7px;
}

.member-auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: #526d86;
  font-size: 0.77rem;
  font-weight: 700;
  cursor: pointer;
}

.member-auth-remember input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: #0d63d8;
}

.member-auth-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  padding-top: 17px;
  border-top: 1px solid #dce7f2;
  color: #5c7388;
  font-size: 0.78rem;
}

.member-auth-switch a {
  color: #0d63d8;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.member-auth-privacy {
  margin: 16px 0 0;
  color: #788a99;
  font-size: 0.67rem;
  line-height: 1.55;
}

.member-auth-state-page {
  display: grid;
  min-height: calc(100vh - 380px);
  place-items: center;
}

.member-auth-state-shell {
  display: grid;
  place-items: center;
}

.member-auth-state-card {
  width: min(100%, 560px);
  text-align: center;
}

.member-auth-state-card h1 {
  margin: 0 0 10px;
  color: #102f50;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.member-auth-state-card .form-submit {
  display: inline-flex;
  width: auto;
  min-width: 190px;
  margin-top: 8px;
}

.member-auth-state-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 0 auto 18px;
  place-items: center;
  border-radius: 18px;
  color: #0e6c73;
  background: linear-gradient(145deg, #ddf7f2, #dceeff);
  font-size: 1.45rem;
}

@media (max-width: 820px) {
  .member-auth-page {
    padding: 22px 0 42px;
  }

  .member-auth-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .member-auth-context {
    min-height: 0;
    padding: 24px;
    border-radius: 21px;
  }

  .member-auth-context h1 {
    font-size: clamp(1.85rem, 8vw, 2.7rem);
  }

  .member-auth-assurances {
    grid-template-columns: 1fr;
  }

  .member-auth-form-card {
    width: 100%;
    border-radius: 21px;
  }
}

@media (max-width: 520px) {
  .member-auth-context {
    padding: 20px;
  }

  .member-auth-lede {
    font-size: 0.88rem;
  }

  .member-auth-assurances li:nth-child(2) {
    display: none;
  }

  .member-auth-form-card {
    padding: 21px;
  }

  .member-auth-switch {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }
}

.clinic-detail-page {
  padding: 42px 0 100px;
}

.clinic-layout {
  display: grid;
  gap: 14px;
  margin-top: 14px;
  min-width: 0;
}

.clinic-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 2px 0 10px;
}

.clinic-hero-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d7e6f7;
  border-radius: 999px;
  background: #f6faff;
  color: #18446f;
  font-weight: 700;
  font-size: 0.81rem;
  padding: 6px 12px;
}

.clinic-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 20px;
  margin-bottom: 14px;
}

.clinic-hero-main {
  min-width: 0;
  flex: 1 1 auto;
}

.clinic-hero-title {
  margin: 0 0 8px;
  color: #102f52;
  letter-spacing: -0.03em;
  line-height: 1.06;
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.clinic-hero-address {
  margin: 0;
  color: #55708b;
  font-size: 1.08rem;
  font-weight: 600;
}

.clinic-search-evidence {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}

.clinic-search-evidence > span {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid #d7e5f5;
  border-radius: 999px;
  background: #f7fbff;
  color: #294865;
  font-size: .82rem;
  line-height: 1.2;
}

.seo-price-evidence strong { color: #12365f; }

.area-hub-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 32px;
  align-items: end;
  padding: 38px;
  border-radius: 28px;
  background: linear-gradient(120deg, #10345f 0%, #164879 62%, #177889 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}
.area-hub-hero h1 { margin:0 0 10px; color:#fff; font-size:clamp(2.25rem, 6vw, 4.5rem); line-height:.98; letter-spacing:-.055em; }
.area-hub-hero .hero-text { margin:0; color:#dcecff; max-width:720px; }
.area-hub-hero .eyebrow {
  border: 1px solid rgba(117, 236, 225, .34);
  background: rgba(3, 36, 68, .48);
  color: #8ff8ee;
  box-shadow: 0 8px 22px rgba(3, 29, 58, .16);
}
.area-hub-stat { padding:22px; border:1px solid rgba(255,255,255,.24); border-radius:22px; background:rgba(6,35,65,.4); text-align:center; }
.area-hub-stat strong, .area-hub-stat span, .area-hub-stat small { display:block; }
.area-hub-stat strong { font-size:2.55rem; line-height:1; }
.area-hub-stat span { margin-top:8px; font-weight:800; }
.area-hub-stat small { margin-top:6px; color:#d7e8fa; }
.area-relationship-grid, .area-price-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.area-relationship-grid a, .area-price-grid a { display:flex; flex-direction:column; gap:5px; padding:14px; border:1px solid #d7e5f5; border-radius:14px; color:#12365f; text-decoration:none; background:#fbfdff; }
.area-relationship-grid a:hover, .area-price-grid a:hover { border-color:#8bbce9; background:#f3f8ff; transform:translateY(-1px); }
.area-relationship-grid span, .area-price-grid small { color:#607892; font-size:.78rem; }
.area-price-grid strong { font-size:1.08rem; }
.area-dentist-card { padding:14px; min-height:120px; }
.clinic-entity-group { display:grid; grid-template-columns:130px minmax(0,1fr); gap:12px; align-items:start; padding:10px 0; border-top:1px solid #e4edf7; }
.clinic-entity-group > strong { color:#294865; padding-top:7px; }
.clinic-entity-group .language-tags { margin:0; }

@media (max-width: 760px) {
  .area-hub-hero { grid-template-columns:1fr; padding:26px 20px; }
  .area-hub-stat { text-align:left; }
  .area-relationship-grid, .area-price-grid { grid-template-columns:1fr; }
  .clinic-entity-group { grid-template-columns:1fr; gap:4px; }
}

.clinic-score-card {
  width: 244px;
  border-radius: 30px;
  background: #143d79;
  color: #ffffff;
  padding: 20px 18px;
  text-align: center;
  margin: 0;
  flex: 0 0 auto;
  box-shadow: 0 12px 24px rgba(20, 61, 121, 0.2);
}

.clinic-score-value {
  margin: 0;
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 0.92;
  color: #ffffff;
}

.clinic-score-reviews {
  margin: 8px 0 0;
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.05;
}

.v2-ratingbox {
  background: #143d79;
  color: #ffffff;
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(20, 61, 121, 0.2);
  flex: 0 0 auto;
}

.language-tags-round .language-tag {
  border-radius: 999px;
  min-width: 60px;
  justify-content: center;
  font-weight: 800;
  background: #ffffff;
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 10px;
}

.facility-card {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  padding: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
  min-width: 0;
}

.facility-card:hover {
  border-color: #0052cc;
  box-shadow: 0 10px 30px rgba(0, 82, 204, 0.08);
}

.facility-card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef5ff;
  color: #0d63d8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.facility-card-icon .ui-icon {
  margin-right: 0;
  font-size: 1rem;
}

.facility-card-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  flex: 1 1 auto;
}

.facility-card-copy strong {
  font-size: 0.94rem;
  color: #183b62;
}

.facility-card-copy small {
  font-size: 0.78rem;
  color: #56708a;
  line-height: 1.3;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.clinic-main,
.clinic-sidebar,
.clinic-hero,
.card {
  min-width: 0;
}

.clinic-main {
  padding: 0;
}

.facility-card-state {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.facility-card-state.is-on {
  color: #0f8652;
}

.facility-card-state.is-off {
  color: #5f7690;
}

.clinic-main section + section {
  margin-top: 14px;
}

.similar-clinics-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}

.similar-clinic-card {
  flex: 0 0 min(320px, 84vw);
  min-width: min(320px, 84vw);
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  padding: 12px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.similar-clinic-card.is-compare-selected {
  border-color: #67a4e9;
  background: linear-gradient(155deg, #fff 0%, #eef6ff 100%);
  box-shadow: 0 10px 24px rgba(13, 99, 216, .12);
}

.similar-clinic-compare {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  margin: 0 0 10px;
  color: #234d78;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.similar-clinic-compare input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--primary);
}

.similar-clinic-compare input:disabled + span {
  color: #8a9caf;
  cursor: not-allowed;
}

.similar-clinic-title {
  margin: 0 0 6px;
  font-size: 1rem;
  line-height: 1.28;
}

.similar-clinic-address {
  margin: 0 0 6px;
}

.similar-clinic-meta {
  margin: 0 0 8px;
}

.similar-clinic-cta {
  margin-top: auto;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.similar-clinics-row::-webkit-scrollbar {
  height: 6px;
}

.similar-clinics-row::-webkit-scrollbar-thumb {
  background: #c8d9ee;
  border-radius: 999px;
}

.clinic-compare-bar {
  position: fixed;
  z-index: 180;
  left: 50%;
  bottom: 20px;
  width: min(760px, calc(100vw - 40px));
  min-height: 70px;
  padding: 11px 12px 11px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  color: #fff;
  background: linear-gradient(115deg, #0b2948 0%, #123e72 72%, #0d5c76 100%);
  box-shadow: 0 20px 55px rgba(7, 35, 69, .28);
}

.clinic-compare-bar[hidden],
.clinic-compare-modal[hidden] {
  display: none;
}

.clinic-compare-bar__summary {
  display: grid;
  gap: 2px;
}

.clinic-compare-bar__summary strong { font-size: .9rem; }
.clinic-compare-bar__summary span { color: #cfe0ed; font-size: .7rem; }

.clinic-compare-bar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.clinic-compare-clear {
  min-height: 38px;
  padding: 0 11px;
  border: 0;
  color: #d8e7f2;
  background: transparent;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  cursor: pointer;
}

.clinic-compare-modal {
  position: fixed;
  z-index: 360;
  inset: 0;
  padding: 28px;
  display: grid;
  place-items: center;
  background: rgba(5, 25, 47, .72);
  backdrop-filter: blur(8px);
}

.clinic-compare-dialog {
  width: min(1180px, 100%);
  max-height: min(860px, calc(100dvh - 56px));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cbdced;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(4, 24, 48, .34);
}

.clinic-compare-dialog__head {
  padding: 20px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #dbe7f3;
  background: linear-gradient(120deg, #f7fbff 0%, #edf6ff 100%);
}

.clinic-compare-dialog__head span {
  color: #247d85;
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.clinic-compare-dialog__head h2 {
  margin: 3px 0 0;
  color: #12365f;
  font-size: 1.35rem;
}

.clinic-compare-close {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid #c9daec;
  border-radius: 50%;
  color: #244d75;
  background: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}

.clinic-compare-toolbar {
  padding: 11px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #e0eaf4;
}

.clinic-compare-toolbar p {
  margin: 0;
  color: #60788f;
  font-size: .72rem;
}

.clinic-compare-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #294f75;
  font-size: .72rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.clinic-compare-toolbar input { accent-color: var(--primary); }

.clinic-compare-table-wrap {
  min-height: 260px;
  overflow: auto;
  overscroll-behavior: contain;
}

.clinic-compare-table {
  width: 100%;
  min-width: 880px;
  border-collapse: separate;
  border-spacing: 0;
  color: #36536f;
  font-size: .76rem;
}

.clinic-compare-table th,
.clinic-compare-table td {
  min-width: 220px;
  padding: 13px 15px;
  vertical-align: top;
  border-right: 1px solid #e1eaf3;
  border-bottom: 1px solid #e1eaf3;
  line-height: 1.5;
}

.clinic-compare-table thead th {
  position: sticky;
  z-index: 2;
  top: 0;
  color: #153c65;
  background: #f6faff;
  text-align: left;
}

.clinic-compare-table thead th a {
  display: block;
  color: #0d63d8;
  font-size: .82rem;
  text-decoration: none;
}

.clinic-compare-table thead th small {
  display: inline-flex;
  margin-top: 5px;
  padding: 3px 7px;
  border-radius: 999px;
  color: #16654d;
  background: #e6f7ef;
  font-size: .62rem;
}

.clinic-compare-table tbody th {
  position: sticky;
  z-index: 1;
  left: 0;
  min-width: 175px;
  color: #173f68;
  background: #f9fbfd;
  text-align: left;
}

.clinic-compare-table tbody tr:nth-child(even) td { background: #fbfdff; }

@media (max-width: 759px) {
  .clinic-compare-bar {
    bottom: calc(72px + env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
    min-height: 60px;
    padding: 9px 9px 9px 13px;
    gap: 8px;
    border-radius: 16px;
  }

  .clinic-compare-bar__summary span { display: none; }
  .clinic-compare-bar__summary strong { font-size: .76rem; }
  .clinic-compare-bar__actions { gap: 3px; }
  .clinic-compare-clear { padding: 0 7px; }
  .clinic-compare-bar .btn { min-height: 40px; padding: 0 12px; font-size: .72rem; }

  .clinic-compare-modal {
    padding: 0;
    place-items: end stretch;
  }

  .clinic-compare-dialog {
    width: 100%;
    max-height: 92dvh;
    border-radius: 22px 22px 0 0;
  }

  .clinic-compare-dialog__head { padding: 16px; }
  .clinic-compare-dialog__head h2 { font-size: 1.08rem; }
  .clinic-compare-toolbar { padding: 10px 16px; align-items: flex-start; flex-direction: column; gap: 8px; }
  .clinic-compare-table { min-width: 760px; font-size: .7rem; }
  .clinic-compare-table th,
  .clinic-compare-table td { min-width: 185px; padding: 11px 12px; }
  .clinic-compare-table tbody th { min-width: 145px; }
}

.clinic-main section[id],
.clinic-hero[id],
.clinic-sidebar [id] {
  scroll-margin-top: 88px;
}

.clinic-sidebar .sticky-card {
  position: static;
}

.clinic-direct-contact {
  margin: -4px -4px 16px;
  padding: 14px;
  border: 1px solid #cfe0f5;
  border-radius: 16px;
  background: linear-gradient(145deg, #f7fbff 0%, #edf5ff 100%);
}

.clinic-direct-contact__head {
  display: grid;
  gap: 2px;
  margin-bottom: 10px;
}

.clinic-direct-contact__head span,
.clinic-direct-contact__action small {
  color: #607a9b;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.clinic-direct-contact__head strong {
  color: #102f56;
  font-size: 0.92rem;
}

.clinic-direct-contact__actions {
  display: grid;
  gap: 7px;
}

.clinic-direct-contact__action {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid #d4e2f4;
  border-radius: 12px;
  background: #fff;
  color: #143d79;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.clinic-direct-contact__action:hover {
  border-color: #7ba9e4;
  box-shadow: 0 8px 18px rgba(20, 61, 121, 0.1);
  transform: translateY(-1px);
}

.clinic-direct-contact__action > .ui-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #143d79;
  color: #fff;
  font-size: 0.9rem;
}

.clinic-direct-contact__action span {
  display: grid;
  min-width: 0;
}

.clinic-direct-contact__action strong {
  overflow: hidden;
  color: #163a68;
  font-size: 0.82rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gallery-grid {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #f8fbff;
  height: 320px;
}

.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.28s ease;
}

.gallery-slide {
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
  margin: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-slide-image {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  cursor: zoom-in;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid #bdd6f3;
  background: rgba(255, 255, 255, 0.96);
  color: #1b3f6a;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.gallery-nav.prev {
  left: 10px;
}

.gallery-nav.next {
  right: 10px;
}

.gallery-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 10px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: #bdd0e8;
  cursor: pointer;
}

.gallery-dot.active {
  background: #0d63d8;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 38, 0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 1200;
}

.image-lightbox.open {
  display: flex;
}

.image-lightbox-inner {
  position: relative;
  width: min(96vw, 1100px);
  max-height: 92vh;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1d35;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.image-lightbox img {
  width: 100%;
  max-height: 92vh;
  object-fit: contain;
  display: block;
}

.image-lightbox-close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(17, 34, 57, 0.84);
  font-size: 1.25rem;
  cursor: pointer;
}

.image-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  background: rgba(17, 34, 57, 0.84);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.image-lightbox-nav.prev {
  left: 10px;
}

.image-lightbox-nav.next {
  right: 10px;
}

.before-after {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
}

.price-table td {
  border-top: 1px solid #e2e8f0;
  padding: 10px 6px;
  font-size: 0.92rem;
}

.price-table tr:first-child td {
  border-top: 0;
}

.contact-now {
  background: #0052cc;
}

.clinic-page-header .nav-wrap {
  gap: 8px;
}

.clinic-quick-nav {
  display: none;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.clinic-quick-nav a {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  color: #22486f;
  border: 1px solid #d0e0f4;
  background: #f4f9ff;
  border-radius: 999px;
  padding: 6px 10px;
}

.clinic-quick-nav a:hover,
.clinic-quick-nav a:focus-visible {
  background: #e8f2ff;
  border-color: #b4cdee;
}

.clinic-header-actions {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.clinic-share-inline {
  display: inline-flex;
}

.ask-question-btn {
  background: #e0f2fe;
  border-color: #b9ddfa;
  color: #0d63d8;
}

.quick-inquiry-trust {
  margin: 0 0 12px;
  padding: 9px 11px;
  border: 1px solid #d5e5f7;
  border-radius: 10px;
  color: #315473;
  background: #f4f9ff;
  font-size: 0.78rem;
  line-height: 1.4;
}

.quick-inquiry-form .form-group {
  margin-bottom: 10px;
}

.quick-inquiry-microcopy {
  margin: 7px 0 0;
  color: #5c7288;
  font-size: 0.7rem;
  line-height: 1.35;
  text-align: center;
}

.mobile-cta-bar {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: min(calc(100% - 24px), 430px);
  transform: translateX(-50%);
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(194, 213, 235, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 40px rgba(12, 48, 92, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.visually-hidden {
  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;
}

.clinic-share-modal {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 27, 51, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.clinic-share-modal[hidden] {
  display: none;
}

.clinic-share-dialog {
  width: min(100%, 580px);
  max-height: min(720px, 90dvh);
  overflow-y: auto;
  border: 1px solid #d7e5f5;
  border-radius: 22px;
  padding: 20px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(8, 35, 70, 0.26);
}

.clinic-share-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.clinic-share-head span {
  display: block;
  margin-bottom: 3px;
  color: #63809e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clinic-share-head h3 {
  margin: 0;
  color: #102c4b;
  font-size: 1.3rem;
}

.clinic-share-close {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid #cdddf0;
  border-radius: 999px;
  color: #173d67;
  background: #f7fbff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.clinic-share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.clinic-share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid #d5e3f4;
  border-radius: 13px;
  color: #173d67;
  background: #f8fbff;
  text-align: left;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.clinic-share-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  color: #173d67;
  background: #e9f2fc;
  font-size: 1.15rem;
}

.clinic-share-icon.is-whatsapp { color: #fff; background: #20b65a; }
.clinic-share-icon.is-facebook { color: #fff; background: #1877f2; }
.clinic-share-icon.is-x { color: #fff; background: #111; }
.clinic-share-icon.is-telegram { color: #fff; background: #229ed9; }
.clinic-share-icon.is-linkedin { color: #fff; background: #0a66c2; }
.clinic-share-icon.is-email { color: #fff; background: #d95c45; }
.clinic-share-icon.is-more { color: #fff; background: #143d79; }
.clinic-share-icon.is-copy { color: #143d79; background: #dcecff; }

.clinic-share-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.clinic-share-option:hover,
.clinic-share-option:focus-visible {
  border-color: #8db9eb;
  background: #edf6ff;
}

.clinic-share-option strong {
  font-size: 0.9rem;
}

.clinic-share-option small {
  color: #607a94;
  font-size: 0.72rem;
  line-height: 1.35;
}

@media (max-width: 899px) {
  .clinic-data-notice {
    padding-bottom: calc(104px + env(safe-area-inset-bottom)) !important;
  }

  .clinic-share-dialog {
    width: 100%;
    max-height: 88dvh;
    border-radius: 18px;
    padding: 16px;
  }

  .clinic-share-grid {
    grid-template-columns: 1fr;
  }

  .clinic-share-inline {
    display: none;
  }

  #clinicShareBtn {
    display: none;
  }
}

.mobile-cta {
  position: static;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 16px;
  text-decoration: none;
  min-height: 52px;
  color: #173d67;
  background: transparent;
  box-shadow: none;
  z-index: 70;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.mobile-cta:hover,
.mobile-cta:focus-visible {
  color: #0d63d8;
  background: #edf5ff;
  transform: translateY(-1px);
}

.mobile-cta > .bi {
  font-size: 1.28rem;
  line-height: 1;
}

.mobile-cta.contact-now {
  color: #fff;
  background: #0d63d8;
  box-shadow: 0 7px 18px rgba(13, 99, 216, 0.24);
}

.mobile-menu-btn {
  color: #173d67;
  min-width: 0;
}

.mobile-chat-btn {
  color: #fff;
  background: #143d79;
  box-shadow: 0 7px 18px rgba(20, 61, 121, 0.22);
}

.mobile-share-btn {
  color: #173d67;
  background: transparent;
}

.mobile-chat-btn.is-active {
  background: #0b2f63;
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.18);
}

.mobile-chat-btn .ui-icon {
  width: 15px;
  height: 15px;
  margin: 0;
}

.mobile-sticky-filter-btn {
  display: none !important;
}

.mobile-sticky-filter-btn[hidden] {
  display: none !important;
}

.mobile-section-menu {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(84px + env(safe-area-inset-bottom));
  z-index: 69;
  border: 1px solid #cfe0f4;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(10, 41, 84, 0.18);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.mobile-section-menu[hidden] {
  display: none !important;
}

.mobile-section-menu a {
  text-decoration: none;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1e4a7b;
  border: 1px solid #d7e5f7;
  border-radius: 10px;
  padding: 7px 6px;
  background: #f7fbff;
}

.clinic-ai-chat {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
}

.clinic-ai-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #0d4fac;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f54bb 0%, #144f9f 100%);
  color: #fff;
  font-weight: 900;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 13px 18px;
  min-height: 52px;
  box-shadow: 0 14px 30px rgba(11, 76, 173, 0.38), 0 0 0 4px rgba(255, 255, 255, 0.92);
  cursor: pointer;
}

.clinic-ai-chat-toggle .ui-icon {
  margin-right: 0;
}

.clinic-ai-chat-panel {
  width: min(390px, calc(100vw - 24px));
  height: min(64vh, 680px);
  border: 1px solid #c6d9f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 36px rgba(10, 41, 84, 0.25);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.clinic-ai-chat-panel[hidden] {
  display: none !important;
}

.clinic-ai-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 9px;
  border-bottom: 1px solid #d8e6f7;
  background: linear-gradient(180deg, #f3f8ff 0%, #eef5ff 100%);
  color: #173d67;
}

.clinic-ai-chat-header-copy {
  display: grid;
  gap: 2px;
}

.clinic-ai-chat-header-copy small {
  font-size: 0.69rem;
  color: #5b7490;
  font-weight: 600;
}

.clinic-ai-chat-close {
  width: 28px;
  height: 28px;
  border: 1px solid #c9dcf3;
  border-radius: 999px;
  background: #fff;
  color: #1a4a7c;
  font-size: 1rem;
  line-height: 1;
}

.clinic-ai-chat-messages {
  max-height: none;
  min-height: 220px;
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  gap: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
}

.clinic-ai-msg {
  margin: 0;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
  line-height: 1.4;
  max-width: 88%;
}

.clinic-ai-msg.ai {
  border: 1px solid #deebfb;
  background: #f7fbff;
  color: #1f4c7d;
  margin-right: auto;
}

.clinic-ai-msg.user {
  border: 1px solid #cfe1fb;
  background: #eaf3ff;
  color: #0f3f72;
  margin-left: auto;
}

.clinic-ai-msg.pending {
  opacity: 0.75;
  animation: clinicAiPulse 1.1s ease-in-out infinite;
}

@keyframes clinicAiPulse {
  0% { opacity: 0.55; }
  50% { opacity: 1; }
  100% { opacity: 0.55; }
}

.clinic-ai-chat-prompts {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  overflow-x: hidden;
  padding: 8px 10px 6px;
  border-top: 1px solid #edf3fb;
  border-bottom: 1px solid #edf3fb;
  background: #fbfdff;
}

.clinic-ai-chat-prompts button {
  border: 1px solid #d6e6f9;
  background: #ffffff;
  color: #1d4c7c;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  min-height: 34px;
  white-space: nowrap;
}

.clinic-ai-chat-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 96px;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #e1ebf7;
  padding: 10px;
}

.clinic-ai-chat-form input {
  border: 1.5px solid #d9e4f2;
  border-radius: 10px;
  height: 44px;
  padding: 0 12px;
  font: inherit;
  min-width: 0;
}

.clinic-ai-chat-form button {
  border: 1px solid #0f54bb;
  border-radius: 10px;
  background: #0f54bb;
  color: #fff;
  font-weight: 800;
  font-size: 0.84rem;
  height: 44px;
  padding: 0 12px;
}

.clinic-ai-chat-note {
  margin: 0;
  border-top: 1px solid #edf3fb;
  padding: 8px 10px 10px;
  font-size: 0.72rem;
  color: #5f7690;
  background: #fbfdff;
}

.clinic-ai-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(12, 33, 62, 0.48);
  display: grid;
  place-items: center;
  padding: 18px;
}

.clinic-ai-consent-modal[hidden] {
  display: none !important;
}

.clinic-ai-consent-dialog {
  width: min(460px, 100%);
  background: #fff;
  border: 1px solid #c9dcf2;
  border-radius: 16px;
  box-shadow: 0 22px 44px rgba(9, 28, 58, 0.35);
  padding: 16px;
  display: grid;
  gap: 10px;
}

.clinic-ai-consent-dialog h4 {
  margin: 0;
  font-size: 1.02rem;
  color: #173d67;
}

.clinic-ai-consent-dialog p {
  margin: 0;
  color: #3a5672;
  font-size: 0.9rem;
  line-height: 1.45;
}

.clinic-ai-consent-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  color: #2f4c68;
}

.clinic-ai-consent-check input {
  margin-top: 2px;
}

.clinic-ai-consent-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.clinic-ai-consent-actions .btn {
  min-height: 40px;
  padding: 0 14px;
}

@media (min-width: 760px) {
  .public-nav-toggle { display: none; }
  .clinic-ai-chat {
    right: 24px;
    bottom: 24px;
    left: auto;
    display: block;
  }

  .clinic-ai-chat-panel {
    width: clamp(380px, 30vw, 460px);
    height: min(calc(100vh - 96px), 700px);
    max-height: calc(100vh - 96px);
  }

  .clinic-ai-chat-messages {
    min-height: 240px;
  }

  .nav-wrap {
    min-height: 74px;
    padding: 0;
  }

  .logo {
    gap: 10px;
    font-size: 1.15rem;
  }

  .nav {
    display: flex;
  }

  .header-actions {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
  }

  .hero {
    padding-top: 58px;
    padding-bottom: 62px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 180px;
    align-items: end;
    gap: 42px;
  }

  .hero-copy {
    max-width: none;
  }

  .home-search-section .container {
    margin-top: 0;
    margin-bottom: -27px;
    transform: translateY(-27px);
  }

  .hero-actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero-actions .btn {
    width: auto;
  }

  .hero-copy {
    padding: 0;
  }

  .home-search-section .search-form {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 0.9fr) 150px 170px;
    gap: 10px;
    align-items: end;
  }

  .home-search-section .search-form > .form-group:first-child {
    grid-column: 1;
    grid-row: 1;
  }

  .home-search-section .form-group-postcode {
    grid-column: 2;
    grid-row: 1;
    position: relative;
  }

  .home-search-section .treatment-main-filter {
    grid-column: 3;
    grid-row: 1;
  }

  .home-search-section .advanced-search {
    grid-column: 4;
    grid-row: 1;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .home-search-section .advanced-search > summary {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid #cfdeed;
    border-radius: 12px;
    background: #fbfdff;
    white-space: nowrap;
  }

  .home-search-section .advanced-search[open] {
    grid-column: 1 / -1;
    grid-row: 2;
    padding: 14px;
    border: 1px solid #cfdeed;
    background: #fbfdff;
  }

  .home-search-section .form-note,
  .home-search-section #formStatus {
    grid-column: 1 / -1;
  }

  .home-search-section .form-submit {
    grid-column: 5;
    grid-row: 1;
    width: 100%;
    margin: 0;
  }

  .home-search-section #quickLanguageHint,
  .home-search-section .form-note {
    display: none;
  }

  .home-search-section .form-group-postcode #postcodeError {
    margin: 0;
  }

  .home-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
  }

  .home-market-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .facility-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .top-filter-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .trust-grid,
  .cards-3,
  .community-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards-4,
  .expat-grid,
  .language-browse-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .neighbourhood-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mobile-cta-bar,
  .mobile-section-menu {
    display: none;
  }

  .clinic-quick-nav {
    display: inline-flex;
  }

  .clinic-layout {
    grid-template-columns: minmax(0, 1fr) 350px;
    align-items: start;
    gap: 26px;
  }

  .clinic-sidebar .sticky-card {
    position: sticky;
    top: 100px;
  }

  .quick-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .similar-clinic-card {
    flex-basis: calc((100% - 20px) / 3);
    min-width: calc((100% - 20px) / 3);
  }

  footer {
    padding-bottom: 56px;
  }

  .member-dashboard-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }

  .member-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .member-favorites-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1040px) {
  .home-price-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .mobile-cta-bar {
    display: grid;
  }

  .mobile-section-menu:not([hidden]) {
    display: grid;
  }

  body:has(.mobile-cta-bar) footer {
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  .clinic-ai-chat {
    right: 10px;
    left: auto;
    bottom: var(--clinic-chat-mobile-bottom, calc(82px + env(safe-area-inset-bottom)));
    padding: 0;
    display: block;
    pointer-events: none;
  }

  .clinic-ai-chat.open,
  .clinic-ai-chat.has-modal {
    pointer-events: auto;
  }

  .clinic-ai-chat-toggle,
  .clinic-ai-chat-panel,
  .clinic-ai-consent-modal {
    pointer-events: auto;
  }

  .clinic-ai-chat-toggle {
    display: none !important;
  }

  .clinic-ai-chat-panel {
    width: min(100%, 420px);
    height: var(--clinic-chat-mobile-height, min(calc(100dvh - 166px), 72dvh));
    max-height: var(--clinic-chat-mobile-height, calc(100dvh - 166px));
    border-radius: 14px;
  }

  .clinic-ai-chat-form {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .clinic-ai-chat-form button {
    font-size: 0.8rem;
  }
}

@media (max-width: 759px) {
  #facilities-services .cards-3 {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  #facilities-services .cards-3::-webkit-scrollbar {
    height: 6px;
  }

  #facilities-services .cards-3::-webkit-scrollbar-thumb {
    background: #c8d9ee;
    border-radius: 999px;
  }

  #facilities-services .cards-3 > .card {
    min-width: min(320px, 86vw);
    flex: 0 0 auto;
    scroll-snap-align: start;
    margin: 0;
  }

  .clinic-header-actions a[href="#sidebar-contact"] {
    display: none;
  }

  .mobile-cta,
  .mobile-menu-btn {
    min-height: 52px;
  }
}

@media (min-width: 1024px) {
  .language-browse-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .expat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .member-favorites-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 759px) {
  .clinic-score-card {
    width: 172px;
    border-radius: 24px;
    padding: 12px 12px;
  }

  .clinic-score-value {
    font-size: 2.45rem;
  }

  .clinic-score-reviews {
    font-size: 0.92rem;
    margin-top: 6px;
  }

  .clinic-hero-address {
    font-size: 1rem;
  }

  .clinic-hero-top {
    gap: 10px;
  }

  .gallery-grid {
    height: 240px;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 72px 0;
  }

  .cards-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-card {
    padding: 24px;
  }
}

@media (min-width: 860px) {
  .legal-hero {
    padding: 78px 0 36px;
  }

  .legal-hero-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 36px;
  }

  .legal-trust-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .legal-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
  }

  .legal-toc {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding: 18px;
    border: 1px solid #d9e6f4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(20, 72, 130, 0.055);
  }

  .legal-toc p {
    margin: 0 0 4px;
    color: #143d64;
    font-weight: 900;
  }

  .legal-toc a {
    color: #617891;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .legal-toc a:hover,
  .legal-toc a:focus {
    color: var(--primary);
    transform: translateX(2px);
  }

  .legal-section {
    padding: 28px 30px;
  }

  .info-hero {
    padding: 78px 0 36px;
  }

  .info-hero-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 36px;
  }

  .info-signal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .info-layout {
    grid-template-columns: 250px minmax(0, 1fr);
    gap: 24px;
  }

  .info-toc {
    position: sticky;
    top: 86px;
    display: grid;
    gap: 8px;
    max-height: calc(100vh - 112px);
    overflow: auto;
    padding: 18px;
    border: 1px solid #d9e6f4;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 14px 34px rgba(20, 72, 130, 0.055);
  }

  .info-toc p {
    margin: 0 0 4px;
    color: #143d64;
    font-weight: 900;
  }

  .info-toc a {
    color: #617891;
    font-size: 0.9rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.18s ease, transform 0.18s ease;
  }

  .info-toc a:hover,
  .info-toc a:focus {
    color: var(--primary);
    transform: translateX(2px);
  }

  .info-section {
    padding: 28px 30px;
  }

  .business-auth-page {
    padding: 78px 0 96px;
  }

  .business-auth-grid {
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 44px;
  }

  .business-auth-card {
    padding: 30px;
  }
}

/* Clinic research detail cards */
.clinic-decision-card {
  margin-top: 14px;
  padding: 20px;
  border-color: #cfe0f4;
  background: linear-gradient(135deg, #f3f8ff 0%, #ffffff 72%);
}

.clinic-decision-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.clinic-decision-card__head > div > span {
  display: block;
  color: #54789d;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clinic-decision-card__head h2 {
  margin: 4px 0 0;
  color: #12385f;
  font-size: 1.25rem;
}

.clinic-model-pill {
  padding: 7px 10px;
  border: 1px solid #bfd5ed;
  border-radius: 999px;
  background: #fff;
  color: #285780;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: capitalize;
}

.clinic-decision-note {
  margin: 12px 0 0;
  color: #48637d;
  font-size: 0.84rem;
  line-height: 1.5;
}

.clinic-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.clinic-decision-grid > div {
  padding: 14px;
  border: 1px solid #d8e5f2;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
}

.clinic-decision-grid h3 {
  margin: 0 0 8px;
  color: #173f68;
  font-size: 0.9rem;
}

.clinic-decision-grid ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.clinic-decision-grid li {
  position: relative;
  padding-left: 18px;
  color: #45617c;
  font-size: 0.8rem;
  line-height: 1.4;
}

.clinic-decision-grid li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: #138557;
  font-weight: 900;
}

.clinic-decision-source {
  margin: 12px 0 0;
  color: #71869b;
  font-size: 0.7rem;
}

.clinic-team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.clinic-team-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
  border: 1px solid #d8e4f0;
  border-radius: 14px;
  background: linear-gradient(160deg, #fff 0%, #f8fbff 100%);
}

.clinic-team-card__top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.clinic-team-card__top h3 {
  margin: 0;
  color: #14395f;
  font-size: 1rem;
}

.clinic-team-verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 4px 8px;
  border: 1px solid #c98b3b;
  border-radius: 999px;
  color: #5d330d;
  background: #f4d29d;
  box-shadow: 0 3px 10px rgba(93, 51, 13, 0.16);
  font-size: 0.62rem;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  white-space: nowrap;
}

.clinic-team-card__name {
  color: inherit;
  text-decoration: none;
}

.clinic-team-card__name:hover {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Dentist directory and profiles */
.dentist-pages {
  background:
    radial-gradient(circle at 8% 18%, rgba(44, 181, 173, 0.08), transparent 28rem),
    linear-gradient(180deg, #f7fafc 0, #fff 36rem);
}

.dentist-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dentist-directory-hero,
.dentist-profile-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 88% 15%, rgba(70, 214, 199, 0.26), transparent 22rem),
    linear-gradient(125deg, #0b2948 0%, #123e72 62%, #0d5c76 100%);
}

.dentist-directory-hero {
  padding: 0;
}

.dentist-directory-hero::after,
.dentist-profile-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -130px;
  width: 320px;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 50%;
}

.dentist-directory-hero .container {
  position: relative;
  z-index: 1;
  padding-top: 58px;
  padding-bottom: 62px;
}

.dentist-directory-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  align-items: end;
  gap: 42px;
}

.dentist-directory-hero h1,
.dentist-profile-hero h1 {
  max-width: 760px;
  margin: 7px 0 12px;
  color: #fff;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
}

.dentist-directory-hero p:not(.dentist-kicker) {
  max-width: 690px;
  margin: 0;
  color: #d7e8f3;
  font-size: 1.05rem;
}

.dentist-kicker {
  margin: 0;
  color: #277e86;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.dentist-directory-hero .dentist-kicker,
.dentist-profile-hero .dentist-kicker {
  color: #70e4d7;
}

.dentist-directory-stat {
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  background: rgba(4, 29, 52, 0.36);
  backdrop-filter: blur(8px);
}

.dentist-directory-stat strong,
.dentist-directory-stat span {
  display: block;
}

.dentist-directory-stat strong {
  font-size: 2rem;
  line-height: 1;
}

.dentist-directory-stat span {
  margin-top: 7px;
  color: #cfe0ed;
  font-size: 0.76rem;
}

.dentist-directory-shell {
  padding-top: 0;
  padding-bottom: 72px;
}

.dentist-filter-panel {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.15fr 1fr 0.9fr 1fr auto;
  align-items: end;
  gap: 10px;
  margin: -27px 0 38px;
  padding: 16px;
  border: 1px solid #d6e3ed;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 50px rgba(9, 45, 79, 0.13);
}

.dentist-filter-panel label span {
  display: block;
  margin: 0 0 5px 2px;
  color: #4d6579;
  font-size: 0.68rem;
  font-weight: 700;
}

.dentist-filter-panel input,
.dentist-filter-panel select {
  width: 100%;
  height: 43px;
  padding: 0 11px;
  border: 1px solid #cbdbe7;
  border-radius: 11px;
  background: #fbfdff;
  color: var(--text);
  font: inherit;
  font-size: 0.77rem;
}

.dentist-filter-panel .btn {
  min-height: 43px;
  white-space: nowrap;
}

.dentist-results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.dentist-results-heading h2 {
  margin: 4px 0 0;
  font-size: 1.4rem;
}

.dentist-results-heading > a {
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.dentist-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.dentist-directory-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 13px;
  min-height: 218px;
  padding: 18px;
  border: 1px solid #d9e4ed;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 28px rgba(18, 53, 82, 0.055);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.dentist-directory-card:hover {
  transform: translateY(-2px);
  border-color: #a9cad8;
  box-shadow: 0 15px 34px rgba(18, 53, 82, 0.1);
}

.dentist-avatar {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  color: #0b5b64;
  background: linear-gradient(145deg, #dff8f3, #c7e8f3);
  font-size: 0.84rem;
  font-weight: 800;
}

.dentist-directory-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.dentist-directory-card__role {
  margin: 0 0 4px;
  color: #277e86;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.dentist-directory-card h2 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.25;
}

.dentist-directory-card h2 a {
  text-decoration: none;
}

.dentist-directory-card h2 a:hover {
  color: var(--primary);
}

.dentist-directory-card__clinic {
  margin-top: 7px;
  color: #214c75;
  font-size: 0.74rem;
  font-weight: 700;
  text-decoration: none;
}

.dentist-directory-card__address,
.dentist-directory-card__bio {
  margin: 5px 0 0;
  color: #65798a;
  font-size: 0.7rem;
  line-height: 1.48;
}

.dentist-directory-card__bio {
  margin-top: 10px;
  color: #405d73;
}

.dentist-directory-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.dentist-language-flags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  font-size: 1rem;
}

.dentist-card-link {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.dentist-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.dentist-pagination > a:last-child {
  justify-self: end;
}

.dentist-pagination a {
  color: #24537c;
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.dentist-pagination div {
  display: flex;
  gap: 5px;
}

.dentist-pagination div a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid #d2e0ea;
  border-radius: 10px;
  background: #fff;
}

.dentist-pagination div a[aria-current="page"] {
  color: #fff;
  border-color: #123e72;
  background: #123e72;
}

.dentist-source-note {
  margin: 30px 0 0;
  color: #718391;
  font-size: 0.69rem;
  line-height: 1.55;
}

.dentist-empty {
  padding: 54px 24px;
  border: 1px dashed #bfd0dd;
  border-radius: 20px;
  background: #f8fbfd;
  text-align: center;
}

.dentist-profile-hero {
  padding: 52px 0;
}

.dentist-profile-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.dentist-avatar--large {
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 24px;
  color: #fff;
  background: rgba(97, 224, 207, 0.17);
  font-size: 1.35rem;
}

.dentist-avatar--photo {
  overflow: hidden;
  padding: 0;
  background: #fff;
}

.dentist-avatar--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dentist-profile-hero h1 {
  margin: 5px 0 7px;
  font-size: clamp(2rem, 4.6vw, 3.7rem);
}

.dentist-profile-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.dentist-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 2px solid #c98b3b;
  border-radius: 999px;
  color: #5d330d;
  background: #f4d29d;
  box-shadow: 0 7px 20px rgba(0, 0, 0, 0.2);
  font-size: 0.75rem;
  font-weight: 900;
  white-space: nowrap;
}

.ldh-verified-mark {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 22px;
  padding: 0 5px;
  border-radius: 7px;
  color: #fff;
  background: #123d72;
  font-size: 0.55rem;
  font-weight: 950;
  letter-spacing: 0.06em;
}

.clinic-team-verified .ldh-verified-mark {
  min-width: 25px;
  height: 18px;
  border-radius: 5px;
  font-size: 0.48rem;
}

.dentist-verified-badge.is-silver,
.clinic-team-verified.is-silver {
  border-color: #aab6c3;
  color: #263b50;
  background: linear-gradient(135deg, #f8fafc, #cfd8e1);
}

.dentist-verified-badge.is-gold,
.clinic-team-verified.is-gold {
  border-color: #e3ad21;
  color: #553900;
  background: linear-gradient(135deg, #fff3b4, #f3c54d);
  box-shadow: 0 7px 20px rgba(173, 118, 0, 0.24);
}

.dentist-professional-headline {
  max-width: 700px;
  color: #f2fbff !important;
  font-size: 0.84rem;
  font-weight: 650;
}

.dentist-profile-verified-note {
  color: #dff8f3 !important;
  font-weight: 750;
}

.dentist-profile-hero p:not(.dentist-kicker) {
  margin: 0 0 10px;
  color: #d5e4ef;
}

.dentist-profile-hero p a {
  color: #fff;
  font-weight: 700;
}

.dentist-profile-hero__action {
  display: flex;
  width: 210px;
  flex-direction: column;
  gap: 8px;
}

.dentist-profile-hero__action span {
  color: #c2d7e5;
  font-size: 0.65rem;
  text-align: center;
}

.dentist-profile-claim-link {
  color: #dff8f3;
  font-size: 0.7rem;
  font-weight: 750;
  text-align: center;
  text-underline-offset: 3px;
}

.dentist-next-step {
  position: relative;
  z-index: 3;
  margin-bottom: -10px;
}

.dentist-next-step__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: -20px;
  padding: 18px 20px;
  border: 1px solid #cddfeb;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 42px rgba(13, 52, 81, 0.14);
}

.dentist-next-step h2 {
  margin: 3px 0 4px;
  color: #123e72;
  font-size: 1.06rem;
}

.dentist-next-step p:not(.dentist-kicker) {
  margin: 0;
  color: #597084;
  font-size: 0.76rem;
}

.dentist-next-step__actions {
  display: flex;
  flex: none;
  gap: 8px;
}

.dentist-next-step__actions .btn {
  min-height: 42px;
  padding: 0 15px;
  font-size: 0.74rem;
}

.dentist-profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 24px;
  padding-top: 38px;
  padding-bottom: 74px;
}

.dentist-profile-main {
  display: grid;
  gap: 16px;
}

.dentist-profile-section,
.dentist-clinic-panel {
  padding: 25px;
  border: 1px solid #d9e4ed;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 9px 28px rgba(18, 53, 82, 0.055);
}

.dentist-profile-section h2,
.dentist-clinic-panel h2 {
  margin: 5px 0 12px;
  font-size: 1.32rem;
}

.dentist-profile-bio {
  margin: 0;
  color: #405a70;
  font-size: 0.89rem;
  line-height: 1.75;
}

.dentist-detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.dentist-detail-list span {
  padding: 8px 11px;
  border: 1px solid #cde1e2;
  border-radius: 999px;
  color: #225e65;
  background: #f0faf8;
  font-size: 0.72rem;
  font-weight: 700;
}

.dentist-qualification-list {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
  color: #405a70;
  font-size: 0.82rem;
}

.dentist-career-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dentist-career-list li {
  position: relative;
  padding: 11px 13px 11px 34px;
  border: 1px solid #dce7ef;
  border-radius: 12px;
  color: #405a70;
  background: #fbfdff;
  font-size: 0.8rem;
  line-height: 1.5;
}

.dentist-career-list li::before {
  content: "";
  position: absolute;
  top: 17px;
  left: 15px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #1d7f86;
  box-shadow: 0 0 0 4px #e7f6f4;
}

.dentist-experience-list { display: grid; gap: 0; margin-top: 18px; }
.dentist-experience-item { display: grid; grid-template-columns: 18px 1fr; gap: 14px; position: relative; padding: 0 0 24px; }
.dentist-experience-item:not(:last-child)::before { content: ''; position: absolute; left: 6px; top: 14px; bottom: 0; width: 2px; background: #d7e5f3; }
.dentist-experience-mark { position: relative; z-index: 1; width: 14px; height: 14px; margin-top: 5px; border: 3px solid #dbeafb; border-radius: 50%; background: #1767d8; }
.dentist-experience-item h3 { margin: 0 0 4px; color: #102d4d; font-size: 1rem; }
.dentist-experience-item p { margin: 4px 0 0; }
.dentist-experience-clinic { color: #254f7d; font-weight: 800; }
.dentist-experience-meta { color: #72869c; font-size: .88rem; }

.dentist-professional-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.dentist-professional-columns h3 {
  margin: 0 0 8px;
  color: #173f69;
  font-size: 0.85rem;
}

.dentist-clinic-panel {
  position: sticky;
  top: 78px;
}

.dentist-clinic-panel > p:not(.dentist-kicker) {
  color: #5f7486;
  font-size: 0.78rem;
}

.dentist-clinic-panel .btn {
  width: 100%;
  margin-top: 8px;
}

.dentist-clinic-rating strong {
  color: #123e72;
  font-size: 1.1rem;
}

.dentist-official-link {
  display: block;
  margin-top: 13px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.dentist-clinic-panel .dentist-source-note {
  margin-top: 20px;
}

.dentist-related {
  margin-top: 12px;
  padding: 0;
}

.dentist-related .dentist-directory-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dentist-related-grid > div,
.dentist-related-grid > div > .dentist-directory-card {
  min-width: 0;
  height: 100%;
}

.dentist-claim-card {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #cfe1ed;
  border-radius: 15px;
  background: linear-gradient(145deg, #f2faf9, #f4f8ff);
}

.dentist-verified-card {
  margin-top: 20px;
  padding: 17px;
  border: 1px solid #b9e3d6;
  border-radius: 15px;
  background: linear-gradient(145deg, #edfaf5, #f2fbff);
}

.dentist-verified-card h3 {
  margin: 5px 0 7px;
  color: #12624f;
  font-size: 0.96rem;
  line-height: 1.35;
}

.dentist-verified-card > p:not(.dentist-kicker) {
  margin: 0;
  color: #4d7068;
  font-size: 0.73rem;
  line-height: 1.55;
}

.dentist-claim-card h3 {
  margin: 5px 0 7px;
  color: #123e72;
  font-size: 0.96rem;
  line-height: 1.35;
}

.dentist-claim-card > p:not(.dentist-kicker) {
  margin: 0;
  color: #536d82;
  font-size: 0.73rem;
  line-height: 1.55;
}

.dentist-claim-card .btn {
  margin-top: 12px;
}

.dentist-comments-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.dentist-comments-heading > span {
  flex: none;
  padding: 5px 9px;
  border-radius: 999px;
  color: #245d6b;
  background: #eaf7f5;
  font-size: 0.68rem;
  font-weight: 800;
}

.dentist-comments-note {
  margin: -3px 0 15px;
  color: #6a7e8e;
  font-size: 0.73rem;
}

.dentist-comment-form,
.dentist-comment-signin {
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid #cfe1ed;
  border-radius: 15px;
  background: linear-gradient(145deg, #f4f9ff, #f1fbf8);
}

.dentist-comment-form > label,
.dentist-comment-signin strong {
  display: block;
  margin-bottom: 8px;
  color: #173f69;
  font-size: 0.82rem;
  font-weight: 850;
}

.dentist-comment-form textarea {
  display: block;
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 12px 13px;
  border: 1px solid #c6d9e9;
  border-radius: 12px;
  background: #fff;
  color: #173550;
  font: inherit;
  font-size: 0.78rem;
  line-height: 1.55;
}

.dentist-comment-form textarea:focus {
  border-color: #2070d9;
  outline: 3px solid rgba(32, 112, 217, 0.13);
}

.dentist-comment-form__footer,
.dentist-comment-signin {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dentist-comment-form__footer p,
.dentist-comment-signin p,
.dentist-comment-form__status {
  margin: 0;
  color: #687e91;
  font-size: 0.69rem;
  line-height: 1.45;
}

.dentist-comment-form__footer {
  margin-top: 10px;
}

.dentist-comment-signin > div:last-child {
  display: flex;
  flex: none;
  gap: 8px;
}

.dentist-comment-form__status {
  min-height: 1em;
  margin-top: 8px;
  font-weight: 750;
}

.dentist-comment-form__status.is-success { color: #0f8652; }
.dentist-comment-form__status.is-error { color: #c4362f; }

.dentist-comment-list {
  display: grid;
  gap: 10px;
}

.dentist-comment-card,
.dentist-comment-empty {
  padding: 15px;
  border: 1px solid #dce7ef;
  border-radius: 14px;
  background: #fbfdff;
}

.dentist-comment-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dentist-comment-card__top div {
  display: grid;
  gap: 2px;
}

.dentist-comment-card__top strong {
  color: #193d63;
  font-size: 0.79rem;
}

.dentist-comment-card__top div span {
  color: #7b8d9b;
  font-size: 0.65rem;
}

.dentist-comment-card__rating {
  margin: 8px 0 5px;
  color: #d88a12;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}

.dentist-comment-card > p:last-of-type,
.dentist-comment-empty p {
  margin: 7px 0 0;
  color: #405a70;
  font-size: 0.79rem;
  line-height: 1.6;
}

.dentist-comment-card > a,
.dentist-comment-empty > a {
  display: inline-block;
  margin-top: 10px;
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.dentist-comment-empty strong {
  color: #193d63;
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .dentist-filter-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dentist-filter-panel .btn {
    grid-column: 1 / -1;
  }

  .dentist-directory-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .dentist-profile-layout {
    grid-template-columns: 1fr;
  }

  .dentist-clinic-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .dentist-header-actions .btn-ghost {
    display: none;
  }

  .dentist-directory-hero .container {
    padding-top: 43px;
    padding-bottom: 48px;
  }

  .dentist-directory-hero__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .dentist-directory-stat {
    width: max-content;
    min-width: 150px;
  }

  .dentist-filter-panel,
  .dentist-directory-grid,
  .dentist-related .dentist-directory-grid {
    grid-template-columns: 1fr;
  }

  .dentist-directory-card {
    min-height: 0;
  }

  .dentist-results-heading {
    align-items: flex-start;
  }

  .dentist-profile-hero__grid {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
  }

  .dentist-avatar--large {
    width: 64px;
    height: 64px;
    border-radius: 19px;
  }

  .dentist-profile-hero__action {
    grid-column: 1 / -1;
    width: 100%;
  }

  .dentist-profile-hero__action span {
    text-align: left;
  }

  .dentist-profile-title-row {
    display: block;
  }

  .dentist-verified-badge {
    margin-bottom: 9px;
  }

  .dentist-professional-columns {
    grid-template-columns: 1fr;
  }

  .dentist-profile-claim-link {
    text-align: left;
  }

  .dentist-next-step {
    padding: 0 4%;
  }

  .dentist-next-step__inner {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
  }

  .dentist-next-step__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .dentist-comments-heading,
  .dentist-comment-card__top {
    align-items: flex-start;
  }

  .dentist-comment-form__footer,
  .dentist-comment-signin {
    align-items: stretch;
    flex-direction: column;
  }

  .dentist-comment-signin > div:last-child {
    width: 100%;
  }

  .dentist-pagination {
    grid-template-columns: auto 1fr auto;
  }

  .dentist-pagination div {
    justify-content: center;
  }
}

.clinic-team-card__top p {
  margin: 4px 0 0;
  color: #55708a;
  font-size: 0.78rem;
}

.team-mention-button {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid #c8dbee;
  border-radius: 9px;
  background: #edf5ff;
  color: #1767d8;
  cursor: pointer;
  font-weight: 900;
}

.clinic-team-card__focus {
  margin-top: 12px;
  padding-left: 10px;
  border-left: 2px solid #b8d2ee;
}

.clinic-team-card__focus span {
  display: block;
  color: #71869a;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.clinic-team-card__focus p {
  margin: 3px 0 0;
  color: #315e88;
  font-size: 0.72rem;
  line-height: 1.45;
}

.clinic-team-card__bio {
  margin: 12px 0 0;
  color: #526c84;
  font-size: 0.76rem;
  line-height: 1.5;
}

.clinic-team-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.clinic-team-card__languages {
  color: #71869a;
  font-size: 0.68rem;
}

.clinic-team-card .doctor-like-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 30px;
  border: 1px solid #d3e0ed;
  border-radius: 9px;
  background: #fff;
  color: #365d82;
  cursor: pointer;
}

.clinic-team-card__source {
  margin-top: 9px;
  color: #1767d8;
  font-size: 0.7rem;
  font-weight: 700;
}

.team-mention-picker {
  margin: 0 0 9px;
  padding: 10px;
  border: 1px solid #d7e5f4;
  border-radius: 11px;
  background: #f6faff;
}

.team-mention-picker > span {
  display: block;
  margin-bottom: 7px;
  color: #526f8b;
  font-size: 0.72rem;
  line-height: 1.4;
}

.team-mention-picker > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.team-mention-button--label {
  width: auto;
  height: auto;
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
}

.team-mention-chips .structured-review-chip {
  color: #155ab5;
  background: #eaf3ff;
}

@media (max-width: 759px) {
  .clinic-decision-card__head {
    gap: 10px;
  }

  .clinic-decision-grid,
  .clinic-team-grid {
    grid-template-columns: 1fr;
  }

  .clinic-decision-card {
    padding: 16px;
  }
}
.zero-results-panel {
  grid-column: 1 / -1;
  padding: 26px;
  border: 1px solid #bfd8f3;
  border-radius: 24px;
  background:
    radial-gradient(circle at 100% 0, rgba(72, 209, 190, 0.18), transparent 34%),
    linear-gradient(135deg, #f7fbff 0%, #eef6ff 100%);
  box-shadow: 0 18px 45px rgba(18, 61, 111, 0.09);
}

.zero-results-panel__header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 820px;
}

.zero-results-panel__icon {
  display: grid;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: #143d79;
  font-size: 1.15rem;
}

.zero-results-panel__header .eyebrow {
  margin: 0 0 4px;
  color: #167b80;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.zero-results-panel__header h3 {
  margin: 0 0 7px;
  color: #102c4c;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.zero-results-panel__header p:not(.eyebrow) {
  margin: 0;
  color: #536b86;
  line-height: 1.55;
}

.zero-results-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 11px;
  margin-top: 22px;
}

.zero-results-action {
  position: relative;
  display: flex;
  min-height: 104px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 16px 44px 16px 17px;
  border: 1px solid #c8dcf2;
  border-radius: 17px;
  color: #173b67;
  background: rgba(255, 255, 255, 0.9);
  text-align: left;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.zero-results-action:hover,
.zero-results-action:focus-visible {
  transform: translateY(-2px);
  border-color: #1768d7;
  box-shadow: 0 10px 24px rgba(23, 104, 215, 0.12);
}

.zero-results-action strong {
  color: #123d75;
  font-size: 0.96rem;
}

.zero-results-action span {
  color: #637a93;
  font-size: 0.82rem;
  line-height: 1.4;
}

.zero-results-action > i {
  position: absolute;
  top: 18px;
  right: 17px;
  color: #1768d7;
}

.zero-results-action--primary {
  border-color: #143d79;
  color: #fff;
  background: linear-gradient(135deg, #143d79, #1768d7);
}

.zero-results-action--primary strong,
.zero-results-action--primary span,
.zero-results-action--primary > i {
  color: #fff;
}

.zero-results-action--primary span {
  opacity: 0.82;
}

.zero-results-panel__fallback {
  margin: 20px 0 0;
  color: #536b86;
}

@media (max-width: 640px) {
  .zero-results-panel {
    padding: 19px;
    border-radius: 20px;
  }

  .zero-results-panel__header {
    gap: 12px;
  }

  .zero-results-panel__icon {
    flex-basis: 42px;
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .zero-results-actions {
    grid-template-columns: 1fr;
  }

  .zero-results-action {
    min-height: 92px;
  }
}
