@charset "utf-8";

/*
Theme Name: Clinexa - Medical Healthcare HTML5 Template.
Author: Metropolitanthemes
Version: 1.0.0

%%%%%%% Table of CSS %%%%%%%

1. General
   1.1 Design Tokens
   1.2 Base
   1.3 Buttons & Controls
   1.4 Section Titles
   1.5 Status & Faces
   1.6 Reveals
   1.7 Wide Screens
2. Preloader
3. Header
   3.1 Top Row
   3.2 Menu Bar
   3.3 Departments Mega Menu
   3.4 Sticky Bar
   3.5 Home 02 Header
4. Offcanvas Menu
5. Language Picker
6. Forms
7. Subheader & Photo Bands
8. Home 01
   8.1 Hero
   8.2 Three Panels
   8.3 Care Split
   8.4 Lab Band
   8.5 Visit Route
   8.6 Gallery
   8.7 Wait Times
   8.8 Team & Stories
9. Home 02
   9.1 Hero
   9.2 Docked Panels
   9.3 Great Place
   9.4 Family Services
   9.5 Mosaic & BMI
   9.6 Family Tree
   9.7 Lifestyle
10. Cards
   10.1 Department Card
   10.2 Doctor Card
   10.3 Story Card
11. Packages & Journal Rows
   11.1 Package Card
   11.2 Journal Row
12. Inner Pages
   12.1 About
   12.2 Tabs & FAQ
   12.3 Departments
   12.4 Department Details
   12.5 Sidebar
   12.6 Services
   12.7 Doctors
   12.8 Doctor Profile
13. Booking & Timetable
   13.1 Booking Steps
   13.2 Booking Summary
   13.3 Timetable
14. Patient Tools
   14.1 Lab Catalogue
   14.2 Package Picker & Compare
   14.3 Cost Estimator
   14.4 Emergency
15. Content Pages
   15.1 Patient Stories
   15.2 Facilities
   15.3 Careers
   15.4 Journal
   15.5 Article
   15.6 Contact
   15.7 Patient Portal
   15.8 Coming Soon & 404
16. Call Strip & Footer
   16.1 Call Strip
   16.2 Footer
17. Utility
   17.1 Back To Top
   17.2 Mobile Action Bar
   17.3 Sliders
*/

/*======================
1. General
========================*/
/*---- 1.1 Design Tokens ----*/
:root {
  /* the base's palette: teal brand light, indigo and periwinkle panels, charcoal */
  --cn-teal: #43D5CB;
  --cn-teal-rgb: 67, 213, 203;
  --cn-teal-ink: #0B7A72;
  --cn-on-teal: #0D2B2E;
  --cn-indigo: #435BA1;
  --cn-indigo-rgb: 67, 91, 161;
  --cn-blue: #4F6DCD;
  --cn-blue-rgb: 79, 109, 205;
  --cn-charcoal: #1F2A30;
  --cn-night: #1C2326;
  --cn-night-rgb: 28, 35, 38;
  --cn-mint: #2FAE7E;
  --cn-mint-ink: #1F7A5A;
  --cn-alert: #E5574F;
  --cn-alert-ink: #B8322A;
  --cn-white: #FFFFFF;
  /* semantic tokens (dark mode redefines these) */
  --cn-ground: #FFFFFF;
  --cn-ground-alt: #F4F8FA;
  --cn-surface: #FFFFFF;
  --cn-surface-2: #F4F8FA;
  --cn-heading: #1F2A30;
  --cn-body: #5B6670;
  --cn-muted: #77828B;
  --cn-line: #E2E9ED;
  --cn-tonal: #E8F6F5;
  --cn-tonal-2: #EDF0FA;
  --cn-link: #0B7A72;
  --cn-indigo-text: #435BA1;
  --cn-shadow: 0 10px 30px rgba(31, 42, 48, 0.07);
  --cn-shadow-lg: 0 24px 60px rgba(31, 42, 48, 0.12);
  /* type: the base's pair */
  --cn-ff-head: "Poppins", sans-serif;
  --cn-ff-body: "Open Sans", sans-serif;
  --cn-fs-h1: clamp(40px, 3.9vw, 62px);
  --cn-fs-h2: clamp(30px, 2.9vw, 46px);
  --cn-fs-h3: 22px;
  --cn-fs-h4: 19px;
  --cn-fs-h5: 17px;
  --cn-fs-h6: 14px;
  --cn-radius-sm: 6px;
  --cn-radius: 10px;
  --cn-radius-lg: 18px;
  --cn-ease: cubic-bezier(0.215, 0.61, 0.355, 1);
}

[data-theme="dark"] {
  --cn-ground: #11181B;
  --cn-ground-alt: #151D21;
  --cn-surface: #182126;
  --cn-surface-2: #1D272C;
  --cn-heading: #ECF3F5;
  --cn-body: #A6B3BA;
  --cn-muted: #8796A0;
  --cn-line: #27333B;
  --cn-tonal: rgba(67, 213, 203, 0.1);
  --cn-tonal-2: rgba(142, 162, 232, 0.12);
  --cn-link: #43D5CB;
  --cn-indigo-text: #8EA2E8;
  --cn-teal-ink: #43D5CB;
  --cn-mint-ink: #5BD3A5;
  --cn-alert-ink: #F08A84;
  --cn-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --cn-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.42);
  color-scheme: dark;
}

/*---- 1.2 Base ----*/
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--cn-ff-body);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 400;
  color: var(--cn-body);
  background-color: var(--cn-ground);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cn-ff-head);
  color: var(--cn-heading);
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 14px;
}

h1 {
  font-size: var(--cn-fs-h1);
}

h2 {
  font-size: var(--cn-fs-h2);
}

h3 {
  font-size: var(--cn-fs-h3);
}

h4 {
  font-size: var(--cn-fs-h4);
}

h5 {
  font-size: var(--cn-fs-h5);
}

h6 {
  font-size: var(--cn-fs-h6);
}

p {
  margin: 0 0 16px;
}

a {
  color: var(--cn-link);
  text-decoration: none;
  transition: color 0.3s var(--cn-ease);
}

a:hover {
  color: var(--cn-indigo-text);
}

img {
  max-width: 100%;
  height: auto;
}

button {
  font-family: inherit;
}

::selection {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.cn-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10001;
  padding: 10px 18px;
  border-radius: var(--cn-radius-sm);
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-family: var(--cn-ff-head);
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--cn-blue);
  outline-offset: 3px;
}

.main-root {
  overflow: clip;
}

/*---- 1.3 Buttons & Controls ----*/
/* the base's button: a label and a separate chevron box on the right edge */
.cn-btn {
  position: relative;
  display: inline-flex;
  align-items: stretch;
  height: 52px;
  padding: 0;
  border: 0;
  border-radius: var(--cn-radius-sm);
  overflow: hidden;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.35s var(--cn-ease), color 0.35s var(--cn-ease), box-shadow 0.35s var(--cn-ease);
}

.cn-btn .btn-t {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
}

.cn-btn .btn-box {
  position: relative;
  flex: 0 0 48px;
  overflow: hidden;
  background-color: rgba(13, 43, 46, 0.1);
  transition: background-color 0.35s var(--cn-ease), color 0.35s var(--cn-ease);
}

.cn-btn .btn-box i {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 13px;
  transform: translate(-50%, -50%);
  transition: transform 0.4s var(--cn-ease);
}

.cn-btn .btn-box i + i {
  transform: translate(-260%, -50%);
}

.cn-btn:hover {
  background-color: var(--cn-indigo);
  color: var(--cn-white);
  box-shadow: 0 12px 28px rgba(var(--cn-indigo-rgb), 0.28);
}

.cn-btn:hover .btn-box {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.cn-btn:hover .btn-box i {
  transform: translate(160%, -50%);
}

.cn-btn:hover .btn-box i + i {
  transform: translate(-50%, -50%);
}

.cn-btn.is-indigo {
  background-color: var(--cn-indigo);
  color: var(--cn-white);
}

.cn-btn.is-indigo .btn-box {
  background-color: rgba(255, 255, 255, 0.14);
}

.cn-btn.is-indigo:hover {
  background-color: var(--cn-charcoal);
}

.cn-btn.is-ink {
  background-color: var(--cn-night);
  color: var(--cn-white);
}

.cn-btn.is-ink .btn-box {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.cn-btn.is-ink:hover {
  background-color: var(--cn-indigo);
}

.cn-btn.is-light {
  background-color: var(--cn-white);
  color: var(--cn-on-teal);
}

.cn-btn.is-light .btn-box {
  background-color: rgba(var(--cn-teal-rgb), 0.22);
}

.cn-btn.is-light:hover {
  background-color: var(--cn-indigo);
  color: var(--cn-white);
}

.cn-btn.is-tonal {
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
}

.cn-btn.is-tonal .btn-box {
  background-color: rgba(var(--cn-teal-rgb), 0.24);
  color: var(--cn-teal-ink);
}

.cn-btn.is-tonal:hover {
  background-color: var(--cn-indigo);
  color: var(--cn-white);
}

.cn-btn.is-sm {
  height: 42px;
  font-size: 14px;
}

.cn-btn.is-sm .btn-t {
  padding: 0 16px;
}

.cn-btn.is-sm .btn-box {
  flex-basis: 40px;
}

.cn-btn.is-block {
  display: flex;
  width: 100%;
}

.cn-btn.is-block .btn-t {
  flex: 1;
  justify-content: center;
}

.cn-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* round icon buttons: tonal face, teal on hover */
.cn-round {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-size: 16px;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease), transform 0.3s var(--cn-ease);
}

.cn-round:hover {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.cn-theme-toggle .cni-sun,
[data-theme="dark"] .cn-theme-toggle .cni-moon {
  display: none;
}

[data-theme="dark"] .cn-theme-toggle .cni-sun {
  display: inline-block;
}

/* text link with the arrow that slides */
.cn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cn-ff-head);
  font-weight: 500;
  font-size: 15px;
  color: var(--cn-teal-ink);
}

.cn-link i {
  font-size: 13px;
  transition: transform 0.3s var(--cn-ease);
}

.cn-link:hover i {
  transform: translateX(4px);
}

/*---- 1.4 Section Titles ----*/
.cn-pt-120 {
  padding-top: 120px;
}

.cn-pb-120 {
  padding-bottom: 120px;
}

.cn-pt-90 {
  padding-top: 90px;
}

.cn-pb-90 {
  padding-bottom: 90px;
}

.cn-alt {
  background-color: var(--cn-ground-alt);
}

.cn-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--cn-ff-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cn-teal-ink);
}

.cn-eyebrow i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  font-size: 11px;
}

.cn-eyebrow.is-light {
  color: var(--cn-white);
}

.cn-eyebrow.is-light i {
  background-color: rgba(255, 255, 255, 0.16);
}

/* the base's two-weight title: line one light, line two medium, the accent word in teal */
.cn-title {
  margin-bottom: 48px;
}

.cn-title .title {
  margin-bottom: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cn-line {
  display: block;
}

.cn-line.is-light,
.title .t-light {
  font-weight: 300;
}

.title em,
.cn-accent {
  font-style: normal;
  color: var(--cn-teal-ink);
}

.cn-title.is-center {
  text-align: center;
}

.cn-title.is-center .cn-tri-mark {
  margin-left: auto;
  margin-right: auto;
}

.cn-title .cn-lead {
  margin: 18px 0 0;
  max-width: 620px;
}

.cn-title.is-center .cn-lead {
  margin-left: auto;
  margin-right: auto;
}

.cn-title.is-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.cn-lead {
  font-size: 18px;
  line-height: 1.7;
  color: var(--cn-body);
}

/* the three panels as a mark: indigo, periwinkle, teal - drawn on under a title */
.cn-tri-mark {
  display: flex;
  gap: 4px;
  width: 66px;
  margin-top: 20px;
}

.cn-tri-mark i {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background-color: var(--cn-indigo);
}

.cn-tri-mark i:nth-child(2) {
  background-color: var(--cn-blue);
}

.cn-tri-mark i:nth-child(3) {
  background-color: var(--cn-teal);
}

.cn-tri {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: flex;
  height: 6px;
}

.cn-tri i {
  flex: 1;
  background-color: var(--cn-indigo);
}

.cn-tri i:nth-child(2) {
  background-color: var(--cn-blue);
}

.cn-tri i:nth-child(3) {
  background-color: var(--cn-teal);
}

/*---- 1.5 Status & Faces ----*/
.cn-status {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 0;
  font-size: 14px;
  color: var(--cn-body);
}

.cn-status b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.cn-status .dot,
.doc-next .dot {
  position: relative;
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  background-color: var(--cn-muted);
}

.is-open .dot,
.dot.is-open {
  background-color: var(--cn-mint);
}

.is-open .dot::after,
.dot.is-open::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--cn-mint);
  opacity: 0;
  animation: cnPing 2.2s var(--cn-ease) infinite;
}

.is-closed .dot,
.dot.is-closed {
  background-color: var(--cn-alert);
}

.is-soon .dot,
.dot.is-soon {
  background-color: #E8A93A;
}

.cn-status.is-dark,
.cn-status.is-light {
  color: rgba(255, 255, 255, 0.75);
}

.cn-status.is-dark b,
.cn-status.is-light b {
  color: var(--cn-white);
}

@keyframes cnPing {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.cn-faces {
  display: inline-flex;
  align-items: center;
}

.cn-faces img,
.cn-faces .faces-count {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid var(--cn-surface);
  object-fit: cover;
  object-position: center top;
  margin-left: -12px;
}

.cn-faces img:first-child {
  margin-left: 0;
}

.cn-faces .faces-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-family: var(--cn-ff-head);
  font-size: 13px;
  font-weight: 600;
}

/*---- 1.6 Reveals ----*/
/* Panel Wipe: the panel is added by the script only when motion plays */
.cn-wipe {
  position: relative;
}

.wipe-panel {
  position: absolute;
  inset: 0;
  z-index: 6;
  border-radius: inherit;
  pointer-events: none;
}

/*---- 1.7 Wide Screens ----*/
@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }

  body {
    font-size: 17px;
  }
}

@media (min-width: 1960px) {
  .container {
    max-width: 1560px;
  }
}

/*======================
2. Preloader
========================*/
/* Consult Bubble: the bubble draws, the plus locks in, the name arrives, then the mark flies to the header logo.
   Without JS (or with reduced motion) the panel is never shown. */
.cn-preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: var(--cn-ground);
}

.js .cn-preloader {
  display: flex;
}

.js .cn-preloader.is-done {
  display: none;
}

.pre-lock {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transform-origin: 0 50%;
}

.pre-mark {
  width: 72px;
  height: 72px;
  overflow: visible;
}

.pre-word {
  font-family: var(--cn-ff-head);
  font-size: 50px;
  line-height: 1;
  letter-spacing: -0.6px;
  color: var(--cn-heading);
  white-space: nowrap;
}

.pre-word b {
  font-weight: 600;
}

.pre-word span {
  font-weight: 300;
}

/*======================
3. Header
========================*/
/*---- 3.1 Top Row ----*/
.cn-header {
  position: relative;
  z-index: 1000;
  background-color: var(--cn-ground);
  --stick-h: 74px;
}

.cn-logo {
  display: inline-flex;
  flex: 0 0 auto;
}

.cn-logo img {
  width: auto;
  height: 46px;
}

.cn-logo .logo-light,
[data-theme="dark"] .cn-logo .logo-dark {
  display: none;
}

[data-theme="dark"] .cn-logo .logo-light {
  display: block;
}

.header-top {
  border-bottom: 1px solid var(--cn-line);
}

.header-top-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  min-height: 98px;
}

.header-trio {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: auto;
}

.header-trio li {
  display: flex;
  align-items: center;
  gap: 13px;
  line-height: 1.3;
}

.trio-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
  font-size: 21px;
}

.header-trio small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--cn-ff-head);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--cn-muted);
}

.header-trio a,
.header-trio b {
  font-family: var(--cn-ff-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cn-heading);
}

.header-trio a:hover {
  color: var(--cn-teal-ink);
}

.trio-hours.is-open small {
  color: var(--cn-mint-ink);
}

.trio-hours.is-closed small {
  color: var(--cn-alert-ink);
}

.trio-er .trio-ic {
  background-color: rgba(229, 87, 79, 0.12);
  color: var(--cn-alert-ink);
}

.header-top-end {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cn-menu-toggle.is-top {
  display: none;
}

/*---- 3.2 Menu Bar ----*/
.header-bar {
  background-color: var(--cn-ground);
  border-bottom: 1px solid var(--cn-line);
}

.header-bar-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: 74px;
}

.cn-logo.is-bar {
  display: none;
}

.cn-logo.is-bar img {
  height: 38px;
}

.cn-nav {
  margin-right: auto;
}

.cn-nav > ul {
  display: flex;
  align-items: center;
}

.cn-nav li {
  position: relative;
}

.cn-nav > ul > li > a {
  display: flex;
  align-items: center;
  gap: 7px;
  height: 74px;
  padding: 0 15px;
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--cn-heading);
}

.cn-nav > ul > li:first-child > a {
  padding-left: 0;
}

.cn-nav > ul > li > a i {
  font-size: 10px;
  transition: transform 0.3s var(--cn-ease);
}

.cn-nav > ul > li:hover > a,
.cn-nav > ul > li.active > a {
  color: var(--cn-teal-ink);
}

.cn-nav > ul > li:hover > a i {
  transform: rotate(180deg);
}

/* first-level dropdowns hang below the bar, with a hover bridge across the gap */
.cn-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: -6px;
  z-index: 20;
  min-width: 250px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--cn-ease), transform 0.3s var(--cn-ease), visibility 0.3s;
}

.cn-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.cn-nav li:hover > .sub-menu,
.cn-nav li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cn-nav .sub-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--cn-radius-sm);
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cn-heading);
  white-space: nowrap;
}

.cn-nav .sub-menu a i {
  font-size: 10px;
}

.cn-nav .sub-menu li:hover > a,
.cn-nav .sub-menu li.active > a {
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
}

/* third level opens to the right */
.cn-nav .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 12px);
}

.cn-nav .sub-menu .sub-menu::before {
  top: 0;
  bottom: 0;
  left: -14px;
  right: auto;
  width: 14px;
  height: auto;
}

/*---- 3.3 Departments Mega Menu ----*/
.cn-nav .has-mega {
  position: static;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 320px;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s var(--cn-ease), transform 0.3s var(--cn-ease), visibility 0.3s;
}

.mega-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -16px;
  height: 16px;
}

.cn-nav .has-mega:hover > .mega-menu,
.cn-nav .has-mega:focus-within > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-main {
  padding: 26px 28px 28px;
}

.mega-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.mega-head .cn-eyebrow {
  margin: 0;
}

.mega-head a {
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
}

.mega-head a i {
  margin-left: 6px;
  font-size: 12px;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 10px;
}

.mega-grid a {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 14px;
  border-radius: var(--cn-radius);
  transition: background-color 0.3s var(--cn-ease);
}

.mega-grid a > i {
  font-size: 32px;
  color: var(--cn-blue);
  transition: color 0.3s var(--cn-ease);
}

.mega-grid b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--cn-heading);
  line-height: 1.3;
}

.mega-grid small {
  font-size: 13px;
  color: var(--cn-muted);
}

.mega-grid a:hover {
  background-color: var(--cn-tonal);
}

.mega-grid a:hover > i {
  color: var(--cn-teal-ink);
}

.mega-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 30px 28px;
  background-image: linear-gradient(160deg, var(--cn-indigo) 0%, #33477F 100%);
  color: rgba(255, 255, 255, 0.82);
}

.mega-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--cn-white);
  font-size: 24px;
}

.mega-card-title {
  font-family: var(--cn-ff-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--cn-white);
}

.mega-card p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
}

.mega-card-phone {
  font-family: var(--cn-ff-head);
  font-size: 22px;
  font-weight: 600;
  color: var(--cn-teal);
}

.mega-card-phone:hover,
.mega-card-link:hover {
  color: var(--cn-white);
}

.mega-card-link {
  margin-top: auto;
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}

.mega-card-link i {
  margin-left: 6px;
  font-size: 12px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cn-menu-toggle {
  display: none;
}

/*---- 3.4 Sticky Bar ----*/
.cn-header.is-stuck {
  padding-bottom: var(--stick-h);
}

.cn-header.is-stuck .header-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(31, 42, 48, 0.08);
  animation: cnBarIn 0.45s var(--cn-ease);
}

.cn-header.is-stuck .header-bar .cn-logo.is-bar {
  display: inline-flex;
}

@keyframes cnBarIn {
  from {
    transform: translateY(-100%);
  }

  to {
    transform: translateY(0);
  }
}

/*---- 3.5 Home 02 Header ----*/
.cn-topbar {
  background-color: var(--cn-indigo);
  color: rgba(255, 255, 255, 0.82);
  font-size: 13.5px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 46px;
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 24px;
}

.topbar-end > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.88);
}

.topbar-end > a:hover {
  color: var(--cn-teal);
}

.topbar-end > a i {
  font-size: 15px;
  color: var(--cn-teal);
}

.cn-header.is-clinic {
  --stick-h: 86px;
}

.is-clinic .header-bar-inner {
  height: 86px;
}

.is-clinic .cn-nav {
  margin: 0 auto;
}

.is-clinic .cn-nav > ul > li > a {
  height: 86px;
}

.is-clinic .cn-nav > ul > li:first-child > a {
  padding-left: 15px;
}

/*======================
4. Offcanvas Menu
========================*/
.cn-offcanvas {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 400px;
  max-width: 100%;
  padding: 28px 30px 34px;
  overflow-y: auto;
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.72);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform 0.5s var(--cn-ease), visibility 0.5s;
}

.cn-offcanvas.is-open {
  transform: translateX(0);
  visibility: visible;
}

.cn-offcanvas-overlay {
  position: fixed;
  inset: 0;
  z-index: 1150;
  background-color: rgba(17, 24, 27, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--cn-ease), visibility 0.4s;
}

.cn-offcanvas-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.offcanvas-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.offcanvas-head img {
  width: auto;
  height: 38px;
}

.offcanvas-close {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--cn-white);
}

.offcanvas-cta {
  display: grid;
  gap: 10px;
}

.offcanvas-cta .cn-btn {
  width: 100%;
}

.offcanvas-cta .btn-t {
  flex: 1;
  justify-content: center;
}

.offcanvas-nav {
  display: grid;
  gap: 22px;
}

.oc-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--cn-ff-head);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cn-teal);
}

.oc-group ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 14px;
}

.oc-group a {
  display: block;
  padding: 5px 0;
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.oc-group a:hover,
.oc-group a.is-current {
  color: var(--cn-teal);
}

.offcanvas-foot {
  display: grid;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-foot p {
  margin: 0;
}

.oc-contact {
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-white);
}

.cn-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cn-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-size: 15px;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.cn-social.is-dark a {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--cn-white);
}

.cn-social a:hover {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

body.is-locked {
  overflow: hidden;
}

/*======================
5. Language Picker
========================*/
/* Language picker: a flag and a code; the menu lists the languages that read left to right and right to left.
   The demo copy stays in English, and a right-to-left language turns the layout around. */
.cn-lang {
  position: relative;
  flex-shrink: 0;
}
.cn-lang .lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  font-family: var(--cn-ff-body);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.cn-lang .lang-btn:hover,
.cn-lang .lang-btn[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}
.cn-lang .lang-btn > i {
  font-size: 9px;
  transition: transform 0.3s ease;
}
.cn-lang .lang-btn[aria-expanded="true"] > i {
  transform: rotate(180deg);
}
.cn-lang .flag {
  flex-shrink: 0;
  width: 22px;
  height: 16px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}
.cn-lang.is-icon .lang-btn {
  height: 44px;
  padding: 0 15px;
  background: var(--cn-tonal);
  color: var(--cn-heading);
}
.cn-lang.is-icon .lang-btn:hover,
.cn-lang.is-icon .lang-btn[aria-expanded="true"] {
  background: var(--cn-teal);
  color: #0D2B2E;
}
.cn-lang .lang-menu {
  position: absolute;
  top: calc(100% + 12px);
  inset-inline-end: 0;
  z-index: 1300;
  width: 248px;
  padding: 10px;
  border-radius: 10px;
  background: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  font-family: var(--cn-ff-body);
  text-align: start;
  white-space: normal;
}
.cn-lang.is-up .lang-menu {
  top: auto;
  bottom: calc(100% + 12px);
}
.cn-lang.is-start .lang-menu {
  inset-inline-start: 0;
  inset-inline-end: auto;
}
.cn-lang .lang-menu[hidden] {
  display: none;
}
.cn-lang .lang-group {
  margin: 6px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cn-muted);
}
.cn-lang .lang-menu ul {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cn-lang .lang-menu ul + .lang-group {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--cn-line);
}
.cn-lang .lang-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--cn-heading);
  font-family: var(--cn-ff-body);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: start;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s ease;
}
.cn-lang .lang-item small {
  margin-inline-start: auto;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cn-muted);
}
.cn-lang .lang-item i {
  width: 12px;
  font-size: 11px;
  color: var(--cn-teal-ink);
  opacity: 0;
}
.cn-lang .lang-item:hover,
.cn-lang .lang-item[aria-pressed="true"] {
  background: var(--cn-tonal);
}
.cn-lang .lang-item[aria-pressed="true"] {
  font-weight: 600;
}
.cn-lang .lang-item[aria-pressed="true"] i {
  opacity: 1;
}
.cn-lang .lang-note {
  margin: 10px 10px 4px;
  padding-top: 10px;
  border-top: 1px solid var(--cn-line);
  font-size: 12px;
  line-height: 1.5;
  color: var(--cn-muted);
}

/*======================
6. Forms
========================*/
.cn-field {
  position: relative;
  margin-bottom: 18px;
}

.cn-field > label,
.cn-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--cn-heading);
}

.cn-input-wrap {
  position: relative;
}

.cn-input-wrap > i {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  font-size: 17px;
  color: var(--cn-teal-ink);
  transform: translateY(-50%);
  pointer-events: none;
}

.cn-input-wrap.is-area > i {
  top: 20px;
  transform: none;
}

.cn-input {
  display: block;
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: var(--cn-radius-sm);
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-family: var(--cn-ff-body);
  font-size: 15px;
  transition: border-color 0.3s var(--cn-ease), box-shadow 0.3s var(--cn-ease);
}

.cn-input-wrap > i + .cn-input,
.cn-input-wrap > i + select.cn-input {
  padding-left: 48px;
}

textarea.cn-input {
  height: auto;
  min-height: 130px;
  padding-top: 15px;
  padding-bottom: 15px;
  resize: vertical;
}

select.cn-input {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--cn-muted) 50%), linear-gradient(135deg, var(--cn-muted) 50%, transparent 50%);
  background-position: calc(100% - 22px) 50%, calc(100% - 17px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.cn-input::placeholder {
  color: var(--cn-muted);
}

.cn-input:focus {
  outline: none;
  background-color: var(--cn-surface);
  border-color: var(--cn-teal);
  box-shadow: 0 0 0 4px rgba(var(--cn-teal-rgb), 0.18);
}

.cn-input.is-invalid {
  border-color: var(--cn-alert);
}

.field-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--cn-alert-ink);
}

.form-status {
  margin: 14px 0 0;
  font-size: 14.5px;
  font-weight: 600;
}

.form-status:empty {
  display: none;
}

.form-status.is-ok {
  color: var(--cn-mint-ink);
}

.form-status.is-error {
  color: var(--cn-alert-ink);
}

/* range sliders (calculators) */
.cn-range {
  width: 100%;
  height: 6px;
  appearance: none;
  border-radius: 3px;
  background-color: var(--cn-line);
  outline: none;
}

.cn-range::-webkit-slider-thumb {
  appearance: none;
  width: 22px;
  height: 22px;
  border: 4px solid var(--cn-surface);
  border-radius: 50%;
  background-color: var(--cn-teal-ink);
  box-shadow: 0 2px 10px rgba(31, 42, 48, 0.25);
  cursor: pointer;
}

.cn-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border: 4px solid var(--cn-surface);
  border-radius: 50%;
  background-color: var(--cn-teal-ink);
  box-shadow: 0 2px 10px rgba(31, 42, 48, 0.25);
  cursor: pointer;
}

/* segmented switches (unit, visit type, sex) */
.cn-seg {
  display: inline-flex;
  padding: 4px;
  border-radius: 40px;
  background-color: var(--cn-tonal);
}

.cn-seg button {
  height: 38px;
  padding: 0 18px;
  border: 0;
  border-radius: 40px;
  background: none;
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.cn-seg button[aria-pressed="true"] {
  background-color: var(--cn-surface);
  color: var(--cn-teal-ink);
  box-shadow: 0 4px 12px rgba(31, 42, 48, 0.1);
}

.cn-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  cursor: pointer;
}

.cn-check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--cn-teal-ink);
}

/*======================
7. Subheader & Photo Bands
========================*/
/* every photo band: the photograph under a charcoal-to-indigo wash, white copy */
.cn-photo-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.82);
}

.cn-photo-band .band-img {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.cn-photo-band .band-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cn-photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(90deg, rgba(var(--cn-night-rgb), 0.92) 0%, rgba(var(--cn-night-rgb), 0.74) 45%, rgba(var(--cn-indigo-rgb), 0.62) 100%);
}

.cn-gl {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cn-subheader {
  padding: 120px 0 128px;
  text-align: center;
}

.cn-subheader .container {
  position: relative;
  z-index: 2;
}

.sub-inner {
  display: flex;
  flex-direction: column;
  max-width: 820px;
  margin: 0 auto;
}

.sub-crumbs {
  order: -1;
}

.sub-crumbs ol {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 7px 18px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 500;
}

.sub-crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cn-teal);
}

.sub-crumbs li + li::before {
  content: "/";
  color: rgba(255, 255, 255, 0.45);
}

.sub-crumbs a {
  color: rgba(255, 255, 255, 0.86);
}

.sub-crumbs a:hover {
  color: var(--cn-teal);
}

.sub-title {
  margin: 22px 0 14px;
  font-size: clamp(36px, 3.6vw, 58px);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cn-white);
}

.sub-lead {
  max-width: 640px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

/*======================
8. Home 01
========================*/
/*---- 8.1 Hero ----*/
.cn-hero {
  position: relative;
  background-color: var(--cn-ground-alt);
}

.hero-slider .swiper-slide {
  position: relative;
}

/* the base's photo pairs: two photographs side by side */
.hero-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(600px, 44vw, 800px);
}

.pair-img {
  overflow: hidden;
}

/* no transform zoom on the half-width photos: a GPU layer's clip can slip a pixel and draw a seam */
.pair-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-slider .swiper-slide > .container {
  position: absolute;
  top: 0;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
}

.hero-plate {
  width: 590px;
  max-width: 100%;
  padding: 46px 48px 48px;
  border-radius: var(--cn-radius-lg);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 70px rgba(31, 42, 48, 0.16);
}

[data-theme="dark"] .hero-plate {
  background-color: rgba(24, 33, 38, 0.95);
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--cn-ff-head);
  font-size: var(--cn-fs-h1);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--cn-heading);
}

.hero-title .cn-line {
  white-space: nowrap;
}

.hero-title em {
  font-style: normal;
  color: var(--cn-teal-ink);
}

.hero-lead {
  margin-bottom: 30px;
  font-size: 17.5px;
  line-height: 1.7;
}

.hero-arrow {
  position: absolute;
  top: calc(50% - 60px);
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-top: -29px;
  border: 0;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.92);
  color: var(--cn-charcoal);
  font-size: 18px;
  box-shadow: 0 12px 30px rgba(31, 42, 48, 0.15);
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.hero-arrow:hover {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.hero-arrow.is-prev {
  left: 28px;
}

.hero-arrow.is-next {
  right: 28px;
}

.hero-count {
  position: absolute;
  right: 34px;
  top: calc(50% + 10px);
  z-index: 4;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--cn-ff-head);
  color: var(--cn-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-count b {
  font-size: 24px;
  font-weight: 600;
}

.hero-count span {
  font-size: 14px;
  opacity: 0.85;
}

/*---- 8.2 Three Panels ----*/
.cn-panels {
  position: relative;
  z-index: 5;
  margin-top: -120px;
}

.panels-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(31, 42, 48, 0.18);
}

.cn-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 42px 40px 40px;
  color: rgba(255, 255, 255, 0.84);
}

.cn-panel.is-indigo {
  background-color: var(--cn-indigo);
}

.cn-panel.is-blue {
  background-color: var(--cn-blue);
}

.cn-panel.is-teal {
  background-color: var(--cn-teal);
  color: rgba(13, 43, 46, 0.86);
}

.panel-ic {
  margin-bottom: 22px;
  font-size: 46px;
  line-height: 1;
  color: var(--cn-white);
}

.is-teal .panel-ic {
  color: var(--cn-on-teal);
}

.panel-title {
  margin-bottom: 12px;
  font-size: 22px;
  font-weight: 600;
  color: var(--cn-white);
}

.is-teal .panel-title {
  color: var(--cn-on-teal);
}

.cn-panel p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
}

.panel-phone {
  font-family: var(--cn-ff-head);
  font-size: 27px;
  font-weight: 600;
  color: var(--cn-white);
}

.panel-phone:hover {
  color: var(--cn-teal);
}

.panel-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-size: 14px;
}

.panel-note .dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.panel-duty,
.panel-hours {
  width: 100%;
  margin-bottom: 18px;
}

.panel-duty li,
.panel-hours li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 14.5px;
}

.panel-duty li span {
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-white);
}

.panel-duty li b {
  font-size: 13px;
  font-weight: 600;
  opacity: 0.85;
}

.panel-duty li.is-empty {
  justify-content: flex-start;
}

.panel-hours li {
  border-color: rgba(13, 43, 46, 0.14);
}

.panel-hours b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-on-teal);
}

.panel-hours li.is-today {
  font-weight: 700;
  color: var(--cn-on-teal);
}

.panel-hours li.is-today span::after {
  content: "Today";
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.5);
  font-family: var(--cn-ff-head);
  font-size: 11px;
  font-weight: 600;
}

.panel-link {
  margin-top: auto;
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cn-white);
}

.panel-link i {
  margin-left: 6px;
  font-size: 12px;
}

.panel-link:hover {
  color: var(--cn-teal);
}

.cn-status.is-panel {
  margin-top: auto;
  color: rgba(13, 43, 46, 0.86);
}

.cn-status.is-panel b {
  color: var(--cn-on-teal);
}

/*---- 8.3 Care Split ----*/
.cn-care {
  position: relative;
  isolation: isolate;
}

.cn-care .cn-gl {
  z-index: -1;
}

.cn-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 34px;
  margin: 0 0 36px;
}

.cn-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--cn-line);
}

.cn-facts dt {
  font-weight: 400;
  color: var(--cn-body);
}

.cn-facts dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--cn-heading);
}

.care-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px 30px;
}

.care-faces {
  display: flex;
  align-items: center;
  gap: 14px;
  line-height: 1.35;
}

.care-faces b {
  display: block;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.care-faces small {
  font-size: 13.5px;
  color: var(--cn-muted);
}

/* the cut-out sits on a soft teal arch; multiply melts its white ground into the arch */
.care-photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  max-width: 600px;
  aspect-ratio: 1 / 1.02;
  margin-left: auto;
  padding: 0 4%;
  border-radius: 320px 320px var(--cn-radius-lg) var(--cn-radius-lg);
  background-color: #E8F6F5;
}

.care-photo img {
  width: 100%;
  mix-blend-mode: multiply;
  filter: brightness(1.025);
}

.care-badge {
  position: absolute;
  left: -26px;
  bottom: 54px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 22px 16px 16px;
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  line-height: 1.35;
}

.care-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 25px;
}

.care-badge b {
  display: block;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.care-badge small {
  font-size: 13px;
  color: var(--cn-muted);
}

/*---- 8.4 Lab Band ----*/
/* the base's band: a photograph ending in a wide arc against a teal panel */
.cn-lab-band {
  position: relative;
  overflow: hidden;
  background-color: var(--cn-teal);
  color: rgba(13, 43, 46, 0.86);
}

.lab-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 52%;
  clip-path: ellipse(100% 125% at 0% 50%);
}

.lab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lab-panel {
  padding: 120px 0 120px 30px;
}

.cn-lab-band .title {
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--cn-on-teal);
}

.cn-lab-band p {
  font-size: 17px;
}

.cn-eyebrow.is-ink {
  color: var(--cn-on-teal);
}

.cn-eyebrow.is-ink i {
  background-color: rgba(255, 255, 255, 0.4);
}

.lab-lookup {
  margin: 30px 0 30px;
  padding: 18px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: 0 20px 50px rgba(13, 43, 46, 0.16);
}

.lookup-field {
  position: relative;
}

.lookup-field > i {
  position: absolute;
  top: 50%;
  left: 18px;
  font-size: 19px;
  color: var(--cn-teal-ink);
  transform: translateY(-50%);
}

.lookup-field .cn-input {
  padding-left: 50px;
  background-color: var(--cn-surface-2);
}

.lookup-result {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0 6px;
}

.lookup-result dt {
  font-family: var(--cn-ff-head);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cn-muted);
}

.lookup-result dd {
  margin: 2px 0 0;
  font-family: var(--cn-ff-head);
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--cn-heading);
}

.lookup-result.is-miss dd {
  color: var(--cn-muted);
}

/*---- 8.5 Visit Route ----*/
.route-steps {
  display: grid;
  gap: 6px;
}

.route-steps li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  border-radius: var(--cn-radius);
  transition: background-color 0.4s var(--cn-ease), box-shadow 0.4s var(--cn-ease);
}

.rs-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--cn-surface);
  border: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--cn-muted);
  transition: background-color 0.4s var(--cn-ease), color 0.4s var(--cn-ease), border-color 0.4s var(--cn-ease);
}

.route-steps b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cn-heading);
  line-height: 1.35;
}

.route-steps small {
  font-size: 13.5px;
  color: var(--cn-muted);
}

.route-steps em {
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  color: var(--cn-muted);
}

.route-steps li.is-on {
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.route-steps li.is-on .rs-num {
  border-color: var(--cn-teal);
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.route-steps li.is-on em {
  color: var(--cn-teal-ink);
}

.route-plan {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  background-image: radial-gradient(circle, rgba(var(--cn-blue-rgb), 0.16) 1px, transparent 1.5px);
  background-size: 22px 22px;
  box-shadow: var(--cn-shadow-lg);
}

.plan-rooms {
  position: absolute;
  inset: 24px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 12px;
}

.room {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  border: 1.5px dashed rgba(var(--cn-blue-rgb), 0.45);
  border-radius: var(--cn-radius);
  background-color: rgba(var(--cn-blue-rgb), 0.05);
  text-align: center;
  transition: background-color 0.45s var(--cn-ease), border-color 0.45s var(--cn-ease), transform 0.45s var(--cn-ease);
}

.room i {
  font-size: 26px;
  color: var(--cn-blue);
  transition: color 0.45s var(--cn-ease);
}

[data-theme="dark"] .room i {
  color: #8EA2E8;
}

.room b {
  font-family: var(--cn-ff-head);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--cn-heading);
}

.room.is-on {
  border-style: solid;
  border-color: var(--cn-teal);
  background-color: var(--cn-tonal);
  transform: scale(1.03);
}

.room.is-on i {
  color: var(--cn-teal-ink);
}

.room.is-quiet {
  opacity: 0.55;
}

.r-er {
  grid-area: 1 / 1 / 4 / 2;
}

.r-dental {
  grid-area: 1 / 2 / 2 / 4;
}

.r-lab {
  grid-area: 1 / 4 / 3 / 7;
}

.r-lounge {
  grid-area: 2 / 2 / 4 / 4;
}

.r-consult {
  grid-area: 3 / 4 / 5 / 6;
}

.r-pharmacy {
  grid-area: 3 / 6 / 5 / 7;
}

.r-entrance {
  grid-area: 4 / 1 / 5 / 2;
}

.r-desk {
  grid-area: 4 / 2 / 5 / 4;
}

.plan-route {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.plan-total {
  position: absolute;
  right: 28px;
  bottom: -22px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.8);
  font-size: 14.5px;
  box-shadow: var(--cn-shadow-lg);
}

.plan-total i {
  font-size: 18px;
  color: var(--cn-teal);
}

.plan-total b {
  font-family: var(--cn-ff-head);
  color: var(--cn-white);
}

/*---- 8.6 Gallery ----*/
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.g-item {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cn-ease);
}

.g-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(var(--cn-night-rgb), 0.55) 0%, rgba(var(--cn-night-rgb), 0) 45%);
  opacity: 0;
  transition: opacity 0.5s var(--cn-ease);
}

.g-item:hover img {
  transform: scale(1.07);
}

.g-item:hover::after {
  opacity: 1;
}

.g-cap {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.94);
  color: var(--cn-charcoal);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 600;
}

.g-cap i {
  color: var(--cn-teal-ink);
}

/*---- 8.7 Wait Times ----*/
.cn-waits .title {
  color: var(--cn-white);
}

.cn-waits .title em {
  color: var(--cn-teal);
}

.cn-waits .cn-lead {
  color: rgba(255, 255, 255, 0.8);
}

.waits-clock {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 18px;
  border-radius: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  color: var(--cn-white);
}

.waits-clock i {
  color: var(--cn-teal);
}

.wait-bars {
  padding: 18px 32px;
  border-radius: var(--cn-radius-lg);
  background-color: rgba(17, 24, 27, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.wait-bars li {
  display: grid;
  grid-template-columns: 200px 1fr 92px;
  align-items: center;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.wait-bars li:last-child {
  border-bottom: 0;
}

.wb-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--cn-white);
}

.wb-name i {
  font-size: 22px;
  color: var(--cn-teal);
}

.wb-bar {
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.12);
}

.wb-bar i {
  display: block;
  width: var(--w, 0%);
  height: 100%;
  border-radius: 4px;
  background-image: linear-gradient(90deg, var(--cn-teal), var(--cn-blue));
  transition: width 1.2s var(--cn-ease);
}

.wb-val {
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 600;
  text-align: right;
  color: var(--cn-white);
}

.wb-val.is-shut {
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/*---- 8.8 Team & Stories ----*/
.team-more {
  margin-top: 46px;
  text-align: center;
}

.cn-partners-strip {
  padding: 48px 0;
  border-bottom: 1px solid var(--cn-line);
}

.partners-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}

.partners-label {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  line-height: 1.3;
  color: var(--cn-heading);
}

.partners-label i {
  font-size: 34px;
  color: var(--cn-teal-ink);
}

.cn-partners {
  display: flex;
  flex: 1;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
}

.cn-partners li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--cn-muted);
  transition: color 0.3s var(--cn-ease);
}

.cn-partners li i {
  font-size: 22px;
}

.cn-partners li:hover {
  color: var(--cn-teal-ink);
}

/*======================
9. Home 02
========================*/
/*---- 9.1 Hero ----*/
.cn-hero2 {
  position: relative;
  --wash: 255, 255, 255;
}

[data-theme="dark"] .cn-hero2 {
  --wash: 17, 24, 27;
}

.hero2-slider .swiper-slide {
  position: relative;
  height: clamp(660px, 46vw, 840px);
}

.hero2-img {
  position: absolute;
  inset: 0;
}

.hero2-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 7s linear;
}

.swiper-slide-active .hero2-img img {
  transform: scale(1);
}

/* the base's centred welcome sits in a soft light wash over the photograph */
.hero2-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(ellipse 58% 64% at 50% 42%, rgba(var(--wash), 0.93) 0%, rgba(var(--wash), 0.8) 46%, rgba(var(--wash), 0.18) 86%);
}

/* at night the whole photograph dims, so the centre never reads as a dark hole in a bright picture */
[data-theme="dark"] .hero2-img::after {
  background-image: radial-gradient(ellipse 64% 70% at 50% 42%, rgba(var(--wash), 0.94) 0%, rgba(var(--wash), 0.86) 50%, rgba(var(--wash), 0.66) 100%);
}

.hero2-slider .swiper-slide > .container {
  position: absolute;
  top: 0;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero2-copy {
  max-width: 780px;
  text-align: center;
}

.hero2-title {
  margin: 0 0 18px;
  font-family: var(--cn-ff-head);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--cn-heading);
}

.hero2-title .cn-line {
  white-space: nowrap;
}

.hero2-title em {
  font-style: normal;
  color: var(--cn-teal-ink);
}

.hero2-lead {
  max-width: 600px;
  margin: 0 auto 30px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--cn-heading);
}

.hero2-copy .cn-actions {
  justify-content: center;
}

.hero2-nav {
  position: absolute;
  left: 50%;
  bottom: 150px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  transform: translateX(-50%);
}

.hero2-nav .cn-round {
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.hero2-dots {
  display: flex;
  align-items: center;
}

.hero2-dots .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: var(--cn-heading);
  opacity: 0.3;
  transition: width 0.3s var(--cn-ease), opacity 0.3s;
}

.hero2-dots .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background-color: var(--cn-teal-ink);
  opacity: 1;
}

/*---- 9.2 Docked Panels ----*/
.cn-dock {
  position: relative;
  z-index: 5;
  margin-top: -110px;
}

.dock-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(31, 42, 48, 0.18);
}

.dock-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 38px 38px;
  text-align: center;
  color: rgba(255, 255, 255, 0.84);
}

.dock-panel.is-indigo {
  background-color: var(--cn-indigo);
}

.dock-panel.is-blue {
  background-color: var(--cn-blue);
}

.dock-panel.is-deep {
  background-color: #34477F;
}

.dock-ic {
  margin-bottom: 16px;
  font-size: 46px;
  line-height: 1;
  color: var(--cn-white);
}

.dock-title {
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 600;
  color: var(--cn-white);
}

.dock-panel p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.65;
}

.dock-find {
  display: flex;
  gap: 8px;
  width: 100%;
  margin-top: 4px;
}

.dock-find select.cn-input {
  flex: 1;
  height: 42px;
  min-width: 0;
  border-color: rgba(255, 255, 255, 0.22);
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--cn-white);
  font-size: 14px;
  background-image: linear-gradient(45deg, transparent 50%, #FFFFFF 50%), linear-gradient(135deg, #FFFFFF 50%, transparent 50%);
}

.dock-find select.cn-input option {
  color: #1F2A30;
}

.dock-find .cn-btn .btn-t {
  flex: 1;
  justify-content: center;
}

.dock-panel .panel-link {
  margin-top: auto;
}

/*---- 9.3 Great Place ----*/
.cn-facts.is-single {
  grid-template-columns: 1fr;
}

.place-photos {
  position: relative;
  height: 580px;
}

.pp-one,
.pp-two {
  position: absolute;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
}

.pp-one {
  top: 0;
  left: 0;
  width: 64%;
  height: 76%;
}

.pp-two {
  right: 0;
  bottom: 0;
  width: 52%;
  height: 64%;
  border: 10px solid var(--cn-ground);
}

.pp-one img,
.pp-two img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-stamp {
  position: absolute;
  left: 9%;
  bottom: 4%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 154px;
  height: 154px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  text-align: center;
  box-shadow: var(--cn-shadow-lg);
}

.place-stamp b {
  font-family: var(--cn-ff-head);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
}

.place-stamp small {
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

/*---- 9.4 Family Services ----*/
.cn-fservice {
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.fs-ic {
  flex: 0 0 58px;
  font-size: 52px;
  line-height: 1;
  color: var(--cn-blue);
  transition: color 0.35s var(--cn-ease), transform 0.35s var(--cn-ease);
}

[data-theme="dark"] .fs-ic {
  color: #8EA2E8;
}

.cn-fservice:hover .fs-ic {
  color: var(--cn-teal-ink);
  transform: translateY(-4px);
}

.fs-title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

.cn-fservice p {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.7;
}

.fs-price {
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--cn-teal-ink);
}

/*---- 9.5 Mosaic & BMI ----*/
.mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.mo-photo {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.mo-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--cn-ease);
}

.mo-photo:hover img {
  transform: scale(1.04);
}

.mo-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 9%;
}

.mo-cell .title {
  margin-bottom: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.mo-copy {
  align-items: center;
  background-color: var(--cn-ground-alt);
  text-align: center;
}

.mo-copy p {
  max-width: 480px;
  margin-bottom: 26px;
}

.bmi-units {
  align-self: flex-start;
  margin-bottom: 22px;
}

.bmi-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.bmi-result {
  padding: 22px 24px 18px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-tonal);
}

.bmi-score {
  display: flex;
  align-items: baseline;
  gap: 14px;
}

.bmi-score b {
  font-family: var(--cn-ff-head);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--cn-heading);
}

.bmi-score span {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.bmi-score span.is-warn {
  color: var(--cn-alert-ink);
}

/* the scale runs from BMI 15 to 40 */
.bmi-scale {
  position: relative;
  display: flex;
  height: 10px;
  margin: 18px 0 14px;
}

.bmi-scale span {
  height: 100%;
}

.bmi-scale span:first-child {
  border-radius: 5px 0 0 5px;
}

.bmi-scale span:nth-child(4) {
  border-radius: 0 5px 5px 0;
}

.s-under {
  width: 14%;
  background-color: var(--cn-blue);
}

.s-ok {
  width: 26%;
  background-color: var(--cn-mint);
}

.s-over {
  width: 20%;
  background-color: #E8A93A;
}

.s-obese {
  width: 40%;
  background-color: var(--cn-alert);
}

.bmi-scale i {
  position: absolute;
  top: -6px;
  left: var(--x, 35%);
  width: 6px;
  height: 22px;
  margin-left: -3px;
  border-radius: 3px;
  border: 2px solid var(--cn-surface);
  background-color: var(--cn-heading);
  transition: left 0.6s var(--cn-ease);
}

.bmi-range {
  margin: 0;
  font-size: 14.5px;
}

.bmi-range b {
  font-family: var(--cn-ff-head);
  color: var(--cn-heading);
}

/*---- 9.6 Family Tree ----*/
.family-tree {
  position: relative;
  padding: 6px 0;
}

.tree-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.tree-row {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 120px;
}

.tree-row + .tree-row {
  margin-top: 58px;
}

.tree-row.is-parents {
  gap: 160px;
}

.tree-row.is-kids {
  gap: 50px;
}

.tree-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 196px;
  text-align: center;
}

.tm-photo {
  width: 104px;
  height: 104px;
  margin-bottom: 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.tm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tm-name {
  font-family: var(--cn-ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cn-heading);
}

.tm-age {
  font-size: 13px;
  color: var(--cn-muted);
}

.tm-due {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2px 7px;
  margin-top: 10px;
  padding: 7px 13px;
  border-radius: 14px;
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
  font-size: 12.5px;
  line-height: 1.35;
}

.tm-due i {
  color: var(--cn-teal-ink);
}

.tm-due span {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.tm-due em {
  font-style: normal;
  color: var(--cn-teal-ink);
}

/* the script arms the members only when the moment plays; each arrives on its branch */
.family-tree.is-armed .tree-member {
  opacity: 0;
  transform: translateY(18px) scale(0.92);
  transition: opacity 0.6s var(--cn-ease), transform 0.6s var(--cn-ease);
}

.family-tree.is-armed .tree-member.is-in {
  opacity: 1;
  transform: none;
}

.tree-member.is-due .tm-photo {
  border-color: var(--cn-teal);
}

.tree-doctor {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px 14px 14px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
  line-height: 1.4;
}

.tree-doctor img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.tree-doctor small {
  display: block;
  font-size: 13px;
  color: var(--cn-muted);
}

.tree-doctor b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--cn-heading);
}

.tree-doctor a {
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
}

.tree-doctor a i {
  margin-left: 4px;
  font-size: 11px;
}

/*---- 9.7 Lifestyle ----*/
.cn-lifestyle {
  overflow: hidden;
}

.lifestyle-photo {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 620px;
  margin-top: 60px;
  border-radius: 320px 320px 0 0;
  background-color: #E8F6F5;
}

.lifestyle-photo img {
  width: auto;
  max-height: 100%;
  mix-blend-mode: multiply;
  filter: brightness(1.025);
}

.sign {
  margin-top: 28px;
}

.sign-name {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 32px;
  font-style: italic;
  font-weight: 300;
  color: var(--cn-teal-ink);
}

.sign-role {
  font-size: 14px;
  color: var(--cn-muted);
}

/*======================
10. Cards
========================*/
/*---- 10.1 Department Card ----*/
/* the base's bare periwinkle line icon, the title, the text; lifts and turns teal on hover */
.cn-dept {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  padding: 34px 30px 28px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  color: var(--cn-body);
  transition: transform 0.4s var(--cn-ease), box-shadow 0.4s var(--cn-ease), border-color 0.4s var(--cn-ease);
}

.cn-dept:hover {
  color: var(--cn-body);
  border-color: transparent;
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-6px);
}

.dept-ic {
  font-size: 52px;
  line-height: 1;
  color: var(--cn-blue);
  transition: color 0.4s var(--cn-ease), transform 0.4s var(--cn-ease);
}

[data-theme="dark"] .dept-ic {
  color: #8EA2E8;
}

.cn-dept:hover .dept-ic {
  color: var(--cn-teal-ink);
  transform: translateY(-3px);
}

.dept-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.dept-name {
  font-family: var(--cn-ff-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--cn-heading);
}

.dept-text {
  font-size: 15px;
  line-height: 1.65;
}

.dept-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cn-muted);
}

.dept-wait {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--cn-heading);
}

.dept-wait::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--cn-muted);
}

.dept-wait.is-short::before {
  background-color: var(--cn-mint);
}

.dept-wait.is-mid::before {
  background-color: #E8A93A;
}

.dept-wait.is-long::before {
  background-color: var(--cn-alert);
}

.dept-wait.is-shut {
  color: var(--cn-muted);
}

.dept-go {
  position: absolute;
  top: 34px;
  right: 30px;
  font-size: 18px;
  color: var(--cn-muted);
  transition: transform 0.35s var(--cn-ease), color 0.35s var(--cn-ease);
}

.cn-dept:hover .dept-go {
  color: var(--cn-teal-ink);
  transform: translateX(4px);
}

/*---- 10.2 Doctor Card ----*/
/* the base's round portrait with a teal badge on the rim */
.cn-doctor {
  height: 100%;
  padding: 36px 26px 28px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  border: 1px solid var(--cn-line);
  text-align: center;
  transition: transform 0.4s var(--cn-ease), box-shadow 0.4s var(--cn-ease), border-color 0.4s var(--cn-ease);
}

.cn-doctor:hover {
  border-color: transparent;
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-6px);
}

.doc-photo {
  position: relative;
  width: 200px;
  max-width: 100%;
  margin: 0 auto 22px;
}

.doc-img {
  display: block;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--cn-tonal);
}

.doc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform-origin: center top;
  transition: transform 0.7s var(--cn-ease);
}

.cn-doctor:hover .doc-img img {
  transform: scale(1.07);
}

.doc-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 4px solid var(--cn-surface);
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 23px;
  transition: transform 0.4s var(--cn-ease);
}

.cn-doctor:hover .doc-badge {
  transform: rotate(-12deg) scale(1.06);
}

.doc-name {
  margin-bottom: 4px;
  font-size: 20px;
  font-weight: 600;
}

.doc-name a {
  color: var(--cn-heading);
}

.doc-name a:hover {
  color: var(--cn-teal-ink);
}

.doc-role {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--cn-indigo-text);
}

.doc-next {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0 0;
  padding: 6px 14px;
  border-radius: 40px;
  background-color: var(--cn-tonal);
  font-size: 13.5px;
  line-height: 1.4;
  color: var(--cn-heading);
}

.doc-next.is-now .dot {
  background-color: var(--cn-mint);
}

.doc-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
}

.doc-link {
  color: var(--cn-heading);
}

.doc-link i,
.doc-book i {
  font-size: 12px;
  margin-left: 4px;
}

.doc-book i {
  margin: 0 6px 0 0;
  font-size: 15px;
}

/*---- 10.3 Story Card ----*/
.cn-story {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 38px 34px 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.story-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
  font-size: 18px;
}

.cn-story blockquote {
  margin: 20px 0 26px;
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--cn-heading);
}

.cn-story figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--cn-line);
}

.cn-story figcaption img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.cn-story figcaption b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cn-heading);
}

.cn-story figcaption small {
  font-size: 13.5px;
  color: var(--cn-muted);
}

.story-stars {
  margin-left: auto;
  color: #F2B544;
  font-size: 12px;
  letter-spacing: 2px;
}

.cn-stories-slider .swiper-slide {
  height: auto;
}

/*======================
11. Packages & Journal Rows
========================*/
/*---- 11.1 Package Card ----*/
.cn-package {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 36px 32px 32px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  transition: transform 0.4s var(--cn-ease), box-shadow 0.4s var(--cn-ease);
}

.cn-package:hover {
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-6px);
}

.cn-package.is-featured {
  border: 2px solid var(--cn-teal);
  box-shadow: var(--cn-shadow-lg);
}

.pk-flag {
  position: absolute;
  top: 22px;
  right: 22px;
  padding: 5px 12px;
  border-radius: 40px;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-family: var(--cn-ff-head);
  font-size: 12px;
  font-weight: 600;
}

.pk-who {
  font-family: var(--cn-ff-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cn-teal-ink);
}

.pk-name {
  margin: 8px 0 14px;
  font-size: 24px;
  font-weight: 600;
}

.pk-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.pk-price b {
  font-family: var(--cn-ff-head);
  font-size: 46px;
  font-weight: 600;
  line-height: 1;
  color: var(--cn-heading);
}

.pk-price span {
  font-size: 14px;
  color: var(--cn-muted);
}

.pk-rows {
  margin: 14px 0 28px;
}

.pk-rows li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cn-line);
  font-size: 15px;
}

.pk-rows i {
  font-size: 14px;
  color: var(--cn-teal-ink);
}

.cn-package .cn-btn {
  margin-top: auto;
}

/*---- 11.2 Journal Row ----*/
.jr-list {
  display: grid;
  gap: 22px;
}

.cn-jrow {
  display: grid;
  grid-template-columns: 280px 1fr 60px;
  align-items: center;
  gap: 34px;
  padding: 20px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  transition: box-shadow 0.4s var(--cn-ease), transform 0.4s var(--cn-ease);
}

.cn-jrow:hover {
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-4px);
}

.jr-img {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: var(--cn-radius);
  overflow: hidden;
}

.jr-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cn-ease);
}

.cn-jrow:hover .jr-img img {
  transform: scale(1.06);
}

.jr-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.jr-meta b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.jr-meta span {
  color: var(--cn-muted);
}

.jr-title {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 600;
}

.jr-title a {
  color: var(--cn-heading);
}

.jr-title a:hover {
  color: var(--cn-teal-ink);
}

.jr-body p {
  margin: 0;
}

.jr-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-size: 18px;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.cn-jrow:hover .jr-more {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

/*======================
12. Inner Pages
========================*/
/*---- 12.1 About ----*/
.intro-photos {
  position: relative;
  height: 600px;
}

.ip-main,
.ip-side {
  position: absolute;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
}

.ip-main {
  top: 0;
  left: 0;
  width: 74%;
  height: 74%;
}

.ip-side {
  right: 0;
  bottom: 0;
  width: 54%;
  height: 52%;
  border: 10px solid var(--cn-ground);
}

.ip-main img,
.ip-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ip-year {
  position: absolute;
  left: 6%;
  bottom: 8%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  padding: 20px 26px;
  border-radius: var(--cn-radius);
  background-color: var(--cn-indigo);
  color: rgba(255, 255, 255, 0.82);
  box-shadow: var(--cn-shadow-lg);
}

.ip-year b {
  font-family: var(--cn-ff-head);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--cn-white);
}

.ip-year small {
  font-size: 13.5px;
}

.cn-counters {
  padding: 70px 0;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cn-counter {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 2px 18px;
}

.cn-counter i {
  grid-row: span 2;
  font-size: 50px;
}

.cn-counter b {
  font-family: var(--cn-ff-head);
  font-size: 38px;
  font-weight: 600;
  line-height: 1.1;
}

.cn-counter > span {
  font-size: 15px;
  font-weight: 600;
}

.gallery-grid.is-four {
  grid-template-columns: repeat(4, 1fr);
}

/*---- 12.2 Tabs & FAQ ----*/
.cn-tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 5px;
  border-radius: 40px;
  background-color: var(--cn-tonal);
}

.cn-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 40px;
  background: none;
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.cn-tabs button i {
  color: var(--cn-teal-ink);
}

.cn-tabs button:hover {
  color: var(--cn-teal-ink);
}

.cn-tabs button[aria-pressed="true"] {
  background-color: var(--cn-surface);
  color: var(--cn-teal-ink);
  box-shadow: 0 4px 14px rgba(31, 42, 48, 0.1);
}

.is-filtered-out {
  display: none !important;
}

.cn-faq {
  display: grid;
  gap: 12px;
}

.cn-faq-item {
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  transition: box-shadow 0.3s var(--cn-ease), border-color 0.3s var(--cn-ease);
}

.cn-faq-item.is-open {
  border-color: transparent;
  box-shadow: var(--cn-shadow);
}

.faq-q {
  margin: 0;
}

.faq-q button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  border: 0;
  background: none;
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
}

.faq-q i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
  font-size: 14px;
  transition: transform 0.35s var(--cn-ease), background-color 0.3s;
}

.is-open .faq-q i {
  transform: rotate(45deg);
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.faq-a {
  padding: 0 24px 20px;
}

.faq-a p {
  margin: 0;
}

.faq-empty,
.df-empty,
.blog-empty,
.lab-empty {
  margin-top: 26px;
  font-family: var(--cn-ff-head);
  color: var(--cn-muted);
}

.faq-side .side-widget {
  margin-bottom: 24px;
}

/*---- 12.3 Departments ----*/
.cn-er-band .title {
  color: var(--cn-white);
}

.cn-er-band .title em {
  color: var(--cn-teal);
}

.cn-er-band .cn-lead {
  color: rgba(255, 255, 255, 0.8);
}

.er-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 30px 60px;
}

.er-call {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 30px 34px;
  border-radius: var(--cn-radius-lg);
  background-color: rgba(229, 87, 79, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.er-call small {
  font-family: var(--cn-ff-head);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.er-call > a:not(.cn-btn) {
  margin-bottom: 10px;
  font-family: var(--cn-ff-head);
  font-size: 34px;
  font-weight: 600;
  color: var(--cn-white);
}

/*---- 12.4 Department Details ----*/
.dd-photo {
  position: relative;
  margin-bottom: 40px;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 8.5;
}

.dd-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dd-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 14px;
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  line-height: 1.35;
}

.dd-badge i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 26px;
}

.dd-badge b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--cn-heading);
}

.dd-badge small {
  font-size: 13px;
  color: var(--cn-muted);
}

.dd-title {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.2vw, 34px);
  font-weight: 600;
}

.dd-sub {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 46px 0 20px;
  font-size: 21px;
  font-weight: 600;
}

.dd-sub i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
  font-size: 19px;
}

.dd-prices .dd-sub {
  margin-top: 24px;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--cn-line);
  font-size: 15px;
}

.price-list b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
  white-space: nowrap;
}

.team-note {
  height: 100%;
  padding: 34px 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.tn-ic {
  font-size: 46px;
  color: var(--cn-blue);
}

.tn-title {
  margin: 12px 0 10px;
  font-size: 19px;
  font-weight: 600;
}

.team-note .cn-facts {
  margin: 0;
}

/*---- 12.5 Sidebar ----*/
.cn-sidebar {
  display: grid;
  gap: 26px;
}

.side-widget,
.side-card {
  padding: 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.side-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 19px;
  font-weight: 600;
}

.side-title i {
  font-size: 22px;
  color: var(--cn-teal-ink);
}

.side-card.is-night {
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.78);
}

.side-card.is-indigo {
  background-color: var(--cn-indigo);
  color: rgba(255, 255, 255, 0.82);
}

.side-card.is-teal {
  background-color: var(--cn-teal);
  color: rgba(13, 43, 46, 0.86);
}

.side-card.is-night .side-title,
.side-card.is-indigo .side-title {
  color: var(--cn-white);
}

.side-card.is-night .side-title i,
.side-card.is-indigo .side-title i {
  color: var(--cn-teal);
}

.side-card.is-teal .side-title {
  color: var(--cn-on-teal);
}

.side-card.is-teal b {
  color: var(--cn-on-teal);
}

.side-card .hours-list {
  margin-bottom: 0;
}

.side-card .panel-phone {
  display: inline-block;
  margin-top: 6px;
}

.dept-sessions {
  margin-bottom: 18px;
}

.dept-sessions li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14.5px;
}

.dept-sessions b {
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-white);
}

.dept-sessions li.is-today,
.dept-sessions li.is-today b {
  color: var(--cn-teal);
}

.side-depts li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--cn-heading);
}

.side-depts li a i {
  font-size: 22px;
  color: var(--cn-blue);
}

.side-depts li a:hover {
  color: var(--cn-teal-ink);
}

/*---- 12.6 Services ----*/
.cn-service {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  overflow: hidden;
  transition: transform 0.4s var(--cn-ease), box-shadow 0.4s var(--cn-ease);
}

.cn-service:hover {
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-6px);
}

.sv-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.sv-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cn-ease);
}

.cn-service:hover .sv-img img {
  transform: scale(1.06);
}

.sv-ic {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--cn-surface);
  color: var(--cn-teal-ink);
  font-size: 26px;
  box-shadow: var(--cn-shadow);
  pointer-events: none;
}

.sv-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 24px;
}

.sv-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
}

.sv-title a {
  color: var(--cn-heading);
}

.sv-title a:hover {
  color: var(--cn-teal-ink);
}

.sv-body p {
  margin-bottom: 18px;
  font-size: 15px;
}

.sv-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.sv-foot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  transition: background-color 0.3s var(--cn-ease);
}

.cn-service:hover .sv-foot a {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.vv-photo {
  position: relative;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.vv-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vv-chip {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
  line-height: 1.35;
}

.vv-chip i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 22px;
}

.vv-chip b {
  display: block;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.vv-chip small {
  font-size: 13px;
  color: var(--cn-muted);
}

.cn-steps {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.cn-steps li {
  display: flex;
  align-items: center;
  gap: 16px;
}

.st-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-family: var(--cn-ff-head);
  font-weight: 600;
}

.cn-steps b {
  display: block;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.cn-steps small {
  font-size: 14px;
  color: var(--cn-muted);
}

.cn-step-card {
  position: relative;
  height: 100%;
  padding: 34px 28px 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  border: 1px solid var(--cn-line);
}

.cn-step-card > i {
  display: block;
  margin-bottom: 18px;
  font-size: 46px;
  color: var(--cn-blue);
}

.sc-num {
  position: absolute;
  top: 26px;
  right: 26px;
  font-family: var(--cn-ff-head);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: var(--cn-line);
}

.cn-step-card h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

.cn-step-card p {
  margin: 0;
  font-size: 15px;
}

/*---- 12.7 Doctors ----*/
.doc-filters {
  display: grid;
  grid-template-columns: 1fr 1fr auto auto;
  align-items: end;
  gap: 18px 22px;
  margin-bottom: 40px;
  padding: 26px 28px 8px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.df-today {
  margin-bottom: 32px;
  white-space: nowrap;
}

.df-count {
  margin: 0 0 30px;
  font-family: var(--cn-ff-head);
  color: var(--cn-muted);
  white-space: nowrap;
}

.df-count b {
  color: var(--cn-heading);
}

.help-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: center;
  gap: 30px 60px;
}

.help-inner .title {
  margin-bottom: 12px;
  font-weight: 600;
}

.help-inner p {
  margin: 0;
}

.help-form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
}

.help-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
}

/*---- 12.8 Doctor Profile ----*/
.doc-card {
  position: sticky;
  top: 110px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  border: 1px solid var(--cn-line);
  overflow: hidden;
}

.doc-card-photo {
  position: relative;
  aspect-ratio: 1;
}

.doc-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.doc-card-photo .doc-badge {
  top: auto;
  right: 22px;
  bottom: -26px;
  z-index: 2;
}

.doc-card-body {
  padding: 30px 28px 28px;
}

.doc-card-name {
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 600;
}

.doc-contact {
  display: grid;
  gap: 10px;
  margin: 22px 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--cn-line);
  font-size: 15px;
}

.doc-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.doc-contact i {
  font-size: 18px;
  color: var(--cn-teal-ink);
}

.doc-card .cn-social {
  justify-content: center;
  margin-top: 20px;
}

.doc-rows {
  margin-top: 26px;
}

.doc-openings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.op-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 6px;
  border-radius: var(--cn-radius);
  border: 1px solid var(--cn-line);
  background-color: var(--cn-surface);
  font-family: var(--cn-ff-head);
  line-height: 1.3;
  transition: background-color 0.3s var(--cn-ease), border-color 0.3s var(--cn-ease);
}

.op-slot b {
  font-size: 13px;
  font-weight: 600;
  color: var(--cn-muted);
}

.op-slot span {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cn-heading);
}

.op-slot:hover {
  border-color: var(--cn-teal);
  background-color: var(--cn-tonal);
}

.op-note {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--cn-muted);
}

.hours-list.is-week {
  margin-top: 0;
}

/*======================
13. Booking & Timetable
========================*/
/*---- 13.1 Booking Steps ----*/
.booking-form {
  padding: 38px 40px 34px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.bk-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 34px;
}

.bk-steps button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: var(--cn-radius);
  background-color: var(--cn-tonal);
  color: var(--cn-muted);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  text-align: left;
  transition: background-color 0.3s var(--cn-ease), color 0.3s var(--cn-ease);
}

.bk-steps button span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 50%;
  background-color: var(--cn-surface);
  font-size: 12px;
  font-weight: 600;
}

.bk-steps button.is-done {
  color: var(--cn-heading);
}

.bk-steps button.is-done span {
  background-color: var(--cn-teal-ink);
  color: var(--cn-white);
}

[data-theme="dark"] .bk-steps button.is-done span {
  color: var(--cn-on-teal);
}

.bk-steps button.is-on {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.bk-steps button.is-on span {
  background-color: var(--cn-white);
}

.bk-step {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.bk-legend {
  float: none;
  width: 100%;
  margin-bottom: 22px;
  padding: 0;
  font-family: var(--cn-ff-head);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--cn-heading);
}

.bk-label {
  margin: 8px 0 12px;
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--cn-heading);
}

.bk-label small {
  margin-left: 8px;
  font-family: var(--cn-ff-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--cn-muted);
}

.bk-depts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 28px;
}

.bk-dept {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 18px 8px 16px;
  border: 1.5px solid var(--cn-line);
  border-radius: 12px;
  background-color: var(--cn-surface);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.3;
  transition: border-color 0.3s var(--cn-ease), background-color 0.3s var(--cn-ease);
}

.bk-dept i {
  font-size: 34px;
  color: var(--cn-blue);
}

.bk-dept:hover,
.bk-dept[aria-pressed="true"] {
  border-color: var(--cn-teal);
}

.bk-dept[aria-pressed="true"] {
  background-color: var(--cn-tonal);
}

.bk-dept[aria-pressed="true"] i {
  color: var(--cn-teal-ink);
}

.bk-doctors {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.bk-doc {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 12px 18px 12px 12px;
  border: 1.5px solid var(--cn-line);
  border-radius: 12px;
  background-color: var(--cn-surface);
  text-align: left;
  transition: border-color 0.3s var(--cn-ease), background-color 0.3s var(--cn-ease);
}

.bk-doc[hidden] {
  display: none;
}

.bd-photo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.bd-text {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.bd-text b {
  font-family: var(--cn-ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cn-heading);
}

.bd-text small {
  font-size: 13.5px;
  color: var(--cn-indigo-text);
}

.bd-text em {
  font-size: 13px;
  font-style: normal;
  color: var(--cn-mint-ink);
}

.bd-fee {
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--cn-heading);
}

.bk-doc:hover,
.bk-doc[aria-pressed="true"] {
  border-color: var(--cn-teal);
}

.bk-doc[aria-pressed="true"] {
  background-color: var(--cn-tonal);
}

.bk-type {
  margin-bottom: 22px;
}

.bk-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 26px;
}

.bk-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 4px;
  border: 1.5px solid var(--cn-line);
  border-radius: var(--cn-radius);
  background-color: var(--cn-surface);
  font-family: var(--cn-ff-head);
  line-height: 1.25;
  transition: border-color 0.3s var(--cn-ease), background-color 0.3s var(--cn-ease);
}

.bk-day small {
  font-size: 12px;
  font-weight: 500;
  color: var(--cn-muted);
}

.bk-day b {
  font-size: 19px;
  font-weight: 600;
  color: var(--cn-heading);
}

.bk-day:hover:not(:disabled) {
  border-color: var(--cn-teal);
}

.bk-day:disabled {
  background-color: var(--cn-surface-2);
  opacity: 0.45;
  cursor: not-allowed;
}

.bk-day[aria-pressed="true"] {
  border-color: var(--cn-teal);
  background-color: var(--cn-teal);
}

.bk-day[aria-pressed="true"] small,
.bk-day[aria-pressed="true"] b {
  color: var(--cn-on-teal);
}

.bk-slots {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.bk-slot {
  height: 44px;
  border: 1.5px solid var(--cn-line);
  border-radius: 8px;
  background-color: var(--cn-surface);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 500;
  transition: border-color 0.3s var(--cn-ease), background-color 0.3s var(--cn-ease);
}

.bk-slot:hover:not(:disabled) {
  border-color: var(--cn-teal);
}

.bk-slot:disabled {
  background-color: var(--cn-surface-2);
  color: var(--cn-muted);
  text-decoration: line-through;
  cursor: not-allowed;
}

.bk-slot[aria-pressed="true"] {
  border-color: var(--cn-teal);
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.bk-slots .bk-none {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--cn-muted);
}

.bk-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--cn-line);
}

.bk-review {
  margin-bottom: 20px;
}

.bk-review dd.is-missing {
  color: var(--cn-alert-ink);
}

.bk-error {
  margin-bottom: 18px;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-alert-ink);
}

.bk-done {
  padding: 30px 10px 10px;
  text-align: center;
}

.done-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 20px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 38px;
}

.bk-done .cn-actions {
  justify-content: center;
  margin-top: 24px;
}

/*---- 13.2 Booking Summary ----*/
.bk-summary {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.78);
}

.sum-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.35;
}

.sum-photo img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 3px solid var(--cn-teal);
}

.sum-head small {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--cn-teal);
}

.sum-head b {
  font-family: var(--cn-ff-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--cn-white);
}

.sum-rows {
  margin: 8px 0 0;
}

.sum-rows div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}

.sum-rows dt {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.sum-rows dt i {
  color: var(--cn-teal);
}

.sum-rows dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-white);
  text-align: right;
}

.sum-cost {
  margin-top: 20px;
  padding: 16px 20px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.06);
}

.sum-cost div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  font-size: 14.5px;
}

.sum-cost b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-white);
}

.sum-cost .is-total {
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  align-items: baseline;
}

.sum-cost .is-total b {
  font-size: 28px;
  color: var(--cn-teal);
}

.sum-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/*---- 13.3 Timetable ----*/
.tt-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 30px;
  margin-bottom: 26px;
}

.tt-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.tt-filters .cn-field {
  width: 280px;
  margin: 0;
}

.tt-now {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  font-family: var(--cn-ff-head);
  font-size: 14px;
  color: var(--cn-muted);
}

.tt-now .dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.tt-daytabs {
  display: none;
}

.cn-timetable {
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  background-color: var(--cn-surface);
}

.tt-grid {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.tt-grid th,
.tt-grid td {
  padding: 10px;
  border: 1px solid var(--cn-line);
  vertical-align: top;
}

.tt-grid tr > :first-child {
  border-left: 0;
}

.tt-grid tr > :last-child {
  border-right: 0;
}

.tt-grid thead th {
  padding: 16px 8px;
  border-top: 0;
  border-color: rgba(255, 255, 255, 0.1);
  background-color: var(--cn-night);
  color: var(--cn-white);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}

.tt-grid thead th:first-child {
  width: 112px;
}

.tt-grid thead th.is-today {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.tt-grid tbody th {
  background-color: var(--cn-surface-2);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 600;
  text-align: left;
}

.tt-grid tbody th span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--cn-muted);
}

.tt-grid td.is-today {
  background-color: rgba(var(--cn-teal-rgb), 0.07);
}

.tt-grid tr.is-now th {
  color: var(--cn-teal-ink);
  box-shadow: inset 4px 0 0 var(--cn-teal);
}

.tt-entry {
  display: block;
  margin-bottom: 6px;
  padding: 9px 10px;
  border-radius: 8px;
  background-color: var(--cn-tonal-2);
  color: var(--cn-body);
  font-size: 12.5px;
  line-height: 1.35;
  transition: background-color 0.3s var(--cn-ease), transform 0.3s var(--cn-ease);
}

.tt-entry:last-child {
  margin-bottom: 0;
}

.tt-entry b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--cn-indigo-text);
}

.tt-entry span {
  display: block;
  font-weight: 600;
  color: var(--cn-heading);
}

.tt-entry small {
  color: var(--cn-muted);
}

.tt-entry:hover {
  background-color: var(--cn-teal);
  transform: translateY(-2px);
}

.tt-entry:hover b,
.tt-entry:hover span,
.tt-entry:hover small {
  color: var(--cn-on-teal);
}

.tt-hint {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 0;
  font-size: 14.5px;
  color: var(--cn-muted);
}

.tt-hint i {
  color: var(--cn-teal-ink);
}

/*======================
14. Patient Tools
========================*/
/*---- 14.1 Lab Catalogue ----*/
.lab-filters {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 14px;
  margin-bottom: 22px;
}

.lab-table {
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  overflow: hidden;
}

.lab-head,
.lab-row {
  display: grid;
  grid-template-columns: 1fr 120px 150px 80px 46px;
  align-items: center;
  gap: 16px;
  padding: 14px 22px;
}

.lab-head {
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.85);
  font-family: var(--cn-ff-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lab-row {
  border-top: 1px solid var(--cn-line);
  font-size: 14.5px;
  transition: background-color 0.3s var(--cn-ease);
}

.lab-row:first-child {
  border-top: 0;
}

.lab-row.is-added {
  background-color: var(--cn-tonal);
}

.lr-name b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cn-heading);
}

.lr-name small {
  font-size: 13px;
  color: var(--cn-muted);
}

.lr-price {
  font-family: var(--cn-ff-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--cn-heading);
}

.lr-add i {
  transition: transform 0.3s var(--cn-ease);
}

.lr-add[aria-pressed="true"] {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.lr-add[aria-pressed="true"] i {
  transform: rotate(45deg);
}

.lab-panel-card {
  position: sticky;
  top: 110px;
  padding: 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.78);
}

.lab-panel-card .side-title {
  color: var(--cn-white);
}

.lab-panel-card .side-title i {
  color: var(--cn-teal);
}

.lp-list {
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}

.lp-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.06);
  font-size: 14px;
}

.lp-list li b {
  font-family: var(--cn-ff-head);
  color: var(--cn-white);
}

.lp-list li.lp-empty {
  justify-content: flex-start;
  background: none;
  padding: 0;
  color: rgba(255, 255, 255, 0.6);
}

.lp-rows {
  margin: 0 0 22px;
}

.lp-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14.5px;
}

.lp-rows dt {
  font-weight: 400;
}

.lp-rows dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-white);
}

.lp-rows .is-total dd {
  font-size: 26px;
  color: var(--cn-teal);
}

.lp-rows dd.is-warn {
  color: #F2B544;
}

.lp-note {
  margin: 14px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

/*---- 14.2 Package Picker & Compare ----*/
.picker-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 30px 50px;
  padding: 40px 44px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.picker-copy .title {
  margin: 0;
  font-weight: 600;
}

.picker-form {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: end;
  gap: 4px 24px;
}

.picker-form .cn-field {
  margin-bottom: 14px;
}

.picker-result {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--cn-ff-head);
  font-size: 17px;
}

.picker-result b {
  color: var(--cn-teal-ink);
}

.cn-package.is-suggested {
  border: 2px solid var(--cn-indigo-text);
}

.cn-package.is-suggested .pk-who::after {
  content: "Suggested For You";
  margin-left: 10px;
  padding: 3px 9px;
  border-radius: 20px;
  background-color: var(--cn-indigo);
  color: var(--cn-white);
  letter-spacing: 0;
  text-transform: none;
}

.compare-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.cmp-picks {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.cmp-vs {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-muted);
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.cmp-table th,
.cmp-table td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--cn-line);
  font-size: 15px;
  text-align: center;
}

.cmp-table th:first-child,
.cmp-table td:first-child {
  width: 46%;
  text-align: left;
}

.cmp-table thead th {
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 600;
  color: var(--cn-heading);
}

.cmp-table td i {
  color: var(--cn-teal-ink);
}

.cmp-table td .is-no {
  color: var(--cn-muted);
}

.cmp-table tr.is-price td {
  font-family: var(--cn-ff-head);
  font-size: 18px;
  font-weight: 600;
  color: var(--cn-heading);
}

/*---- 14.3 Cost Estimator ----*/
.est-card {
  padding: 34px 34px 30px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.est-card .es-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.est-card output {
  font-size: 14px;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.est-card .cn-range {
  margin: 14px 0 8px;
}

.est-result {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 18px 30px;
  margin-top: 14px;
  padding: 24px 26px;
  border-radius: var(--cn-radius);
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.78);
}

.er-main span {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 14px;
}

.er-main b {
  font-family: var(--cn-ff-head);
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--cn-teal);
}

.er-rows {
  margin: 0;
}

.er-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 14.5px;
}

.er-rows dt {
  font-weight: 400;
}

.er-rows dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-white);
}

.er-bar {
  grid-column: 1 / -1;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--cn-indigo);
}

.er-bar i {
  display: block;
  width: var(--w, 20%);
  height: 100%;
  background-color: var(--cn-teal);
  transition: width 0.6s var(--cn-ease);
}

.cn-plan {
  height: 100%;
  padding: 32px 30px 26px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
}

.plan-ic {
  display: block;
  margin-bottom: 14px;
  font-size: 44px;
  color: var(--cn-blue);
}

.plan-name {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 600;
}

.plan-rows {
  margin: 0;
}

.plan-rows div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--cn-line);
  font-size: 14.5px;
}

.plan-rows dt {
  font-weight: 400;
}

.plan-rows dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

/*---- 14.4 Emergency ----*/
.er-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  box-shadow: var(--cn-shadow-lg);
}

.er-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 40px 38px 36px;
  color: rgba(255, 255, 255, 0.82);
}

.er-tile.is-alert {
  background-color: #C2403A;
}

.er-tile.is-night {
  background-color: var(--cn-night);
}

.er-tile.is-teal {
  background-color: var(--cn-teal);
  color: rgba(13, 43, 46, 0.86);
}

.et-ic {
  margin-bottom: 10px;
  font-size: 44px;
  line-height: 1;
  color: var(--cn-white);
}

.is-teal .et-ic,
.is-teal .et-title {
  color: var(--cn-on-teal);
}

.et-title {
  margin-bottom: 4px;
  font-size: 22px;
  font-weight: 600;
  color: var(--cn-white);
}

.er-tile p {
  margin: 0 0 6px;
  font-size: 15px;
}

.et-big {
  margin: 4px 0 8px;
  font-family: var(--cn-ff-head);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--cn-white);
}

.er-tile p.et-big {
  margin: 4px 0 8px;
  font-size: 40px;
  color: var(--cn-teal);
}

.er-tile small {
  font-size: 13.5px;
  opacity: 0.85;
}

.is-teal .panel-link {
  color: var(--cn-on-teal);
}

.er-photo {
  margin-top: 30px;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.er-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.er-tables {
  display: grid;
  gap: 20px;
}

.er-table {
  padding: 26px 30px 12px;
  border-radius: var(--cn-radius-lg);
  border: 1px solid var(--cn-line);
  border-left-width: 6px;
  background-color: var(--cn-surface);
}

.er-table.is-alert {
  border-left-color: var(--cn-alert);
}

.er-table.is-amber {
  border-left-color: #E8A93A;
}

.er-table.is-calm {
  border-left-color: var(--cn-teal);
}

.er-table h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 600;
}

.er-table h3 i {
  font-size: 22px;
}

.er-table.is-alert h3 i {
  color: var(--cn-alert-ink);
}

.er-table.is-amber h3 i {
  color: #B77A12;
}

.er-table.is-calm h3 i {
  color: var(--cn-teal-ink);
}

.er-table .cn-facts {
  margin: 0;
}

.er-table .cn-facts div:last-child {
  border-bottom: 0;
}

/*======================
15. Content Pages
========================*/
/*---- 15.1 Patient Stories ----*/
.fs-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 40px 70px;
}

.fs-photo {
  position: relative;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3.4;
}

.fs-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fs-tag {
  position: absolute;
  left: 22px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 40px;
  background-color: var(--cn-surface);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
}

.fs-tag i {
  color: var(--cn-teal-ink);
}

.fs-fig {
  margin: 0;
}

.fs-quote blockquote {
  margin: 22px 0 28px;
  font-family: var(--cn-ff-head);
  font-size: clamp(22px, 1.9vw, 30px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--cn-heading);
}

.fs-quote figcaption {
  display: flex;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.fs-quote figcaption img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
}

.fs-quote figcaption b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--cn-heading);
}

.fs-quote figcaption small {
  font-size: 14px;
  color: var(--cn-muted);
}

.fs-facts {
  margin: 30px 0 0;
}

.ratings-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.rating-tile {
  padding: 28px 26px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  text-align: center;
}

.rating-tile b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  color: var(--cn-teal-ink);
}

.rating-tile > span {
  font-size: 14.5px;
}

/*---- 15.2 Facilities ----*/
.cn-floors {
  margin: 0;
}

.cn-floors div {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cn-line);
}

.cn-floors dt {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.cn-floors dt b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 15px;
}

.cn-floors dd {
  margin: 0;
  align-self: center;
  font-size: 15px;
}

.floors-photo {
  position: relative;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 4.2;
}

.floors-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floors-photo .care-badge {
  left: 22px;
  bottom: 22px;
}

.gallery-grid.is-mosaic {
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
}

.gallery-grid.is-mosaic .g-item {
  aspect-ratio: auto;
}

.gallery-grid.is-mosaic .g-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-grid.is-mosaic .g-item:nth-child(4) {
  grid-row: span 2;
}

/*---- 15.3 Careers ----*/
.ci-photo {
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 11;
}

.ci-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.jobs-filter {
  width: 280px;
}

.cn-jobs {
  display: grid;
  gap: 14px;
}

.cn-job {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  align-items: center;
  gap: 20px 30px;
  padding: 24px 28px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  transition: box-shadow 0.4s var(--cn-ease), transform 0.4s var(--cn-ease);
}

.cn-job:hover {
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-3px);
}

.job-title {
  margin-bottom: 4px;
  font-size: 18px;
  font-weight: 600;
}

.job-dept {
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--cn-indigo-text);
}

.job-rows {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0;
}

.job-rows dt {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--cn-muted);
}

.job-rows dd {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cn-heading);
}

.apply-card {
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 54px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  border: 1px solid var(--cn-line);
  box-shadow: var(--cn-shadow);
}

/*---- 15.4 Journal ----*/
.cn-quote-post {
  margin: 0 0 34px;
  padding: 40px 44px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-indigo);
  color: rgba(255, 255, 255, 0.8);
}

.cn-quote-post .story-quote {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--cn-teal);
}

.cn-quote-post blockquote {
  margin: 20px 0 16px;
  font-family: var(--cn-ff-head);
  font-size: 23px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--cn-white);
}

.cn-quote-post figcaption {
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cn-teal);
}

.cn-blog-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  overflow: hidden;
  transition: box-shadow 0.4s var(--cn-ease), transform 0.4s var(--cn-ease);
}

.cn-blog-card:hover {
  box-shadow: var(--cn-shadow-lg);
  transform: translateY(-5px);
}

.bc-img {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.bc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--cn-ease);
}

.cn-blog-card:hover .bc-img img {
  transform: scale(1.06);
}

.bc-play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 16 / 10;
  color: var(--cn-on-teal);
}

.bc-play i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  font-size: 20px;
  box-shadow: 0 0 0 12px rgba(var(--cn-teal-rgb), 0.3);
}

.bc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px 26px 22px;
}

.bc-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 16px;
  margin-bottom: 10px;
  font-size: 13.5px;
}

.bc-meta b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.bc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cn-muted);
}

.bc-title {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.bc-title a {
  color: var(--cn-heading);
}

.bc-title a:hover {
  color: var(--cn-teal-ink);
}

.bc-body p {
  margin-bottom: 18px;
  font-size: 15px;
}

.bc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--cn-line);
}

.bc-author {
  font-size: 13.5px;
  color: var(--cn-muted);
}

.cn-pagination {
  margin-top: 44px;
}

.cn-pagination ul {
  display: flex;
  gap: 8px;
}

.cn-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-weight: 600;
  transition: background-color 0.3s var(--cn-ease);
}

.cn-pagination a:hover,
.cn-pagination a.is-current {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.side-search {
  position: relative;
}

.side-search .cn-input {
  padding-right: 54px;
}

.side-search button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 6px;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

.side-cats li a {
  display: flex;
  justify-content: space-between;
  padding: 11px 0;
  border-bottom: 1px solid var(--cn-line);
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  color: var(--cn-heading);
}

.side-cats li a b {
  color: var(--cn-muted);
  font-weight: 500;
}

.side-cats li a:hover {
  color: var(--cn-teal-ink);
}

.side-recent {
  display: grid;
  gap: 16px;
}

.side-recent li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.rp-img {
  flex: 0 0 76px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
}

.rp-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.side-recent span a {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--cn-heading);
}

.side-recent span a:hover {
  color: var(--cn-teal-ink);
}

.side-recent small {
  font-size: 12.5px;
  color: var(--cn-muted);
}

.side-book {
  background-color: var(--cn-teal);
  color: rgba(13, 43, 46, 0.86);
}

.side-book .side-title {
  color: var(--cn-on-teal);
}

.side-book .cn-btn {
  background-color: var(--cn-night);
  color: var(--cn-white);
}

.sb-ic {
  display: block;
  margin-bottom: 12px;
  font-size: 42px;
  color: var(--cn-on-teal);
}

.side-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.side-tags a {
  padding: 7px 14px;
  border-radius: 40px;
  background-color: var(--cn-tonal);
  color: var(--cn-heading);
  font-family: var(--cn-ff-head);
  font-size: 13.5px;
  font-weight: 500;
}

.side-tags a:hover {
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
}

/*---- 15.5 Article ----*/
.ab-photo {
  margin-bottom: 26px;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.ab-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-bottom: 22px;
  font-family: var(--cn-ff-head);
  font-size: 14px;
  color: var(--cn-muted);
}

.ab-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ab-meta i {
  color: var(--cn-teal-ink);
}

.article-body h2 {
  margin: 34px 0 12px;
  font-size: 25px;
  font-weight: 600;
}

.ab-quote {
  margin: 34px 0;
  padding: 30px 34px;
  border-left: 5px solid var(--cn-teal);
  border-radius: 0 var(--cn-radius) var(--cn-radius) 0;
  background-color: var(--cn-ground-alt);
}

.ab-quote blockquote {
  margin: 0 0 10px;
  font-family: var(--cn-ff-head);
  font-size: 21px;
  font-weight: 300;
  line-height: 1.55;
  color: var(--cn-heading);
}

.ab-quote figcaption {
  font-family: var(--cn-ff-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--cn-teal-ink);
}

.ab-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 22px 0;
  border-top: 1px solid var(--cn-line);
  border-bottom: 1px solid var(--cn-line);
}

.ab-author {
  display: flex;
  gap: 24px;
  margin: 40px 0;
  padding: 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.ab-author img {
  flex: 0 0 96px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.ab-author small {
  font-size: 13px;
  color: var(--cn-muted);
}

.ab-author b {
  display: block;
  margin-bottom: 6px;
  font-family: var(--cn-ff-head);
  font-size: 19px;
  font-weight: 600;
  color: var(--cn-heading);
}

.ab-author p {
  margin-bottom: 8px;
}

.ab-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 46px;
}

.ab-nav a {
  padding: 20px 24px;
  border-radius: var(--cn-radius);
  border: 1px solid var(--cn-line);
  transition: border-color 0.3s var(--cn-ease);
}

.ab-nav a + a {
  text-align: right;
}

.ab-nav a:hover {
  border-color: var(--cn-teal);
}

.ab-nav small {
  display: block;
  margin-bottom: 4px;
  font-size: 13px;
  color: var(--cn-muted);
}

.ab-nav b {
  font-family: var(--cn-ff-head);
  font-size: 15.5px;
  font-weight: 600;
  color: var(--cn-heading);
}

.comment {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--cn-line);
}

.comment.is-reply {
  margin-left: 60px;
}

.comment img {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
}

.comment b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.comment small {
  margin-left: 10px;
  font-size: 13px;
  color: var(--cn-muted);
}

.comment p {
  margin: 6px 0 0;
}

.ab-comments h2 {
  margin-top: 0;
}

.comment-form {
  margin-top: 10px;
}

/*---- 15.6 Contact ----*/
.cc-card {
  height: 100%;
  padding: 34px 30px 30px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-ground-alt);
}

.cc-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin-bottom: 18px;
  border-radius: 50%;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  font-size: 26px;
}

.cc-card.is-alert .cc-ic {
  background-color: var(--cn-alert);
  color: var(--cn-white);
}

.cc-title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

.cc-card p {
  margin: 0;
  font-size: 15px;
}

.cc-card a {
  font-family: var(--cn-ff-head);
  font-weight: 600;
  color: var(--cn-heading);
}

.contact-card {
  padding: 44px 46px;
  border: 1px solid var(--cn-line);
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.cn-map-area {
  line-height: 0;
}

.cn-map {
  display: block;
  width: 100%;
  height: 460px;
  border: 0;
  filter: grayscale(0.25);
}

/*---- 15.7 Patient Portal ----*/
.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: var(--cn-radius-lg);
  overflow: hidden;
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow-lg);
}

.auth-card.is-narrow {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.auth-photo {
  position: relative;
  min-height: 520px;
}

.auth-photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.auth-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(var(--cn-night-rgb), 0.9) 0%, rgba(var(--cn-night-rgb), 0.2) 55%);
}

.auth-photo-copy {
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 44px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.86);
}

.auth-photo-copy p {
  margin: 0;
  font-family: var(--cn-ff-head);
  font-size: 19px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--cn-white);
}

.auth-photo .cn-tri {
  z-index: 3;
}

.auth-form-side {
  padding: 50px 50px 44px;
}

.auth-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  border-radius: 50%;
  background-color: var(--cn-tonal);
  color: var(--cn-teal-ink);
  font-size: 30px;
}

.auth-title {
  margin-bottom: 8px;
  font-size: 30px;
  font-weight: 600;
}

.auth-lead {
  margin-bottom: 28px;
}

.auth-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 14.5px;
}

.auth-row a {
  font-family: var(--cn-ff-head);
  font-weight: 500;
}

.auth-form .cn-check {
  margin-bottom: 22px;
}

.pass-eye {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--cn-muted);
  transform: translateY(-50%);
}

.pass-eye:hover {
  color: var(--cn-teal-ink);
}

.pass-meter {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.pass-meter i {
  height: 5px;
  border-radius: 3px;
  background-color: var(--cn-line);
  transition: background-color 0.3s var(--cn-ease);
}

.pass-meter.is-1 i:nth-child(-n+1) {
  background-color: var(--cn-alert);
}

.pass-meter.is-2 i:nth-child(-n+2) {
  background-color: #E8A93A;
}

.pass-meter.is-3 i:nth-child(-n+3) {
  background-color: var(--cn-teal);
}

.pass-meter.is-4 i {
  background-color: var(--cn-mint);
}

.pass-hint {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--cn-muted);
}

.auth-switch {
  margin: 22px 0 0;
  text-align: center;
  font-size: 15px;
}

.auth-switch a {
  font-family: var(--cn-ff-head);
  font-weight: 600;
}

/*---- 15.8 Coming Soon & 404 ----*/
.cn-soon,
.cn-404 {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 70px 0;
  overflow: hidden;
  background-image: radial-gradient(ellipse 70% 60% at 50% 40%, var(--cn-ground) 0%, var(--cn-ground-alt) 100%);
}

.cn-soon .cn-gl,
.cn-404 .cn-gl {
  z-index: -1;
}

.soon-inner,
.err-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.soon-logo {
  display: table;
  margin: 0 auto 40px;
}

.soon-logo img {
  width: auto;
  height: 48px;
}

.soon-logo .is-light,
[data-theme="dark"] .soon-logo img {
  display: none;
}

[data-theme="dark"] .soon-logo .is-light {
  display: inline;
}

.soon-title {
  margin-bottom: 18px;
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.soon-title em {
  font-style: normal;
  color: var(--cn-teal-ink);
}

.soon-lead {
  max-width: 560px;
  margin: 0 auto 36px;
  font-size: 18px;
}

.soon-count {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 560px;
  margin: 0 auto 36px;
}

.soon-count div {
  padding: 18px 8px;
  border-radius: var(--cn-radius-lg);
  background-color: var(--cn-surface);
  box-shadow: var(--cn-shadow);
}

.soon-count b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--cn-heading);
}

.soon-count span {
  font-family: var(--cn-ff-head);
  font-size: 13px;
  color: var(--cn-muted);
}

.soon-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 520px;
  margin: 0 auto 26px;
}

.soon-form .form-status {
  grid-column: 1 / -1;
  margin: 0;
}

.err-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 10px;
  font-family: var(--cn-ff-head);
  font-size: clamp(110px, 12vw, 180px);
  font-weight: 600;
  line-height: 1;
  color: var(--cn-heading);
}

.err-code i {
  font-size: 0.8em;
  color: var(--cn-teal-ink);
}

.err-actions {
  justify-content: center;
  margin-bottom: 34px;
}

.err-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
}

.err-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-heading);
}

.err-links a i {
  font-size: 20px;
  color: var(--cn-teal-ink);
}

/*======================
16. Call Strip & Footer
========================*/
/*---- 16.1 Call Strip ----*/
/* the base's teal strip: ink text on teal (white on it was 1.8:1) */
.cn-call-strip {
  position: relative;
  padding: 44px 0;
  background-color: var(--cn-teal);
  color: var(--cn-on-teal);
  overflow: hidden;
}

.cn-call-strip::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 46px solid rgba(255, 255, 255, 0.16);
  pointer-events: none;
}

.call-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 40px;
}

.call-copy {
  display: flex;
  align-items: center;
  gap: 20px;
}

.call-ic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  font-size: 28px;
}

.call-copy p {
  margin: 0;
  font-size: 16.5px;
  line-height: 1.55;
}

.call-copy b {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 24px;
  font-weight: 600;
}

.call-copy a {
  color: var(--cn-on-teal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/*---- 16.2 Footer ----*/
.cn-footer {
  position: relative;
  isolation: isolate;
  background-color: var(--cn-night);
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
}

.cn-footer .cn-gl {
  left: auto;
  width: 46%;
  z-index: -1;
}

.footer-main {
  padding: 96px 0 70px;
}

.footer-logo img {
  width: auto;
  height: 42px;
}

.footer-about p {
  margin: 22px 0;
  line-height: 1.75;
}

.footer-contact {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.footer-contact i {
  margin-top: 3px;
  font-size: 18px;
  color: var(--cn-teal);
}

.footer-contact a,
.footer-news a {
  color: rgba(255, 255, 255, 0.86);
}

.footer-contact a:hover,
.footer-news a:hover {
  color: var(--cn-teal);
}

.widget-title {
  position: relative;
  margin-bottom: 28px;
  padding-bottom: 14px;
  font-size: 19px;
  font-weight: 600;
  color: var(--cn-white);
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, var(--cn-indigo) 0 33%, var(--cn-blue) 33% 66%, var(--cn-teal) 66%);
}

.footer-news {
  display: grid;
  gap: 18px;
}

.footer-news li {
  display: flex;
  align-items: center;
  gap: 15px;
}

.fn-thumb {
  flex: 0 0 78px;
  height: 64px;
  border-radius: var(--cn-radius-sm);
  overflow: hidden;
}

.fn-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--cn-ease);
}

.footer-news li:hover .fn-thumb img {
  transform: scale(1.08);
}

.footer-news span a {
  display: block;
  font-family: var(--cn-ff-head);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.footer-news small {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

.hours-list {
  display: grid;
  margin: 16px 0 20px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cn-line);
  font-size: 14.5px;
}

.hours-list b {
  font-family: var(--cn-ff-head);
  font-weight: 500;
  color: var(--cn-heading);
}

.hours-list li.is-today {
  color: var(--cn-teal-ink);
  font-weight: 600;
}

.hours-list li.is-today b {
  color: var(--cn-teal-ink);
}

.hours-list.is-dark li {
  border-color: rgba(255, 255, 255, 0.1);
}

.hours-list.is-dark b {
  color: rgba(255, 255, 255, 0.9);
}

.hours-list.is-dark li.is-today,
.hours-list.is-dark li.is-today b {
  color: var(--cn-teal);
}

.footer-er {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--cn-radius);
  background-color: rgba(229, 87, 79, 0.14);
  color: var(--cn-white);
}

.footer-er i {
  font-size: 24px;
  color: #F08A84;
}

.footer-er small {
  display: block;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-er b {
  font-family: var(--cn-ff-head);
  font-weight: 600;
}

.footer-er:hover {
  color: var(--cn-white);
  background-color: rgba(229, 87, 79, 0.24);
}

.footer-form {
  display: grid;
  gap: 12px;
}

.footer-form .cn-input {
  border-color: rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--cn-white);
}

.footer-form .cn-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.footer-form textarea.cn-input {
  min-height: 108px;
}

.footer-form .cn-btn {
  justify-self: start;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding: 24px 0;
  font-size: 14px;
}

.bottom-inner p {
  margin: 0;
}

.bottom-inner a {
  color: rgba(255, 255, 255, 0.86);
}

.bottom-inner a:hover {
  color: var(--cn-teal);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/*======================
17. Utility
========================*/
/*---- 17.1 Back To Top ----*/
.cn-back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--cn-surface);
  color: var(--cn-teal-ink);
  box-shadow: var(--cn-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s var(--cn-ease), transform 0.35s var(--cn-ease), visibility 0.35s, background-color 0.3s;
}

.cn-back-to-top.is-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cn-back-to-top i {
  position: relative;
  z-index: 1;
  font-size: 17px;
  transform: rotate(-90deg);
}

/* the ring fills with the page's scroll progress (--p set by the script) */
.btt-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-image: conic-gradient(var(--cn-teal) calc(var(--p, 0) * 1%), var(--cn-line) 0);
}

.btt-ring::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background-color: var(--cn-surface);
}

.cn-back-to-top:hover {
  color: var(--cn-indigo-text);
}

/*---- 17.2 Mobile Action Bar ----*/
.cn-mobile-bar {
  display: none;
}

/*---- 17.3 Sliders ----*/
.cn-slider-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
}

.cn-slider-nav .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 4px;
  background-color: var(--cn-muted);
  opacity: 0.4;
  transition: width 0.3s var(--cn-ease), opacity 0.3s;
}

.cn-slider-nav .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 4px;
  background-color: var(--cn-teal-ink);
  opacity: 1;
}

.cn-slider-nav [class*="-dots"] {
  display: flex;
  align-items: center;
  width: auto;
}
