/* =========================================================
   GLOBAL
   ========================================================= */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: 76px;
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.45), transparent 38%),
    radial-gradient(circle at top right, rgba(224, 242, 254, 0.40), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

/* Manual light: always light */
html[data-theme="light"] body,
body[data-theme="light"] {
  background:
    radial-gradient(circle at top left, rgba(219, 234, 254, 0.45), transparent 38%),
    radial-gradient(circle at top right, rgba(224, 242, 254, 0.40), transparent 32%),
    linear-gradient(180deg, #f8fbff 0%, #f5f7fb 100%);
}

/* Manual dark: always dark */
html.dark body,
body.dark,
html[data-theme="dark"] body,
body[data-theme="dark"],
html[data-color-scheme="dark"] body,
body[data-color-scheme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(30, 64, 175, 0.18), transparent 40%),
    radial-gradient(circle at top right, rgba(14, 116, 144, 0.16), transparent 35%),
    linear-gradient(180deg, #111827 0%, #0f172a 100%);
}

/* Auto: follow system dark only when not manually forced */
@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) body,
  html[data-theme="auto"] body,
  body[data-theme="auto"] {
    background:
      radial-gradient(circle at top left, rgba(30, 64, 175, 0.18), transparent 40%),
      radial-gradient(circle at top right, rgba(14, 116, 144, 0.16), transparent 35%),
      linear-gradient(180deg, #111827 0%, #0f172a 100%);
  }
}

main,
.page,
.post,
.ev-apple-page,
.ev-applehxs-page {
  background: transparent !important;
}

body > *:first-child,
main,
.main,
.container,
.content,
.page,
.post {
  margin-top: 0 !important;
}

/* =========================================================
   TOP NAV
   ========================================================= */
#theme-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 2000;
  background: rgba(248, 251, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(173, 198, 226, 0.24);
}

#theme-nav .inner {
  position: relative;
  z-index: 2001;
}

#theme-nav .title,
#theme-nav .title a {
  position: relative;
  z-index: 2002;
  pointer-events: auto;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) #theme-nav,
  html[data-theme="auto"] #theme-nav {
    background: rgba(17, 24, 39, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  }
}

html.dark #theme-nav,
body.dark #theme-nav,
html[data-theme="dark"] #theme-nav,
body[data-theme="dark"] #theme-nav,
html[data-color-scheme="dark"] #theme-nav,
body[data-color-scheme="dark"] #theme-nav {
  background: rgba(17, 24, 39, 0.82);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

/* =========================================================
   NAV DESKTOP — APPLE-STYLE FINAL
   ========================================================= */
.ev-nav {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.ev-nav-item {
  position: relative;
}

.ev-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 6px 0;
  color: inherit;
  text-decoration: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.ev-nav-link:hover {
  opacity: 0.82;
}

/* overlay */
.ev-has-dropdown::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.06);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
  z-index: 998;
}

/* 鼠标从主菜单移动到下拉菜单时的“缓冲带” */
.ev-has-dropdown::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  width: 220px;
  height: 24px;
  background: transparent;
}

.ev-has-dropdown:hover::before,
.ev-has-dropdown:focus-within::before {
  opacity: 1;
}

/* dropdown shell */
.ev-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.985);
  transform-origin: top center;
  min-width: 320px;
  max-width: 360px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  box-shadow:
    0 30px 80px rgba(15, 23, 42, 0.16),
    0 10px 24px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.26s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.26s ease;
  z-index: 999;
}

.ev-dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.76);
  border-left: 1px solid rgba(255, 255, 255, 0.58);
  border-top: 1px solid rgba(255, 255, 255, 0.58);
  transform: translateX(-50%) rotate(45deg);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.ev-dropdown li {
  margin: 0;
}

/* old link compatibility */
.ev-dropdown li > a:not(.ev-dropdown-link) {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.ev-dropdown li > a:not(.ev-dropdown-link):hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.10),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

/* option 2 enhanced link */
.ev-dropdown-link {
  display: block;
  padding: 14px 16px;
  border-radius: 18px;
  text-decoration: none;
  color: #111827;
  transition:
    background 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease;
}

.ev-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.10),
    0 4px 12px rgba(15, 23, 42, 0.04);
}

.ev-dropdown-title {
  display: block;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: inherit;
  white-space: normal;
}

.ev-dropdown-desc {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 500;
  color: #6b7280;
  white-space: normal;
}

/* subtle stagger */
.ev-dropdown li:nth-child(1) .ev-dropdown-link { transition-delay: 0.01s; }
.ev-dropdown li:nth-child(2) .ev-dropdown-link { transition-delay: 0.02s; }
.ev-dropdown li:nth-child(3) .ev-dropdown-link { transition-delay: 0.03s; }
.ev-dropdown li:nth-child(4) .ev-dropdown-link { transition-delay: 0.04s; }

.ev-has-dropdown:hover .ev-dropdown,
.ev-has-dropdown:focus-within .ev-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* active state support */
.ev-dropdown-link[aria-current="page"] {
  background: rgba(0, 113, 227, 0.08);
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.12);
}

/* auto + system dark */
@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown,
  html[data-theme="auto"] .ev-dropdown {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow:
      0 30px 80px rgba(0, 0, 0, 0.42),
      0 10px 24px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown::before,
  html[data-theme="auto"] .ev-dropdown::before {
    background: rgba(15, 23, 42, 0.8);
    border-left: 1px solid rgba(148, 163, 184, 0.15);
    border-top: 1px solid rgba(148, 163, 184, 0.15);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown li > a:not(.ev-dropdown-link),
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown-link,
  html[data-theme="auto"] .ev-dropdown li > a:not(.ev-dropdown-link),
  html[data-theme="auto"] .ev-dropdown-link {
    color: #f3f4f6;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown-desc,
  html[data-theme="auto"] .ev-dropdown-desc {
    color: #94a3b8;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown li > a:not(.ev-dropdown-link):hover,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown-link:hover,
  html[data-theme="auto"] .ev-dropdown li > a:not(.ev-dropdown-link):hover,
  html[data-theme="auto"] .ev-dropdown-link:hover {
    background: rgba(255, 255, 255, 0.055);
    box-shadow:
      inset 0 0 0 1px rgba(148, 163, 184, 0.12),
      0 4px 14px rgba(0, 0, 0, 0.12);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-dropdown-link[aria-current="page"],
  html[data-theme="auto"] .ev-dropdown-link[aria-current="page"] {
    background: rgba(96, 165, 250, 0.12);
    box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.16);
  }
}

/* manual dark */
html.dark .ev-dropdown,
body.dark .ev-dropdown,
html[data-theme="dark"] .ev-dropdown,
body[data-theme="dark"] .ev-dropdown,
html[data-color-scheme="dark"] .ev-dropdown,
body[data-color-scheme="dark"] .ev-dropdown {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.42),
    0 10px 24px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

html.dark .ev-dropdown::before,
body.dark .ev-dropdown::before,
html[data-theme="dark"] .ev-dropdown::before,
body[data-theme="dark"] .ev-dropdown::before,
html[data-color-scheme="dark"] .ev-dropdown::before,
body[data-color-scheme="dark"] .ev-dropdown::before {
  background: rgba(15, 23, 42, 0.8);
  border-left: 1px solid rgba(148, 163, 184, 0.15);
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

html.dark .ev-dropdown li > a:not(.ev-dropdown-link),
html.dark .ev-dropdown-link,
body.dark .ev-dropdown li > a:not(.ev-dropdown-link),
body.dark .ev-dropdown-link,
html[data-theme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link),
html[data-theme="dark"] .ev-dropdown-link,
body[data-theme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link),
body[data-theme="dark"] .ev-dropdown-link,
html[data-color-scheme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link),
html[data-color-scheme="dark"] .ev-dropdown-link,
body[data-color-scheme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link),
body[data-color-scheme="dark"] .ev-dropdown-link {
  color: #f3f4f6;
}

html.dark .ev-dropdown-desc,
body.dark .ev-dropdown-desc,
html[data-theme="dark"] .ev-dropdown-desc,
body[data-theme="dark"] .ev-dropdown-desc,
html[data-color-scheme="dark"] .ev-dropdown-desc,
body[data-color-scheme="dark"] .ev-dropdown-desc {
  color: #94a3b8;
}

html.dark .ev-dropdown li > a:not(.ev-dropdown-link):hover,
html.dark .ev-dropdown-link:hover,
body.dark .ev-dropdown li > a:not(.ev-dropdown-link):hover,
body.dark .ev-dropdown-link:hover,
html[data-theme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link):hover,
html[data-theme="dark"] .ev-dropdown-link:hover,
body[data-theme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link):hover,
body[data-theme="dark"] .ev-dropdown-link:hover,
html[data-color-scheme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link):hover,
html[data-color-scheme="dark"] .ev-dropdown-link:hover,
body[data-color-scheme="dark"] .ev-dropdown li > a:not(.ev-dropdown-link):hover,
body[data-color-scheme="dark"] .ev-dropdown-link:hover {
  background: rgba(255, 255, 255, 0.055);
  box-shadow:
    inset 0 0 0 1px rgba(148, 163, 184, 0.12),
    0 4px 14px rgba(0, 0, 0, 0.12);
}

html.dark .ev-dropdown-link[aria-current="page"],
body.dark .ev-dropdown-link[aria-current="page"],
html[data-theme="dark"] .ev-dropdown-link[aria-current="page"],
body[data-theme="dark"] .ev-dropdown-link[aria-current="page"],
html[data-color-scheme="dark"] .ev-dropdown-link[aria-current="page"],
body[data-color-scheme="dark"] .ev-dropdown-link[aria-current="page"] {
  background: rgba(96, 165, 250, 0.12);
  box-shadow: inset 0 0 0 1px rgba(96, 165, 250, 0.16);
}

.ev-has-dropdown {
  position: relative;
}

.ev-has-dropdown:hover .ev-dropdown,
.ev-has-dropdown:focus-within .ev-dropdown,
.ev-dropdown:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

/* =========================================================
   NAV MOBILE
   ========================================================= */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.mobile-nav-toggle {
  display: none;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  background: transparent;
  padding: 8px;
  margin-left: auto;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px 0;
  background: #1d1d1f;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-nav-panel {
  display: none;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.mobile-nav-panel.is-open {
  display: block;
}

.mobile-nav-panel-inner {
  padding: 12px 20px 20px;
  display: grid;
  gap: 10px;
}

.mobile-nav-home,
.mobile-nav-link,
.mobile-nav-parent-link {
  display: block;
  padding: 12px 0;
  color: #1d1d1f;
  text-decoration: none;
  font-size: 17px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-group {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-group summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
}

.mobile-nav-group summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-submenu {
  display: grid;
  gap: 0;
  padding: 0 0 8px 14px;
}

.mobile-nav-submenu a {
  display: block;
  padding: 10px 0;
  color: #4b5563;
  text-decoration: none;
  font-size: 15px;
}

.mobile-nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-toggle span,
  html[data-theme="auto"] .mobile-nav-toggle span {
    background: #f3f4f6;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-panel,
  html[data-theme="auto"] .mobile-nav-panel {
    background: rgba(17, 24, 39, 0.94);
    border-top: 1px solid rgba(148, 163, 184, 0.12);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-home,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-link,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-parent-link,
  html[data-theme="auto"] .mobile-nav-home,
  html[data-theme="auto"] .mobile-nav-link,
  html[data-theme="auto"] .mobile-nav-parent-link {
    color: #f3f4f6;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-group,
  html[data-theme="auto"] .mobile-nav-group {
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .mobile-nav-submenu a,
  html[data-theme="auto"] .mobile-nav-submenu a {
    color: #cbd5e1;
  }
}

html.dark .mobile-nav-toggle span,
body.dark .mobile-nav-toggle span,
html[data-theme="dark"] .mobile-nav-toggle span,
body[data-theme="dark"] .mobile-nav-toggle span,
html[data-color-scheme="dark"] .mobile-nav-toggle span,
body[data-color-scheme="dark"] .mobile-nav-toggle span {
  background: #f3f4f6;
}

html.dark .mobile-nav-panel,
body.dark .mobile-nav-panel,
html[data-theme="dark"] .mobile-nav-panel,
body[data-theme="dark"] .mobile-nav-panel,
html[data-color-scheme="dark"] .mobile-nav-panel,
body[data-color-scheme="dark"] .mobile-nav-panel {
  background: rgba(17, 24, 39, 0.94);
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

html.dark .mobile-nav-home,
html.dark .mobile-nav-link,
html.dark .mobile-nav-parent-link,
body.dark .mobile-nav-home,
body.dark .mobile-nav-link,
body.dark .mobile-nav-parent-link,
html[data-theme="dark"] .mobile-nav-home,
html[data-theme="dark"] .mobile-nav-link,
html[data-theme="dark"] .mobile-nav-parent-link,
html[data-color-scheme="dark"] .mobile-nav-home,
html[data-color-scheme="dark"] .mobile-nav-link,
html[data-color-scheme="dark"] .mobile-nav-parent-link {
  color: #f3f4f6;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

html.dark .mobile-nav-group,
body.dark .mobile-nav-group,
html[data-theme="dark"] .mobile-nav-group,
html[data-color-scheme="dark"] .mobile-nav-group {
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

html.dark .mobile-nav-submenu a,
body.dark .mobile-nav-submenu a,
html[data-theme="dark"] .mobile-nav-submenu a,
html[data-color-scheme="dark"] .mobile-nav-submenu a {
  color: #cbd5e1;
}

@media (min-width: 769px) {
  .mobile-nav-toggle,
  .mobile-nav-panel {
    display: none !important;
  }
}

@media (max-width: 768px) {
  #theme-nav .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  #theme-nav .title {
    font-size: 18px;
    line-height: 1.3;
    min-width: 0;
    flex: 1;
  }

  .desktop-nav {
    display: none !important;
  }

  .mobile-nav-toggle {
    display: inline-block;
    flex: 0 0 auto;
  }

  .ev-has-dropdown::before,
  .ev-dropdown {
    display: none !important;
  }
}

/* =========================================================
   ANCHORS / HERO RESET
   ========================================================= */
h2[id],
h3[id],
section[id],
div[id],
#contact-form,
#appointment {
  scroll-margin-top: 140px;
}

.hero,
.hero .inner,
.index-hero,
section.hero {
  background: transparent;
}

/* =========================================================
   CONTACT LAYOUT
   ========================================================= */
.ev-contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 20px 110px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.ev-contact-sidebar {
  position: sticky;
  top: 110px;
  align-self: start;
  z-index: 1;
}

.ev-contact-main {
  min-width: 0;
  display: grid;
  gap: 28px;
  position: relative;
  z-index: 2;
}

.ev-contact-panel,
.ev-form-card {
  background: #fff;
  border-radius: 28px;
  padding: 30px 24px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 14px 34px rgba(42, 81, 124, 0.08);
}

.ev-contact-kicker,
.ev-contact-section-label {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6e6e73;
}

.ev-contact-panel h1 {
  margin: 0 0 12px;
  font-size: 48px;
  line-height: 1.05;
}

.ev-contact-lead,
.ev-form-intro {
  margin: 0 0 24px;
  color: #6e6e73;
  font-size: 18px;
  line-height: 1.6;
}

.ev-form-intro {
  margin-bottom: 28px;
}

.ev-form-card h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.1;
}

/* =========================================================
   CONTACT INFO CARDS
   ========================================================= */
.ev-contact-info-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.ev-contact-info-card {
  display: grid;
  gap: 6px;
  background: #f5f5f7;
  border-radius: 18px;
  padding: 16px 18px;
  font-size: 15px;
}

.ev-contact-info-card strong {
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6e6e73;
}

.ev-contact-info-card a {
  color: #0071e3;
  text-decoration: none;
  word-break: break-word;
}

.ev-contact-info-card a:hover {
  text-decoration: underline;
}

.ev-contact-info-card span,
.ev-contact-info-card p {
  color: #1d1d1f;
}

/* Auto + system dark */
@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-card,
  html[data-theme="auto"] .ev-contact-panel,
  html[data-theme="auto"] .ev-form-card {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-info-card,
  html[data-theme="auto"] .ev-contact-info-card {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: none;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-kicker,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-lead,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-section-label,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-intro,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-info-card strong,
  html[data-theme="auto"] .ev-contact-kicker,
  html[data-theme="auto"] .ev-contact-lead,
  html[data-theme="auto"] .ev-contact-section-label,
  html[data-theme="auto"] .ev-form-intro,
  html[data-theme="auto"] .ev-contact-info-card strong {
    color: #94a3b8;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-card,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-panel h1,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-card h2,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-panel p,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-card p,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-info-card span,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-info-card p,
  html[data-theme="auto"] .ev-contact-panel,
  html[data-theme="auto"] .ev-form-card,
  html[data-theme="auto"] .ev-contact-panel h1,
  html[data-theme="auto"] .ev-form-card h2,
  html[data-theme="auto"] .ev-contact-panel p,
  html[data-theme="auto"] .ev-form-card p,
  html[data-theme="auto"] .ev-contact-info-card span,
  html[data-theme="auto"] .ev-contact-info-card p {
    color: #e5e7eb;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-info-card a,
  html[data-theme="auto"] .ev-contact-info-card a {
    color: #60a5fa;
  }
}

/* Manual dark */
html.dark .ev-contact-panel,
html.dark .ev-form-card,
html.dark .ev-contact-info-card,
body.dark .ev-contact-panel,
body.dark .ev-form-card,
body.dark .ev-contact-info-card,
html[data-theme="dark"] .ev-contact-panel,
html[data-theme="dark"] .ev-form-card,
html[data-theme="dark"] .ev-contact-info-card,
body[data-theme="dark"] .ev-contact-panel,
body[data-theme="dark"] .ev-form-card,
body[data-theme="dark"] .ev-contact-info-card,
html[data-color-scheme="dark"] .ev-contact-panel,
html[data-color-scheme="dark"] .ev-form-card,
html[data-color-scheme="dark"] .ev-contact-info-card,
body[data-color-scheme="dark"] .ev-contact-panel,
body[data-color-scheme="dark"] .ev-form-card,
body[data-color-scheme="dark"] .ev-contact-info-card {
  background: #111827 !important;
  border: 1px solid rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45) !important;
}

html.dark .ev-contact-info-card,
body.dark .ev-contact-info-card,
html[data-theme="dark"] .ev-contact-info-card,
body[data-theme="dark"] .ev-contact-info-card,
html[data-color-scheme="dark"] .ev-contact-info-card,
body[data-color-scheme="dark"] .ev-contact-info-card {
  background: #0f172a !important;
  box-shadow: none !important;
}

html.dark .ev-contact-kicker,
html.dark .ev-contact-lead,
html.dark .ev-contact-section-label,
html.dark .ev-form-intro,
html.dark .ev-contact-info-card strong,
body.dark .ev-contact-kicker,
body.dark .ev-contact-lead,
body.dark .ev-contact-section-label,
body.dark .ev-form-intro,
body.dark .ev-contact-info-card strong,
html[data-theme="dark"] .ev-contact-kicker,
html[data-theme="dark"] .ev-contact-lead,
html[data-theme="dark"] .ev-contact-section-label,
html[data-theme="dark"] .ev-form-intro,
html[data-theme="dark"] .ev-contact-info-card strong,
html[data-color-scheme="dark"] .ev-contact-kicker,
html[data-color-scheme="dark"] .ev-contact-lead,
html[data-color-scheme="dark"] .ev-contact-section-label,
html[data-color-scheme="dark"] .ev-form-intro,
html[data-color-scheme="dark"] .ev-contact-info-card strong {
  color: #94a3b8 !important;
}

html.dark .ev-contact-panel,
html.dark .ev-form-card,
html.dark .ev-contact-panel h1,
html.dark .ev-form-card h2,
html.dark .ev-contact-panel p,
html.dark .ev-form-card p,
html.dark .ev-contact-info-card span,
html.dark .ev-contact-info-card p,
body.dark .ev-contact-panel,
body.dark .ev-form-card,
body.dark .ev-contact-panel h1,
body.dark .ev-form-card h2,
body.dark .ev-contact-panel p,
body.dark .ev-form-card p,
body.dark .ev-contact-info-card span,
body.dark .ev-contact-info-card p,
html[data-theme="dark"] .ev-contact-panel,
html[data-theme="dark"] .ev-form-card,
html[data-theme="dark"] .ev-contact-panel h1,
html[data-theme="dark"] .ev-form-card h2,
html[data-theme="dark"] .ev-contact-panel p,
html[data-theme="dark"] .ev-form-card p,
html[data-theme="dark"] .ev-contact-info-card span,
html[data-theme="dark"] .ev-contact-info-card p,
html[data-color-scheme="dark"] .ev-contact-panel,
html[data-color-scheme="dark"] .ev-form-card,
html[data-color-scheme="dark"] .ev-contact-panel h1,
html[data-color-scheme="dark"] .ev-form-card h2,
html[data-color-scheme="dark"] .ev-contact-panel p,
html[data-color-scheme="dark"] .ev-form-card p,
html[data-color-scheme="dark"] .ev-contact-info-card span,
html[data-color-scheme="dark"] .ev-contact-info-card p {
  color: #e5e7eb !important;
}

html.dark .ev-contact-info-card a,
body.dark .ev-contact-info-card a,
html[data-theme="dark"] .ev-contact-info-card a,
html[data-color-scheme="dark"] .ev-contact-info-card a {
  color: #60a5fa !important;
}

/* =========================================================
   CONTACT ACTIONS / FORM
   ========================================================= */
.ev-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ev-form {
  display: grid;
  gap: 18px;
}

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

.ev-form label {
  font-weight: 600;
  font-size: 15px;
}

.ev-form input,
.ev-form textarea,
.ev-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d2d2d7;
  border-radius: 16px;
  font-size: 16px;
  background: #fff;
  color: #1d1d1f;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ev-form input:focus,
.ev-form textarea:focus,
.ev-form select:focus {
  outline: none;
  border-color: #0071e3;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.12);
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form select,
  html[data-theme="auto"] .ev-form input,
  html[data-theme="auto"] .ev-form textarea,
  html[data-theme="auto"] .ev-form select {
    background-color: #0f172a !important;
    background-image: none !important;
    color: #f9fafb !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
    -webkit-text-fill-color: #f9fafb !important;
    caret-color: #f9fafb !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input::-moz-placeholder, html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea::-moz-placeholder, html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form select::-moz-placeholder, html[data-theme="auto"] .ev-form input::-moz-placeholder, html[data-theme="auto"] .ev-form textarea::-moz-placeholder, html[data-theme="auto"] .ev-form select::-moz-placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input::placeholder,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea::placeholder,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form select::placeholder,
  html[data-theme="auto"] .ev-form input::placeholder,
  html[data-theme="auto"] .ev-form textarea::placeholder,
  html[data-theme="auto"] .ev-form select::placeholder {
    color: #94a3b8 !important;
    opacity: 1 !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input:focus,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea:focus,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form select:focus,
  html[data-theme="auto"] .ev-form input:focus,
  html[data-theme="auto"] .ev-form textarea:focus,
  html[data-theme="auto"] .ev-form select:focus {
    background-color: #111827 !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input:-webkit-autofill,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input:-webkit-autofill:hover,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form input:-webkit-autofill:focus,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea:-webkit-autofill,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea:-webkit-autofill:hover,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form textarea:-webkit-autofill:focus,
  html[data-theme="auto"] .ev-form input:-webkit-autofill,
  html[data-theme="auto"] .ev-form input:-webkit-autofill:hover,
  html[data-theme="auto"] .ev-form input:-webkit-autofill:focus,
  html[data-theme="auto"] .ev-form textarea:-webkit-autofill,
  html[data-theme="auto"] .ev-form textarea:-webkit-autofill:hover,
  html[data-theme="auto"] .ev-form textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #f9fafb !important;
    -webkit-box-shadow: 0 0 0 1000px #0f172a inset !important;
    -webkit-transition: background-color 9999s ease-in-out 0s !important;
    transition: background-color 9999s ease-in-out 0s !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
  }
}

html.dark .ev-form input,
html.dark .ev-form textarea,
html.dark .ev-form select,
body.dark .ev-form input,
body.dark .ev-form textarea,
body.dark .ev-form select,
html[data-theme="dark"] .ev-form input,
html[data-theme="dark"] .ev-form textarea,
html[data-theme="dark"] .ev-form select,
body[data-theme="dark"] .ev-form input,
body[data-theme="dark"] .ev-form textarea,
body[data-theme="dark"] .ev-form select,
html[data-color-scheme="dark"] .ev-form input,
html[data-color-scheme="dark"] .ev-form textarea,
html[data-color-scheme="dark"] .ev-form select,
body[data-color-scheme="dark"] .ev-form input,
body[data-color-scheme="dark"] .ev-form textarea,
body[data-color-scheme="dark"] .ev-form select {
  background-color: #0f172a !important;
  background-image: none !important;
  color: #f9fafb !important;
  border: 1px solid rgba(148, 163, 184, 0.22) !important;
  -webkit-text-fill-color: #f9fafb !important;
  caret-color: #f9fafb !important;
}

html.dark .ev-form input::-moz-placeholder, html.dark .ev-form textarea::-moz-placeholder, body.dark .ev-form input::-moz-placeholder, body.dark .ev-form textarea::-moz-placeholder, html[data-theme="dark"] .ev-form input::-moz-placeholder, html[data-theme="dark"] .ev-form textarea::-moz-placeholder, body[data-theme="dark"] .ev-form input::-moz-placeholder, body[data-theme="dark"] .ev-form textarea::-moz-placeholder, html[data-color-scheme="dark"] .ev-form input::-moz-placeholder, html[data-color-scheme="dark"] .ev-form textarea::-moz-placeholder, body[data-color-scheme="dark"] .ev-form input::-moz-placeholder, body[data-color-scheme="dark"] .ev-form textarea::-moz-placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html.dark .ev-form input::placeholder,
html.dark .ev-form textarea::placeholder,
body.dark .ev-form input::placeholder,
body.dark .ev-form textarea::placeholder,
html[data-theme="dark"] .ev-form input::placeholder,
html[data-theme="dark"] .ev-form textarea::placeholder,
body[data-theme="dark"] .ev-form input::placeholder,
body[data-theme="dark"] .ev-form textarea::placeholder,
html[data-color-scheme="dark"] .ev-form input::placeholder,
html[data-color-scheme="dark"] .ev-form textarea::placeholder,
body[data-color-scheme="dark"] .ev-form input::placeholder,
body[data-color-scheme="dark"] .ev-form textarea::placeholder {
  color: #94a3b8 !important;
  opacity: 1 !important;
}

html.dark .ev-form input:focus,
html.dark .ev-form textarea:focus,
html.dark .ev-form select:focus,
body.dark .ev-form input:focus,
body.dark .ev-form textarea:focus,
body.dark .ev-form select:focus,
html[data-theme="dark"] .ev-form input:focus,
html[data-theme="dark"] .ev-form textarea:focus,
html[data-theme="dark"] .ev-form select:focus,
html[data-color-scheme="dark"] .ev-form input:focus,
html[data-color-scheme="dark"] .ev-form textarea:focus,
html[data-color-scheme="dark"] .ev-form select:focus {
  background-color: #111827 !important;
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18) !important;
  outline: none !important;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.ev-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: -moz-fit-content;
  width: fit-content;
  min-width: 150px;
  padding: 12px 20px;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.ev-btn:hover {
  transform: translateY(-1px);
}

.ev-btn-primary {
  background: #0071e3;
  color: #fff;
}

.ev-btn-primary:hover {
  background: #005ecb;
}

.ev-btn-secondary {
  background: #eef5ff;
  color: #0071e3;
}

.ev-btn-secondary:hover {
  background: #ddeaff;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-btn-secondary,
  html[data-theme="auto"] .ev-btn-secondary {
    background: #1e3a8a;
    color: #dbeafe;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-btn-secondary:hover,
  html[data-theme="auto"] .ev-btn-secondary:hover {
    background: #1d4ed8;
  }
}

html.dark .ev-btn-secondary,
body.dark .ev-btn-secondary,
html[data-theme="dark"] .ev-btn-secondary,
body[data-theme="dark"] .ev-btn-secondary,
html[data-color-scheme="dark"] .ev-btn-secondary,
body[data-color-scheme="dark"] .ev-btn-secondary {
  background: #1e3a8a;
  color: #dbeafe;
}

html.dark .ev-btn-secondary:hover,
body.dark .ev-btn-secondary:hover,
html[data-theme="dark"] .ev-btn-secondary:hover,
body[data-theme="dark"] .ev-btn-secondary:hover,
html[data-color-scheme="dark"] .ev-btn-secondary:hover,
body[data-color-scheme="dark"] .ev-btn-secondary:hover {
  background: #1d4ed8;
}

/* =========================================================
   STICKY CONTACT BAR
   ========================================================= */
.ev-sticky-contact-bar {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1200;
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(173, 198, 226, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 999px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.ev-sticky-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
}

.ev-sticky-call {
  background: #111827;
  color: #fff;
}

.ev-sticky-book {
  background: #0071e3;
  color: #fff;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-sticky-contact-bar,
  html[data-theme="auto"] .ev-sticky-contact-bar {
    background: rgba(17, 24, 39, 0.86);
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
  }
}

html.dark .ev-sticky-contact-bar,
body.dark .ev-sticky-contact-bar,
html[data-theme="dark"] .ev-sticky-contact-bar,
body[data-theme="dark"] .ev-sticky-contact-bar,
html[data-color-scheme="dark"] .ev-sticky-contact-bar,
body[data-color-scheme="dark"] .ev-sticky-contact-bar {
  background: rgba(17, 24, 39, 0.86);
  border: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

/* =========================================================
   HOURS
   ========================================================= */
.ev-open-status {
  margin-bottom: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 500;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.3px;
}

.ev-open-status.open {
  background: rgba(16, 185, 129, 0.16);
  color: #16a34a;
}

.ev-open-status.closed {
  background: rgba(239, 68, 68, 0.16);
  color: #dc2626;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-open-status.open,
  html[data-theme="auto"] .ev-open-status.open {
    color: #34d399;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-open-status.closed,
  html[data-theme="auto"] .ev-open-status.closed {
    color: #f87171;
  }
}

html.dark .ev-open-status.open,
body.dark .ev-open-status.open,
html[data-theme="dark"] .ev-open-status.open,
body[data-theme="dark"] .ev-open-status.open,
html[data-color-scheme="dark"] .ev-open-status.open,
body[data-color-scheme="dark"] .ev-open-status.open {
  color: #34d399;
}

html.dark .ev-open-status.closed,
body.dark .ev-open-status.closed,
html[data-theme="dark"] .ev-open-status.closed,
body[data-theme="dark"] .ev-open-status.closed,
html[data-color-scheme="dark"] .ev-open-status.closed,
body[data-color-scheme="dark"] .ev-open-status.closed {
  color: #f87171;
}

.ev-today-hours {
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #eef5ff;
  color: #005ecb;
  font-weight: 700;
  line-height: 1.5;
}

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

.ev-hours-list span {
  color: #1d1d1f;
  font-size: 14px;
  line-height: 1.5;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-today-hours,
  html[data-theme="auto"] .ev-today-hours {
    background: rgba(30, 64, 175, 0.2);
    color: #bfdbfe;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-hours-list span,
  html[data-theme="auto"] .ev-hours-list span {
    color: #cbd5e1 !important;
    opacity: 1 !important;
    font-weight: 500;
  }
}

html.dark .ev-today-hours,
body.dark .ev-today-hours,
html[data-theme="dark"] .ev-today-hours,
body[data-theme="dark"] .ev-today-hours,
html[data-color-scheme="dark"] .ev-today-hours,
body[data-color-scheme="dark"] .ev-today-hours {
  background: rgba(30, 64, 175, 0.2);
  color: #bfdbfe;
}

html.dark .ev-hours-list span,
body.dark .ev-hours-list span,
html[data-theme="dark"] .ev-hours-list span,
body[data-theme="dark"] .ev-hours-list span,
html[data-color-scheme="dark"] .ev-hours-list span,
body[data-color-scheme="dark"] .ev-hours-list span {
  color: #cbd5e1 !important;
  opacity: 1 !important;
  font-weight: 500;
}

/* =========================================================
   FOOTER
   ========================================================= */
footer .inner {
  display: block;
}

footer .links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

footer .group {
  min-width: 0;
}

footer .group .title {
  margin-bottom: 12px;
}

footer .group .item {
  display: block;
  line-height: 1.55;
}

footer .group:nth-child(2) .item:first-of-type {
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 600;
}

footer .footer-meta-inline {
  margin-top: 20px;
  line-height: 1.7;
}

footer .footer-theme-toggle-wrap {
  margin-top: 24px;
}

footer .footer-theme-toggle-wrap .color-scheme-toggle {
  justify-content: flex-start;
}

.footer-hours-open {
  color: #16a34a !important;
  font-weight: 600;
  font-size: 13px;
}

.footer-hours-closed {
  color: #dc2626 !important;
  font-weight: 600;
  font-size: 13px;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .footer-hours-open,
  html[data-theme="auto"] .footer-hours-open {
    color: #4ade80 !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .footer-hours-closed,
  html[data-theme="auto"] .footer-hours-closed {
    color: #f87171 !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .footer-meta-inline span,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .footer-policy-link,
  html[data-theme="auto"] .footer-meta-inline span,
  html[data-theme="auto"] .footer-policy-link {
    color: #94a3b8;
  }
}

html.dark .footer-hours-open,
body.dark .footer-hours-open,
html[data-theme="dark"] .footer-hours-open,
body[data-theme="dark"] .footer-hours-open,
html[data-color-scheme="dark"] .footer-hours-open,
body[data-color-scheme="dark"] .footer-hours-open {
  color: #4ade80 !important;
}

html.dark .footer-hours-closed,
body.dark .footer-hours-closed,
html[data-theme="dark"] .footer-hours-closed,
body[data-theme="dark"] .footer-hours-closed,
html[data-color-scheme="dark"] .footer-hours-closed,
body[data-color-scheme="dark"] .footer-hours-closed {
  color: #f87171 !important;
}

.footer-meta-inline span {
  font-size: 13px;
  color: #6b7280;
}

.footer-meta-separator {
  margin: 0 6px;
  opacity: 0.7;
}

.footer-policy-link {
  color: inherit;
  text-decoration: none;
}

.footer-policy-link:hover {
  text-decoration: underline;
}

.footer-spacer {
  display: block;
  margin-bottom: 12px;
}

@media (max-width: 980px) {
  footer .links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer .footer-meta-inline {
    margin-top: 16px;
  }

  footer .footer-theme-toggle-wrap {
    margin-top: 20px;
  }
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
.post .content p,
.page .content p,
article .content p {
  text-align: justify;
  -moz-text-align-last: left;
       text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.9;
}

html:lang(zh) .post .content p,
html:lang(zh) .page .content p,
html:lang(zh) article .content p {
  text-align: left;
}

/* =========================================================
   GISCUS COMMENTS
   ========================================================= */
.post-comments {
  max-width: 840px;
  margin: 80px auto 0;
  padding: 0 20px;
  box-sizing: border-box;
}

.post-comments iframe,
.post-comments .giscus,
.post-comments .giscus-frame {
  width: 100% !important;
}

/* =========================================================
   APPLE LANDING PAGE
   ========================================================= */
.ev-apple-page,
.ev-applehxs-page {
  padding-top: 20px;
  padding-bottom: 80px;
}

.ev-hero {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 24px 48px;
}

.ev-kicker {
  margin: 0 0 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.ev-hero-title {
  margin: 0 0 24px;
  font-size: clamp(3.4rem, 7vw, 6.6rem);
  line-height: 0.93;
  letter-spacing: -0.06em;
  max-width: 10ch;
}

.ev-hero-lead {
  max-width: 30em;
  margin: 0 0 34px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.7;
  color: #374151;
}

.ev-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ev-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.ev-cta:hover {
  transform: translateY(-1px);
}

.ev-cta-primary {
  background: #0071e3;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 113, 227, 0.18);
}

.ev-cta-primary:hover {
  background: #005ecb;
}

.ev-cta-secondary {
  background: rgba(255, 255, 255, 0.74);
  color: #111827;
  border: 1px solid rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.ev-full-bleed {
  width: min(1320px, calc(100vw - 28px));
  margin: 14px auto 70px;
}

.ev-full-bleed img {
  display: block;
  width: 100%;
  height: 400px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}

.ev-editorial-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px;
}

.ev-section-grid {
  display: grid;
  grid-template-columns: 220px minmax(0, 720px);
  -moz-column-gap: 36px;
       column-gap: 36px;
  align-items: start;
}

.ev-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
  padding-top: 10px;
}

.ev-section-content h2 {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 20ch;
}

.ev-section-content p {
  margin: 0 0 1.4em;
  font-size: 19px;
  line-height: 1.9;
  text-align: left;
  hyphens: none;
  color: #1f2937;
}

.ev-feature-list {
  margin: 1.5em 0 0 1.2em;
  padding: 0;
}

.ev-feature-list li {
  margin-bottom: 0.6em;
  font-size: 18px;
  line-height: 1.8;
}

.ev-split-band {
  max-width: 1180px;
  margin: 0 auto;
  padding: 70px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 460px);
  gap: 34px;
  align-items: center;
}

.ev-band-kicker {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.ev-split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.03;
  letter-spacing: -0.05em;
  max-width: 20ch;
}

.ev-split-copy p {
  margin: 0;
  font-size: 19px;
  line-height: 1.9;
  text-align: left;
  hyphens: none;
  color: #1f2937;
}

.ev-split-image img {
  display: block;
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.ev-cta-panel {
  max-width: 980px;
  margin: 24px auto 0;
  padding: 56px 28px;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82) 0%, rgba(248,250,252,0.92) 100%);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  text-align: left;
}

.ev-cta-kicker {
  margin: 0 0 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}

.ev-cta-panel h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
  max-width: 12ch;
}

.ev-cta-panel p {
  max-width: 38em;
  margin: 0 0 28px;
  font-size: 18px;
  line-height: 1.85;
  color: #374151;
}

.ev-reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-kicker,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-section-label,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-band-kicker,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-cta-kicker,
  html[data-theme="auto"] .ev-kicker,
  html[data-theme="auto"] .ev-section-label,
  html[data-theme="auto"] .ev-band-kicker,
  html[data-theme="auto"] .ev-cta-kicker {
    color: #94a3b8;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-hero-lead,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-section-content p,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-split-copy p,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-cta-panel p,
  html[data-theme="auto"] .ev-hero-lead,
  html[data-theme="auto"] .ev-section-content p,
  html[data-theme="auto"] .ev-split-copy p,
  html[data-theme="auto"] .ev-cta-panel p {
    color: #d1d5db;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-cta-secondary,
  html[data-theme="auto"] .ev-cta-secondary {
    background: rgba(17, 24, 39, 0.72);
    color: #f3f4f6;
    border-color: rgba(148, 163, 184, 0.14);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-full-bleed img,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-split-image img,
  html[data-theme="auto"] .ev-full-bleed img,
  html[data-theme="auto"] .ev-split-image img {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-cta-panel,
  html[data-theme="auto"] .ev-cta-panel {
    background: linear-gradient(180deg, rgba(17,24,39,0.82) 0%, rgba(15,23,42,0.92) 100%);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
  }
}

html.dark .ev-kicker,
html.dark .ev-section-label,
html.dark .ev-band-kicker,
html.dark .ev-cta-kicker,
body.dark .ev-kicker,
body.dark .ev-section-label,
body.dark .ev-band-kicker,
body.dark .ev-cta-kicker,
html[data-theme="dark"] .ev-kicker,
html[data-theme="dark"] .ev-section-label,
html[data-theme="dark"] .ev-band-kicker,
html[data-theme="dark"] .ev-cta-kicker,
html[data-color-scheme="dark"] .ev-kicker,
html[data-color-scheme="dark"] .ev-section-label,
html[data-color-scheme="dark"] .ev-band-kicker,
html[data-color-scheme="dark"] .ev-cta-kicker {
  color: #94a3b8;
}

html.dark .ev-hero-lead,
html.dark .ev-section-content p,
html.dark .ev-split-copy p,
html.dark .ev-cta-panel p,
body.dark .ev-hero-lead,
body.dark .ev-section-content p,
body.dark .ev-split-copy p,
body.dark .ev-cta-panel p,
html[data-theme="dark"] .ev-hero-lead,
html[data-theme="dark"] .ev-section-content p,
html[data-theme="dark"] .ev-split-copy p,
html[data-theme="dark"] .ev-cta-panel p,
html[data-color-scheme="dark"] .ev-hero-lead,
html[data-color-scheme="dark"] .ev-section-content p,
html[data-color-scheme="dark"] .ev-split-copy p,
html[data-color-scheme="dark"] .ev-cta-panel p {
  color: #d1d5db;
}

html.dark .ev-cta-secondary,
body.dark .ev-cta-secondary,
html[data-theme="dark"] .ev-cta-secondary,
html[data-color-scheme="dark"] .ev-cta-secondary {
  background: rgba(17, 24, 39, 0.72);
  color: #f3f4f6;
  border-color: rgba(148, 163, 184, 0.14);
}

html.dark .ev-cta-panel,
body.dark .ev-cta-panel,
html[data-theme="dark"] .ev-cta-panel,
html[data-color-scheme="dark"] .ev-cta-panel {
  background: linear-gradient(180deg, rgba(17,24,39,0.82) 0%, rgba(15,23,42,0.92) 100%);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .ev-contact-layout {
    grid-template-columns: 1fr;
  }

  .ev-contact-sidebar {
    position: static;
  }

  footer .links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  footer .footer-meta-inline {
    margin-top: 16px;
  }

  footer .footer-theme-toggle-wrap {
    margin-top: 20px;
  }
}

@media (max-width: 900px) {
  .ev-section-grid,
  .ev-split-band {
    grid-template-columns: 1fr;
  }

  .ev-hero,
  .ev-editorial-section,
  .ev-split-band,
  .ev-cta-panel {
    padding-left: 20px;
    padding-right: 20px;
  }

  .ev-full-bleed {
    width: calc(100vw - 16px);
  }

  .ev-hero-title,
  .ev-section-content h2,
  .ev-split-copy h2,
  .ev-cta-panel h2 {
    max-width: 100%;
  }

  .ev-section-content p,
  .ev-split-copy p {
    font-size: 17px;
    line-height: 1.85;
  }

  .ev-services-grid {
    grid-template-columns: 1fr;
    padding-left: 20px;
    padding-right: 20px;
  }

  .ev-service-card h3 {
    font-size: 26px;
  }

  .ev-service-card p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .ev-contact-layout {
    padding: 16px 16px 110px;
  }

  .ev-contact-panel,
  .ev-form-card {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .ev-contact-panel h1 {
    font-size: 38px;
  }

  .ev-form-card h2 {
    font-size: 30px;
  }

  .ev-sticky-contact-bar {
    left: 12px;
    right: 12px;
    bottom: 12px;
    justify-content: stretch;
  }

  .ev-sticky-btn {
    flex: 1;
    min-width: 0;
  }

  .post-comments {
    max-width: 100%;
    padding: 0 20px;
  }
}

/* =========================================================
   NAV ICONS
   ========================================================= */
.ev-nav-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  min-height: 20px;
}

.ev-nav-icon {
  width: 18px;
  height: 18px;
  display: block;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.ev-services-grid {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ev-service-card {
  position: relative;
  padding: 30px 28px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.ev-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.11);
  border-color: rgba(0, 113, 227, 0.16);
}

.ev-service-kicker {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b7280;
}

.ev-service-card h3 {
  margin: 0 0 14px;
  font-size: 30px;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.ev-service-card p {
  margin: 0;
  font-size: 17px;
  line-height: 1.85;
  color: #374151;
  text-align: justify;
  -moz-text-align-last: left;
       text-align-last: left;
  text-justify: inter-word;
  hyphens: auto;
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-service-card,
  html[data-theme="auto"] .ev-service-card {
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-service-kicker,
  html[data-theme="auto"] .ev-service-kicker {
    color: #94a3b8;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-service-card p,
  html[data-theme="auto"] .ev-service-card p {
    color: #d1d5db;
  }
}

html.dark .ev-service-card,
html[data-theme="dark"] .ev-service-card,
html[data-color-scheme="dark"] .ev-service-card,
body.dark .ev-service-card {
  background: rgba(17, 24, 39, 0.72);
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

html.dark .ev-service-kicker,
html[data-theme="dark"] .ev-service-kicker,
html[data-color-scheme="dark"] .ev-service-kicker,
body.dark .ev-service-kicker {
  color: #94a3b8;
}

html.dark .ev-service-card p,
html[data-theme="dark"] .ev-service-card p,
html[data-color-scheme="dark"] .ev-service-card p,
body.dark .ev-service-card p {
  color: #d1d5db;
}

/* =========================================================
   HOME HERO BLUR
   ========================================================= */
.ev-home-hero {
  transform-origin: center top;
  will-change: transform, opacity, filter;
  min-height: 92px;
}

.ev-home-hero .title,
.ev-home-hero .description {
  will-change: transform, opacity, filter;
}

.ev-home-hero,
.ev-home-hero .title,
.ev-home-hero .description {
  transition: transform 0.18s ease-out, opacity 0.18s ease-out, filter 0.18s ease-out;
}

/* =========================================================
   HERO ANIMATION
   ========================================================= */
.ev-typing {
  position: relative;
  display: inline-block;
  min-width: 22ch;
  min-height: 1.25em;
  line-height: 1.2;
  white-space: nowrap;
}

.ev-typing::after {
  content: "";
  position: absolute;
  right: -6px;
  bottom: 0.08em;
  width: 2px;
  height: 0.95em;
  background: currentColor;
  animation: evTypingBlink 0.9s step-end infinite;
}

.ev-typing.is-typed::after {
  animation: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

@keyframes evTypingBlink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}


/* =========================================================
   HOME HERO — BALANCED (FINAL)
   ========================================================= */
.ev-home-hero {
  min-height: auto !important;

  padding-top: 72px !important;    /* 上面稍微收一点 */
  padding-bottom: 96px !important; /* 下面稍微多一点 */

  display: block; /* 不再用 flex 居中，避免拉太大 */
}

.ev-home-hero .title {
  margin-bottom: 10px !important;
}

.ev-home-hero .description {
  margin-bottom: 0 !important;
}

/* 首页 News 区块往上提一点 */
.home .section-title,
.index .section-title,
body .section-title {
  margin-top: 8px;
}

/* =========================================================
   APPOINTMENT FAQ
   ========================================================= */
.ev-faq-list {
  display: grid;
  gap: 18px;
  margin-top: 8px;
}

.ev-faq-item {
  padding: 20px 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.ev-faq-item h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.ev-faq-item p {
  margin: 0;
}

@media (prefers-color-scheme: dark) {
  .ev-faq-item {
    background: rgba(17, 24, 39, 0.72);
    border-color: rgba(148, 163, 184, 0.12);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
  }
}

html.dark .ev-faq-item,
body.dark .ev-faq-item,
html[data-theme="dark"] .ev-faq-item,
html[data-color-scheme="dark"] .ev-faq-item {
  background: rgba(17, 24, 39, 0.72);
  border-color: rgba(148, 163, 184, 0.12);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25);
}

/* =========================================================
   CTA UPGRADE — NAV APPOINTMENT BUTTON
   ========================================================= */
.ev-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  margin-left: 8px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #ffffff !important;
  background: linear-gradient(180deg, #1d8fff 0%, #0071e3 100%);
  box-shadow:
    0 8px 20px rgba(0, 113, 227, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease;
}

.ev-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow:
    0 12px 28px rgba(0, 113, 227, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  filter: saturate(1.05) brightness(1.02);
}

.ev-nav-cta:active {
  transform: translateY(0);
  box-shadow:
    0 6px 14px rgba(0, 113, 227, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.ev-nav-cta:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(59, 130, 246, 0.18),
    0 8px 20px rgba(0, 113, 227, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

/* dark mode */
@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-nav-cta,
  html[data-theme="auto"] .ev-nav-cta {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow:
      0 10px 24px rgba(37, 99, 235, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

html.dark .ev-nav-cta,
body.dark .ev-nav-cta,
html[data-theme="dark"] .ev-nav-cta,
body[data-theme="dark"] .ev-nav-cta,
html[data-color-scheme="dark"] .ev-nav-cta,
body[data-color-scheme="dark"] .ev-nav-cta {
  background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
  box-shadow:
    0 10px 24px rgba(37, 99, 235, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

/* =========================================================
   CTA UPGRADE — MOBILE STICKY APPOINTMENT
   ========================================================= */
.ev-mobile-appointment-cta {
  display: none;
}

@media (max-width: 768px) {
  .ev-mobile-appointment-cta {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 1600;
    display: block;
  }

  .ev-mobile-appointment-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
    background: linear-gradient(180deg, #1d8fff 0%, #0071e3 100%);
    box-shadow:
      0 14px 34px rgba(0, 113, 227, 0.26),
      inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .ev-mobile-appointment-cta a:active {
    transform: translateY(1px);
  }

  /* 避免被底部按钮挡住页面内容 */
  body {
    padding-bottom: 88px;
  }
}

/* dark mode */
@media (max-width: 768px) and (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-mobile-appointment-cta a,
  html[data-theme="auto"] .ev-mobile-appointment-cta a {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow:
      0 14px 34px rgba(37, 99, 235, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 768px) {
  html.dark .ev-mobile-appointment-cta a,
  body.dark .ev-mobile-appointment-cta a,
  html[data-theme="dark"] .ev-mobile-appointment-cta a,
  body[data-theme="dark"] .ev-mobile-appointment-cta a,
  html[data-color-scheme="dark"] .ev-mobile-appointment-cta a,
  body[data-color-scheme="dark"] .ev-mobile-appointment-cta a {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%);
    box-shadow:
      0 14px 34px rgba(37, 99, 235, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.14);
  }
}

/* Appointment hero title */
.ev-appointment-hero-title {
  max-width: none !important;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ev-appointment-hero-title {
    white-space: normal;
  }
}

/* =========================================================
   FINAL PAGE SYSTEM CLEAN
   Put this block at the VERY END of custom.css
   ========================================================= */

:root {
  --ev-page-shell: 1040px;
  --ev-page-label-col: 180px;
  --ev-page-copy-col: 760px;

  --ev-appointment-shell: 1040px;
  --ev-appointment-sidebar: 320px;
  --ev-appointment-main: 680px;

  --ev-contact-shell: 1040px;
  --ev-contact-sidebar: 320px;
  --ev-contact-main: 680px;

  --ev-radius-xl: 28px;
  --ev-radius-lg: 22px;

  --ev-border-light: rgba(15, 23, 42, 0.05);
  --ev-border-dark: rgba(148, 163, 184, 0.12);

  --ev-panel-light: rgba(255, 255, 255, 0.72);
  --ev-panel-dark: rgba(17, 24, 39, 0.74);

  --ev-shadow-light: 0 18px 40px rgba(15, 23, 42, 0.06);
  --ev-shadow-dark: 0 18px 42px rgba(0, 0, 0, 0.32);

  --ev-muted-light: #6b7280;
  --ev-muted-dark: #94a3b8;
}

/* =========================================================
   HIDE META / COMMENTS ON CUSTOM PAGES
   ========================================================= */
.ev-about-page .meta,
.ev-about-page .post-meta,
.ev-about-page .post-comments,
.ev-about-page .giscus,
.ev-about-page .giscus-frame,
.ev-about-page .giscus-container,
.ev-about-page .article-meta,
.ev-about-page .article-date,
.ev-about-page time,
.ev-appointment-page .meta,
.ev-appointment-page .post-meta,
.ev-appointment-page .post-comments,
.ev-appointment-page .giscus,
.ev-appointment-page .giscus-frame,
.ev-appointment-page .giscus-container,
.ev-appointment-page .article-meta,
.ev-appointment-page .article-date,
.ev-appointment-page time,
.ev-contact-page .meta,
.ev-contact-page .post-meta,
.ev-contact-page .post-comments,
.ev-contact-page .giscus,
.ev-contact-page .giscus-frame,
.ev-contact-page .giscus-container,
.ev-contact-page .article-meta,
.ev-contact-page .article-date,
.ev-contact-page time {
  display: none !important;
}

/* =========================================================
   SHARED PREMIUM PANELS
   ========================================================= */
.ev-panel,
.ev-service-card,
.ev-contact-panel,
.ev-form-card,
.ev-faq-item,
.ev-doctor-card {
  background: var(--ev-panel-light);
  border: 1px solid var(--ev-border-light);
  box-shadow: var(--ev-shadow-light);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--ev-radius-xl);
}

@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-service-card,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-form-card,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-faq-item,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-doctor-card,
  html[data-theme="auto"] .ev-panel,
  html[data-theme="auto"] .ev-service-card,
  html[data-theme="auto"] .ev-contact-panel,
  html[data-theme="auto"] .ev-form-card,
  html[data-theme="auto"] .ev-faq-item,
  html[data-theme="auto"] .ev-doctor-card {
    background: var(--ev-panel-dark);
    border-color: var(--ev-border-dark);
    box-shadow: var(--ev-shadow-dark);
  }
}

html.dark .ev-panel,
html.dark .ev-service-card,
html.dark .ev-contact-panel,
html.dark .ev-form-card,
html.dark .ev-faq-item,
html.dark .ev-doctor-card,
html[data-theme="dark"] .ev-panel,
html[data-theme="dark"] .ev-service-card,
html[data-theme="dark"] .ev-contact-panel,
html[data-theme="dark"] .ev-form-card,
html[data-theme="dark"] .ev-faq-item,
html[data-theme="dark"] .ev-doctor-card,
html[data-color-scheme="dark"] .ev-panel,
html[data-color-scheme="dark"] .ev-service-card,
html[data-color-scheme="dark"] .ev-contact-panel,
html[data-color-scheme="dark"] .ev-form-card,
html[data-color-scheme="dark"] .ev-faq-item,
html[data-color-scheme="dark"] .ev-doctor-card {
  background: var(--ev-panel-dark);
  border-color: var(--ev-border-dark);
  box-shadow: var(--ev-shadow-dark);
}

/* =========================================================
   SUBTLE REVEAL
   ========================================================= */
.ev-reveal {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform, filter;
}

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

.ev-reveal-delay-1 { transition-delay: 0.06s; }
.ev-reveal-delay-2 { transition-delay: 0.12s; }
.ev-reveal-delay-3 { transition-delay: 0.18s; }

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.ev-about-page .ev-about-hero,
.ev-about-page .ev-editorial-section,
.ev-about-page .ev-split-band,
.ev-about-page .ev-cta-panel,
.ev-about-page .ev-full-bleed {
  max-width: var(--ev-page-shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ev-about-page .ev-about-hero {
  padding-top: 12px !important;
  padding-bottom: 22px !important;
}

.ev-about-page .ev-about-hero-copy,
.ev-about-page .ev-section-content,
.ev-about-page .ev-doctor-intro,
.ev-about-page .ev-cta-panel-inner,
.ev-about-page .ev-split-copy {
  width: min(100%, var(--ev-page-copy-col)) !important;
  max-width: var(--ev-page-copy-col) !important;
}

.ev-about-page .ev-about-hero-title {
  width: 100%;
  max-width: none !important;
  margin: 0 0 18px !important;
  font-size: clamp(2.3rem, 3.9vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
  white-space: nowrap !important;
}

.ev-about-page .ev-about-hero-lead {
  width: 100%;
  max-width: none !important;
  margin: 0 0 26px !important;
  font-size: clamp(1rem, 1.45vw, 1.18rem) !important;
  line-height: 1.6 !important;
  white-space: nowrap !important;
}

.ev-about-page .ev-section-grid {
  display: grid !important;
  grid-template-columns: var(--ev-page-label-col) minmax(0, var(--ev-page-copy-col)) !important;
  -moz-column-gap: 48px !important;
       column-gap: 48px !important;
  align-items: start !important;
}

.ev-about-page .ev-section-content h2,
.ev-about-page .ev-split-copy h2 {
  max-width: 21ch !important;
  margin: 0 0 18px !important;
  font-size: clamp(1.9rem, 3vw, 2.65rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.ev-about-page .ev-section-content p,
.ev-about-page .ev-split-copy p,
.ev-about-page .ev-cta-panel p,
.ev-about-page .ev-doctor-bio,
.ev-about-page .ev-doctor-intro p {
  max-width: var(--ev-page-copy-col) !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.ev-about-page .ev-full-bleed {
  width: min(100%, var(--ev-page-shell)) !important;
  margin: 8px auto 30px !important;
}

.ev-about-page .ev-full-bleed img {
  height: 280px !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 24px !important;
}

.ev-about-page .ev-split-band {
  display: grid !important;
  grid-template-columns: minmax(0, var(--ev-page-copy-col)) 360px !important;
  gap: 36px !important;
  align-items: center !important;
  padding-top: 34px !important;
  padding-bottom: 34px !important;
}

.ev-about-page .ev-split-image {
  width: 360px !important;
  max-width: 360px !important;
  justify-self: end !important;
}

.ev-about-page .ev-split-image img {
  width: 100% !important;
  border-radius: 22px !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

.ev-about-page .ev-doctor-card {
  width: min(100%, var(--ev-page-copy-col)) !important;
  max-width: var(--ev-page-copy-col) !important;
  display: grid !important;
  grid-template-columns: 150px minmax(0, 1fr) !important;
  gap: 24px !important;
  align-items: stretch !important;
  padding: 26px !important;
  margin-top: 18px !important;
}

.ev-about-page .ev-doctor-photo {
  width: 150px !important;
  min-height: 190px !important;
  height: 100% !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 22px !important;
}

.ev-about-page .ev-doctor-meta {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 10px !important;
}

.ev-about-page .ev-doctor-name {
  margin: 0 !important;
  font-size: 28px !important;
  line-height: 1.05 !important;
  letter-spacing: -0.035em !important;
}

.ev-about-page .ev-doctor-credentials {
  margin: 0 !important;
  font-size: 13px !important;
  line-height: 1.45 !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ev-muted-light);
}

.ev-about-page .ev-cta-panel {
  padding: 30px 28px !important;
}

.ev-about-page .ev-cta-panel h2 {
  max-width: 15ch !important;
  margin: 0 0 14px !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
}

/* =========================================================
   SERVICES PAGE
   ========================================================= */
.ev-services-page .ev-about-hero,
.ev-services-page .ev-editorial-section,
.ev-services-page .ev-split-band,
.ev-services-page .ev-cta-panel,
.ev-services-page .ev-full-bleed {
  max-width: var(--ev-page-shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ev-services-page .ev-about-hero-copy,
.ev-services-page .ev-section-content,
.ev-services-page .ev-split-copy,
.ev-services-page .ev-cta-panel-inner {
  width: min(100%, var(--ev-page-copy-col)) !important;
  max-width: var(--ev-page-copy-col) !important;
}

.ev-services-page .ev-about-hero {
  padding-top: 12px !important;
  padding-bottom: 22px !important;
}

.ev-services-page .ev-about-hero-title {
  width: 100%;
  max-width: none !important;
  margin: 0 0 18px !important;
  font-size: clamp(2.3rem, 3.9vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.05em !important;
  white-space: nowrap !important;
}

.ev-services-page .ev-about-hero-lead {
  width: 100%;
  max-width: none !important;
  margin: 0 0 26px !important;
  font-size: clamp(1rem, 1.45vw, 1.18rem) !important;
  line-height: 1.6 !important;
  white-space: nowrap !important;
}

.ev-services-page .ev-section-grid {
  display: grid !important;
  grid-template-columns: var(--ev-page-label-col) minmax(0, var(--ev-page-copy-col)) !important;
  -moz-column-gap: 48px !important;
       column-gap: 48px !important;
  align-items: start !important;
}

.ev-services-page .ev-section-content h2,
.ev-services-page .ev-split-copy h2 {
  max-width: 24ch !important;
  margin: 0 0 18px !important;
  font-size: clamp(1.95rem, 3vw, 2.7rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.ev-services-page .ev-section-content p,
.ev-services-page .ev-split-copy p,
.ev-services-page .ev-cta-panel p {
  max-width: var(--ev-page-copy-col) !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.ev-services-page .ev-full-bleed {
  width: min(100%, var(--ev-page-shell)) !important;
  margin: 8px auto 30px !important;
}

.ev-services-page .ev-full-bleed img {
  height: 280px !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
  border-radius: 24px !important;
}

.ev-services-page .ev-split-band {
  display: grid !important;
  grid-template-columns: minmax(0, var(--ev-page-copy-col)) 360px !important;
  gap: 36px !important;
  align-items: center !important;
}

.ev-services-page .ev-split-image {
  width: 360px !important;
  max-width: 360px !important;
  justify-self: end !important;
}

.ev-services-page .ev-split-image img {
  width: 100% !important;
  border-radius: 22px !important;
  -o-object-fit: cover !important;
     object-fit: cover !important;
}

.ev-services-page .ev-cta-panel {
  padding: 30px 28px !important;
}

.ev-services-page .ev-cta-panel h2 {
  max-width: 16ch !important;
  font-size: clamp(2rem, 3vw, 2.8rem) !important;
  line-height: 1.06 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

/* =========================================================
   APPOINTMENT PAGE
   ========================================================= */
.ev-appointment-page {
  padding-top: 0 !important;
}

.ev-appointment-page .ev-contact-layout {
  max-width: var(--ev-appointment-shell) !important;
  margin: 0 auto !important;
  padding: 10px 20px 80px !important;
  display: grid !important;
  grid-template-columns: var(--ev-appointment-sidebar) minmax(0, var(--ev-appointment-main)) !important;
  gap: 28px !important;
  align-items: start !important;
}

.ev-appointment-page .ev-contact-sidebar {
  max-width: var(--ev-appointment-sidebar) !important;
}

.ev-appointment-page .ev-contact-main,
.ev-appointment-page .ev-form-card,
.ev-appointment-page .ev-appointment-form-card {
  max-width: var(--ev-appointment-main) !important;
  min-width: 0;
}

.ev-appointment-page .ev-contact-panel,
.ev-appointment-page .ev-form-card {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06) !important;
}

.ev-appointment-page .ev-appointment-side-title {
  font-size: 24px !important;
  line-height: 1.08 !important;
  letter-spacing: -0.03em !important;
  max-width: none !important;
}

.ev-appointment-page .ev-contact-lead {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--ev-muted-light);
}

.ev-appointment-page .ev-form-card h2 {
  max-width: none !important;
  white-space: nowrap;
  font-size: clamp(2.15rem, 3vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
}

.ev-appointment-page textarea {
  min-height: 150px !important;
  resize: vertical !important;
}

/* hours */
.ev-appointment-page .ev-hours-card {
  display: grid !important;
  gap: 14px !important;
  background: rgba(255, 255, 255, 0.30) !important;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

.ev-appointment-page .ev-hours-status {
  display: inline-flex !important;
  align-items: center !important;
  width: -moz-fit-content !important;
  width: fit-content !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

.ev-appointment-page .ev-hours-status.open {
  background: rgba(16, 185, 129, 0.14) !important;
  color: #16a34a !important;
}

.ev-appointment-page .ev-hours-status.closed {
  background: rgba(239, 68, 68, 0.14) !important;
  color: #dc2626 !important;
}

.ev-appointment-page .ev-hours-week {
  display: grid !important;
  gap: 10px !important;
}

.ev-appointment-page .ev-hours-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 12px 14px !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.56) !important;
  border: 1px solid rgba(15, 23, 42, 0.03) !important;
}

.ev-appointment-page .ev-hours-day {
  font-weight: 600 !important;
  color: #111827 !important;
}

.ev-appointment-page .ev-hours-time {
  color: #4b5563 !important;
  text-align: right !important;
  white-space: nowrap !important;
}

.ev-appointment-page .ev-hours-row.is-today {
  background: rgba(0, 113, 227, 0.08) !important;
  border-color: rgba(0, 113, 227, 0.14) !important;
  box-shadow: inset 0 0 0 1px rgba(0, 113, 227, 0.05) !important;
}

.ev-appointment-page .ev-hours-row.is-today .ev-hours-day {
  color: #005ecb !important;
  font-weight: 700 !important;
}

.ev-appointment-page .ev-contact-info-card:not(.ev-hours-card) {
  background: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

.ev-appointment-page .ev-editorial-section {
  max-width: var(--ev-page-shell) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 28px 20px !important;
}

.ev-appointment-page .ev-section-grid {
  display: grid !important;
  grid-template-columns: var(--ev-page-label-col) minmax(0, var(--ev-page-copy-col)) !important;
  -moz-column-gap: 48px !important;
       column-gap: 48px !important;
  align-items: start !important;
}

.ev-appointment-page .ev-section-content {
  max-width: var(--ev-page-copy-col) !important;
}

.ev-appointment-page .ev-section-content h2 {
  max-width: 24ch !important;
  font-size: clamp(1.95rem, 3vw, 2.75rem) !important;
  line-height: 1.07 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.ev-appointment-page .ev-section-content p,
.ev-appointment-page .ev-section-content li,
.ev-appointment-page .ev-faq-item p {
  max-width: var(--ev-page-copy-col) !important;
  font-size: 18px !important;
  line-height: 1.75 !important;
}

.ev-appointment-page .ev-faq-list,
.ev-appointment-page .ev-faq-item {
  max-width: var(--ev-page-copy-col) !important;
}

.ev-appointment-page .ev-faq-item {
  background: rgba(255, 255, 255, 0.62) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.04) !important;
  border-radius: 24px !important;
  padding: 24px 26px !important;
}

.ev-appointment-page .ev-faq-item h3 {
  font-size: 21px !important;
  line-height: 1.28 !important;
  letter-spacing: -0.02em !important;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.ev-contact-page {
  padding-top: 0 !important;
}

.ev-contact-page .ev-contact-hero-section {
  display: none !important;
}

.ev-contact-page .ev-contact-layout {
  max-width: var(--ev-contact-shell) !important;
  margin: 0 auto !important;
  padding: 10px 20px 80px !important;
  display: grid !important;
  grid-template-columns: var(--ev-contact-sidebar) minmax(0, var(--ev-contact-main)) !important;
  gap: 28px !important;
  align-items: start !important;
}

.ev-contact-page .ev-contact-sidebar {
  max-width: var(--ev-contact-sidebar) !important;
}

.ev-contact-page .ev-contact-main,
.ev-contact-page .ev-form-card {
  max-width: var(--ev-contact-main) !important;
  min-width: 0;
}

.ev-contact-page .ev-contact-panel,
.ev-contact-page .ev-form-card {
  background: rgba(255, 255, 255, 0.72) !important;
  border: 1px solid rgba(15, 23, 42, 0.05) !important;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06) !important;
}

.ev-contact-page .ev-contact-side-title {
  margin: 0 0 12px !important;
  font-size: 26px !important;
  line-height: 1.06 !important;
  letter-spacing: -0.035em !important;
}

.ev-contact-page .ev-contact-lead {
  font-size: 17px !important;
  line-height: 1.65 !important;
  color: var(--ev-muted-light);
}

.ev-contact-page .ev-contact-form-title {
  max-width: none !important;
  white-space: nowrap;
  font-size: clamp(2.15rem, 3vw, 3rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.045em !important;
}

.ev-contact-page textarea {
  min-height: 150px !important;
}

.ev-contact-page .ev-contact-info-card {
  background: rgba(255, 255, 255, 0.34) !important;
  border: 1px solid rgba(15, 23, 42, 0.04) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.25) !important;
}

/* =========================================================
   DARK MODE PAGE-SPECIFIC
   ========================================================= */
@media (prefers-color-scheme: dark) {
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-about-page .ev-doctor-credentials,
  html[data-theme="auto"] .ev-about-page .ev-doctor-credentials,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-about-subtitle,
  html[data-theme="auto"] .ev-about-subtitle,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-day,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-day {
    color: var(--ev-muted-dark);
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-about-page .ev-doctor-bio,
  html[data-theme="auto"] .ev-about-page .ev-doctor-bio,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-time,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-time {
    color: #d1d5db !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-contact-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-form-card,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-page .ev-contact-panel,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-page .ev-form-card,
  html[data-theme="auto"] .ev-appointment-page .ev-contact-panel,
  html[data-theme="auto"] .ev-appointment-page .ev-form-card,
  html[data-theme="auto"] .ev-contact-page .ev-contact-panel,
  html[data-theme="auto"] .ev-contact-page .ev-form-card {
    background: rgba(17, 24, 39, 0.74) !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-card,
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-contact-info-card:not(.ev-hours-card),
  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-contact-page .ev-contact-info-card,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-card,
  html[data-theme="auto"] .ev-appointment-page .ev-contact-info-card:not(.ev-hours-card),
  html[data-theme="auto"] .ev-contact-page .ev-contact-info-card {
    background: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(148, 163, 184, 0.08) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-status.open,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-status.open {
    color: #34d399 !important;
    background: rgba(16, 185, 129, 0.18) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-status.closed,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-status.closed {
    color: #f87171 !important;
    background: rgba(239, 68, 68, 0.18) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-row,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-row {
    background: rgba(255, 255, 255, 0.04) !important;
    border-color: rgba(148, 163, 184, 0.08) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-row.is-today,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-row.is-today {
    background: rgba(30, 64, 175, 0.22) !important;
    border-color: rgba(96, 165, 250, 0.18) !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-hours-row.is-today .ev-hours-day,
  html[data-theme="auto"] .ev-appointment-page .ev-hours-row.is-today .ev-hours-day {
    color: #bfdbfe !important;
  }

  html:not(.dark):not([data-theme="light"]):not([data-theme="dark"]) .ev-appointment-page .ev-faq-item,
  html[data-theme="auto"] .ev-appointment-page .ev-faq-item {
    background: rgba(17, 24, 39, 0.68) !important;
    border-color: rgba(148, 163, 184, 0.12) !important;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
  }
}

html.dark .ev-about-page .ev-doctor-credentials,
html[data-theme="dark"] .ev-about-page .ev-doctor-credentials,
html[data-color-scheme="dark"] .ev-about-page .ev-doctor-credentials,
html.dark .ev-about-subtitle,
html[data-theme="dark"] .ev-about-subtitle,
html[data-color-scheme="dark"] .ev-about-subtitle {
  color: var(--ev-muted-dark);
}

html.dark .ev-about-page .ev-doctor-bio,
html[data-theme="dark"] .ev-about-page .ev-doctor-bio,
html[data-color-scheme="dark"] .ev-about-page .ev-doctor-bio {
  color: #d1d5db;
}

html.dark .ev-appointment-page .ev-contact-panel,
html.dark .ev-appointment-page .ev-form-card,
html.dark .ev-contact-page .ev-contact-panel,
html.dark .ev-contact-page .ev-form-card,
html[data-theme="dark"] .ev-appointment-page .ev-contact-panel,
html[data-theme="dark"] .ev-appointment-page .ev-form-card,
html[data-theme="dark"] .ev-contact-page .ev-contact-panel,
html[data-theme="dark"] .ev-contact-page .ev-form-card,
html[data-color-scheme="dark"] .ev-appointment-page .ev-contact-panel,
html[data-color-scheme="dark"] .ev-appointment-page .ev-form-card,
html[data-color-scheme="dark"] .ev-contact-page .ev-contact-panel,
html[data-color-scheme="dark"] .ev-contact-page .ev-form-card {
  background: rgba(17, 24, 39, 0.74) !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32) !important;
}

html.dark .ev-appointment-page .ev-hours-card,
html.dark .ev-appointment-page .ev-contact-info-card:not(.ev-hours-card),
html.dark .ev-contact-page .ev-contact-info-card,
html[data-theme="dark"] .ev-appointment-page .ev-hours-card,
html[data-theme="dark"] .ev-appointment-page .ev-contact-info-card:not(.ev-hours-card),
html[data-theme="dark"] .ev-contact-page .ev-contact-info-card,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-card,
html[data-color-scheme="dark"] .ev-appointment-page .ev-contact-info-card:not(.ev-hours-card),
html[data-color-scheme="dark"] .ev-contact-page .ev-contact-info-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(148, 163, 184, 0.08) !important;
}

html.dark .ev-appointment-page .ev-hours-status.open,
html[data-theme="dark"] .ev-appointment-page .ev-hours-status.open,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-status.open {
  color: #34d399 !important;
  background: rgba(16, 185, 129, 0.18) !important;
}

html.dark .ev-appointment-page .ev-hours-status.closed,
html[data-theme="dark"] .ev-appointment-page .ev-hours-status.closed,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-status.closed {
  color: #f87171 !important;
  background: rgba(239, 68, 68, 0.18) !important;
}

html.dark .ev-appointment-page .ev-hours-row,
html[data-theme="dark"] .ev-appointment-page .ev-hours-row,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-row {
  background: rgba(255, 255, 255, 0.04) !important;
  border-color: rgba(148, 163, 184, 0.08) !important;
}

html.dark .ev-appointment-page .ev-hours-day,
html[data-theme="dark"] .ev-appointment-page .ev-hours-day,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-day {
  color: #f3f4f6 !important;
}

html.dark .ev-appointment-page .ev-hours-time,
html[data-theme="dark"] .ev-appointment-page .ev-hours-time,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-time {
  color: #cbd5e1 !important;
}

html.dark .ev-appointment-page .ev-hours-row.is-today,
html[data-theme="dark"] .ev-appointment-page .ev-hours-row.is-today,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-row.is-today {
  background: rgba(30, 64, 175, 0.22) !important;
  border-color: rgba(96, 165, 250, 0.18) !important;
}

html.dark .ev-appointment-page .ev-hours-row.is-today .ev-hours-day,
html[data-theme="dark"] .ev-appointment-page .ev-hours-row.is-today .ev-hours-day,
html[data-color-scheme="dark"] .ev-appointment-page .ev-hours-row.is-today .ev-hours-day {
  color: #bfdbfe !important;
}

html.dark .ev-appointment-page .ev-faq-item,
html[data-theme="dark"] .ev-appointment-page .ev-faq-item,
html[data-color-scheme="dark"] .ev-appointment-page .ev-faq-item {
  background: rgba(17, 24, 39, 0.68) !important;
  border-color: rgba(148, 163, 184, 0.12) !important;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.24) !important;
}

/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 980px) {
  .ev-about-page .ev-about-hero-title,
  .ev-about-page .ev-about-hero-lead,
  .ev-services-page .ev-about-hero-title,
  .ev-services-page .ev-about-hero-lead,
  .ev-appointment-page .ev-form-card h2,
  .ev-contact-page .ev-contact-form-title {
    white-space: normal !important;
  }

  .ev-about-page .ev-about-hero,
  .ev-about-page .ev-editorial-section,
  .ev-about-page .ev-split-band,
  .ev-about-page .ev-cta-panel,
  .ev-services-page .ev-about-hero,
  .ev-services-page .ev-editorial-section,
  .ev-services-page .ev-split-band,
  .ev-services-page .ev-cta-panel,
  .ev-appointment-page .ev-contact-layout,
  .ev-appointment-page .ev-editorial-section,
  .ev-contact-page .ev-contact-layout {
    max-width: none !important;
  }

  .ev-about-page .ev-section-grid,
  .ev-about-page .ev-split-band,
  .ev-services-page .ev-section-grid,
  .ev-services-page .ev-split-band,
  .ev-appointment-page .ev-section-grid,
  .ev-contact-page .ev-contact-layout,
  .ev-appointment-page .ev-contact-layout {
    grid-template-columns: 1fr !important;
    -moz-column-gap: 0 !important;
         column-gap: 0 !important;
    gap: 18px !important;
  }

  .ev-about-page .ev-full-bleed,
  .ev-services-page .ev-full-bleed {
    width: calc(100vw - 24px) !important;
  }

  .ev-about-page .ev-full-bleed img,
  .ev-services-page .ev-full-bleed img {
    height: 220px !important;
  }

  .ev-about-page .ev-section-content,
  .ev-about-page .ev-split-copy,
  .ev-about-page .ev-about-hero-copy,
  .ev-about-page .ev-doctor-intro,
  .ev-about-page .ev-cta-panel-inner,
  .ev-about-page .ev-doctor-card,
  .ev-about-page .ev-split-image,
  .ev-services-page .ev-section-content,
  .ev-services-page .ev-split-copy,
  .ev-services-page .ev-about-hero-copy,
  .ev-services-page .ev-cta-panel-inner,
  .ev-services-page .ev-split-image,
  .ev-appointment-page .ev-contact-sidebar,
  .ev-appointment-page .ev-contact-main,
  .ev-appointment-page .ev-form-card,
  .ev-appointment-page .ev-section-content,
  .ev-appointment-page .ev-faq-list,
  .ev-appointment-page .ev-faq-item,
  .ev-contact-page .ev-contact-sidebar,
  .ev-contact-page .ev-contact-main,
  .ev-contact-page .ev-form-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .ev-about-page .ev-doctor-card {
    grid-template-columns: 1fr !important;
    padding: 22px !important;
  }

  .ev-about-page .ev-doctor-photo {
    width: 132px !important;
    min-height: 132px !important;
    height: 132px !important;
  }

  .ev-about-page .ev-section-content h2,
  .ev-about-page .ev-split-copy h2,
  .ev-about-page .ev-cta-panel h2,
  .ev-services-page .ev-section-content h2,
  .ev-services-page .ev-split-copy h2,
  .ev-services-page .ev-cta-panel h2,
  .ev-appointment-page .ev-section-content h2 {
    max-width: 100% !important;
  }
}

