/* New Norwood Medical Centre - converted from TeleportHQ Next.js export to vanilla CSS */

/* ----- Reset ----- */
html {
  line-height: 1.15;
}

body {
  margin: 0;
}

* {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  -webkit-font-smoothing: antialiased;
}

p,
li,
ul,
pre,
div,
h1,
h2,
h3,
h4,
h5,
h6,
figure,
blockquote,
figcaption {
  margin: 0;
  padding: 0;
}

button {
  background-color: transparent;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  color: inherit;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focus,
[type="button"]:-moz-focus,
[type="reset"]:-moz-focus,
[type="submit"]:-moz-focus {
  outline: 1px dotted ButtonText;
}

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

pre {
  white-space: normal;
}

input {
  padding: 2px 4px;
}

img {
  display: block;
}

details {
  display: block;
  margin: 0;
  padding: 0;
}

summary::-webkit-details-marker {
  display: none;
}

[data-thq="accordion"] [data-thq="accordion-content"] {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  padding: 0;
}

[data-thq="accordion"] details[data-thq="accordion-trigger"][open]+[data-thq="accordion-content"] {
  max-height: 1000vh;
}

details[data-thq="accordion-trigger"][open] summary [data-thq="accordion-icon"] {
  transform: rotate(180deg);
}

html {
  scroll-behavior: smooth
}

/* ----- Defaults ----- */
html {
  font-family: Inter;
  font-size: 1rem;
}

body {
  font-weight: 400;
  font-style: normal;


  letter-spacing: 0.02em;
  line-height: 1.65;
  color: var(--color-on-surface);
  background: var(--color-surface);

  fill: var(--color-on-surface);
}

/* ----- Global theme + components ----- */
:root {
  --spacing-lg: 1.5rem;
  --spacing-md: 1rem;
  --spacing-sm: 0.75rem;
  --spacing-xl: 2rem;
  --spacing-xs: 0.5rem;
  --color-scrim: color-mix(in oklab, #000 65%, transparent);
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 4rem;
  --color-accent: #2a7a9f;
  --color-border: #bfc6cc;
  --font-size-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --font-size-sm: clamp(0.85rem, 0.8rem + 0.25vw, 0.95rem);
  --font-size-xl: clamp(1.25rem, 1.15rem + 0.8vw, 1.5rem);
  --font-size-xs: clamp(0.65rem, 0.6rem + 0.2vw, 0.8rem);
  --color-neutral: #bfc6cc;
  --color-outline: #1e3a5f;
  --color-overlay: color-mix(in oklab, #000 40%, transparent);
  --color-primary: #1e3a5f;
  --color-surface: #fffcf7;
  --divider-value: 1px solid var(--color-outline);
  --font-size-2xl: clamp(1.5rem, 1.35rem + 1vw, 1.9rem);
  --font-size-3xl: clamp(2.2rem, 1.9rem + 2.2vw, 2.8rem);
  --font-size-4xl: clamp(3rem, 2.6rem + 3.2vw, 4.2rem);
  --font-size-base: 1rem;
  --shadow-level-1: 0 1px 3px rgba(0, 0, 0, .06);
  --shadow-level-2: 0 6px 20px rgba(0, 0, 0, .12);
  --shadow-level-3: 0 18px 40px rgba(0, 0, 0, .18);
  --color-backplate: color-mix(in oklab, #000 55%, transparent);
  --color-on-accent: #fff;
  --color-secondary: #b78621;
  --border-radius-lg: 16px;
  --border-radius-md: 10px;
  --border-radius-sm: 6px;
  --border-radius-xl: 24px;
  --color-on-primary: #fff;
  --color-on-surface: #0a0a0a;
  --font-family-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-weight-body: 400;
  --line-height-body: 1.65;
  --content-max-width: 76rem;
  --border-radius-card: var(--border-radius-lg);
  --border-radius-full: 9999px;
  --border-radius-none: 0px;
  --color-on-secondary: #000;
  --font-style-heading: normal;
  --font-weight-medium: 500;
  --font-family-heading: "Playfair Display", serif;
  --font-weight-heading: 600;
  --letter-spacing-body: 0.02em;
  --line-height-heading: 1.28;
  --dl-layout-size-large: 144px;
  --dl-layout-size-small: 48px;
  --dl-layout-space-unit: 16px;
  --border-radius-control: var(--border-radius-md);
  --dl-layout-size-medium: 96px;
  --dl-layout-size-xlarge: 192px;
  --dl-layout-size-xsmall: 16px;
  --font-style-subheading: normal;
  --color-surface-elevated: color-mix(in oklab, #fffcf7 92%, #d4af37);
  --dl-color-theme-accent1: #fff;
  --dl-color-theme-accent2: #f5d1b0;
  --dl-layout-radius-round: 50%;
  --dl-layout-size-xxlarge: 288px;
  --letter-spacing-heading: 0.06em;
  --text-transform-heading: none;
  --dl-color-theme-primary1: #bf4408;
  --dl-color-theme-primary2: #e65103;
  --dl-layout-size-maxwidth: 1400px;
  --dl-layout-radius-radius2: 2px;
  --dl-layout-radius-radius4: 4px;
  --dl-layout-radius-radius8: 8px;
  --dl-layout-space-halfunit: 8px;
  --dl-layout-space-sixunits: 96px;
  --dl-layout-space-twounits: 32px;
  --dl-color-theme-secondary1: #fff;
  --dl-color-theme-secondary2: #fbf1eb;
  --dl-layout-space-fiveunits: 80px;
  --dl-layout-space-fourunits: 64px;
  --color-on-surface-secondary: #4a4a4a;
  --dl-layout-space-threeunits: 48px;
  --dl-color-theme-neutral-dark: #191818;
  --dl-layout-radius-cardradius: 8px;
  --dl-color-theme-neutral-light: #fbfaf9;
  --dl-layout-radius-imageradius: 8px;
  --dl-layout-radius-inputradius: 24px;
  --dl-layout-radius-buttonradius: 24px;
  --dl-layout-space-oneandhalfunits: 24px
}

.button {
  display: inline-block
}

.button,
.input {
  color: var(--dl-color-theme-neutral-dark);
  padding: .5rem 1rem;
  border-color: var(--dl-color-theme-neutral-dark);
  border-width: 1px;
  border-radius: 4px;
  background-color: var(--dl-color-theme-neutral-light)
}

.input,
.textarea {
  cursor: auto
}

.textarea {
  color: var(--dl-color-theme-neutral-dark);
  padding: .5rem;
  border-color: var(--dl-color-theme-neutral-dark);
  border-width: 1px;
  border-radius: 4px;
  background-color: var(--dl-color-theme-neutral-light)
}

.list {
  width: 100%;
  margin: 1em 0;
  display: block;
  padding: 0 0 0 1.5rem;
  list-style-type: none;
  list-style-position: outside
}

.list-item {
  display: list-item
}

.teleport-show {
  display: flex !important;
  transform: none !important
}

.thq-input {
  color: var(--dl-color-theme-neutral-dark);
  cursor: auto;
  outline: none;
  padding: .5rem 1rem;
  align-self: stretch;
  text-align: center;
  border-color: var(--dl-color-theme-neutral-dark);
  border-width: 1px;
  border-radius: var(--dl-layout-radius-inputradius);
  background-color: var(--dl-color-theme-neutral-light)
}

.thq-input:focus {
  outline: 1px solid var(--dl-color-theme-primary1)
}

.thq-button-filled {
  gap: var(--dl-layout-space-halfunit);
  fill: var(--dl-color-theme-secondary1);
  color: var(--dl-color-theme-secondary1);
  cursor: pointer;
  display: flex;
  transition: .3s;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
  border-color: var(--dl-color-theme-primary1);
  border-width: 1px;
  border-radius: var(--dl-layout-radius-buttonradius);
  padding: var(--dl-layout-space-halfunit) var(--dl-layout-space-oneandhalfunits);
  justify-content: center;
  background-color: var(--dl-color-theme-primary1)
}

.thq-button-filled:hover {
  fill: var(--dl-color-theme-secondary2);
  color: var(--dl-color-theme-secondary2);
  border-color: var(--dl-color-theme-primary2);
  background-color: var(--dl-color-theme-primary2)
}

.thq-button-outline {
  gap: var(--dl-layout-space-halfunit);
  fill: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-primary1);
  border: 1px solid;
  cursor: pointer;
  display: flex;
  transition: .3s;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
  border-color: var(--dl-color-theme-primary1);
  border-radius: var(--dl-layout-radius-buttonradius);
  padding: var(--dl-layout-space-halfunit) var(--dl-layout-space-oneandhalfunits);
  justify-content: center
}

.thq-button-outline:hover {
  fill: var(--dl-color-theme-secondary2);
  color: var(--dl-color-theme-secondary2);
  border-color: var(--dl-color-theme-primary2);
  background-color: var(--dl-color-theme-primary2)
}

.thq-button-flat {
  gap: var(--dl-layout-space-halfunit);
  fill: var(--dl-color-theme-primary1);
  color: var(--dl-color-theme-primary1);
  cursor: pointer;
  display: flex;
  transition: .3s;
  align-items: center;
  font-weight: 700;
  white-space: nowrap;
  border-color: transparent;
  border-width: 1px;
  border-radius: var(--dl-layout-radius-buttonradius);
  padding: var(--dl-layout-space-halfunit) var(--dl-layout-space-oneandhalfunits);
  justify-content: center
}

.thq-button-flat:hover {
  fill: var(--dl-color-theme-secondary1);
  color: var(--dl-color-theme-secondary1);
  border-color: var(--dl-color-theme-primary2);
  background-color: var(--dl-color-theme-primary2)
}

.thq-heading-1 {
  font-size: 48px;
  font-family: STIX Two Text;
  font-weight: 700;
  line-height: 1.5
}

.thq-heading-2 {
  font-size: 35px
}

.thq-heading-2,
.thq-heading-3 {
  font-family: STIX Two Text;
  font-weight: 600;
  line-height: 1.5
}

.thq-heading-3 {
  font-size: 26px
}

.thq-body-large {
  font-size: 18px
}

.thq-body-large,
.thq-body-small {
  font-family: Noto Sans;
  line-height: 1.5
}

.thq-body-small {
  font-size: 16px
}

.thq-team-image-round {
  width: 80px;
  height: 80px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 50%
}

.thq-section-padding {
  width: 100%;
  display: flex;
  padding: var(--dl-layout-space-fiveunits);
  position: relative;
  align-items: center;
  flex-direction: column
}

.thq-section-max-width {
  width: 100%;
  max-width: var(--dl-layout-size-maxwidth)
}

.thq-img-ratio-1-1 {
  aspect-ratio: 1/1
}

.thq-img-ratio-1-1,
.thq-img-ratio-16-9 {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--dl-layout-radius-imageradius)
}

.thq-img-ratio-16-9 {
  aspect-ratio: 16/9
}

.thq-img-ratio-4-3 {
  aspect-ratio: 4/3
}

.thq-img-ratio-4-3,
.thq-img-ratio-4-6 {
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: var(--dl-layout-radius-imageradius)
}

.thq-img-ratio-4-6 {
  aspect-ratio: 4/6
}

.thq-img-round {
  width: 100%;
  border-radius: var(--dl-layout-radius-round)
}

.thq-flex-column {
  flex-direction: column
}

.thq-flex-column,
.thq-flex-row {
  gap: var(--dl-layout-space-twounits);
  display: flex;
  overflow: hidden;
  position: relative;
  align-items: center
}

.thq-grid-6 {
  display: grid;
  grid-gap: var(--dl-layout-space-twounits);
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr
}

.thq-grid-5 {
  display: grid;
  grid-gap: var(--dl-layout-space-twounits);
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr
}

.thq-card {
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  padding: var(--dl-layout-space-twounits);
  align-items: stretch;
  border-radius: var(--dl-layout-radius-cardradius);
  flex-direction: column
}

.thq-box-shadow {
  box-shadow: 0 0 5px -2px var(--dl-color-theme-neutral-dark)
}

.thq-grid-3 {
  display: grid;
  grid-gap: var(--dl-layout-space-twounits);
  grid-template-columns: 1fr 1fr 1fr
}

.thq-grid-4 {
  display: grid;
  grid-gap: var(--dl-layout-space-twounits);
  grid-template-columns: 1fr 1fr 1fr 1fr
}

.thq-grid-2 {
  width: 100%;
  display: grid;
  grid-gap: var(--dl-layout-space-twounits);
  grid-template-columns: 1fr 1fr
}

.thq-checkbox {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall)
}

.thq-select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: var(--dl-layout-radius-inputradius);
  padding: var(--dl-layout-space-halfunit) var(--dl-layout-space-twounits) var(--dl-layout-space-halfunit) var(--dl-layout-space-unit);
  background-color: var(--dl-color-theme-neutral-light);
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg width%3D%2220%22 height%3D%2220%22 xmlns%3D%22http%3A//www.w3.org/2000/svg%22 viewBox%3D%220 0 20 20%22 fill%3D%22%23000%22%3E%3Cpath d%3D%22M4.293 7.293a1 1 0 011.414 0L10 11.586l4.293-4.293a1 1 0 111.414 1.414l-5 5a1 1 0 01-1.414 0l-5-5a1 1 0 010-1.414z%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center
}

.thq-divider-horizontal {
  width: 100%;
  height: 1px;
  background-color: var(--dl-color-theme-neutral-dark)
}

.thq-icon-small {
  width: 24px;
  height: 24px
}

.thq-button-icon {
  fill: var(--dl-color-theme-secondary1);
  padding: 3px;
  transition: .3s;
  border-radius: var(--dl-layout-radius-round)
}

.thq-button-icon:hover {
  fill: var(--dl-color-theme-secondary2)
}

.thq-icon-medium {
  width: var(--dl-layout-size-small);
  height: var(--dl-layout-size-small)
}

.thq-icon-x-small {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall)
}

.thq-link {
  cursor: pointer;
  display: inline-block;
  overflow: hidden;
  background: linear-gradient(to right, var(--dl-color-theme-primary1) 50%, var(--dl-color-theme-neutral-dark) 50%);
  transition: background-position .3s ease;
  font-weight: 600;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 200% 100%;
  background-position: 100%;
  -webkit-text-fill-color: transparent
}

.thq-link:hover {
  background-position: 0 100%
}

.thq-grid-auto-300 {
  display: grid;
  grid-gap: var(--dl-layout-space-oneandhalfunits);
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr))
}

.thq-animated-group-vertical-reverse {
  gap: var(--dl-layout-space-unit);
  width: 100%;
  display: flex;
  animation: scroll-y 20s linear infinite;
  align-items: flex-start;
  flex-direction: column;
  justify-content: space-around;
  animation-direction: reverse
}

.thq-animated-group-horizontal-reverse {
  animation: scroll-x 20s linear infinite;
  min-width: 100%;
  align-items: center;
  flex-shrink: 0;
  animation-direction: reverse
}

.thq-animated-group-horizontal-reverse,
.thq-animated-group-vertical {
  gap: var(--dl-layout-space-unit);
  display: flex;
  justify-content: space-around
}

.thq-animated-group-vertical {
  width: 100%;
  animation: scroll-y 20s linear infinite;
  align-items: flex-start;
  flex-direction: column
}

.thq-animated-group-horizontal {
  gap: var(--dl-layout-space-unit);
  display: flex;
  animation: scroll-x 20s linear infinite;
  min-width: 100%;
  align-items: center;
  flex-shrink: 0;
  justify-content: space-around
}

.thq-animated-group-container-vertical {
  flex-direction: column
}

.thq-animated-group-container-horizontal,
.thq-animated-group-container-vertical {
  gap: var(--dl-layout-space-unit);
  display: flex;
  overflow: hidden
}

.thq-mask-image-vertical {
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 1%, #000 99%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 1%, #000 99%, transparent)
}

.thq-mask-image-horizontal {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 1%, #000 99%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 1%, #000 99%, transparent)
}

.thq-img-scale {
  transition: .3s
}

.thq-img-scale:hover {
  scale: 1.05
}

.thq-animated-card-bg-1 {
  width: 100%;
  height: 100%;
  background-color: var(--dl-color-theme-accent1)
}

.thq-animated-card-bg-1,
.thq-animated-card-bg-2 {
  transition: transform .3s;
  border-radius: var(--dl-layout-radius-cardradius)
}

.thq-animated-card-bg-2 {
  background-color: var(--dl-color-theme-accent2)
}

.thq-button-animated {
  outline: none;
  z-index: 1;
  overflow: hidden;
  position: relative;
  border-width: 2px
}

.thq-input::-moz-placeholder {
  text-align: center;
  vertical-align: middle
}

.thq-input:-ms-input-placeholder {
  text-align: center;
  vertical-align: middle
}

.thq-input::placeholder {
  text-align: center;
  vertical-align: middle
}

.thq-animated-group-container-horizontal:hover div,
.thq-animated-group-container-vertical:hover div {
  animation-play-state: paused
}

.thq-animated-card-bg-2:has([data-animated=true]:hover) {
  transform: translateZ(0) scaleX(1) rotateX(0deg) rotateY(0deg) rotate(3deg) skew(0deg, 0deg)
}

.thq-animated-card-bg-1:has([data-animated=true]:hover) {
  transform: translateZ(0) scaleX(1) rotateX(0deg) rotateY(0deg) rotate(-6deg) skew(0deg, 0deg)
}

.thq-button-animated:before {
  top: 0;
  left: -20%;
  color: var(--dl-color-theme-neutral-light);
  width: 200%;
  height: 101%;
  content: "";
  z-index: 1;
  position: absolute;
  transform: scaleX(0);
  transition: transform .5s;
  border-radius: var(--dl-layout-radius-buttonradius);
  background-color: var(--dl-color-theme-neutral-dark);
  transform-origin: 0 0;
  transition-timing-function: cubic-bezier(.5, 1.6, .4, .7)
}

.thq-button-animated:hover:before {
  color: var(--dl-color-theme-neutral-light);
  z-index: -1;
  transform: scaleX(1)
}

.btn {
  gap: var(--spacing-xs);
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  padding: var(--spacing-md) var(--spacing-lg);
  font-size: var(--font-size-base);
  box-shadow: var(--shadow-level-1);
  text-align: center;
  transition: all .2s ease-in-out;
  align-items: center;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-medium);
  line-height: var(--line-height-body);
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
  border-radius: var(--border-radius-control);
  justify-content: center;
  text-decoration: none
}

.btn-primary {
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  background-color: var(--color-primary)
}

.btn-secondary {
  color: var(--color-on-secondary);
  border-color: var(--color-secondary);
  background-color: var(--color-secondary)
}

.btn-accent {
  color: var(--color-on-accent);
  border-color: var(--color-accent);
  background-color: var(--color-accent)
}

.btn-outline {
  border: 1px solid var(--color-primary);
  background-color: var(--color-surface)
}

.btn-link,
.btn-outline {
  color: var(--color-primary)
}

.btn-link {
  box-shadow: none;
  border-color: transparent;
  text-decoration: underline;
  background-color: transparent
}

.btn-sm {
  padding: var(--spacing-sm) var(--spacing-md)
}

.btn-lg {
  padding: var(--spacing-lg) var(--spacing-xl)
}

.btn-xl {
  padding: var(--spacing-xl) var(--spacing-2xl)
}

.section-title {
  font-size: var(--font-size-3xl);
  font-style: var(--font-style-heading);
  letter-spacing: var(--letter-spacing-heading);
  text-transform: var(--text-transform-heading)
}

.section-subtitle,
.section-title {
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading)
}

.section-subtitle {
  opacity: .85;
  font-size: var(--font-size-lg);
  font-style: var(--font-style-subheading)
}

.section-content {
  color: inherit;
  font-size: var(--font-size-base);
  transition: color .3s ease;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body);
  letter-spacing: var(--letter-spacing-body);
  text-decoration: none
}

.hero-title {
  font-size: var(--font-size-4xl);
  font-style: var(--font-style-heading);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading);
  line-height: var(--line-height-heading);
  margin-bottom: var(--spacing-xs);
  letter-spacing: var(--letter-spacing-heading);
  text-transform: var(--text-transform-heading)
}

.hero-subtitle {
  opacity: .85;
  font-size: var(--font-size-lg);
  font-style: var(--font-style-subheading);
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-body)
}

.btn:focus-visible {
  outline: 2px solid var(--color-outline);
  outline-offset: 2px
}

.btn:disabled {
  cursor: not-allowed;
  opacity: .6;
  pointer-events: none
}

.btn-primary:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--color-primary) 90%, var(--color-surface));
  background-color: color-mix(in oklab, var(--color-primary) 90%, var(--color-surface))
}

.btn-secondary:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--color-secondary) 90%, var(--color-surface));
  background-color: color-mix(in oklab, var(--color-secondary) 90%, var(--color-surface))
}

.btn-accent:hover:not(:disabled) {
  border-color: color-mix(in oklab, var(--color-accent) 90%, var(--color-surface));
  background-color: color-mix(in oklab, var(--color-accent) 90%, var(--color-surface))
}

.btn-outline:hover:not(:disabled) {
  color: var(--color-on-primary);
  border-color: var(--color-primary);
  background-color: var(--color-primary)
}

.btn-link:hover:not(:disabled) {
  color: color-mix(in oklab, var(--color-primary) 80%, #000);
  text-decoration: underline
}

.footer-root {
  color: var(--color-on-surface);
  overflow: hidden;
  position: relative;
  border-top: var(--divider-value);
  padding-top: var(--spacing-4xl);
  padding-bottom: var(--spacing-xl);
  background-color: var(--color-surface)
}

.footer-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  z-index: 3;
  position: relative;
  max-width: var(--content-max-width)
}

.footer-top-layer {
  gap: var(--spacing-3xl);
  display: flex;
  flex-wrap: wrap;
  padding-bottom: var(--spacing-3xl)
}

.footer-bottom-layer {
  border-top: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent);
  padding-top: var(--spacing-xl)
}

.footer-column {
  flex: 1 1;
  min-width: 250px
}

.footer-brand-column {
  flex: 1.5 1
}

.footer-legal-wrapper {
  gap: var(--spacing-lg);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between
}

.footer-brand-title {
  color: var(--color-primary);
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md)
}

.footer-brand-tagline {
  color: var(--color-on-surface-secondary);
  max-width: 400px;
  margin-bottom: var(--spacing-xl)
}

.footer-social-wrapper {
  gap: var(--spacing-md);
  display: flex
}

.footer-column-heading {
  color: var(--color-primary);
  display: inline-block;
  position: relative;
  margin-bottom: var(--spacing-xl)
}

.footer-contact-info {
  gap: var(--spacing-md);
  display: flex;
  margin-bottom: var(--spacing-xl);
  flex-direction: column
}

.footer-cta-wrapper {
  margin-top: var(--spacing-xl)
}

.footer-copyright {
  color: var(--color-on-surface-secondary);
  opacity: .8;
  font-size: var(--font-size-xs)
}

.footer-legal-links {
  gap: var(--spacing-xl);
  display: flex;
  flex-wrap: wrap
}

.footer-social-link {
  color: var(--color-primary);
  width: 40px;
  border: 1px solid color-mix(in srgb, var(--color-primary) 10%, transparent);
  height: 40px;
  display: flex;
  transition: all .3s ease;
  align-items: center;
  border-radius: var(--border-radius-full);
  justify-content: center;
  background-color: color-mix(in srgb, var(--color-primary) 5%, transparent)
}

.footer-nav-list {
  gap: var(--spacing-sm);
  margin: 0;
  display: flex;
  padding: 0;
  list-style: none;
  flex-direction: column
}

.footer-contact-item {
  gap: var(--spacing-md);
  color: var(--color-on-surface-secondary);
  display: flex;
  align-items: flex-start
}

.footer-action-btn {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-xs);
  letter-spacing: .05em;
  text-transform: uppercase
}

.footer-legal-link {
  color: var(--color-on-surface-secondary);
  opacity: .8;
  font-size: var(--font-size-xs);
  transition: color .2s ease;
  text-decoration: none
}

.footer-contact-icon-wrapper {
  color: var(--color-secondary);
  margin-top: 2px;
  flex-shrink: 0
}

.footer-nav-link {
  color: var(--color-on-surface-secondary);
  display: inline-block;
  font-size: var(--font-size-sm);
  transition: all .2s ease;
  font-family: var(--font-family-body);
  text-decoration: none
}

.footer-root:before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  position: absolute;
  background: linear-gradient(135deg, color-mix(in srgb, var(--color-primary) 3%, transparent), transparent);
  pointer-events: none
}

.footer-social-link:hover {
  color: var(--color-on-primary);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px color-mix(in srgb, var(--color-primary) 20%, transparent);
  background-color: var(--color-primary)
}

.footer-column-heading:after {
  left: 0;
  width: 30px;
  bottom: -8px;
  height: 2px;
  content: "";
  position: absolute;
  background-color: var(--color-secondary)
}

.footer-nav-link:hover {
  color: var(--color-primary);
  transform: translateX(5px)
}

.footer-legal-link:hover {
  color: var(--color-primary);
  opacity: 1
}

.navigation-wrapper {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  position: sticky;
  background: var(--color-surface);
  transition: all .3s ease;
  border-bottom: 1px solid color-mix(in srgb, var(--color-border) 40%, transparent)
}

.navigation-container {
  height: 90px;
  margin: 0 auto;
  display: flex;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width);
  align-items: center
}

.navigation-overlay {
  inset: 0;
  display: none;
  padding: var(--spacing-xl);
  z-index: 1100;
  position: fixed;
  background: var(--color-surface);
  min-height: 100vh;
  overflow-y: auto;
  flex-direction: column
}

.navigation-desktop-layout {
  display: flex
}

.navigation-desktop-layout,
.navigation-mobile-header {
  width: 100%;
  align-items: center;
  justify-content: space-between
}

.navigation-mobile-header {
  display: none
}

.navigation-overlay-header {
  top: 0;
  display: flex;
  position: sticky;
  background: var(--color-surface);
  align-items: center;
  margin-bottom: var(--spacing-3xl);
  padding-bottom: var(--spacing-md);
  justify-content: space-between
}

.navigation-overlay-body {
  gap: var(--spacing-3xl);
  flex: 1 1;
  display: flex;
  flex-direction: column
}

.navigation-side-links {
  gap: var(--spacing-xl);
  flex: 1 1;
  margin: 0;
  display: flex;
  padding: 0;
  list-style: none;
  align-items: center
}

.navigation-logo-center {
  display: flex;
  padding: 0 var(--spacing-2xl);
  text-align: center;
  align-items: center;
  flex-shrink: 0;
  flex-direction: column;
  text-decoration: none
}

.navigation-logo-mobile {
  text-decoration: none
}

.navigation-toggle {
  border: none;
  display: flex;
  transition: background .2s ease;
  align-items: center;
  border-radius: var(--border-radius-sm);
  justify-content: center
}

.navigation-close,
.navigation-toggle {
  color: var(--color-primary);
  cursor: pointer;
  padding: var(--spacing-sm);
  background: transparent
}

.navigation-close {
  border: none
}

.navigation-mobile-list {
  gap: var(--spacing-lg);
  margin: 0;
  display: flex;
  padding: 0;
  list-style: none;
  flex-direction: column
}

.navigation-mobile-footer {
  gap: var(--spacing-md);
  display: flex;
  margin-top: auto;
  flex-direction: column;
  padding-bottom: var(--spacing-2xl)
}

.navigation-logo-content {
  gap: 2px;
  display: flex;
  align-items: center;
  flex-direction: column
}

.navigation-mobile-cta {
  width: 100%
}

.navigation-mobile-status {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-sm);
  font-style: italic;
  text-align: center
}

.navigation-link {
  color: var(--color-on-surface);
  font-size: var(--font-size-sm);
  transition: color .2s ease;
  font-family: var(--font-family-body);
  font-weight: var(--font-weight-medium);
  white-space: nowrap;
  letter-spacing: .05em;
  text-transform: uppercase;
  text-decoration: none
}

.navigation-logo-text-top {
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  font-family: var(--font-family-heading);
  font-weight: 700;
  line-height: 1;
  letter-spacing: .2em
}

.navigation-logo-text-bottom {
  color: var(--color-secondary);
  font-size: .65rem;
  font-family: var(--font-family-body);
  font-weight: 600;
  line-height: 1;
  letter-spacing: .4em;
  text-transform: uppercase
}

.navigation-cta {
  gap: var(--spacing-xs);
  display: flex;
  transition: transform .2s ease;
  align-items: center
}

.navigation-mobile-link {
  color: var(--color-on-surface);
  font-size: var(--font-size-2xl);
  transition: color .2s ease;
  font-family: var(--font-family-heading);
  font-weight: 600;
  text-decoration: none
}

.navigation-side-links:last-child {
  justify-content: flex-end
}

.navigation-link:hover {
  color: var(--color-primary)
}

.navigation-cta:hover {
  transform: translateY(-2px)
}

.navigation-logo-mobile .navigation-logo-text-top {
  font-size: var(--font-size-md)
}

.navigation-toggle:hover {
  background: color-mix(in srgb, var(--color-primary) 5%, transparent)
}

.navigation-overlay.is-active {
  display: flex
}

.navigation-mobile-link:hover {
  color: var(--color-primary)
}

.hero-diagonal {
  display: flex;
  overflow: hidden;
  position: relative;
  background: var(--color-surface);
  min-height: 100vh;
  align-items: center
}

.hero-diagonal-bg {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute
}

.hero-diagonal-content {
  color: var(--color-surface);
  width: 50%;
  padding: var(--spacing-4xl);
  z-index: 3;
  position: relative
}

.hero-diagonal-image {
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  position: absolute;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%)
}

.hero-video {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.hero-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
  background: linear-gradient(90deg, var(--color-scrim) 40%, transparent 100%)
}

.hero-actions {
  gap: var(--spacing-md);
  display: flex;
  margin-top: var(--spacing-xl)
}

.schedule-section {
  padding: var(--spacing-4xl) 0;
  background: var(--color-surface-elevated)
}

.schedule-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width)
}

.schedule-grid {
  gap: var(--spacing-2xl);
  display: flex
}

.schedule-card {
  flex: 1 1;
  padding: var(--spacing-2xl);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  border-radius: var(--border-radius-card)
}

.appointment-form {
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg)
}

.appointment-form,
.form-group {
  display: flex;
  flex-direction: column
}

.form-group {
  gap: var(--spacing-xs)
}

.form-row {
  gap: var(--spacing-md);
  display: flex
}

.hours-list {
  gap: var(--spacing-sm);
  margin: var(--spacing-xl) 0;
  display: flex;
  flex-direction: column
}

.hour-item {
  display: flex;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--spacing-xs);
  justify-content: space-between
}

.expect-list {
  gap: var(--spacing-sm);
  display: flex;
  padding: 0;
  list-style: none;
  margin-top: var(--spacing-md);
  flex-direction: column
}

.care-highlights {
  padding: var(--spacing-4xl) 0;
  background: var(--color-surface)
}

.care-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width)
}

.care-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl)
}

.care-grid {
  grid-gap: var(--spacing-xl);
  gap: var(--spacing-xl);
  display: grid;
  grid-template-columns: repeat(3, 1fr)
}

.care-tile {
  border: 1px solid transparent;
  padding: var(--spacing-xl);
  background: var(--color-surface-elevated);
  transition: transform .3s ease;
  border-radius: var(--border-radius-card)
}

a.care-tile {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer
}

.tile-icon {
  width: 48px;
  height: 48px;
  display: flex;
  animation: lightbulb-flash 2s ease-in-out infinite;
  align-items: center;
  border-radius: var(--border-radius-md);
  margin-bottom: var(--spacing-md);
  justify-content: center
}

.how-it-works,
.tile-icon {
  color: var(--color-on-primary);
  background: var(--color-primary)
}

.how-it-works {
  padding: var(--spacing-4xl) 0;
  text-align: center
}

.how-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width)
}

.process-steps {
  gap: var(--spacing-md);
  margin-top: var(--spacing-3xl);
  justify-content: space-between
}

.process-step,
.process-steps {
  display: flex;
  align-items: center
}

.process-step {
  flex: 1 1;
  flex-direction: column
}

.process-divider {
  flex: 0.5 1;
  height: 2px;
  background: color-mix(in srgb, var(--color-on-primary) 20%, transparent);
  margin-top: -60px
}

.step-number {
  color: var(--color-on-secondary);
  width: 60px;
  height: 60px;
  display: flex;
  font-size: var(--font-size-xl);
  background: var(--color-secondary);
  align-items: center;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: var(--spacing-md);
  justify-content: center
}

.testimonials-section {
  padding: var(--spacing-4xl) 0;
  background: var(--color-surface-elevated)
}

.testimonials-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width)
}

.feedback-modal {
  width: 90%;
  border: none;
  padding: 0;
  max-width: 500px;
  background: var(--color-surface);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .2);
  border-radius: var(--border-radius-lg)
}

.testimonials-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  justify-content: space-between
}

.testimonial-rail {
  gap: var(--spacing-lg);
  display: flex;
  padding: var(--spacing-md) 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-scroll-snap-type: x mandatory;
  scroll-snap-type: x mandatory
}

.modal-content {
  padding: var(--spacing-2xl)
}

.testimonial-card {
  gap: var(--spacing-md);
  flex: 0 0 350px;
  display: flex;
  padding: var(--spacing-xl);
  background: var(--color-surface);
  box-shadow: 0 4px 15px rgba(0, 0, 0, .05);
  border-radius: var(--border-radius-card);
  flex-direction: column;
  scroll-snap-align: start
}

.negative-card {
  border-left: 4px solid #e74c3c
}

.stars {
  color: var(--color-secondary);
  letter-spacing: 2px
}

.patient-name {
  color: var(--color-primary);
  font-style: italic;
  font-weight: var(--font-weight-medium)
}

.modal-actions {
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl)
}

.modal-actions,
.star-rating {
  display: flex;
  justify-content: flex-end
}

.star-rating {
  gap: var(--spacing-xs);
  flex-direction: row-reverse
}

.stats-section {
  padding: var(--spacing-3xl) 0;
  background: var(--color-surface)
}

.stats-container {
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width)
}

.stats-grid {
  grid-gap: var(--spacing-xl);
  gap: var(--spacing-xl);
  display: grid;
  text-align: center;
  grid-template-columns: repeat(4, 1fr)
}

.stat-item {
  display: flex;
  flex-direction: column
}

.stat-value {
  color: var(--color-primary);
  font-size: var(--font-size-3xl);
  font-family: var(--font-family-heading);
  font-weight: var(--font-weight-heading)
}

.stat-label {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-sm);
  letter-spacing: .1em;
  text-transform: uppercase
}

.cta-section {
  padding: var(--spacing-4xl) 0;
  background: var(--color-surface-elevated)
}

.cta-inner {
  gap: var(--spacing-3xl);
  margin: 0 auto;
  display: flex;
  padding: 0 var(--spacing-xl);
  max-width: var(--content-max-width);
  align-items: center;
  justify-content: space-between
}

.cta-content {
  flex: 1 1
}

.cta-actions {
  text-align: center
}

.cta-contact-info {
  gap: var(--spacing-xl);
  display: flex;
  margin-top: var(--spacing-lg)
}

.cta-note {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-xs);
  margin-top: var(--spacing-sm)
}

.contact-pill {
  gap: var(--spacing-sm);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  font-weight: var(--font-weight-medium)
}

.hero-diagonal-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover
}

.form-group label {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium)
}

.form-group input,
.form-group textarea {
  border: 1px solid var(--color-border);
  padding: var(--spacing-md);
  font-family: var(--font-family-body);
  border-radius: var(--border-radius-control)
}

.form-row .form-group {
  flex: 1 1
}

.hour-item .day {
  font-weight: var(--font-weight-medium)
}

.expect-list li {
  position: relative;
  font-size: var(--font-size-sm);
  padding-left: var(--spacing-lg)
}

.expect-list li:before {
  left: 0;
  color: var(--color-secondary);
  content: "✓";
  position: absolute;
  font-weight: 700
}

.care-tile:hover {
  transform: translateY(-8px);
  border-color: var(--color-secondary)
}

.testimonial-rail::-webkit-scrollbar {
  display: none
}

.feedback-modal::backdrop {
  background: var(--color-scrim)
}

.star-rating input {
  display: none
}

.star-rating label {
  color: var(--color-neutral);
  cursor: pointer;
  font-size: 2rem
}

.star-rating input:checked~label {
  color: var(--color-secondary)
}

.footer-contact-link {
  color: inherit;
  transition: color .3s ease;
  text-decoration: none
}

.footer-contact-link:hover {
  color: var(--color-secondary)
}

.star-rating label svg {
  width: 24px;
  height: 24px
}

.star-rating label:hover,
.star-rating label:hover~label {
  color: var(--color-secondary)
}

.comment-item {
  padding: var(--spacing-md);
  background: var(--color-surface-elevated);
  border-left: 4px solid var(--color-secondary);
  border-radius: var(--border-radius-md)
}

.comment-header {
  display: flex;
  align-items: center;
  margin-bottom: var(--spacing-xs);
  justify-content: space-between
}

.comment-author {
  color: var(--color-primary);
  font-weight: var(--font-weight-medium)
}

.comment-stars {
  color: var(--color-secondary);
  font-size: var(--font-size-sm)
}

.preset-option {
  color: var(--color-on-surface-secondary);
  border: 1px solid var(--color-border);
  cursor: pointer;
  padding: 4px 10px;
  font-size: var(--font-size-xs);
  transition: all .2s ease;
  border-radius: var(--border-radius-full);
  background-color: var(--color-surface-elevated)
}

.preset-option:hover {
  color: var(--color-secondary);
  border-color: var(--color-secondary)
}

.field-wrapper {
  gap: var(--spacing-xs);
  flex: 1 1;
  display: flex;
  flex-direction: column
}

.field-label {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium)
}

.field-label,
.form-input {
  color: var(--color-on-surface);
  font-family: var(--font-family-body)
}

.form-input {
  width: 100%;
  border: 1px solid var(--color-border);
  padding: var(--spacing-sm) var(--spacing-md);
  font-size: var(--font-size-base);
  transition: border-color .2s ease;
  border-radius: var(--border-radius-control);
  background-color: var(--color-surface)
}

.form-input:focus {
  outline: none;
  border-color: var(--color-primary)
}

.cal-embed-container {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: var(--color-surface);
  margin-top: var(--spacing-lg);
  border-radius: var(--border-radius-md)
}

.cal-inline-embed {
  width: 100%;
  height: 600px;
  overflow: auto
}

.map-link {
  width: 100%;
  height: 100%;
  display: block
}

.section-content:hover {
  color: var(--color-secondary);
  text-decoration: underline
}

.address-link {
  color: inherit;
  transition: color .3s ease;
  text-decoration: none
}

.address-link:hover {
  color: var(--color-accent);
  text-decoration: underline
}

.services-link {
  color: inherit;
  transition: color .3s ease;
  text-decoration: none
}

.services-link:hover {
  color: var(--color-secondary)
}

.Content {
  font-size: 16px;
  line-height: 1.15;
  text-transform: none;
  text-decoration: none
}

.BodyFont,
.Content {
  font-family: Inter;
  font-weight: 400
}

.BodyFont {
  font-size: 1rem;
  line-height: 1.65
}

.BodyFont,
.Headings {
  letter-spacing: .02em
}

.Headings {
  font-size: 2em;
  font-family: Playfair Display;
  font-weight: 700;
  line-height: 1.2
}

@media(max-width:991px) {
  .thq-grid-4 {
    grid-template-columns: 1fr 1fr 1fr
  }

  .footer-top-layer {
    gap: var(--spacing-2xl)
  }

  .footer-column {
    min-width: 45%
  }

  .footer-brand-column {
    flex: 1 1 100%;
    margin-bottom: var(--spacing-lg)
  }

  .navigation-container {
    padding: 0 var(--spacing-lg)
  }

  .navigation-side-links {
    gap: var(--spacing-md)
  }

  .navigation-logo-center {
    padding: 0 var(--spacing-lg)
  }

  .hero-diagonal-content {
    width: 60%;
    padding: var(--spacing-2xl)
  }

  .hero-diagonal-image {
    width: 40%
  }

  .schedule-grid {
    flex-direction: column
  }

  .care-grid,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .stats-grid {
    gap: var(--spacing-2xl)
  }

  .cta-inner {
    text-align: center;
    flex-direction: column
  }

  .cta-contact-info {
    justify-content: center
  }
}

@media(max-width:767px) {
  .thq-section-padding {
    padding: var(--dl-layout-space-threeunits)
  }

  .thq-flex-column,
  .thq-flex-row {
    gap: var(--dl-layout-space-oneandhalfunits)
  }

  .thq-grid-5,
  .thq-grid-6 {
    grid-gap: var(--dl-layout-space-oneandhalfunits);
    grid-template-columns: 1fr 1fr 1fr
  }

  .thq-card {
    padding: var(--dl-layout-space-oneandhalfunits)
  }

  .thq-grid-3,
  .thq-grid-4 {
    grid-gap: var(--dl-layout-space-oneandhalfunits);
    grid-template-columns: 1fr 1fr
  }

  .thq-grid-4 {
    flex-direction: row
  }

  .thq-grid-2 {
    grid-gap: var(--dl-layout-space-oneandhalfunits);
    grid-template-columns: 1fr
  }

  .thq-img-scale {
    width: 100%
  }

  .footer-root {
    padding-top: var(--spacing-3xl)
  }

  .footer-column {
    flex: 1 1 100%
  }

  .footer-legal-wrapper {
    text-align: center;
    flex-direction: column
  }

  .footer-legal-links {
    gap: var(--spacing-md);
    justify-content: center
  }

  .navigation-container {
    height: 70px
  }

  .navigation-desktop-layout {
    display: none
  }

  .navigation-mobile-header {
    display: flex
  }

  .hero-diagonal {
    flex-direction: column
  }

  .hero-diagonal-content {
    width: 100%;
    padding: var(--spacing-3xl) var(--spacing-xl);
    text-align: center
  }

  .hero-diagonal-image {
    width: 100%;
    height: 300px;
    position: relative;
    clip-path: none
  }

  .hero-overlay {
    background: var(--color-scrim)
  }

  .process-steps {
    flex-direction: column
  }

  .process-divider {
    display: none
  }

  .testimonial-card {
    flex: 0 0 280px
  }
}

@media(max-width:479px) {
  .thq-section-padding {
    padding: var(--dl-layout-space-oneandhalfunits)
  }

  .thq-flex-column,
  .thq-flex-row {
    gap: var(--dl-layout-space-unit)
  }

  .thq-grid-5,
  .thq-grid-6 {
    grid-gap: var(--dl-layout-space-unit);
    grid-template-columns: 1fr 1fr
  }

  .thq-grid-3,
  .thq-grid-4 {
    grid-gap: var(--dl-layout-space-unit);
    align-items: center;
    grid-template-columns: 1fr
  }

  .thq-grid-4 {
    flex-direction: column
  }

  .thq-grid-2 {
    grid-gap: var(--dl-layout-space-unit)
  }

  .thq-grid-auto-300 {
    grid-template-columns: 1fr
  }

  .footer-legal-links {
    gap: var(--spacing-xs);
    flex-direction: column
  }

  .navigation-logo-text-top {
    font-size: 1.1rem;
    letter-spacing: .15em
  }

  .navigation-logo-text-bottom {
    font-size: .55rem;
    letter-spacing: .3em
  }

  .form-row,
  .hero-actions {
    flex-direction: column
  }

  .care-grid {
    grid-template-columns: 1fr
  }

  .cta-contact-info {
    gap: var(--spacing-sm);
    flex-direction: column
  }

  .cal-inline-embed {
    height: 500px
  }
}

/* ----- Page / component overrides (formerly styled-jsx) ----- */
.navigation-container1 {
  display: contents
}

.navigation-thq-navigation-logo-content-elm1 {
  width: auto;
  height: 72px
}

.navigation-thq-navigation-logo-text-top-elm1 {
  font-size: 32px
}

.navigation-thq-navigation-logo-text-bottom-elm1 {
  font-size: 18px
}

.navigation-thq-btn-elm1 {
  text-decoration: none
}

.navigation-thq-btn-elm2 {
  text-decoration: none
}


.footer-container1 {
  display: contents
}

.footer-thq-footer-social-link-elm1 {
  text-decoration: none
}

.footer-thq-section-content-elm2 {
  text-decoration: none
}


.home-container1 {
  width: 100%;
  display: block;
  min-height: 100vh
}

.home-thq-hero-video-elm {
  height: 997px
}

.home-thq-hero-overlay-elm {
  height: 1039px
}


.home-thq-hero-diagonal-content-elm {
  height: 853px;
  padding-bottom: 418px
}

.home-thq-hero-subtext-elm {
  color: var(--color-secondary);
  font-size: 22px;
  font-style: italic;
  text-align: center;
  font-family: var(--font-family-body);
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: .02em
}

.home-iframe {
  border: 0;
  pointer-events: auto;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%
}

/* Map panel: make the link wrapper fill the panel and give the panel an
   opaque fallback so the hero video never shows through while the map loads */
.hero-diagonal-image {
  background: #e5e3df
}

.hero-diagonal-image > a {
  display: block;
  width: 100%;
  height: 100%
}

.home-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  box-shadow: var(--shadow-level-1);
  border-radius: var(--border-radius-lg)
}

.home-thq-schedule-card-elm1 {
  width: 100%;
  height: auto;
  max-width: 800px;
  min-height: 0
}



.home-thq-button-wrapper-elm {
  width: 100%;
  display: flex;
  margin-top: var(--spacing-2xl);
  justify-content: center
}

.home-thq-btn-elm3 {
  text-decoration: none
}

.home-thq-thq-star-icon-elm-elm {
  color: #ffd700;
  flex-shrink: 0;
  margin-right: var(--spacing-sm)
}

.home-thq-feedback-container-elm {
  margin-top: var(--spacing-4xl)
}

.home-thq-feedback-grid-elm {
  gap: var(--spacing-2xl);
  display: flex
}

.home-thq-feedback-form-card-elm {
  flex: 1;
  padding: var(--spacing-2xl);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  border-radius: var(--border-radius-card)
}

.home-thq-preset-options-elm {
  gap: var(--spacing-xs);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: var(--spacing-xs);
  align-items: start
}


@media(max-width:991px) {
  .home-image {
    height: 250px
  }

  .home-thq-feedback-grid-elm {
    flex-direction: column
  }
}

@media(max-width:479px) {
  .home-image {
    height: 200px
  }

}

@keyframes lightbulb-flash {
  0%, 100% { opacity: 1; box-shadow: 0 0 0px var(--color-primary); background: var(--color-primary); }
  50% { opacity: 0.8; box-shadow: 0 0 20px var(--color-secondary); background: var(--color-secondary); }
}

/* ===== Added for TeleportHQ import / compliance fixes ===== */
.booking-actions {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  align-items: flex-start;
}

.booking-note {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-sm);
}

.hours-note {
  color: var(--color-on-surface-secondary);
  font-size: var(--font-size-sm);
  margin-top: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
}

.reviews-card {
  flex: 1;
  padding: var(--spacing-2xl);
  background: var(--color-surface);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
  border-radius: var(--border-radius-card);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  align-self: flex-start;
}

.reviews-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: underline;
}

.privacy-section {
  padding: var(--spacing-3xl) var(--spacing-xl);
  background: var(--color-surface);
}

.privacy-container {
  margin: 0 auto;
  max-width: var(--content-max-width);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.footer-disclosure {
  width: 100%;
  font-size: var(--font-size-sm);
  color: inherit;
  opacity: 0.85;
  margin-bottom: var(--spacing-md);
}

.footer-email-link,
.cta-phone-link {
  color: inherit;
  text-decoration: none;
}

.footer-email-link:hover,
.cta-phone-link:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .booking-actions { align-items: stretch; }
}


/* ===== Hero slideshow (replaces the background video) =====
   3 slides x 7s = 21s loop. Each slide: 1.5s fade-in, ~5.5s fully visible,
   1.5s fade-out overlapping the next slide's fade-in (crossfade), with a
   slow Ken Burns zoom/pan. Pure CSS - no JS needed. */
.hero-slideshow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #1f2a33
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  will-change: opacity, transform;
  animation: hero-slide-cycle 21s linear infinite both
}

/* slide 1 starts already visible (negative delay skips its fade-in) */
.hero-slide--1 { animation-delay: -1.5s; transform-origin: 20% 30% }
.hero-slide--2 { animation-delay: 5.5s;  transform-origin: 80% 50% }
.hero-slide--3 { animation-delay: 12.5s; transform-origin: 40% 80% }

@keyframes hero-slide-cycle {
  0%      { opacity: 0; transform: scale(1) }
  7.14%   { opacity: 1 }                       /* 1.5s fade in  */
  33.33%  { opacity: 1 }                       /* hold to 7s    */
  40.48%  { opacity: 0; transform: scale(1.12) } /* 8.5s fade out */
  100%    { opacity: 0; transform: scale(1.12) }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 0; transform: none }
  .hero-slide--1 { opacity: 1 }
}


/* ===== Desktop nav fit fix =====
   The centre logo block was a fixed 400px wide plus 48px padding each side,
   and nav links can't wrap (white-space: nowrap), so the right-hand group
   (Patient Reviews / Contact / Book Appointment) was pushed past the right
   edge of the window: page 1389px wide at 1280px, 1469px at 1440px, 1357px at
   1024px. Logo width is now auto (above) and the nav tightens in steps. */
.navigation-cta { white-space: nowrap }

@media (max-width: 1440px) {
  .navigation-side-links { gap: var(--spacing-lg) }
  .navigation-logo-center { padding: 0 var(--spacing-md) }
  .navigation-thq-navigation-logo-text-top-elm1 { font-size: 28px }
}

@media (max-width: 1199px) {
  .navigation-container { padding: 0 var(--spacing-lg) }
  .navigation-side-links { gap: var(--spacing-md) }
  .navigation-thq-navigation-logo-text-top-elm1 { font-size: 22px }
  .navigation-thq-navigation-logo-content-elm1 { height: 60px }
  .navigation-link { font-size: 13px; letter-spacing: .02em }
  .navigation-cta svg { display: none }
  .navigation-cta { padding: var(--spacing-sm) var(--spacing-md); font-size: 13px }
}

/* Switch to the hamburger menu below 992px (was 767px; the full desktop nav
   does not fit between 768 and 991px). */
@media (max-width: 991px) {
  .navigation-container { height: 70px }
  .navigation-desktop-layout { display: none }
  .navigation-mobile-header { display: flex }
}

/* Stats bar: "Accepting" overflowed by a few px on 360px phones. */
@media (max-width: 479px) {
  .stats-container { padding: 0 var(--spacing-lg) }
  .stats-grid { gap: var(--spacing-xl) var(--spacing-md) }
  .stat-item { min-width: 0 }
  .stat-value { font-size: clamp(1.4rem, 7vw, 1.9rem) }
}

/* Book-online card: secondary "or call" link under the Cal.com button */
.booking-call-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}
.booking-call-link:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .booking-actions .booking-call-link { text-align: center; }
  .booking-actions .btn { justify-content: center; text-align: center; }
}

/* ===== Privacy / Terms / Accessibility sections ===== */
.legal-section + .legal-section { padding-top: 0; }
.legal-container { max-width: 52rem; }
.legal-container + .legal-container { border-top: 0; }
.legal-section .section-title { margin-bottom: var(--spacing-xs); }
.legal-section + .legal-section .legal-container {
  border-top: 1px solid color-mix(in srgb, var(--color-border) 60%, transparent);
  padding-top: var(--spacing-2xl);
}
.legal-subtitle {
  font-family: var(--font-family-heading);
  font-size: var(--font-size-lg);
  color: var(--color-primary);
  margin-top: var(--spacing-md);
}
.legal-list { margin: 0; padding-left: 1.25rem; display: flex; flex-direction: column; gap: var(--spacing-xs); }
.legal-list li { list-style: disc; }
.legal-section strong { color: var(--color-on-surface); }
/* Draft markers: remove before publishing */
mark.confirm {
  background: #fff1a8;
  color: #6b4e00;
  border: 1px dashed #c99a00;
  border-radius: 4px;
  padding: 0 .3em;
  font-style: italic;
}

/* keep headings clear of the sticky nav when jumping from footer links */
.legal-section { scroll-margin-top: 90px; }

/* Legal pages stay hidden until opened from a footer or in-page link */
.legal-section:not(:target) { display: none; }

/* Booking CTAs scroll to the on-page booking card */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
#appointment { scroll-margin-top: 90px; }
@media (max-width: 991px) { #appointment, .legal-section { scroll-margin-top: 70px; } }

/* ===== Patient feedback (approval + consent) ===== */
.fb-privacy-note{margin:0 0 var(--spacing-md);padding:10px 12px;font-size:var(--font-size-xs,.85rem);line-height:1.45;color:var(--color-on-surface);background:color-mix(in srgb,var(--color-secondary) 12%,transparent);border-left:4px solid var(--color-secondary);border-radius:var(--border-radius-md,6px)}
.fb-hint{display:block;margin-top:4px;font-size:var(--font-size-xs,.8rem);color:var(--color-on-surface-secondary);line-height:1.4}
.fb-fieldset{border:0;padding:0;margin:0 0 var(--spacing-md,1rem);min-width:0}
.fb-fieldset legend{font-weight:600;margin-bottom:6px;padding:0}
.fb-rating-text{margin:2px 0 0}
.preset-option{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.preset-option input{position:absolute;opacity:0;width:1px;height:1px}
.preset-option:focus-within{outline:2px solid var(--color-outline);outline-offset:2px}
.preset-option.is-selected{color:var(--color-on-primary);background-color:var(--color-primary);border-color:var(--color-primary)}
.star-rating input:focus-visible+label{outline:2px solid var(--color-outline);outline-offset:2px;border-radius:4px}
.fb-check{display:flex;gap:10px;align-items:flex-start;font-weight:600;cursor:pointer;line-height:1.4}
.fb-check input{width:20px;height:20px;flex:0 0 20px;margin-top:2px;accent-color:var(--color-primary)}
.fb-hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.fb-error{color:var(--color-primary);font-weight:600;background:color-mix(in srgb,var(--color-accent) 10%,#fff);border:1px solid color-mix(in srgb,var(--color-accent) 35%,#fff);border-left:4px solid var(--color-accent);padding:8px 12px;border-radius:6px;font-size:.9rem;margin:0 0 var(--spacing-md,1rem)}
.fb-thanks{display:flex;flex-direction:column;gap:var(--spacing-sm,.75rem);padding:var(--spacing-lg,1.5rem);border:1px solid var(--color-border);border-radius:var(--border-radius-card,12px);background:var(--color-surface-elevated)}
.fb-thanks[hidden],.feedback-form[hidden]{display:none}
.fb-thanks:focus{outline:none}
.fb-google-btn{align-self:flex-start;display:inline-flex;gap:8px;align-items:center;text-decoration:none}
.fb-disclosure{margin-top:var(--spacing-sm,.75rem)}
.fb-sample-banner{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 var(--spacing-sm,.75rem);font-size:.8rem;line-height:1.4;color:var(--color-on-surface-secondary)}
.fb-sample-pill{display:inline-block;padding:2px 10px;font-size:.72rem;font-weight:600;letter-spacing:.02em;color:var(--color-primary);background:color-mix(in srgb,var(--color-accent) 12%,#fff);border:1px solid color-mix(in srgb,var(--color-accent) 30%,#fff);border-radius:999px}
.fb-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:var(--spacing-sm,.75rem)}
.fb-item{padding:var(--spacing-md,1rem) calc(var(--spacing-md,1rem) + 2px);background:var(--color-surface-elevated);border:1px solid color-mix(in srgb,var(--color-secondary) 18%,transparent);border-left:4px solid var(--color-secondary);border-radius:var(--border-radius-md,10px);box-shadow:0 1px 3px rgba(30,58,95,.06)}
.fb-item--sample{border-left-color:color-mix(in srgb,var(--color-secondary) 55%,var(--color-neutral))}
.fb-item-head{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline}
.fb-stars{color:var(--color-secondary);letter-spacing:1px}
.fb-item-name{font-weight:600;color:var(--color-primary)}
.fb-item-date{font-size:.8rem;color:var(--color-on-surface-secondary);margin-left:auto}
.fb-item-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.fb-tag{font-size:.75rem;padding:2px 8px;border:1px solid color-mix(in srgb,var(--color-secondary) 30%,transparent);background:color-mix(in srgb,var(--color-secondary) 8%,#fff);border-radius:999px;color:var(--color-on-surface-secondary)}
.fb-item-comment{margin:6px 0 0;line-height:1.5}
@media (max-width:767px){.home-thq-feedback-grid-elm{flex-direction:column}}
.fb-hint[hidden],.fb-error[hidden],.fb-sample-banner[hidden]{display:none!important}
.fb-more{margin-top:8px;font-size:var(--font-size-xs,.8rem);color:var(--color-on-surface-secondary);line-height:1.4}
.fb-more summary{cursor:pointer;display:inline;font-size:inherit;color:inherit}
.fb-more p{margin:6px 0 0}
.feedback-form .form-group .fb-hint{margin-bottom:6px}
.fb-google-btn{max-width:100%;white-space:normal;text-align:left;line-height:1.3}
.fb-google-btn svg{flex:0 0 20px}

/* ---- Full-calendar link on booking card ---- */
.appointment-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--spacing-sm, 12px); }
.appointment-head .section-title { margin: 0; }
.cal-expand-btn { cursor: pointer; white-space: nowrap; text-decoration: none; display: inline-flex; align-items: center; }
.appointment-card { cursor: default; }
/* ---- Dedicated service pages ---- */
.service-page { padding-top: 120px; }
.service-container { max-width: 900px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--spacing-lg, 24px); }
.service-title { margin-bottom: var(--spacing-xs, 8px); }
.service-back { margin: 0; }
.service-booking .appointment-card { width: 100%; }
.service-page .cal-embed-container, .service-page .cal-inline-embed { height: 720px; }
@media (max-width: 991px) { .service-page { padding-top: 90px; } }
/* ---- Feedback quick tags: 2x2 on desktop, single column on phones ---- */
@media (max-width: 767px) { .home-thq-preset-options-elm { grid-template-columns: 1fr; } }
