:root {
  --accent: #4e6b9a;
  --accent-contrast: #ffffff;
  --accent-soft: #4e6b9a18;
  --accent-mid: #4e6b9a30;
  --ink: #1f2933;
  --muted: #5f6873;
  --line: #dfe5ea;
  --paper: #ffffff;
  --wash: #f6f8f9;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}

body {
  background: var(--paper);
  margin: 0;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.topnav {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2px;
  justify-content: center;
  min-width: 132px;
  padding-bottom: 15px;
  text-align: center;
}

.brand img {
  border-radius: 8px;
  height: 42px;
  margin: 15px 0;
  object-fit: contain;
  width: 42px;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.05;
}

.brand strong {
  color: #2d343b;
  font-size: 20px;
  line-height: 1;
}

.navlinks {
  align-items: center;
  display: flex;
  gap: 4px;
}

.navlinks a {
  border-radius: 999px;
  color: #34404c;
  font-size: 14px;
  padding: 10px 13px;
}

.navlinks a:hover,
.navlinks a[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent);
}

main {
  min-height: calc(100vh - 180px);
}

.hero,
.area-hero {
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.6fr);
  margin: 0 auto;
  max-width: 1180px;
  padding: 72px 5vw 36px;
}

.hero h1,
.area-hero h1,
.content-page h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 0.98;
  margin: 0 0 24px;
  max-width: 820px;
}

.hero p,
.area-hero p,
.lead {
  color: var(--muted);
  font-size: 20px;
  max-width: 720px;
}

.eyebrow {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button,
.card-actions a,
.contact-card a {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 700;
  min-height: 44px;
  padding: 12px 18px;
}

.button.primary,
.card-actions a:first-child,
.contact-card a:first-of-type {
  background: var(--accent);
  color: var(--accent-contrast);
}

.area-card .card-actions a:first-child,
.contact-card a:first-of-type {
  background: var(--card-color);
  color: var(--card-contrast, #fff);
}

.button.ghost,
.card-actions a:last-child,
.contact-card a:last-of-type {
  background: var(--accent-soft);
  color: var(--accent);
}

.quick-card,
.doctor-panel {
  align-self: end;
  background: linear-gradient(145deg, var(--accent), #2d343b);
  border-radius: 8px;
  color: #fff;
  min-height: 260px;
  padding: 28px;
}

.quick-card span,
.doctor-panel span {
  display: block;
  font-size: 14px;
  opacity: 0.82;
}

.quick-card strong,
.doctor-panel strong {
  display: block;
  font-size: 30px;
  line-height: 1.1;
  margin: 14px 0;
}

.doctor-panel a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.notice-strip,
.section,
.content-page,
.info-band {
  margin: 0 auto;
  max-width: 1180px;
  padding: 36px 5vw;
}

.section > * {
  min-width: 0;
}

.notice-strip {
  display: grid;
  gap: 12px;
}

.area-notices {
  padding-bottom: 20px;
  padding-top: 24px;
}

.area-notices + .quick-info {
  margin-top: 0;
}

.notice-strip article {
  background: #fff5f5;
  border: 1px solid #f0b6b6;
  border-left: 5px solid #c73e3e;
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(127, 29, 29, 0.08);
  color: #7f1d1d;
  padding: 18px 20px;
}

.notice-strip strong {
  display: block;
  font-size: 20px;
}

.notice-strip span {
  color: #b42323;
  font-weight: 700;
}

.notice-strip p {
  color: #7f1d1d;
  margin-bottom: 0;
}

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

.section-head h2 {
  font-size: 36px;
  line-height: 1.1;
  margin: 0;
}

.section-head.compact {
  align-items: start;
  display: block;
}

.section-head.compact h2 {
  font-size: 28px;
}

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

.area-card,
.contact-card {
  --card-color: var(--accent);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(32, 44, 54, 0.08);
  padding: 24px;
  position: relative;
}

.area-card::before,
.contact-card::before {
  background: var(--card-color);
  border-radius: 8px 8px 0 0;
  content: "";
  height: 5px;
  left: -1px;
  position: absolute;
  right: -1px;
  top: -1px;
}

.card-top {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.card-top span,
.contact-card span {
  color: var(--card-color);
  font-weight: 700;
}

.area-card h3 {
  font-size: 28px;
  margin: 28px 0 6px;
}

.area-card p {
  color: var(--muted);
}

.area-card ul {
  color: #37414c;
  margin: 20px 0;
  padding-left: 18px;
}

.info-band {
  background: var(--wash);
  border-radius: 8px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 48px;
}

.info-band span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.info-band strong {
  display: block;
  font-size: 21px;
  margin-top: 6px;
}

.two-column {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.hours-list {
  display: grid;
  gap: 10px;
}

.hours-list div {
  background: var(--accent-soft);
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  font-weight: 700;
  padding: 15px 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-list span {
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34404c;
  padding: 10px 14px;
}

.pill-list.wide span {
  border-radius: 8px;
}

.team-strip {
  border-top: 1px solid var(--line);
}

.content-page {
  padding-top: 72px;
}

.text-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.text-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.text-grid article {
  background: var(--wash);
  border-radius: 8px;
  padding: 24px;
}

.text-grid h2 {
  margin-top: 0;
}

.contact-card {
  display: grid;
  gap: 12px;
}

.contact-card strong {
  font-size: 26px;
}

.map-panel {
  background: var(--wash);
  border-radius: 8px;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  margin-top: 28px;
  padding: 32px;
}

.map-copy h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  margin: 0 0 18px;
}

.map-copy p {
  color: var(--muted);
}

.route-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0;
}

.route-chips span {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34404c;
  font-weight: 700;
  line-height: 1.25;
  padding: 10px 14px;
}

.interactive-map {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 44, 54, 0.08);
  margin: 0;
  min-height: 480px;
  overflow: hidden;
  position: relative;
}

.map-consent,
.leaflet-map {
  height: 100%;
  min-height: 480px;
}

.map-consent {
  align-items: flex-start;
  background:
    linear-gradient(rgba(237, 243, 245, 0.9), rgba(237, 243, 245, 0.9)),
    url("/assets/images/processed/map-praxis-falkensee.svg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 44px;
}

.map-consent strong {
  color: var(--ink);
  display: block;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  max-width: 420px;
}

.map-consent p:not(.eyebrow) {
  color: var(--muted);
  max-width: 430px;
}

.leaflet-map {
  width: 100%;
}

.leaflet-container {
  font: inherit;
  height: 100%;
  min-height: 480px;
}

.legal {
  max-width: 860px;
}

.legal h1 {
  hyphens: auto;
  overflow-wrap: anywhere;
}

.legal-card {
  border-top: 1px solid var(--line);
  padding: 24px 0;
}

.legal-card h2 {
  font-size: 24px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.legal-card p {
  color: #34404c;
  overflow-wrap: anywhere;
}

.legal-card a {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  min-height: 100px;
  padding: 24px 5vw 84px;
}

.footer strong,
.footer span {
  display: block;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 100%;
}

.footer-link-button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.footer-links a:hover,
.footer-link-button:hover {
  color: var(--ink);
}

.mobile-actions {
  background: #fff;
  border-top: 1px solid var(--line);
  bottom: 0;
  display: none;
  gap: 8px;
  left: 0;
  padding: 10px;
  position: fixed;
  right: 0;
  z-index: 30;
}

.mobile-actions a {
  align-items: center;
  background: var(--accent);
  border-radius: 999px;
  color: var(--accent-contrast);
  display: flex;
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.15;
  min-height: 48px;
  overflow-wrap: anywhere;
  padding: 10px 12px;
  text-align: center;
}

.mobile-actions .mobile-appointment {
  flex: 1.35;
}

.mobile-actions .mobile-call {
  flex: 0.8;
}

.choice-hero {
  align-content: start;
  display: grid;
  gap: 26px;
  min-height: calc(100vh - 76px);
  min-width: 0;
  padding: 42px 5vw 28px;
  width: 100%;
}

.choice-intro {
  margin: 0 auto;
  max-width: 980px;
  min-width: 0;
  text-align: center;
}

.hero-logo {
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(32, 44, 54, 0.14);
  height: 116px;
  margin-bottom: 18px;
  object-fit: contain;
  width: 116px;
}

.choice-intro h1 {
  font-size: clamp(42px, 7vw, 82px);
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0 0 18px;
}

.choice-intro p {
  color: var(--muted);
  font-size: 20px;
  margin: 0 auto;
  max-width: 760px;
}

.choice-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1280px;
  min-width: 0;
  width: 100%;
}

.choice-card {
  --card-color: var(--accent);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(32, 44, 54, 0.12);
  display: grid;
  min-height: 540px;
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.choice-card > * {
  min-width: 0;
}

.choice-card:hover {
  box-shadow: 0 30px 80px rgba(32, 44, 54, 0.18);
  transform: translateY(-4px);
}

.choice-card img {
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.choice-card::after {
  background: var(--card-color);
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.choice-label {
  color: var(--card-color);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  padding: 22px 24px 0;
  text-transform: uppercase;
}

.choice-card h2 {
  font-size: clamp(25px, 2.4vw, 31px);
  line-height: 1.05;
  margin: 8px 24px 0;
  overflow-wrap: normal;
  word-break: normal;
}

.choice-card p {
  color: var(--muted);
  margin: 8px 24px 0;
  overflow-wrap: anywhere;
}

.choice-facts {
  align-self: end;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
  margin: 22px 24px 24px;
  padding-top: 18px;
}

.choice-facts span {
  color: #34404c;
  font-weight: 700;
}

.choice-status {
  align-items: center;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #34404c;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin: 0 auto;
  max-width: 980px;
  min-width: 0;
  padding: 12px 18px;
}

.seo-teaser {
  height: 1px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.practice-hero {
  background:
    radial-gradient(circle at 15% 20%, var(--accent-mid), transparent 28%),
    linear-gradient(135deg, var(--accent-soft), #fff 52%);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  min-height: calc(100vh - 76px);
  padding: 58px 5vw;
}

.practice-copy {
  align-self: center;
  max-width: 700px;
}

.practice-copy h1 {
  font-size: clamp(44px, 6.5vw, 82px);
  letter-spacing: 0;
  line-height: 0.96;
  margin: 0 0 24px;
}

.practice-copy p {
  color: #3d4852;
  font-size: 21px;
  max-width: 620px;
}

.hero-visual {
  align-self: center;
  margin: 0;
}

.hero-visual img {
  aspect-ratio: 16 / 9;
  border: 10px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(32, 44, 54, 0.18);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.quick-info {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: -34px auto 24px;
  max-width: 1180px;
  padding: 0 5vw;
  position: relative;
  z-index: 2;
}

.quick-info article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 44, 54, 0.1);
  min-height: 150px;
  padding: 20px;
}

.quick-info article > span,
.service-grid article > span {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.quick-info strong {
  display: block;
  font-size: 20px;
  margin-top: 12px;
}

.quick-info p {
  color: var(--muted);
  margin-bottom: 0;
}

.quick-link-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.quick-link-list a {
  color: var(--accent);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quick-alert {
  background: #fff7e1 !important;
  border-color: #f3d987 !important;
}

.visual-services .section-head,
.faq-section .section-head {
  display: block;
}

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

.service-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(32, 44, 54, 0.08);
  min-height: 230px;
  padding: 26px;
}

.service-grid h3 {
  font-size: 25px;
  margin: 22px 0 10px;
}

.service-grid p,
.split-story p,
.faq-grid p {
  color: var(--muted);
}

.split-story {
  align-items: start;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
}

.split-story h2 {
  font-size: 38px;
  hyphens: auto;
  line-height: 1.1;
  margin: 0 0 18px;
  overflow-wrap: anywhere;
}

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

.faq-grid details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 20px;
}

.faq-grid summary {
  cursor: pointer;
  font-weight: 800;
}

.seo-content {
  background: linear-gradient(135deg, var(--accent-soft), #fff);
  max-width: none;
}

.seo-content > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

.content-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card-grid article {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
}

.content-card-grid h3 {
  margin-top: 0;
}

.content-card-grid p {
  color: var(--muted);
}

.contact-team {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.45fr);
}

.contact-team-copy .eyebrow {
  margin-bottom: 10px;
}

.contact-team-copy h2 {
  font-size: 32px;
  hyphens: auto;
  line-height: 1.08;
  margin: 0 0 10px;
  overflow-wrap: anywhere;
}

.contact-team-copy p:not(.eyebrow) {
  color: #34404c;
  font-size: 20px;
  margin: 0;
}

.contact-team aside {
  align-self: start;
  background: var(--accent-soft);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  margin-top: 28px;
  padding: 24px;
}

.contact-team aside strong {
  font-size: 30px;
}

.media-showcase {
  padding-top: 54px;
}

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

.media-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(32, 44, 54, 0.08);
  color: inherit;
  cursor: zoom-in;
  display: grid;
  font: inherit;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
  text-align: left;
}

.media-card:hover {
  box-shadow: 0 24px 70px rgba(32, 44, 54, 0.14);
  transform: translateY(-2px);
}

.media-grid img {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.page-hero-split img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.media-grid div {
  padding: 18px 20px;
}

.media-grid h3 {
  margin: 0 0 8px;
}

.media-grid p {
  color: var(--muted);
  margin: 0;
}

.tour-showcase {
  align-items: center;
  background: #18202a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  box-shadow: 0 24px 70px rgba(24, 32, 42, 0.16);
  color: #fff;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  margin: 56px 0;
  max-width: none;
  padding: 52px max(5vw, calc((100vw - 1320px) / 2));
}

.tour-showcase.compact {
  border-radius: 0;
}

.tour-copy h2 {
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1;
  margin: 0 0 18px;
}

.tour-copy p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

.tour-media {
  border-radius: 8px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
}

.tour-loaded .tour-media {
  min-height: min(72vh, 760px);
}

.tour-media img,
.tour-frame,
.tour-frame iframe {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.tour-media img {
  object-fit: cover;
}

.tour-frame {
  background: #111923;
  z-index: 2;
}

.tour-frame iframe {
  border: 0;
}

.tour-showcase .button.primary {
  border: 0;
  cursor: pointer;
}

.tour-showcase .button.primary:disabled {
  opacity: 0.72;
}

#button_321med,
#info_321med {
  display: none !important;
}

#container_321med.show_321med {
  opacity: 1 !important;
  right: 20px !important;
  transform: translateX(0) !important;
}

@media screen and (max-width: 800px) {
  #container_321med.show_321med {
    border-radius: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
    max-height: none !important;
    right: 0 !important;
    transform: none !important;
    width: 100% !important;
  }
}

.modal-open {
  overflow: hidden;
}

.lightbox,
.appointment-modal,
.cookiefree-modal {
  align-items: center;
  background: rgba(18, 27, 37, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 28px;
  position: fixed;
  z-index: 80;
}

.lightbox[hidden],
.appointment-modal[hidden],
.cookiefree-modal[hidden] {
  display: none;
}

.lightbox-panel,
.appointment-dialog,
.cookiefree-dialog {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  max-height: calc(100vh - 56px);
  overflow: auto;
  position: relative;
  width: min(1180px, 100%);
}

.lightbox-panel {
  padding: 18px;
}

.cookiefree-dialog {
  max-width: 620px;
  padding: 42px;
}

.cookiefree-dialog h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.05;
  margin: 0 0 18px;
}

.cookiefree-dialog p,
.cookiefree-dialog li {
  color: var(--muted);
}

.cookiefree-dialog ul {
  margin: 20px 0 0;
  padding-left: 20px;
}

.lightbox-panel img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.lightbox-panel strong {
  display: block;
  font-size: 20px;
  margin-top: 14px;
}

.modal-close {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 28px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 18px;
  top: 18px;
  width: 42px;
  z-index: 3;
}

.appointment-dialog {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  min-height: min(760px, calc(100vh - 56px));
}

.appointment-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.appointment-copy h2 {
  font-size: clamp(30px, 3vw, 38px);
  hyphens: auto;
  line-height: 1.05;
  margin: 0 0 18px;
  overflow-wrap: normal;
  word-break: normal;
}

.appointment-copy p {
  color: var(--muted);
}

.appointment-frame-wrap {
  background: var(--wash);
  min-height: 720px;
}

.appointment-frame-wrap iframe {
  border: 0;
  display: block;
  height: 100%;
  width: 100%;
}

.appointment-form-panel {
  background: var(--wash);
  overflow: auto;
  padding: 42px;
}

.appointment-form {
  display: grid;
  gap: 16px;
}

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

.appointment-form label {
  color: #34404c;
  display: grid;
  font-size: 14px;
  font-weight: 700;
  gap: 7px;
  min-width: 0;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-width: 0;
  padding: 12px 13px;
  width: 100%;
}

.appointment-form textarea {
  resize: vertical;
}

.check-row {
  align-items: flex-start;
  display: flex !important;
  gap: 10px !important;
}

.check-row input {
  flex: 0 0 auto;
  margin-top: 3px;
  width: auto;
}

.form-note,
.form-status {
  color: var(--muted);
  margin: 0;
}

.form-status {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 14px;
}

.form-status a {
  color: var(--accent);
  font-weight: 800;
}

.trust-band {
  background: var(--wash);
  max-width: none;
}

.trust-band > * {
  margin-left: auto;
  margin-right: auto;
  max-width: 1180px;
}

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

.trust-grid article {
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px 1fr;
  padding: 20px;
}

.trust-grid span {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 22px;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.trust-grid p {
  color: #34404c;
  font-weight: 700;
  margin: 0;
}

.page-hero-split {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  margin-bottom: 34px;
}

.page-hero-split img {
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(32, 44, 54, 0.12);
  height: auto;
}

.service-grid-large {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-grid-large article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(32, 44, 54, 0.06);
  min-width: 0;
  padding: 22px;
}

.service-grid-large span {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  display: inline-flex;
  font-size: 20px;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.service-grid-large h2 {
  font-size: 21px;
  hyphens: auto;
  line-height: 1.15;
  margin: 16px 0 8px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.service-grid-large p {
  color: var(--muted);
}

.footer > div:first-child {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 5px;
  text-align: center;
}

.footer-logo {
  border: 1px solid var(--line);
  border-radius: 8px;
  height: 54px;
  object-fit: contain;
  width: 54px;
}

@media (max-width: 920px) {
  .topnav {
    align-items: center;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: static;
  }

  .navlinks {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero,
  .area-hero,
  .practice-hero,
  .quick-info,
  .choice-grid,
  .service-grid,
  .service-grid-large,
  .media-grid,
  .tour-showcase,
  .trust-grid,
  .page-hero-split,
  .split-story,
  .faq-grid,
  .content-card-grid,
  .contact-team,
  .two-column,
  .area-grid,
  .info-band,
  .appointment-dialog,
  .map-panel,
  .text-grid,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero,
  .area-hero,
  .content-page {
    padding-top: 42px;
  }

  .hero h1,
  .area-hero h1,
  .content-page h1 {
    font-size: 44px;
  }

  .quick-card,
  .doctor-panel {
    min-height: auto;
  }

  .footer {
    align-items: center;
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .mobile-actions {
    display: flex;
  }

  .choice-hero,
  .practice-hero {
    min-height: auto;
  }

  .choice-hero {
    padding-left: 16px;
    padding-right: 16px;
  }

  .choice-intro,
  .choice-grid,
  .choice-status {
    max-width: 100%;
    width: 100%;
  }

  .choice-intro h1 {
    font-size: clamp(40px, 13vw, 52px);
    overflow-wrap: anywhere;
  }

  .choice-intro p {
    font-size: 18px;
    max-width: 100%;
  }

  .choice-card {
    min-height: auto;
  }

  .choice-status {
    align-items: flex-start;
    border-radius: 8px;
    flex-direction: column;
  }

  .quick-info {
    margin-top: 0;
  }

  .contact-team aside {
    margin-top: 0;
  }

  .tour-showcase {
    margin-left: 0;
    margin-right: 0;
    padding: 20px;
  }

  .tour-media {
    min-height: 420px;
  }

  .tour-loaded .tour-media {
    min-height: 640px;
  }

  .interactive-map,
  .map-consent,
  .leaflet-map {
    min-height: 420px;
  }

  .appointment-frame-wrap {
    min-height: 620px;
  }

  .appointment-copy {
    padding: 28px;
  }

  .appointment-form-panel {
    padding: 24px;
  }

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

  .service-grid-large {
    grid-template-columns: 1fr;
  }
}
