@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #0b1a2d;
  --muted: #5b6f85;
  --accent: #0fb57a;
  --accent-dark: #0c8f64;
  --purple: #5b5af6;
  --surface: #f6fbff;
  --surface-strong: #ffffff;
  --line: #dce6f5;
  --shadow: 0 24px 70px rgba(12, 26, 45, 0.12);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --container-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #f8fbf6;
  line-height: 1.7;
  cursor: url('data:image/svg+xml,%3Csvg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\"%3E%3Cpath fill=\"%230fb57a\" d=\"M3 2l14 10-6.2 1.6-1.6 6.2-6.2-17.8z\"/%3E%3C/svg%3E') 0 0, auto;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

a,
button,
.btn,
input[type='button'],
input[type='submit'],
input[type='reset'],
label {
  cursor: pointer;
}

input[type='text'],
input[type='email'],
input[type='tel'],
textarea {
  cursor: text;
}

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

a:hover {
  color: var(--accent-dark);
}

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

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 3px solid rgba(91, 90, 246, 0.35);
  outline-offset: 2px;
}

.muted {
  color: var(--muted);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--accent);
  color: var(--surface-strong);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  z-index: 10;
}

.skip-link:focus {
  left: 10px;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

html {
  width: 100%;
  overflow-x: hidden;
}

.section {
  padding: 90px 0;
  background: transparent;
}

.section-contrast {
  background: #eef7f0;
  backdrop-filter: blur(8px);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--accent-dark);
  text-decoration: none;
  position: relative;
}

.text-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(120deg, var(--accent), var(--purple));
  opacity: 0.5;
  transform: scaleX(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.text-link:hover {
  color: var(--ink);
}

.text-link:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: var(--ink);
  line-height: 1.15;
  font-weight: 600;
}

h1 {
  font-size: clamp(2.6rem, 3vw, 3.4rem);
  margin: 12px 0 18px;
}

h2 {
  font-size: clamp(2rem, 2.6vw, 2.8rem);
  margin: 12px 0 16px;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.lede {
  font-size: 1.08rem;
  color: var(--muted);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent !important;
  backdrop-filter: none;
  border-bottom: none;
  box-shadow: none;
}

.topbar.scrolled {
  background: rgba(7, 18, 14, 0.92) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.topbar .container {
  max-width: 100%;
  padding: 16px 24px;
}

.topbar,
.nav-wrap {
  background: transparent !important;
}

.nav-wrap {
  display: flex;
  justify-content: flex-start;
  gap: 16px;
  padding: 24px 0 14px;
  align-items: center;
  background: transparent;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  margin-right: 8px;
}

.brand-logo-img {
  height: 40px;
  width: 40px;
  display: block;
  object-fit: contain;
  border-radius: 8px;
  flex-shrink: 0;
}

.brand-logo-text {
  font-family: 'Plus Jakarta Sans', 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f6fff6;
}

.topbar.scrolled .brand-logo-text {
  color: #ffffff;
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 0.98rem;
  font-weight: 500;
  flex-wrap: nowrap;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 12px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  color: #ffffff;
  position: relative;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  opacity: 0.85;
  transition: transform 0.15s ease, opacity 0.15s ease;
  margin-left: 8px;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(-135deg) translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 184px;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 6px;
  border-radius: 10px;
  background: rgba(7, 18, 14, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.24);
  z-index: 130;
}

.nav-dropdown.open .nav-dropdown-menu {
  display: flex;
}

@media (min-width: 901px) {
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu {
    display: flex;
  }

  .nav-dropdown:hover .nav-dropdown-toggle::after,
  .nav-dropdown:focus-within .nav-dropdown-toggle::after {
    transform: rotate(-135deg) translateY(-1px);
  }
}

.nav-dropdown-item {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: #ffffff;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.95rem;
  line-height: 1.2;
}

.nav-dropdown-item:hover {
  background: rgba(36, 208, 122, 0.16);
  border-color: rgba(36, 208, 122, 0.3);
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.topbar.scrolled .nav-link {
  color: #ffffff;
  background: transparent;
}

.topbar.scrolled .nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.topbar.scrolled .nav-link:not(.nav-dropdown-toggle)::after {
  background: #22c55e;
}

.nav-link:not(.nav-dropdown-toggle)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 4px;
  border-radius: 999px;
  background: #24d07a;
  opacity: 0;
  transform: scaleX(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.nav-link:not(.nav-dropdown-toggle):hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-btn {
  padding: 10px 14px;
}

.mobile-menu-toggle {
  display: none;
  background: linear-gradient(120deg, var(--accent), var(--purple));
  color: var(--surface-strong);
  border: none;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 700;
}

.hero {
  padding: 160px 0 160px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  max-width: 1200px;
  padding-left: 80px;
  padding-right: 24px;
}

.hero-full {
  min-height: 100vh;
  background-image: url('nurse-therapy-session-addressing-trauma-post-traumatic-stress-from-career.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-full::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(1, 15, 8, 0.85) 0%, rgba(3, 35, 18, 0.78) 35%, rgba(5, 45, 24, 0.62) 55%, rgba(10, 55, 30, 0.45) 70%, rgba(20, 60, 35, 0.25) 88%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: start;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #f6fff6;
  padding-top: 12px;
  padding-left: 24px;
}

.hero-content h1 {
  font-size: clamp(3.2rem, 5.4vw, 4.6rem);
  margin-bottom: 24px;
  line-height: 1.05;
}

.hero .lede {
  max-width: 720px;
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 400;
  margin-bottom: 32px;
}

.hero-justify-text {
  text-align: justify;
  text-justify: inter-word;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 181, 122, 0.14);
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.9rem;
}

.cta-group {
  display: flex;
  gap: 12px;
  margin-top: 26px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 12px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.solid {
  background: #0b3c32;
  background-color: #0b3c32;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 30px rgba(11, 60, 50, 0.35);
  opacity: 1;
}

.btn.solid:hover {
  background: #0e4f42;
}

.topbar .btn.nav-btn.solid {
  background: #0b3c32 !important;
  border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 20px rgba(11, 60, 50, 0.3) !important;
}

.topbar.scrolled .btn.solid {
  background: #0b3c32;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 20px rgba(11, 60, 50, 0.28);
}
.nav-right {
  display: inline-flex;
  gap: 18px;
  align-items: center;
  margin-left: 24px;
  flex-wrap: wrap;
}

.nav-right .nav-link {
  background: rgba(235, 238, 238, 0.9);
  color: #0b1a2d;
  border: 1px solid rgba(12, 26, 45, 0.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
  font-weight: 600;
}

.nav-right .nav-link:hover {
  background: rgba(235, 238, 238, 1);
  color: #0b1a2d;
}

.btn.ghost {
  border-color: rgba(12, 26, 45, 0.12);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(12, 26, 45, 0.14);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.chip {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(220, 230, 245, 0.9);
  padding: 12px 14px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(12, 26, 45, 0.08);
  display: grid;
  gap: 4px;
}

.stat-number {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.35rem;
  color: var(--ink);
  font-weight: 700;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

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

.hero-full .hero-visual {
  display: none;
}

.hero-full h1 {
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  font-size: clamp(3rem, 5vw, 4.2rem);
  color: #f6fff6;
  line-height: 1.1;
}

.hero-full .lede {
  max-width: 640px;
  font-size: 1.25rem;
  color: #eaf7ec;
  font-weight: 400;
  line-height: 1.5;
}

.hero-full .cta-group {
  margin-top: 34px;
}

.hero-full .hero-cta {
  background: #0b3c32;
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(11, 60, 50, 0.35);
  border: none;
}

.hero-full .hero-cta:hover {
  background: #0e4f42;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(11, 60, 50, 0.4);
}

.hero-full .hero-stats {
  display: none;
}

.hero-media {
  display: none;
}

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, rgba(91, 90, 246, 0.16), rgba(15, 181, 122, 0.16));
  box-shadow: var(--shadow);
}

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

.floating-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(220, 230, 245, 0.9);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  align-items: center;
  box-shadow: 0 16px 40px rgba(12, 26, 45, 0.18);
}

.floating-badge p {
  margin: 2px 0 0;
  color: var(--muted);
}

.hero-card {
  background: rgba(10, 24, 32, 0.7);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
  color: #e8f6ef;
}

.glass {
  background: rgba(8, 20, 28, 0.7);
  backdrop-filter: blur(6px);
}

.hero-card h3,
.hero-card p,
.hero-card .stat-number,
.hero-card .stat-label,
.hero-card .eyebrow {
  color: #e8f6ef;
}

.check-item {
  color: #dbe9e1;
}

.checklist {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.check-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  color: var(--muted);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(120deg, var(--accent), var(--purple));
  display: inline-flex;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
}

.mini-stat {
  padding: 12px;
  border-radius: 12px;
  background: rgba(91, 90, 246, 0.06);
  border: 1px solid rgba(91, 90, 246, 0.18);
}

.trusted {
  padding: 70px 0;
  background: linear-gradient(180deg, #f6fff9 0%, #eefbf5 100%);
}

.trusted-full {
  padding: 90px 0 48px;
}

.trusted-inner {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 24px 0 0;
  box-shadow: none;
  text-align: center;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}

.mint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.mint-card {
  background: #e9fff3;
  border: none;
  border-radius: 17px;
  padding: 28px 24px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--primary);
}

.mint-card h3 {
  margin: 0 0 8px;
}

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

/* Fixed-height icon zone — keeps titles aligned across all cards */
.mint-icon {
  height: 180px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 2rem;
  line-height: 1;
}

.mint-icon img {
  width: 60px;
  height: 60px;
  display: block;
}

.no-procedure-card {
  /* inherits flex centering from .mint-card */
}

.no-procedure-card .mint-icon {
  align-items: center;
  justify-content: center;
  width: 189px;
  height: 180px;
  background: transparent;
  border: 2px solid #c4e8d8;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  overflow: hidden;
}

.no-procedure-card .mint-icon img {
  width: 189px;
  height: 180px;
  margin: 0;
  object-fit: cover;
  border-radius: 22px;
  border: none;
  background: transparent;
  box-shadow: none;
}

.no-drug-card .mint-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
}

.trusted-inner h2 {
  margin-bottom: 34px;
  font-size: clamp(2.2rem, 2.6vw, 2.6rem);
  white-space: nowrap;
}

.spravato-highlight {
  position: relative;
  max-width: 1100px;
  margin: 32px auto 32px;
  padding: 14px 26px;
  border-radius: 16px;
  text-align: left;
  background: #f5fbfc;
  border: 1.5px solid #caedf4;
  box-shadow: 0 6px 24px rgba(56, 178, 192, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.spravato-highlight::before,
.spravato-highlight::after {
  display: none;
}

/* Sparkles */
.cs-spark {
  position: absolute;
  pointer-events: none;
  font-style: normal;
  line-height: 1;
}

.cs-spark-1 { top: 14px;  left: 22%;  font-size: 1.1rem; color: #fbbf24; animation: csSpark 2.2s ease-in-out infinite; }
.cs-spark-2 { top: 10px;  right: 20%; font-size: 0.75rem; color: #5dd4e0; animation: csSpark 2.2s ease-in-out infinite 0.5s; }
.cs-spark-3 { bottom: 12px; left: 30%; font-size: 0.9rem; color: #fbbf24; animation: csSpark 2.2s ease-in-out infinite 1s; }
.cs-spark-4 { bottom: 10px; right: 16%; font-size: 1.3rem; color: #5dd4e0; animation: csSpark 2.2s ease-in-out infinite 1.5s; }
.cs-spark-5 { top: 44%;  right: 10%; font-size: 0.65rem; color: #fbbf24; animation: csSpark 2.2s ease-in-out infinite 0.8s; }

@keyframes csSpark {
  0%, 100% { opacity: 1;   transform: scale(1)    rotate(0deg); }
  50%       { opacity: 0.3; transform: scale(0.65) rotate(25deg); }
}

/* Inner layout — 4 items in a row */
.spravato-highlight-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Rocket image */
.cs-ufo-wrap {
  flex: 0 0 90px;
}

.cs-ufo-svg {
  width: 90px;
  height: 95px;
  display: block;
  object-fit: contain;
  animation: ufoFloat 3.2s ease-in-out infinite;
}

@keyframes ufoFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-7px); }
}

/* Coming Soon script */
.cs-script-text {
  flex: 0 0 auto;
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.08;
  color: #38b2c0;
  margin: 0;
  text-shadow: 1px 2px 0 rgba(56, 178, 192, 0.15);
  white-space: nowrap;
}

/* Vertical divider */
.cs-vdivider {
  flex: 0 0 1px;
  align-self: stretch;
  background: #b2e4eb;
  margin: 4px 4px;
}

/* Drug info */
.cs-info {
  flex: 1 1 0;
  min-width: 0;
}

.cs-subtitle {
  margin: 0 0 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #0b7d8a;
}

.cs-desc {
  margin: 0;
  font-size: 0.84rem;
  color: #546e7a;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .spravato-highlight {
    padding: 14px 16px;
  }
  .cs-ufo-wrap {
    flex: 0 0 60px;
  }
  .cs-ufo-svg {
    width: 60px;
    height: 63px;
  }
  .cs-script-text {
    white-space: normal;
    font-size: 1.3rem;
  }
  .cs-vdivider {
    display: none;
  }
  .cs-spark-3, .cs-spark-4, .cs-spark-5 {
    display: none;
  }
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.8);
  border-radius: 18px;
  padding: 22px 20px 20px;
  box-shadow: 0 4px 18px rgba(12, 26, 45, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.feature-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  border-radius: 18px 18px 0 0;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(12, 26, 45, 0.13);
  border-color: rgba(15, 181, 122, 0.25);
}

.feature-card:hover::after {
  opacity: 1;
}

.feature-card h3 {
  min-height: 3em;
  line-height: 1.35;
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink);
}

.feature-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(91, 90, 246, 0.14);
  color: #3b3aaa;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.list {
  display: grid;
  gap: 8px;
  color: var(--muted);
  margin-top: 12px;
}

.list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.list li::before {
  content: '*';
  color: var(--accent);
  font-weight: 900;
}

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

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill-group .pill {
  background: rgba(91, 90, 246, 0.1);
  color: var(--ink);
}

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

.metric-card {
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid rgba(220, 230, 245, 0.95);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 34px rgba(12, 26, 45, 0.08);
  display: grid;
  gap: 4px;
}

.align-center {
  align-items: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 22px;
  border: 1px solid rgba(220, 230, 245, 0.9);
  box-shadow: 0 14px 40px rgba(12, 26, 45, 0.08);
}

.impact-panel {
  background: linear-gradient(120deg, #1f7a63, #1a6f5a);
  color: #e8f6ef;
  border-radius: 18px;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
  display: grid;
  gap: 22px;
}

.impact-panel h2,
.impact-panel p {
  color: #e8f6ef;
}

.impact-header p {
  font-size: 1.05rem;
}

.impact-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  align-items: center;
}

.impact-metric {
  display: grid;
  gap: 6px;
  padding: 12px 0;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 16px;
}

.impact-metric:first-child {
  border-left: none;
  padding-left: 0;
}

.impact-number {
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 700;
  color: #87f2a5;
}

.impact-label {
  color: #e8f6ef;
  font-size: 1.05rem;
}

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

.panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 18px;
  padding: 28px;
  border: 1px solid rgba(220, 230, 245, 0.9);
  box-shadow: 0 18px 50px rgba(12, 26, 45, 0.1);
}

.panel.highlight {
  background: linear-gradient(120deg, rgba(15, 181, 122, 0.12), rgba(91, 90, 246, 0.12));
  border-color: rgba(91, 90, 246, 0.2);
}

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

.form-group label {
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-strong);
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

.form-status {
  margin-top: 8px;
  font-weight: 600;
  color: var(--muted);
}

.form-status.success {
  color: var(--accent-dark);
}

.form-status.error {
  color: #b91c1c;
}

.contact-overview-section {
  padding-top: 42px;
  padding-bottom: 42px;
}

.contact-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 0;
  align-items: stretch;
  background: linear-gradient(160deg, #f2f8f4 0%, #eaf4ef 100%);
  border: 1px solid #cfe3d8;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(12, 26, 45, 0.1);
}

.contact-overview-left {
  padding: 34px 30px;
  background: transparent;
  border: 0;
  border-right: 1px solid #d3e5db;
  box-shadow: none;
  border-radius: 0;
}

.contact-overview-left h2 {
  margin: 0 0 22px;
  font-size: clamp(1.8rem, 2.8vw, 2.35rem);
  letter-spacing: -0.02em;
}

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

.contact-method-item {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 10px;
  align-items: center;
}

.contact-method-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e3f6ec;
  color: #0d8f62;
  border: 1px solid #c9e8da;
}

.contact-method-icon svg {
  width: 22px;
  height: 22px;
}

.contact-method-label {
  margin: 0 0 2px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-method-value {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
}

.contact-method-value a {
  color: inherit;
}

.contact-locations-block {
  margin-top: 22px;
  border-top: 1px solid #d7e7df;
  padding-top: 18px;
}

.contact-locations-title {
  margin: 0 0 6px;
  color: #0d8f62;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.contact-locations-line {
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--ink);
}

.contact-locations-address {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.5;
}

.contact-working-time {
  margin-top: 18px;
  background: #edf7f2;
  border: 1px solid #d2e7db;
  border-radius: 16px;
  padding: 16px 14px;
}

.contact-working-time h3 {
  margin: 0 0 8px;
  font-size: 1.9rem;
  line-height: 1.1;
}

.contact-working-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1rem;
  color: var(--ink);
  line-height: 1.35;
  padding: 9px 0;
  border-bottom: 1px solid #d3e5dd;
}

.contact-working-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-working-row span:last-child {
  font-weight: 700;
  text-align: right;
}

.contact-overview-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-overview-map {
  padding: 0;
  overflow: hidden;
  border: 0;
  border-left: 1px solid #d3e5db;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  min-height: 640px;
}

.contact-overview-map iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
}

.contact-request-panel {
  max-width: 760px;
  margin-inline: auto;
}

.contact-request-section {
  padding-top: 12px;
}

@media (max-width: 1100px) {
  .contact-overview-grid {
    grid-template-columns: 1fr;
  }

  .contact-overview-left {
    border-right: 0;
    border-bottom: 1px solid #d3e5db;
  }

  .contact-overview-map,
  .contact-overview-map iframe {
    border-left: 0;
    min-height: 420px;
  }
}

@media (max-width: 700px) {
  .contact-method-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .contact-working-time h3 {
    font-size: 1.3rem;
  }

  .contact-working-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-working-row span:last-child {
    text-align: left;
  }
}

.new-patient-page {
  background: #f8fbf6;
}

.new-patient-hero {
  padding: 140px 0 52px;
  background: #eef7f0;
  border-bottom: 1px solid var(--line);
}

.new-patient-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.new-patient-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.8vw, 3.15rem);
  line-height: 1.1;
  color: var(--ink);
}

.new-patient-breadcrumb {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.96rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.new-patient-breadcrumb a {
  color: var(--accent-dark);
}

.new-patient-actions {
  padding-top: 28px;
  padding-bottom: 34px;
  background: transparent;
}

.new-patient-card-shell {
  background: transparent;
  border-radius: 0;
  padding: 0;
  border: none;
  box-shadow: none;
}

.new-patient-action-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.new-patient-action {
  position: relative;
  background: linear-gradient(165deg, #ffffff, #f4faf7);
  border-radius: 20px;
  padding: 24px 18px 20px;
  text-align: center;
  border: 1px solid #d4e6dc;
  min-height: 188px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 4px;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.new-patient-action,
.new-patient-action:hover {
  color: inherit;
  text-decoration: none;
}

.new-patient-action:hover {
  background: #2ddc7a;
  color: #0b1a2d;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.new-patient-action.is-active {
  background: #2ddc7a;
  color: #0b1a2d;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.new-patient-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: #0e8d64;
  background: #e4f4ec;
  border: 1px solid #c8e6d7;
}

.new-patient-icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.new-patient-action.cancel .new-patient-icon {
  color: #0b7f68;
  background: #e1f2ee;
  border-color: #c0dfd8;
}

.new-patient-action.reschedule .new-patient-icon {
  color: #0e8d64;
  background: #e4f4ec;
  border-color: #c8e6d7;
}

.new-patient-action:hover .new-patient-icon {
  color: #0b1a2d;
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.35);
}

.new-patient-action.is-active .new-patient-icon {
  color: #0b1a2d;
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.new-patient-action h3 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.4vw, 1.35rem);
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.new-patient-action p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.3;
}

.new-patient-action:hover h3,
.new-patient-action:hover p,
.new-patient-action.is-active h3,
.new-patient-action.is-active p {
  color: #0b1a2d;
}

.new-patient-form-wrap {
  padding-top: 16px;
  padding-bottom: 72px;
  background: transparent;
}

.new-patient-form-wrap .container,
.existing-request-wrap .container {
  max-width: 780px;
}

#new-patient-form,
#cancel-appointment-form,
#existing-request-form,
#existing-refill-form,
#existing-cancel-form,
#existing-billing-form,
#reschedule-appointment-info,
#existing-reschedule-appointment-info,
#approved-insurances-info {
  scroll-margin-top: 110px;
}

.new-patient-form-panel {
  background: #eaf5ef;
  border-radius: 22px;
  border: 1px solid #cfe4d8;
  padding: 26px 24px;
  box-shadow: 0 16px 30px rgba(12, 26, 45, 0.14);
}

.new-patient-form-panel h2 {
  margin: 0 0 18px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

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

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

.new-patient-field {
  display: grid;
  gap: 6px;
}

.new-patient-field label {
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}

.new-patient-field input,
.new-patient-field select,
.new-patient-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  color: var(--ink);
  padding: 11px 13px;
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.new-patient-field input,
.new-patient-field select {
  border-radius: 14px;
}

.new-patient-field textarea {
  border-radius: 22px;
  min-height: 140px;
  resize: vertical;
}

.new-patient-field input:focus,
.new-patient-field select:focus,
.new-patient-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 181, 122, 0.16);
  outline: none;
}

.new-patient-field.field-full {
  grid-column: 1 / -1;
}

.new-patient-actions-row {
  margin-top: 8px;
}

.cancel-disclaimer {
  margin-top: 4px;
  color: #dc2626;
  font-size: 0.9rem;
  line-height: 1.35;
}

.reschedule-wrap {
  padding-top: 44px;
  padding-bottom: 80px;
}

.reschedule-panel {
  min-height: 420px;
  border-radius: 18px;
  border: 1px solid #d2e5da;
  background: #eaf5ef;
  box-shadow: 0 14px 30px rgba(12, 26, 45, 0.08);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  padding: 34px 24px;
  gap: 24px;
}

.reschedule-panel p {
  margin: 0;
  max-width: 860px;
  font-size: clamp(1.1rem, 1.95vw, 2rem);
  line-height: 1.18;
  font-weight: 800;
  color: #ef1d1d;
}

.reschedule-panel a {
  color: #1f9f91;
}

.reschedule-panel a:hover {
  color: #0e8d64;
}

.existing-reschedule-panel {
  justify-items: start;
  text-align: left;
  padding: 34px clamp(24px, 8vw, 78px);
}

.existing-reschedule-panel p {
  max-width: 760px;
}

.refill-actions-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.refill-note {
  margin: 0;
  color: #ef4444;
  font-size: 0.84rem;
}

.insurance-page-wrap {
  padding-top: 24px;
  padding-bottom: 72px;
}

.insurance-page-panel {
  background: #eef7f2;
  border: 1px solid #d4e6dc;
  border-radius: 18px;
  padding: 28px 20px 24px;
}

.insurance-intro {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.98rem;
}

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

.insurance-card {
  border-radius: 18px;
  border: 1px solid #cfe3d8;
  background: #f9fffb;
  padding: 20px 16px 16px;
}

.insurance-card-alt {
  background: #e7f3ed;
}

.insurance-card h2 {
  margin: 0 0 12px;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  text-align: center;
  color: #0e8d64;
}

.insurance-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.insurance-list li {
  position: relative;
  padding-left: 20px;
  color: #24384d;
  font-size: 0.96rem;
  line-height: 1.3;
}

.insurance-list li::before {
  content: "\25cb";
  position: absolute;
  left: 0;
  top: 1px;
  color: #f59e0b;
  font-size: 0.9rem;
}

.insurance-footnote {
  margin: 18px 0 0;
  color: #304a61;
  font-size: 0.95rem;
}
.insurance-note {
  display: block;
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 400;
}

.intake-forms-wrap {
  padding-top: 24px;
  padding-bottom: 72px;
}

.intake-forms-panel {
  background: #eef7f2;
  border: 1px solid #d4e6dc;
  border-radius: 22px;
  padding: 48px 22px;
}

/* ── Intake Download UI ── */
.intake-download-wrap {
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #d4e6dc;
  border-radius: 20px;
  padding: 36px 40px;
  box-shadow: 0 8px 32px rgba(12, 26, 45, 0.07);
}

.intake-download-header {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 32px;
}

.intake-dl-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #eef7f2;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}

.intake-dl-icon svg {
  width: 26px;
  height: 26px;
}

.intake-dl-title {
  margin: 0 0 6px;
  font-size: 1.3rem;
  color: var(--ink);
}

.intake-dl-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}

.intake-download-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-end;
}

.intake-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 200px;
  min-width: 180px;
}

.intake-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.intake-select-wrap {
  position: relative;
}

.intake-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  pointer-events: none;
}

.intake-select {
  width: 100%;
  padding: 11px 36px 11px 14px;
  border: 1.5px solid #d4e6dc;
  border-radius: 10px;
  font-size: 0.92rem;
  font-family: inherit;
  color: var(--ink);
  background: #f9fdfb;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  outline: none;
}

.intake-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(15, 181, 122, 0.15);
}

.intake-btn-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  font-size: 0.92rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.intake-btn-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.intake-selected-preview {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  padding: 10px 14px;
  background: #eef7f2;
  border-radius: 9px;
  font-size: 0.85rem;
  color: var(--accent-dark);
  font-weight: 500;
}

.intake-selected-preview svg {
  flex-shrink: 0;
}

.intake-section {
  /* section wrapper */
}

.intake-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0e8d64;
  margin: 0 0 20px 22px;
}

.intake-section-divider {
  height: 1px;
  background: #d4e6dc;
  margin: 36px 0;
}

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

.intake-forms-grid-center {
  display: flex;
  justify-content: center;
}

.intake-forms-grid-center .intake-form-col {
  border-left: none;
  width: 100%;
  max-width: 50%;
}

.intake-form-col {
  padding: 0 22px;
  display: flex;
  justify-content: center;
}

.intake-form-col + .intake-form-col {
  border-left: 1px solid #d5e3dc;
}

.intake-form-card {
  width: 100%;
  max-width: 430px;
  min-height: 236px;
  border-radius: 24px;
  border: 1px solid #d4e6dc;
  background: linear-gradient(165deg, #ffffff, #f4faf7);
  padding: 28px 20px 24px;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.intake-form-card-link,
.intake-form-card-link:hover {
  color: inherit;
  text-decoration: none;
}

.intake-form-icon {
  width: auto;
  height: auto;
  background: transparent;
  color: #0e8d64;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  line-height: 0;
}

.intake-form-icon svg {
  width: 46px;
  height: 46px;
  display: block;
}

.intake-form-icon .icon-fill {
  fill: currentColor;
}

.intake-form-icon .icon-cut {
  fill: #ffffff;
}

.intake-form-card h2 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.4vw, 1.32rem);
  line-height: 1.2;
}

.intake-form-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.intake-form-card:hover {
  background: #2ddc7a;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.intake-form-card:hover h2,
.intake-form-card:hover p {
  color: #0b1a2d;
}

.intake-form-card:hover .intake-form-icon {
  color: #0b1a2d;
}

.btn.new-patient-submit {
  background: #2ddc7a;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  color: #0b1a2d;
}

.btn.new-patient-submit:hover {
  background: #28cf72;
}

.existing-patient-page {
  background: #f8fbf6;
}

.existing-hero {
  position: relative;
  padding: 140px 0 52px;
  background: #eef7f0;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.existing-hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.existing-hero h1 {
  margin: 0;
  font-size: clamp(1.95rem, 3.7vw, 3.1rem);
  letter-spacing: -0.03em;
}

.existing-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 600;
}

.existing-breadcrumb a {
  color: var(--accent-dark);
}

.existing-breadcrumb span:last-child {
  color: var(--muted);
}

.existing-actions {
  padding-top: 28px;
  padding-bottom: 34px;
  background: transparent;
}

.existing-actions .container {
  margin-top: 0;
}

.existing-actions-shell {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
}

.existing-actions-column {
  display: grid;
  gap: 20px;
  padding: 0;
}

.existing-actions-column + .existing-actions-column {
  border-left: none;
}

.existing-action-card {
  min-height: 188px;
  border-radius: 20px;
  border: 1px solid #d4e6dc;
  background: linear-gradient(165deg, #ffffff, #f4faf7);
  padding: 24px 18px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.existing-action-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: #e4f4ec;
  color: #0e8d64;
  border: 1px solid #c8e6d7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.existing-action-icon svg {
  width: 36px;
  height: 36px;
}

.existing-action-card h2 {
  margin: 0 0 4px;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.existing-action-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.3;
}

.existing-action-card:hover {
  background: #2ddc7a;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.existing-action-card:hover .existing-action-icon {
  color: #0b1a2d;
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.35);
}

.existing-action-card:hover h2,
.existing-action-card:hover p {
  color: #0b1a2d;
}

.existing-action-link,
.existing-action-link:hover {
  color: inherit;
  text-decoration: none;
}

.existing-request-wrap {
  padding-top: 16px;
  padding-bottom: 72px;
}

.existing-request-panel {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.existing-request-panel .new-patient-form-panel {
  background: #eaf5ef;
  border: 1px solid #cfe4d8;
  border-radius: 22px;
  box-shadow: 0 16px 30px rgba(12, 26, 45, 0.14);
  padding: 26px 24px;
}

.existing-request-panel .new-patient-form-panel h2 {
  margin-bottom: 18px;
}

.btn.existing-request-submit {
  background: #2ddc7a;
  color: #0b1a2d;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.btn.existing-request-submit:hover {
  background: #28cf72;
}

@media (max-width: 1100px) {
  .existing-actions-column {
    gap: 16px;
  }

  .existing-action-card {
    min-height: 176px;
  }

  .existing-action-card h2 {
    font-size: clamp(0.98rem, 1.9vw, 1.18rem);
  }

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

  .intake-form-col {
    padding: 0 14px;
  }
}

@media (max-width: 900px) {
  .existing-hero {
    padding-top: 118px;
    padding-bottom: 38px;
  }

  .existing-hero-inner {
    flex-direction: column;
    gap: 12px;
  }

  .existing-breadcrumb {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .existing-actions-shell {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .existing-actions-column {
    gap: 16px;
  }

  .existing-actions-column + .existing-actions-column {
    border-left: 0;
    border-top: 0;
    padding-top: 0;
  }

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

  .insurance-page-panel {
    padding: 20px 14px;
  }

  .intake-forms-panel {
    padding: 20px 14px;
  }

  .intake-forms-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intake-form-col {
    padding: 0;
  }

  .intake-form-col + .intake-form-col {
    border-left: 0;
    border-top: 1px solid #d5dce8;
    padding-top: 16px;
  }

  .new-patient-form-panel,
  .existing-request-panel .new-patient-form-panel {
    border-radius: 18px;
    padding: 22px 16px;
  }
}

.final-cta .cta-banner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  align-items: center;
}

.cta-banner {
  background: linear-gradient(120deg, rgba(91, 90, 246, 0.12), rgba(15, 181, 122, 0.16));
  border: 1px solid rgba(220, 230, 245, 0.9);
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 18px 50px rgba(12, 26, 45, 0.1);
}

.final-cta-dark {
  background: #0d2438;
  padding-top: 80px;
  padding-bottom: 80px;
}

.cta-banner-dark {
  background: #0d2438;
  color: #e8f0f7;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.cta-banner-dark h2,
.cta-banner-dark p,
.cta-banner-dark .eyebrow {
  color: #e8f0f7;
}

.cta-banner-dark .cta-group {
  justify-content: center;
}

.btn.ghost.dark-ghost {
  color: #e8f0f7;
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.btn.ghost.dark-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.footer {
  background: linear-gradient(180deg, #081423 0%, #07192c 100%);
  color: rgba(255, 255, 255, 0.78);
  padding: 64px 0 36px;
  border-top: 3px solid var(--accent);
}

.footer .container {
  max-width: 1500px;
}

.footer a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.18s ease;
}

.footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.9fr) minmax(0, 1.5fr) minmax(0, 1.2fr);
  gap: 24px 36px;
  margin-bottom: 0;
  align-items: start;
}

.footer-grid > div {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}

/* Hide blurry logo image in footer — use text brand only */
.footer-brand img {
  display: none;
}

.footer-brand .brand-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.footer-title {
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-links {
  display: grid;
  gap: 11px;
  font-size: 0.88rem;
}

.footer-links a {
  transition: color 0.18s ease, padding-left 0.18s ease;
}

.footer-links a:hover {
  padding-left: 5px;
}

.footer-links > * {
  min-width: 0;
}

.footer-grid > div:nth-child(2) .footer-links a {
  white-space: normal;
}

.footer-grid > div:nth-child(3) .footer-links a {
  white-space: normal;
}

.footer-social {
  display: none;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 36px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

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

.footer-meta-social a {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(15, 181, 122, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-meta-social a:hover {
  background: var(--accent-dark);
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(15, 181, 122, 0.6);
}

.footer-meta-social img {
  width: 42px;
  height: 42px;
  display: block;
}

.footer-note {
  margin-top: 12px;
}

.footer-hours {
  font-size: 0.84rem;
  line-height: 1.5;
}

.footer-hours span {
  display: block;
}

.footer-hours span + span {
  margin-top: 8px;
}

.footer-contact span {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-contact {
  font-size: 0.84rem;
}

.footer-contact a,
.footer-contact span {
  display: block;
  overflow-wrap: break-word;
}

.footer-contact a[href^="mailto:"] {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 0.84rem;
}

.footer-note.small-print {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  line-height: 1.45;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  margin-top: 8px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (min-width: 1460px) {
  .footer-grid > div:nth-child(2) .footer-links a,
  .footer-grid > div:nth-child(3) .footer-links a {
    white-space: nowrap;
  }
}

@media (max-width: 1459px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px 24px;
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-hours span {
    white-space: normal;
  }

  .footer-social {
    justify-content: flex-start;
    padding-right: 0;
  }
}

@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > div:nth-child(5),
  .footer-grid > div:nth-child(6) {
    grid-column: auto;
  }
}

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

  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }

  .footer-social {
    justify-content: center;
  }
}

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

  .footer-grid > :first-child {
    grid-column: auto;
  }

  .footer-social {
    justify-content: flex-start;
  }
}

/* About hero layout */
.about-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: center;
}

.about-avatar {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: none;
  background: transparent;
  max-width: 340px;
  justify-self: end;
}

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

@media (max-width: 900px) {
  .about-hero-grid {
    grid-template-columns: 1fr;
  }

  .about-avatar {
    justify-self: start;
  }
}

/* About page: trim the large gap between the intro and the biography block.
   Uses .section.bio-section (specificity 0,2,0) so it also wins over the
   global mobile rule `@media { .section { padding: 72px 0 } }`. */
.section.bio-section {
  padding-top: 24px;
}

.bio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 24px;
  align-items: start;
}

.bio-card {
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.7);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.08);
}

.bio-card h2 {
  font-size: clamp(2.4rem, 3vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.bio-tiles {
  display: grid;
  gap: 16px;
}

.bio-tile {
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.7);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.bio-tile h3 {
  margin-bottom: 8px;
}

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

.about-office-section {
  background: linear-gradient(180deg, #edf7f1 0%, #e6f2eb 100%);
}

.about-office-section .section-header {
  justify-content: center;
  margin-bottom: 24px;
}

.about-office-section .section-header > div {
  text-align: center;
}

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

.office-gallery-card {
  margin: 0;
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.78);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(12, 26, 45, 0.08);
}

.office-gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.office-gallery-card figcaption {
  padding: 12px 14px 14px;
  font-weight: 600;
  color: var(--ink);
}

/* Office Map */
.office-map-section {
  margin-top: 60px;
}

.office-map-header {
  text-align: center;
  margin-bottom: 32px;
}

.office-map-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: stretch;
}

.office-map-wrap {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(12, 26, 45, 0.1);
  min-height: 400px;
}

.office-map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  display: block;
}

.office-map-details {
  background: #ffffff;
  border: 1px solid rgba(220, 230, 245, 0.8);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 14px 34px rgba(12, 26, 45, 0.07);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.office-map-detail-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.office-map-icon {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #eef7f2;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}

.office-map-icon svg {
  width: 20px;
  height: 20px;
}

.office-map-detail-item strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.office-map-detail-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.6;
}

.office-map-detail-item a {
  color: var(--accent-dark);
}

.office-map-cta {
  margin-top: auto;
  text-align: center;
  padding: 13px 20px;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .office-map-layout {
    grid-template-columns: 1fr;
  }
  .office-map-wrap,
  .office-map-wrap iframe {
    min-height: 300px;
  }
}

@media (max-width: 1100px) {
  .office-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .office-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.chat-toggle {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: none;
  background: #0b3c32;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.chat-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.chat-toggle svg {
  width: 28px;
  height: 28px;
  display: block;
}

.chatbox {
  position: fixed;
  right: 24px;
  bottom: 90px;
  width: 320px;
  max-width: calc(100% - 48px);
  background: #ffffff;
  border: 1px solid rgba(12, 26, 45, 0.08);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(12, 26, 45, 0.2);
  overflow: hidden;
  display: none;
  z-index: 120;
}

.chatbox.open {
  display: block;
}

.chatbox-header {
  padding: 14px 16px;
  background: #0b3c32;
  color: #e8f6ef;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.chatbox-brand {
  display: flex;
  gap: 10px;
  align-items: center;
}

.chatbox-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

.chatbox-header p {
  margin: 4px 0 0;
  color: #b9e7cb;
  font-size: 0.95rem;
}

.chatbox-close {
  background: none;
  border: none;
  color: #e8f6ef;
  font-size: 20px;
  cursor: pointer;
}

.chatbox-body {
  padding: 14px 16px 16px;
  display: grid;
  gap: 10px;
}

.chatbox-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  resize: vertical;
  min-height: 70px;
}

.chatbox-send {
  width: 100%;
}

.chatbox-status {
  margin-top: 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.chatbox-form input,
.chatbox-form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 10px 12px;
  resize: vertical;
}

.chatbox-form {
  display: grid;
  gap: 8px;
}

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

/* Appointment modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 16, 12, 0.45);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 160;
}

.modal-overlay.open {
  display: flex;
}

.appointment-modal {
  background: linear-gradient(180deg, #f1f7f3 0%, #e6f3eb 100%);
  border: 1px solid rgba(12, 26, 45, 0.06);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(12, 26, 45, 0.28);
  max-width: 640px;
  width: 100%;
  padding: 28px;
  position: relative;
}

.appointment-modal h2 {
  margin-top: 0;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}

.modal-close:hover {
  color: var(--ink);
}
.founder-section {
  padding: 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  min-height: 400px;
}

.founder-text {
  background: #0b3c32;
  color: #e8f6ef;
  padding: 48px;
  display: grid;
  gap: 18px;
}

.founder-text .eyebrow {
  color: #6ef0a0;
}

.founder-title {
  font-size: clamp(2.2rem, 3vw, 2.8rem);
  color: #ffffff;
  margin: 0;
}

.founder-quote {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e1f5ea;
}

.founder-meta {
  margin-top: 12px;
  font-weight: 700;
  color: #b9e7cb;
}

.founder-image {
  position: relative;
}

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

.gradient-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.8;
}

.blob-1 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(91, 90, 246, 0.3), transparent 60%);
  top: -40px;
  right: -80px;
}

.blob-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(15, 181, 122, 0.28), transparent 60%);
  bottom: -40px;
  left: -60px;
}

@media (max-width: 900px) {
  .grid-2,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    padding: 18px 14px 26px;
    background: linear-gradient(165deg, rgba(7, 18, 14, 0.96), rgba(7, 32, 24, 0.96));
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3);
    z-index: 110;
    gap: 12px;
    max-height: calc(100vh - 64px);
    overflow-y: auto;
    overflow-x: hidden;
    backdrop-filter: blur(12px) saturate(1.1);
    width: calc(100% - 24px);
    max-width: 520px;
    margin: 0 auto;
  }

  .nav.active {
    display: flex;
  }

  .nav-wrap {
    position: relative;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    color: #ffffff;
    background: #0b3c32;
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 8px 14px 8px 12px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    position: relative;
    align-items: center;
    gap: 6px;
    margin-left: auto;
  }

  .mobile-menu-toggle[aria-expanded='true'] {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.32);
  }

  .mobile-menu-toggle::after {
    content: '☰';
    font-size: 1rem;
    line-height: 1;
    display: inline-block;
    transform: translateY(1px);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.9;
  }

  .mobile-menu-toggle.is-open::after,
  .mobile-menu-toggle[aria-expanded='true']::after {
    content: '×';
    font-size: 1.1rem;
    transform: translateY(0);
  }

  .nav-link {
    width: 100%;
    color: #ffffff;
    font-size: 1rem;
    display: block;
    text-align: left;
    padding: 14px 16px;
    min-height: 52px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    text-align: left;
  }

  .nav-dropdown-toggle::after {
    margin-left: auto;
  }

  .nav-dropdown-menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 6px;
    padding: 6px;
    box-shadow: none;
    border-radius: 10px;
    background: rgba(3, 10, 7, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }

  .nav-dropdown-item {
    min-height: 40px;
    display: flex;
    align-items: center;
    padding: 8px 10px;
  }

  .nav-link:not(.nav-dropdown-toggle)::after {
    display: none;
  }

  .nav-link.active {
    background: linear-gradient(140deg, rgba(45, 220, 122, 0.18), rgba(91, 90, 246, 0.12));
    border-color: rgba(45, 220, 122, 0.5);
    box-shadow: 0 16px 34px rgba(13, 27, 21, 0.35);
  }

.mobile-menu-close {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 1.3rem;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.22);
  margin: 10px auto 6px;
  position: sticky;
  bottom: 16px;
  align-self: center;
}

@media (max-width: 900px) {
  .mobile-menu-close {
    display: inline-flex !important;
  }
}

/* Ensure Call Clinic stays grey across all pages (desktop + mobile) */
.nav-right .nav-link {
  background: #d6dadd !important;
  color: #0b1a2d !important;
  border: 1px solid rgba(12, 26, 45, 0.1) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.nav-right .nav-link:hover {
  background: #e3e6e7 !important;
  color: #0b1a2d !important;
}

  .nav-right {
    width: 100%;
    display: grid;
    gap: 10px;
    margin-top: 6px;
    align-items: stretch;
    justify-items: stretch;
    padding: 0;
    margin-left: 0;
  }

  .nav-right .nav-link {
    background: rgba(204, 208, 208, 0.9);
    color: #0b1a2d;
    border: 1px solid rgba(12, 26, 45, 0.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
  }

  .nav .btn.nav-btn {
    width: 100%;
    max-width: none;
    justify-content: flex-start;
    padding: 14px 16px;
    min-height: 52px;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    margin: 0;
  }

  .nav-right > * {
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    margin: 0;
  }

  .topbar {
    background: rgba(7, 18, 14, 0.92) !important;
  }

  .nav-wrap {
    position: relative;
    z-index: 120;
    padding-bottom: 8px;
  }

  .hero {
    padding-top: 120px;
  }
}

@media (max-width: 1024px) {
  .container {
    padding: 0 18px;
  }

  .hero .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero {
    padding: 140px 0 120px;
  }

  .hero-full {
    background-size: cover;
  }

  .section {
    padding: 72px 0;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta .cta-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta .cta-group {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }

  .hero .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero {
    padding: 120px 0 90px;
  }

  .hero-content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-full::before {
    background: linear-gradient(140deg, rgba(1, 15, 8, 0.92) 0%, rgba(3, 35, 18, 0.85) 40%, rgba(5, 45, 24, 0.7) 65%, rgba(10, 55, 30, 0.55) 85%);
  }

  .cta-group {
    width: 100%;
  }

  .btn {
    width: 100%;
    max-width: 360px;
  }

  .mint-card,
  .feature-card,
  .card,
  .panel,
  .impact-panel {
    padding: 18px;
    min-height: auto;
  }

  .mint-card {
    text-align: left;
  }

  .trusted-inner h2 {
    white-space: normal;
  }

  .platform-grid,
  .feature-grid,
  .card-grid,
  .impact-metrics {
    grid-template-columns: 1fr;
  }

  .impact-metric {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 10px;
  }

  .impact-metric:first-child {
    border-top: none;
  }

  .final-cta-dark {
    padding: 60px 0;
  }

  .footer {
    padding: 50px 0 30px;
  }

  .topbar .container {
    padding: 12px 16px;
  }

  .chat-toggle {
    right: 16px;
    bottom: 80px;
  }

  .chatbox {
    right: 12px;
    bottom: 76px;
    width: calc(100% - 24px);
  }

  .appointment-modal {
    padding: 20px;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: clamp(2rem, 7vw, 2.4rem);
  }

  h2 {
    font-size: clamp(1.8rem, 6.5vw, 2.2rem);
  }

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

  .nav-wrap {
    gap: 10px;
  }

  .brand-logo-img {
    height: 34px;
    width: 34px;
  }

  .brand-logo-text {
    font-size: 1.05rem;
  }

  .hero .cta-group {
    width: 100%;
  }

  .mint-grid {
    gap: 18px;
  }

  .section {
    padding: 64px 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-content,
  .hero-media,
  .card,
  .panel {
    animation: fadeUp 0.8s ease both;
  }

  .card:nth-child(2) {
    animation-delay: 0.05s;
  }

  .card:nth-child(3) {
    animation-delay: 0.1s;
  }

  .card:nth-child(4) {
    animation-delay: 0.15s;
  }
}

/* Overrides to improve mobile menu toggle alignment and icon rendering */
@media (max-width: 900px) {
  .nav-wrap {
    justify-content: space-between;
    align-items: center;
  }

  .mobile-menu-toggle {
    margin-left: auto;
  }

  .mobile-menu-toggle::after {
    content: '\2630';
  }

  .mobile-menu-toggle.is-open::after,
  .mobile-menu-toggle[aria-expanded='true']::after {
    content: '\00d7';
  }

  .new-patient-hero {
    padding: 122px 0 40px;
  }

  .new-patient-hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .new-patient-action-grid {
    grid-template-columns: 1fr;
  }

  .new-patient-field-grid {
    grid-template-columns: 1fr;
  }

  .new-patient-field.field-full {
    grid-column: auto;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Final override: keep Call Clinic grey on all pages */
.nav-right .nav-link {
  background: #d6dadd !important;
  color: #0b1a2d !important;
  border: 1px solid rgba(12, 26, 45, 0.12) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12) !important;
}

.nav-right .nav-link:hover {
  background: #e3e6e7 !important;
  color: #0b1a2d !important;
}

/* ───────────────────────────────────────────────────────────────
   Mobile-only refinements. Everything below is gated to <=900px,
   so the desktop layout is intentionally left completely unchanged.
   ─────────────────────────────────────────────────────────────── */

/* Back-to-top button is hidden by default (incl. all desktop widths) */
.scroll-top {
  display: none;
}

@media (max-width: 900px) {
  /* 1. Back-to-top button — sits just above the chat button (bottom:80px, 54px tall) */
  .scroll-top {
    position: fixed;
    right: 16px;
    bottom: 144px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: #0b3c32;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
    z-index: 121;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .scroll-top.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .scroll-top:active {
    transform: translateY(0) scale(0.94);
  }

  /* 2. Show Book Appointment + Call Clinic side-by-side so both are visible
        without scrolling (Call Clinic was stacked below and off-screen). */
  .hero-full .cta-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
  }

  .hero-full .cta-group .btn {
    flex: 1 1 0;
    width: auto;
    max-width: none;
    padding: 13px 12px;
    font-size: 0.98rem;
    text-align: center;
    line-height: 1.15;
  }

  /* The dark-green primary button would blend into the dark-green hero
     background, so give it a lighter fill + visible outline on mobile. */
  .hero-full .cta-group .btn.solid {
    background: #0e4f42;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
  }

  /* 3. Wallpaper on mobile: use the portrait-framed photo (fits tall phone
        screens with minimal cropping), full-bleed cover with the text overlaid,
        and a top->bottom gradient so the image reads clearly up top while the
        text stays legible over the darker lower area. */
  .hero-full {
    background-image: url('Gemini_Generated_Image_3j07t83j07t83j07.png');
    background-position: center;
  }

  .hero-full::before {
    background: linear-gradient(
      180deg,
      rgba(2, 18, 11, 0.4) 0%,
      rgba(3, 26, 16, 0.62) 42%,
      rgba(4, 34, 20, 0.9) 100%
    );
  }

  .gradient-blob {
    display: none;
  }
}


