/* ===== DESIGN TOKENS ===== */
:root {
  /* Backgrounds */
  --cream: #fbfdfb;
  --white: #ffffff;
  --glass-bg: rgba(255, 255, 255, 0.50);
  --glass-bg-strong: rgba(255, 255, 255, 0.65);
  --glass-border: rgba(255, 255, 255, 0.60);
  --glass-dark-bg: rgba(30, 70, 30, 0.10);

  /* Brand colours — green forward */
  --primary: #2e7d32;
  --primary-mid: #388e3c;
  --primary-light: #eaf5eb;
  --primary-pale: #f4faf4;
  --primary-dark: #1b5e20;

  /* Accent — muted crimson, secondary use only */
  --accent: #b34040;
  --accent-light: #fdecea;

  /* Neutrals */
  --dark: #162916;
  --text: #243524;
  --text-light: #527052;
  --border: rgba(46, 125, 50, 0.14);
  --shadow: 0 4px 24px rgba(46, 125, 50, .06), 0 0 20px rgba(129, 199, 132, .10);
  --shadow-lg: 0 12px 48px rgba(46, 125, 50, .10), 0 0 35px rgba(129, 199, 132, .18);
  --shadow-glass: 0 10px 36px rgba(46, 125, 50, .06), 0 0 24px rgba(129, 199, 132, .16), inset 0 1px 0 rgba(255, 255, 255, .95);
  --shadow-glow: 0 0 35px rgba(129, 199, 132, .30);

  /* Misc */
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --font: 'Lora', 'Georgia', 'Times New Roman', serif;
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --transition: .3s cubic-bezier(.4, 0, .2, 1);
  --blur: blur(20px);
  --blur-sm: blur(12px);
}

[data-theme="dark"] {
  --cream: #000000;
  --white: #111111;
  --glass-bg: rgba(15, 15, 15, 0.35);
  --glass-bg-strong: rgba(15, 15, 15, 0.50);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-dark-bg: rgba(0, 0, 0, 0.25);
  --primary: #66bb6a;
  --primary-mid: #81c784;
  --primary-light: #1b3a1b;
  --primary-pale: #152015;
  --primary-dark: #a5d6a7;
  --accent: #ef9a9a;
  --accent-light: #3a1a1a;
  --dark: #d8f0d8;
  --text: #c8e8c8;
  --text-light: #88aa88;
  --border: rgba(100, 200, 100, 0.18);
  --shadow: 0 4px 24px rgba(0, 0, 0, .25);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, .35);
  --shadow-glass: 0 8px 32px rgba(0, 0, 0, .30);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: #ffffff;
  background-image:
    radial-gradient(ellipse 85% 65% at 50% -8%, rgba(129, 199, 132, .04) 0%, transparent 65%),
    radial-gradient(ellipse 65% 55% at 90% 28%, rgba(165, 214, 167, .18) 0%, transparent 58%),
    radial-gradient(ellipse 60% 50% at 10% 58%, rgba(165, 214, 167, .16) 0%, transparent 58%),
    radial-gradient(ellipse 75% 60% at 85% 82%, rgba(200, 230, 201, .18) 0%, transparent 60%),
    radial-gradient(ellipse 85% 65% at 50% 102%, rgba(129, 199, 132, .18) 0%, transparent 65%);
  background-attachment: fixed;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

/* ===== CONTAINER ===== */
.sw-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== LOADER ===== */
#sw-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity .5s, visibility .5s;
}

#sw-loader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.sw-logo {
  display: none;
}

/* removed old logo */
.sw-bar {
  display: none;
}

/* removed old bar */

.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: splash-pulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.splash-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: var(--dark);
}

.splash-text b {
  color: var(--accent);
  font-weight: 800;
}

.splash-text .light {
  font-weight: 300;
}

@keyframes splash-pulse {
  0% {
    opacity: 0.5;
    transform: scale(0.96);
    filter: blur(2px);
  }

  50% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }

  100% {
    opacity: 0.5;
    transform: scale(0.96);
    filter: blur(2px);
  }
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--glass-bg-strong);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border-bottom: 1px solid var(--glass-border);
  padding: 8px 0;
  font-size: .82rem;
  color: var(--text-light);
}

.topbar .sw-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tb-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.tb-left a {
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.tb-left a:hover {
  color: var(--primary);
}

.tb-left svg {
  width: 15px;
  height: 15px;
}

.tb-social {
  display: flex;
  gap: 12px;
  align-items: center;
}

.tb-social a,
.theme-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all var(--transition);
  color: var(--text-light);
}

.tb-social a:hover,
.theme-toggle:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.tb-social svg {
  width: 16px;
  height: 16px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.50);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 4px 28px rgba(129, 199, 132, 0.18), 0 1px 0 rgba(46, 125, 50, 0.05);
  padding: 14px 0;
  transition: all var(--transition);
}

[data-theme="dark"] .navbar {
  background: rgba(0, 0, 0, 0.50);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-icon-footer {
  width: 36px;
}

.logo-text {
  white-space: nowrap;
  display: inline-block;
}

.logo-name {
  font-size: 1.35rem;
  letter-spacing: 1px;
  white-space: nowrap;
  line-height: 1;
  display: inline-block;
}

.logo-name b {
  color: var(--accent);
  font-weight: 800;
}

.logo-name .light {
  font-weight: 400;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: 16px;
  white-space: nowrap;
  flex-shrink: 1;
}

.nav-links a {
  font-size: .86rem;
  font-weight: 500;
  color: var(--text-light);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.nav-refer-btn,
.nav-book-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 1200px) {
  .nav-links {
    gap: 12px;
  }

  .nav-links a {
    font-size: .82rem;
  }

  .nav-right {
    gap: 6px;
  }

  .nav-refer-btn,
  .nav-book-btn {
    padding: 7px 12px;
    font-size: .78rem;
  }
}

@media (max-width: 992px) {
  .nav-refer-btn {
    display: none;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  padding: 10px 22px;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #388e3c 0%, #2e7d32 100%);
  color: #fff;
  box-shadow: 0 4px 10px rgba(46, 125, 50, .15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(46, 125, 50, .25);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: var(--blur-sm);
}

.btn-ghost:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 10px rgba(129, 199, 132, .15);
}

.btn-sm {
  padding: 8px 16px;
  font-size: .82rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-emergency {
  background: linear-gradient(135deg, #c62828 0%, #9b2d2d 100%);
  color: #ffffff !important;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(155, 45, 45, 0.15);
}

.btn-emergency:hover {
  background: linear-gradient(135deg, #b71c1c 0%, #7f1d1d 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(155, 45, 45, 0.25);
}

[data-theme="dark"] .btn-emergency {
  background: linear-gradient(135deg, #d32f2f 0%, #9b2d2d 100%);
  box-shadow: 0 4px 10px rgba(239, 83, 80, 0.15);
}

.arr {
  transition: transform var(--transition);
}

.btn:hover .arr {
  transform: translateX(3px);
}

/* ===== HERO ===== */
.hero-wrap {
  position: relative;
  overflow: hidden;
  padding: 0 0 20px;
  background: #ffffff;
}

[data-theme="dark"] .hero-wrap {
  background: #000000;
}


.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 52px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 8px;
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: #112211;
  margin-bottom: 18px;
}

[data-theme="dark"] .hero-heading {
  color: #eafbea;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.hero-content .intro-copy {
  margin: 0 0 24px 0;
  max-width: 100%;
  color: #1f2e1f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero-content .intro-copy p {
  color: #1f2e1f;
}

[data-theme="dark"] .hero-content .intro-copy,
[data-theme="dark"] .hero-content .intro-copy p {
  color: #d0e4d0;
}

.hero-accent {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.hero-accent::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  border-radius: 2px;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 20px;
  max-width: 520px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 14px;
  margin-top: 0;
  margin-bottom: 28px;
  width: 100%;
}

.hero-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

.hero-trust {
  display: flex;
  gap: 20px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.ht-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text-light);
}

.ht-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* Hero Visual */
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius-lg) - 4px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.intro-copy {
  max-width: 720px;
  margin: 20px auto 0;
  text-align: left;
  color: #1f2e1f;
  font-size: 1.05rem;
  line-height: 1.75;
}

.intro-copy p {
  color: #1f2e1f;
}

[data-theme="dark"] .intro-copy,
[data-theme="dark"] .intro-copy p {
  color: #d0e4d0;
}

.intro-copy p+p {
  margin-top: 14px;
}

.intro-copy a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.creds-strip .creds-label {
  margin-bottom: 0;
}

/* Visibility Utilities */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }

  #page-home {
    display: flex;
    flex-direction: column;
  }

  .creds-strip {
    order: -1;
    padding: 8px 0 !important;
  }

  .hero-wrap {
    order: 0;
  }

  #reviews {
    order: 1;
  }

  #services {
    order: 2;
  }

  #press {
    order: 3;
  }

  #eye-health {
    order: 4;
  }

  #faq {
    order: 5;
  }

  #about {
    order: 6;
  }

  .creds-strip .creds-label {
    font-size: 0.68rem !important;
    letter-spacing: 1.2px !important;
    margin-bottom: 4px !important;
    line-height: 1 !important;
  }

  .creds-row.marquee-content {
    margin-top: 3px !important;
    gap: 16px !important;
  }

  .marquee-content .cred {
    width: auto !important;
    min-width: 0 !important;
    padding: 0 4px !important;
  }

  .cred-name {
    font-size: 0.88rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .cred-sub {
    font-size: 0.65rem !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
  }

  .hero-wrap {
    order: 0;
    padding-top: 10px !important;
    padding-bottom: 24px !important;
  }

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 16px !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    padding-top: 0 !important;
  }

  .hero-visual {
    max-width: 100% !important;
  }

  .hero-content {
    width: 100% !important;
  }

  .hero-actions {
    margin-bottom: 0 !important;
  }

  .hero-actions .btn {
    white-space: normal !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 13px 14px !important;
    font-size: 0.95rem !important;
    line-height: 1.25 !important;
  }

  /* Mobile Hero Profile Card: Compact height so Hero Photo is max height with zero gap */
  .hero-carousel-track {
    align-items: stretch;
  }

  .hpc-photo-wrap {
    height: 195px !important;
  }

  .hpc-body {
    padding: 14px 16px !important;
    gap: 8px !important;
  }

  .hpc-header h3 {
    font-size: 1.25rem !important;
  }

  .hpc-area {
    font-size: 0.78rem !important;
  }

  .hpc-specs {
    margin-top: 2px !important;
    gap: 0 !important;
  }

  .hpc-specs li {
    font-size: 0.82rem !important;
    line-height: 1.4 !important;
  }

  /* Only show the first line on mobile for hero swiped clinician cards */
  .hpc-specs li:not(:first-child) {
    display: none !important;
  }
}

/* Hero Image & Profile Carousel */
.hero-carousel-wrap {
  position: relative;
  width: 100%;
}

.hero-carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  gap: 0;
  width: 100%;
}

.hero-carousel-track::-webkit-scrollbar {
  display: none;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
}

.hero-img-ph {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(46, 125, 50, .10), 0 0 35px rgba(129, 199, 132, .25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: 4px;
  width: 100%;
  height: 100%;
}

.hero-profile-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1.5px solid var(--glass-border);
  box-shadow: 0 12px 40px rgba(46, 125, 50, .10), 0 0 35px rgba(129, 199, 132, .25), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.hpc-photo-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #e8f5e9;
  border-bottom: 1px solid var(--glass-border);
}

.hpc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.hpc-role-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.9);
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hpc-body {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.hpc-header h3 {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
}

.hpc-area {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 3px;
}

.hpc-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--text-light);
  margin-top: 4px;
}

.hpc-specs li {
  position: relative;
  padding-left: 0;
}

.hpc-specs strong {
  color: var(--dark);
}

/* Hero Carousel Controls */
.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

.hero-nav-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}

.hero-nav-arrow:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero-dot.is-active {
  width: 24px;
  border-radius: 6px;
  background: var(--primary);
}

.hero-swipe-hint {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 8px;
  letter-spacing: 0.2px;
}

[data-theme="dark"] .hero-swipe-hint {
  color: var(--primary-mid);
}

/* Team Card Images & Specs in About Us */
.team-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.team-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--text-light);
  margin-top: 4px;
}

.team-specs li {
  position: relative;
  padding-left: 0;
}

.team-specs strong {
  color: var(--dark);
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

.s-cream {
  background: transparent;
}

/* Enhanced White Glass Section (Reviews, Eye Health) */
.s-white {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border-top: 1px solid rgba(46, 125, 50, 0.12);
  border-bottom: 1px solid rgba(46, 125, 50, 0.12);
  box-shadow: 0 0 35px rgba(129, 199, 132, 0.08);
  position: relative;
}

[data-theme="dark"] .s-white {
  background: rgba(20, 48, 20, 0.60);
  border-top: 1px solid rgba(100, 200, 100, 0.16);
  border-bottom: 1px solid rgba(100, 200, 100, 0.16);
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.25);
}

/* Subtle Green Glass Backglow for About Us Section — Crisp White Base with Vibrant Central Green Bloom */
.s-green-glow {
  background: #ffffff;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border-top: 1px solid rgba(46, 125, 50, 0.12);
  border-bottom: 1px solid rgba(46, 125, 50, 0.12);
  position: relative;
  overflow: hidden;
}

.s-green-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 760px;
  height: 520px;
  max-width: 95%;
  background: radial-gradient(ellipse at center, rgba(46, 125, 50, 0.20) 0%, rgba(129, 199, 132, 0.12) 40%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
}

.s-green-glow .sw-container {
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .s-green-glow {
  background: #111e11;
  border-top: 1px solid rgba(100, 200, 100, 0.16);
  border-bottom: 1px solid rgba(100, 200, 100, 0.16);
}

[data-theme="dark"] .s-green-glow::before {
  background: radial-gradient(ellipse at center, rgba(102, 187, 106, 0.24) 0%, rgba(46, 125, 50, 0.12) 45%, transparent 72%);
}

/* Subtle Red Glass Backglow for WGOS Section — Crisp White Base with Vibrant Central Red Bloom */
.s-red-glow {
  background: #ffffff;
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border-top: 1px solid rgba(179, 64, 64, 0.14);
  border-bottom: 1px solid rgba(179, 64, 64, 0.14);
  position: relative;
  overflow: hidden;
}

.s-red-glow::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 780px;
  height: 540px;
  max-width: 95%;
  background: radial-gradient(ellipse at center, rgba(211, 47, 47, 0.20) 0%, rgba(229, 57, 53, 0.11) 40%, rgba(255, 255, 255, 0) 74%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(48px);
  z-index: 0;
}

.s-red-glow .sw-container {
  position: relative;
  z-index: 1;
}

[data-theme="dark"] .s-red-glow {
  background: #180e0e;
  border-top: 1px solid rgba(239, 154, 154, 0.18);
  border-bottom: 1px solid rgba(239, 154, 154, 0.18);
}

[data-theme="dark"] .s-red-glow::before {
  background: radial-gradient(ellipse at center, rgba(239, 83, 80, 0.24) 0%, rgba(179, 64, 64, 0.12) 45%, transparent 72%);
}

.s-head {
  text-align: center;
  margin-bottom: 48px;
}

.s-head h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
}

/* ===== SHARED GLASS CARD ===== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glass);
}

/* ===== SECTION LABEL ===== */
.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary);
  margin-bottom: 12px;
  border-left: 3px solid var(--accent);
  padding-left: 10px;
}

/* ===== ABOUT GRID ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.about-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 18px;
  line-height: 1.25;
}

.about-intro p {
  color: var(--text-light);
  margin-bottom: 14px;
  font-size: .95rem;
}

.about-intro strong {
  color: var(--dark);
}

.quals-block {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--primary-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
}

.quals-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quals-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .9rem;
  color: var(--text);
  font-weight: 500;
}

.qual-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
}

/* Contact card */
.about-contact-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.about-contact-card>p {
  font-size: .9rem;
  color: var(--text-light);
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, .5);
  border: 1px solid var(--glass-border);
  font-size: .9rem;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-item a {
  color: var(--primary);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-item.emergency {
  border-color: rgba(155, 45, 45, .25);
  background: rgba(253, 236, 234, .55);
}

.contact-item.emergency svg {
  color: var(--accent);
}

.emergency-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 2px;
}

.contact-item.emergency a {
  color: var(--accent);
  font-size: 1rem;
}

.hours-note {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  color: var(--text-light);
  padding: 10px 0;
  border-top: 1px solid var(--glass-border);
}

.hours-note svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}

/* Numbered services */
.num-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.num-service-card {
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.num-badge {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .25;
  flex-shrink: 0;
  line-height: 1;
  min-width: 44px;
}

.num-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.num-content p {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.emergency-card {
  border-color: rgba(155, 45, 45, .25);
  background: rgba(253, 236, 234, .45);
}

.emergency-icon {
  background: rgba(155, 45, 45, .12);
}

.emergency-icon svg {
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.service-card p {
  font-size: .88rem;
  color: var(--text-light);
}

.symptom-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.symptom-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  color: var(--accent);
  font-weight: 600;
}

.symptom-list li::before {
  content: '!';
  font-weight: 800;
  font-size: .7rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .88rem;
  color: var(--text);
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 6px;
}

/* Accent (red) button */
.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: #7a1f1f;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(155, 45, 45, .35);
}

/* ===== NHS ELIGIBILITY ===== */
.eligibility-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 56px;
  align-items: start;
}

.eligibility-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
}

.eligibility-text p {
  font-size: .9rem;
  color: var(--text-light);
}

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

.elig-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  font-size: .88rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.elig-item:hover {
  transform: translateX(4px);
  border-color: var(--primary);
}

.elig-item svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

/* Responsive: new sections */
@media (max-width: 900px) {

  .about-grid,
  .eligibility-wrap {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .num-services,
  .services-grid {
    grid-template-columns: 1fr;
  }

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

/* ===== REVIEWS ===== */
.reviews-carousel {
  display: flex;
  justify-content: center;
}

.reviews-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.rev-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  box-shadow: var(--shadow-glass);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rev-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(46, 125, 50, .12), 0 0 35px rgba(129, 199, 132, .30), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.test-stars {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 6px;
  letter-spacing: 1.5px;
  line-height: 1;
}

.rev-quote {
  font-size: .88rem;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 8px;
  font-style: italic;
  flex: 1;
}

.rev-name {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-light);
  margin-top: auto;
}

/* ===== PRESS & MEDIA MENTIONS ===== */
#press {
  padding-top: 48px;
  padding-bottom: 48px;
}

#press .press-section {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

[data-theme="dark"] .press-section {
  border-top-color: rgba(100, 200, 100, 0.16);
}

.press-head {
  text-align: center;
  margin-bottom: 36px;
}

.press-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary);
  background: var(--primary-light);
  padding: 5px 16px;
  border-radius: 100px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(46, 125, 50, .08);
}

[data-theme="dark"] .press-badge {
  background: rgba(46, 125, 50, 0.25);
  color: var(--primary-mid);
}

.press-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.press-sub {
  font-size: 0.98rem;
  color: var(--text-light);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

.press-carousel {
  display: flex;
  justify-content: center;
}

.press-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px 20px;
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition);
  min-height: 250px;
}

.press-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: 0 16px 40px rgba(46, 125, 50, .14), 0 0 30px rgba(129, 199, 132, .25), inset 0 1px 0 rgba(255, 255, 255, .95);
}

.press-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.press-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 9px;
  border-radius: 6px;
}

.tag-nhs {
  background: #e3f2fd;
  color: #0d47a1;
}

.tag-news {
  background: #fbe9e7;
  color: #bf360c;
}

.tag-journal {
  background: #e8f5e9;
  color: #1b5e20;
}

[data-theme="dark"] .tag-nhs {
  background: #0d2c4d;
  color: #90caf9;
}

[data-theme="dark"] .tag-news {
  background: #3d1c16;
  color: #ffab91;
}

[data-theme="dark"] .tag-journal {
  background: #143519;
  color: #a5d6a7;
}

.press-date {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-light);
}

.press-card-title {
  font-family: var(--font-heading);
  font-size: 1.18rem;
  line-height: 1.35;
  color: var(--dark);
  margin-bottom: 12px;
}

.press-quote {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.press-source {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 18px;
  border-left: 2.5px solid var(--accent);
  padding-left: 10px;
}

.press-link {
  margin-top: auto;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.4;
  transition: all var(--transition);
}

.press-link:hover {
  color: var(--primary-dark);
  transform: translateX(2px);
}

@media (max-width: 480px) {
  .press-card {
    padding: 22px 18px;
  }
}

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, #2e7d32 0%, #388e3c 45%, #43a047 100%);
  border-radius: var(--radius-lg);
  padding: 120px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(46, 125, 50, .20), 0 0 45px rgba(129, 199, 132, .35);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 80% 20%, rgba(255, 255, 255, .20) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(200, 230, 201, .25) 0%, transparent 50%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 28px;
}

/* ===== CREDENTIALS STRIP ===== */
.creds-strip {
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: var(--blur-sm);
  -webkit-backdrop-filter: var(--blur-sm);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(129, 199, 132, 0.10);
}

.creds-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.creds-row {
  display: flex;
  justify-content: center;
  gap: 24px 38px;
  flex-wrap: wrap;
}

.cred {
  text-align: center;
}

.cred-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
}

.cred-sub {
  font-size: .75rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* Embedded Creds in Reviews Section */
.embedded-creds {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

#reviews {
  padding-bottom: 20px;
}

#about {
  padding-top: 48px;
}

@media (max-width: 768px) {
  #reviews {
    padding-bottom: 24px;
  }

  #press {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  #about {
    padding-top: 36px;
  }
}

@media (max-width: 900px) {
  .nav-refer-btn {
    display: none;
  }

  .nav-book-btn {
    display: none;
  }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  color: var(--text);
  padding: 18px 0;
  border-top: 2px solid var(--accent);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 0 30px rgba(129, 199, 132, 0.16);
}

[data-theme="dark"] .trust-strip {
  background: rgba(20, 50, 20, 0.75);
  color: var(--text);
}

.trust-strip-row {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-strip-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
}

.trust-strip-item svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
}

/* ===== FOOTER ===== */
.site-footer {
  background: rgba(248, 253, 248, 0.95);
  backdrop-filter: var(--blur);
  -webkit-backdrop-filter: var(--blur);
  padding: 36px 0;
  border-top: 1px solid rgba(46, 125, 50, 0.12);
  box-shadow: 0 -8px 32px rgba(129, 199, 132, 0.10);
}

[data-theme="dark"] .site-footer {
  background: #0d200d;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-inner .logo-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--dark);
  white-space: nowrap;
}

.footer-inner .logo-name b {
  color: var(--accent);
}

.footer-inner .logo-name .light {
  color: var(--dark);
}

.footer-copy {
  font-size: .82rem;
  color: var(--text-light);
}

/* ===== SCROLL TOP ===== */
.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
}

.scroll-top svg {
  width: 20px;
  height: 20px;
}

/* ===== TEXT SIZE WIDGET (low vision) ===== */
/* Sized in px on purpose so the control itself stays put while page text scales */
.a11y-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.a11y-label {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .3px;
  background: #111;
  color: #fff;
  padding: 4px 10px;
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

.a11y-dial {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  border: 3px solid #111;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .25);
}

.a11y-btn {
  flex: 1;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  font-family: Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition);
}

.a11y-btn+.a11y-btn {
  border-left: 3px solid #111;
}

.a11y-btn:hover,
.a11y-btn:focus-visible {
  background: var(--primary);
  color: #fff;
  outline: none;
}

.a11y-btn:disabled {
  opacity: .35;
  cursor: not-allowed;
}

/* ===== MOBILE MENU ===== */
.m-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--white);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transform: translateX(100%);
  transition: transform var(--transition);
}

.m-menu.is-open {
  transform: translateX(0);
}

.m-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.m-close {
  font-size: 1.5rem;
  color: var(--text);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: .1s;
}

.d2 {
  transition-delay: .2s;
}

.d3 {
  transition-delay: .3s;
}

.d4 {
  transition-delay: .4s;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-inner h1 {
    font-size: 2.6rem;
  }

  .hero-lead {
    font-size: 1.15rem;
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .sightos-band {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }

  .nav-inner {
    position: relative;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }

  .nav-right {
    width: 100%;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .hamburger {
    display: flex;
  }

  .nav-admin-btn {
    display: none !important;
  }

  .tb-left {
    gap: 12px;
  }

  .topbar {
    font-size: .75rem;
  }

  .creds-row {
    gap: 24px;
  }

  .trust-strip-row {
    gap: 16px;
  }

  .trust-strip-item {
    font-size: .7rem;
  }

  .cta-band {
    padding: 60px 24px;
  }

  .cta-band h2 {
    font-size: 2.0rem;
  }

  .hero-trust {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero-inner h1 {
    font-size: 2.2rem;
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .btn-lg {
    padding: 14px 20px;
    font-size: 1rem;
  }

  .tb-left a span {
    display: none;
  }
}

/* ===== WGOS PREVENTATIVE EYE HEALTH ===== */
.wgos-banner {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 52px auto;
}

.wgos-banner h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-top: 10px;
  margin-bottom: 16px;
}

.wgos-banner p {
  font-size: 1.05rem;
  color: var(--text-light);
  line-height: 1.7;
}

.wgos-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.wgos-card {
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.40) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(46, 125, 50, 0.04), 0 4px 20px rgba(211, 47, 47, 0.08), inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(255, 255, 255, 0.4) !important;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.wgos-card:hover {
  transform: translateY(-6px);
  border-color: #ffffff !important;
  box-shadow: 0 20px 48px rgba(179, 64, 64, 0.14), 0 0 35px rgba(239, 83, 80, 0.22), inset 0 1px 2px #ffffff !important;
}

[data-theme="dark"] .wgos-card {
  background: linear-gradient(135deg, rgba(30, 20, 20, 0.65) 0%, rgba(20, 15, 15, 0.40) 100%) !important;
  border: 1.5px solid rgba(239, 154, 154, 0.20) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.10) !important;
}

.wgos-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wgos-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wgos-icon svg {
  width: 26px;
  height: 26px;
  color: var(--primary);
}

.wgos-icon.wgos-smoking {
  background: rgba(179, 64, 64, 0.12);
}

.wgos-icon.wgos-smoking svg {
  color: var(--accent);
}

.wgos-pill {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(46, 125, 50, 0.10);
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.wgos-pill.pill-accent {
  background: rgba(179, 64, 64, 0.12);
  color: var(--accent);
}

.wgos-card h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
}

.wgos-card p {
  font-size: .92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.wgos-tip {
  margin-top: auto;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.55);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  font-size: .84rem;
  color: var(--text);
  line-height: 1.55;
}

.wgos-tip.tip-accent {
  border-left-color: var(--accent);
}

.wgos-tip strong {
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
}

.btn-interested {
  margin-top: auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  background: var(--primary);
  border: 1.5px solid var(--primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(46, 125, 50, 0.25);
  box-sizing: border-box;
}

.btn-interested:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(46, 125, 50, 0.35);
}

[data-theme="dark"] .btn-interested {
  background: #81c784;
  border-color: #81c784;
  color: #0a1f0d !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-interested:hover {
  background: #a5d6a7;
  border-color: #a5d6a7;
  color: #000000 !important;
}

/* ===== PROGRESSIVE DISCLOSURE SERVICE CARDS ===== */
#services .wgos-grid {
  align-items: flex-start !important;
  padding-bottom: 16px !important;
  /* Headroom so the hover lift isn't clipped by the scroll container */
  padding-top: 14px !important;
  margin-top: -14px;
}

.svc-card {
  cursor: pointer;
  padding: 18px 20px !important;
  min-height: 130px;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  user-select: none;
}

.svc-card:hover {
  transform: translateY(-4px) !important;
  border-color: var(--primary) !important;
  box-shadow: 0 16px 40px rgba(46, 125, 50, 0.12), inset 0 1px 2px #ffffff !important;
}

.svc-card:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.svc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.svc-card .wgos-pill {
  margin-bottom: 0 !important;
  font-size: 0.74rem;
  letter-spacing: 0.8px;
}

.svc-toggle-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  background: rgba(46, 125, 50, 0.10);
  border: 1px solid rgba(46, 125, 50, 0.22);
  padding: 3px 10px;
  border-radius: 100px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.svc-card:hover .svc-toggle-badge {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.svc-card.is-expanded .svc-toggle-badge {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.svc-card-title {
  font-family: var(--font-heading);
  font-size: 1.30rem !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: var(--dark) !important;
  margin: 4px 0 0 0 !important;
}

[data-theme="dark"] .svc-card-title {
  color: #eafff0 !important;
}

[data-theme="dark"] .svc-toggle-badge {
  color: #a5d6a7;
  background: rgba(129, 199, 132, 0.15);
  border-color: rgba(129, 199, 132, 0.30);
}

[data-theme="dark"] .svc-card:hover .svc-toggle-badge,
[data-theme="dark"] .svc-card.is-expanded .svc-toggle-badge {
  background: #81c784;
  color: #0a1f0d;
  border-color: #81c784;
}

/* Collapsed by default */
.svc-details {
  display: none;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid rgba(46, 125, 50, 0.18);
  user-select: text;
}

[data-theme="dark"] .svc-details {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* Expanded state */
.svc-card.is-expanded .svc-details {
  display: flex;
  animation: svcDetailsFade 0.2s ease-out;
}

@keyframes svcDetailsFade {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.svc-details p {
  font-size: 1.02rem !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  margin: 0 !important;
  font-weight: 400;
}

[data-theme="dark"] .svc-details p {
  color: #d1e7d4 !important;
}

.svc-details .btn-interested {
  margin-top: 6px !important;
  padding: 11px 18px !important;
  font-size: 1rem !important;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

@media (max-width: 768px) {
  .svc-card {
    padding: 16px 18px !important;
    min-height: 120px;
  }
  
  .svc-card-title {
    font-size: 1.20rem !important;
  }
  
  .svc-details p {
    font-size: 0.95rem !important;
  }
}

.nav-admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-admin-btn:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

[data-theme="dark"] .nav-admin-btn {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #e0e0e0;
}

[data-theme="dark"] .nav-admin-btn:hover {
  background: rgba(129, 199, 132, 0.18);
  color: #81c784;
  border-color: #81c784;
}

@media (max-width: 768px) {
  .nav-admin-btn {
    display: none !important;
  }
}

@media (max-width: 860px) {
  .wgos-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== ABOUT US / TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 920px;
  margin: 0 auto;
}

.team-card {
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.40) 100%) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1.5px solid rgba(255, 255, 255, 0.95) !important;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 42px rgba(46, 125, 50, 0.06), 0 4px 20px rgba(129, 199, 132, 0.10), inset 0 1px 2px rgba(255, 255, 255, 1), inset 0 -1px 2px rgba(255, 255, 255, 0.4) !important;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: #ffffff !important;
  box-shadow: 0 20px 48px rgba(46, 125, 50, 0.16), 0 0 35px rgba(129, 199, 132, 0.28), inset 0 1px 2px #ffffff !important;
}

[data-theme="dark"] .team-card {
  background: linear-gradient(135deg, rgba(25, 42, 25, 0.65) 0%, rgba(18, 30, 18, 0.40) 100%) !important;
  border: 1.5px solid rgba(130, 230, 130, 0.20) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.10) !important;
}

.team-img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(240, 248, 240, 0.65) 0%, rgba(254, 240, 238, 0.50) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: inset 0 0 25px rgba(255, 255, 255, 0.8), 0 4px 16px rgba(46, 125, 50, 0.05);
}

.team-img-wrap svg {
  width: 52px;
  height: 52px;
  color: var(--primary);
  opacity: 0.8;
}

.team-img-label {
  font-size: .8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-top: 6px;
  letter-spacing: .5px;
}

.team-role-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--primary-light);
  color: var(--primary-dark);
  align-self: flex-start;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
}

.team-area-badge {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
}

.team-area-badge svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.team-bio {
  font-size: .9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-top: 2px;
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== MODALS & FORMS ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  max-width: 500px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--glass-border);
}

.modal-overlay.is-active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--accent);
}

.modal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark);
  margin-bottom: 8px;
}

.custom-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.custom-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
}

.custom-form input,
.custom-form select,
.custom-form textarea {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.custom-form input:focus,
.custom-form select:focus,
.custom-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

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

@media (max-width: 500px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.matrix-section {
  background: rgba(46, 125, 50, 0.03);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 8px;
}

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

@media (max-width: 500px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}

.cb-label {
  flex-direction: row !important;
  align-items: center;
  font-weight: 500 !important;
  font-size: 0.85rem !important;
  cursor: pointer;
  color: var(--text) !important;
}

.cb-label input {
  width: 16px;
  height: 16px;
  margin: 0;
  cursor: pointer;
  accent-color: var(--primary);
}

/* Calendar Diary */
.calendar-grid {
  display: flex;
  overflow-x: auto;
  gap: 12px;
  padding: 6px 2px 14px;
  margin-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.calendar-grid::-webkit-scrollbar {
  height: 6px;
}

.calendar-grid::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

.cal-day {
  background: rgba(255, 255, 255, 0.9);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 10px;
  min-width: 145px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

[data-theme="dark"] .cal-day {
  background: rgba(255, 255, 255, 0.05);
}

.cal-day:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.cal-date {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--primary-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

[data-theme="dark"] .cal-date {
  color: #81c784;
}

.cal-day-num {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 10px;
  font-weight: 600;
}

.cal-slots-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.cal-slot {
  width: 100%;
  padding: 8px 6px;
  background: #fbfdfb;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

[data-theme="dark"] .cal-slot {
  background: rgba(255, 255, 255, 0.08);
}

.cal-slot:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}

.cal-slot.selected {
  background: var(--primary) !important;
  color: #fff !important;
  border-color: var(--primary-dark) !important;
  box-shadow: 0 2px 8px rgba(46, 125, 50, 0.4);
}

.selected-slot-banner {
  margin: 10px 0 16px;
  padding: 10px 14px;
  background: rgba(46, 125, 50, 0.08);
  border: 1.5px dashed var(--primary);
  border-radius: var(--radius-sm);
  font-weight: 700;
  color: var(--primary-dark);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

[data-theme="dark"] .selected-slot-banner {
  background: rgba(129, 199, 132, 0.12);
  color: #81c784;
  border-color: #81c784;
}

/* Clinical Risk Factor Grouping */
.risk-block {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-top: 12px;
}

[data-theme="dark"] .risk-block {
  background: rgba(255, 255, 255, 0.03);
}

.risk-cat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-dark);
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 12px;
}

[data-theme="dark"] .risk-cat-header {
  color: #81c784;
}

.risk-subgroup {
  margin-bottom: 14px;
}

.risk-subgroup:last-child {
  margin-bottom: 0;
}

.risk-subgroup-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.risk-disclaimer {
  font-size: 0.8rem;
  color: var(--accent);
  font-style: italic;
  margin: -4px 0 12px;
  line-height: 1.35;
  background: rgba(179, 64, 64, 0.06);
  padding: 6px 10px;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}

[data-theme="dark"] .risk-disclaimer {
  background: rgba(239, 83, 80, 0.1);
  color: #ff8a80;
  border-left-color: #ff8a80;
}

/* ===== SEO FAQ SECTION ===== */
.faq-section {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  background: var(--cream);
}

[data-theme="dark"] .faq-section {
  background: var(--primary-pale);
}

.faq-head {
  text-align: center;
  margin-bottom: 40px;
}

.faq-head h2 {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--dark);
  margin-bottom: 12px;
}

.faq-head p {
  color: var(--text-light);
  font-size: 0.95rem;
  max-width: 600px;
  margin: 0 auto;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all var(--transition);
}

.faq-item:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.faq-summary {
  padding: 20px 24px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  /* removes default arrow in most browsers */
}

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

.faq-summary svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item[open] .faq-summary svg {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 24px 24px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
  border-top: 1px solid rgba(46, 125, 50, 0.08);
  margin-top: 8px;
  padding-top: 16px;
}

.faq-content ul {
  padding-left: 20px;
  margin-top: 12px;
}

.faq-content li {
  margin-bottom: 8px;
}

.faq-content strong {
  color: var(--dark);
}

/* ===== FAQ CATEGORIES ===== */
.faq-category {
  margin-bottom: 36px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-dark);
  background: var(--primary-light);
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: 100px;
  padding: 6px 14px 6px 10px;
  margin-bottom: 14px;
}

.faq-cat-label svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Verdict banners inside FAQ items */
.faq-verdict {
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 14px;
}

.verdict-reassure {
  background: rgba(46, 125, 50, 0.09);
  color: var(--primary-dark);
  border-left: 3px solid var(--primary);
}

.verdict-info {
  background: rgba(25, 100, 200, 0.08);
  color: #1a4e8a;
  border-left: 3px solid #3a7bd5;
}

[data-theme="dark"] .verdict-reassure {
  background: rgba(46, 125, 50, 0.18);
  color: #88c98a;
}

[data-theme="dark"] .verdict-info {
  background: rgba(58, 123, 213, 0.15);
  color: #88b0e8;
}

[data-theme="dark"] .faq-cat-label {
  background: rgba(46, 125, 50, 0.15);
  border-color: rgba(46, 125, 50, 0.3);
  color: #88c98a;
}

.faq-summary span {
  flex: 1;
  text-align: left;
}

.faq-grid {
  max-width: 860px;
}

/* ===== MOBILE OVERRIDES ===== */
@media (max-width: 768px) {

  /* Hide the action buttons in the top navbar on mobile to save space */
  .nav-right .btn {
    display: none !important;
  }

}

/* ===== MARQUEE CREDENTIALS ===== */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.creds-row.marquee-content {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 16px;
  animation: scroll-marquee 25s linear infinite;
  margin-top: 6px;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

.marquee-content .cred {
  flex: 0 0 auto;
  white-space: normal;
  width: 160px;
}

.creds-row.marquee-content:hover {
  animation-play-state: paused;
}

/* ===== SWIPEABLE CARDS (ALL DEVICES) ===== */
.reviews-track,
.wgos-grid,
.team-grid,
.press-track {
  display: flex !important;
  flex-wrap: nowrap;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  gap: 24px !important;
  padding-bottom: 24px;
  padding-left: 24px;
  padding-right: 24px;
  margin-left: -24px;
  margin-right: -24px;
}

.reviews-track {
  padding-bottom: 12px !important;
}

.reviews-track::-webkit-scrollbar,
.wgos-grid::-webkit-scrollbar,
.team-grid::-webkit-scrollbar,
.press-track::-webkit-scrollbar {
  display: none;
}

.rev-card,
.wgos-card,
.team-card,
.press-card {
  flex: 0 0 85% !important;
  scroll-snap-align: center;
  max-width: none !important;
}

@media (min-width: 769px) {

  .rev-card,
  .wgos-card,
  .team-card,
  .press-card {
    flex: 0 0 350px !important;
    scroll-snap-align: start;
  }
}

/* Center single card when only one clinician is active */
.team-grid:has(> .team-card:only-child) {
  justify-content: center;
}

@media (min-width: 769px) {
  .team-grid:has(> .team-card:only-child) .team-card {
    flex: 0 0 460px !important;
  }
}

/* ===== MOBILE ONLY HIDE FOOTER LOGO ===== */
@media (max-width: 768px) {
  .site-footer .logo {
    display: none;
  }
}

/* ===== HORIZONTAL TICKABLE CHIP LISTS (referral form) ===== */
.chip-hint {
  font-size: .75rem;
  color: var(--text-light);
  margin: 0 0 8px;
}

.chip-scroll {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--primary) transparent;
}

.chip-scroll .cb-label {
  flex: 0 0 auto;
  white-space: nowrap;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px;
  background: rgba(255, 255, 255, 0.75);
  scroll-snap-align: start;
  transition: background .2s ease, border-color .2s ease;
}

.chip-scroll .cb-label:has(input:checked) {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* ===== DARK MODE: ALL SURFACES DARK, TEXT LIGHT (low visual stress) ===== */
/* Body was hard-coded white, so any section without its own dark rule stayed white */
[data-theme="dark"] body {
  background: #000000;
  background-image: none;
}

/* Ghost buttons (e.g. "Practitioner? Refer a patient"): dark grey + very light green */
[data-theme="dark"] .btn-ghost {
  background: #1c211d;
  color: #d4f1d8;
  border-color: rgba(190, 235, 198, 0.22);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

[data-theme="dark"] .btn-ghost:hover {
  background: #262d28;
  color: #eafff0;
  border-color: #81c784;
  box-shadow: 0 0 10px rgba(129, 199, 132, .18);
}

/* "Recognised & trusted by" ticker */
[data-theme="dark"] .creds-strip {
  background: #0c0f0d;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

[data-theme="dark"] .cred-name {
  color: #e3f5e6;
}

[data-theme="dark"] .cred-sub {
  color: #a3c4a6;
}

[data-theme="dark"] .hpc-photo-wrap {
  background: #151a16;
}

[data-theme="dark"] .contact-item {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .contact-item.emergency {
  background: rgba(239, 83, 80, 0.10);
}

[data-theme="dark"] .wgos-tip,
[data-theme="dark"] .team-area-badge {
  background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .team-img-wrap {
  background: linear-gradient(135deg, #151a16 0%, #1a1414 100%);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

/* Form fields: dark fill, light text */
[data-theme="dark"] .custom-form input,
[data-theme="dark"] .custom-form select,
[data-theme="dark"] .custom-form textarea {
  background: #141815;
  color: #e3f5e6;
  border-color: rgba(190, 235, 198, 0.22);
}

[data-theme="dark"] .custom-form ::placeholder {
  color: #7f9a82;
}

[data-theme="dark"] .chip-scroll .cb-label {
  background: #141815;
}

[data-theme="dark"] .chip-scroll .cb-label:has(input:checked) {
  background: rgba(102, 187, 106, 0.20);
  border-color: var(--primary);
}

/* Text-size widget: dark dial with light text */
[data-theme="dark"] .a11y-dial {
  background: #1a1a1a;
  border-color: #cfe9d2;
}

[data-theme="dark"] .a11y-btn {
  background: #1a1a1a;
  color: #e3f5e6;
}

[data-theme="dark"] .a11y-btn+.a11y-btn {
  border-left-color: #cfe9d2;
}

[data-theme="dark"] .a11y-label {
  background: #cfe9d2;
  color: #111;
}