/* Global visual refresh for location pages */

.header-name-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.header-schedule-btn {
  background: #c41e3a !important;
  color: #fce7e9 !important;
  border: none !important;
  padding: 9px 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: bold !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  line-height: 1.3 !important;
  display: inline-block !important;
}

.header-schedule-btn:hover {
  background: #e74c3c !important;
  color: #fff !important;
}

body {
  background: #f6f8fc !important;
  color: #10243f !important;
}

header {
  background: #0d1f38 !important;
  border-bottom: 1px solid #1f3655 !important;
  padding: 0 !important;
}

.topbar {
  background: #091427;
  border-bottom: 1px solid #1f3655;
  color: #d0def2;
  font-size: 13px;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-links a {
  color: #e5efff;
}

.topbar-links a:hover {
  color: #7dc3ff;
}

header .logo img {
  height: 84px !important;
  width: auto !important;
}

header .logo h1 {
  color: #f4f8ff !important;
}

header .logo p {
  color: #dbeafe !important;
}

header nav a {
  color: #e2e8f0 !important;
}

header nav a:hover {
  background: transparent !important;
  color: #c41e3a !important;
}

.nav-dropdown {
  position: relative !important;
}

.nav-drop-link::after {
  content: " \25BE";
  font-size: 10px;
  margin-left: 6px;
  opacity: 0.9;
}

.nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  min-width: 240px !important;
  max-height: none !important;
  overflow: visible !important;
  display: none !important;
  background: #ffffff !important;
  border: 1px solid #d7e3f3 !important;
  border-radius: 14px !important;
  box-shadow: 0 16px 30px rgba(13, 31, 56, 0.18) !important;
  padding: 8px !important;
  z-index: 1100 !important;
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
  display: block !important;
}

body.nav-click-only .nav-dropdown:hover > .nav-dropdown-menu,
body.nav-click-only .nav-dropdown:focus-within > .nav-dropdown-menu,
body.nav-click-only .nav-subdropdown:hover > .nav-dropdown-menu,
body.nav-click-only .nav-subdropdown:focus-within > .nav-dropdown-menu {
  display: none !important;
}

body.nav-click-only .nav-dropdown.is-open > .nav-dropdown-menu,
body.nav-click-only .nav-subdropdown.is-open > .nav-dropdown-menu {
  display: block !important;
}

.nav-dropdown-menu a {
  display: block !important;
  color: #13304f !important;
  font-size: 13px !important;
  padding: 9px 11px !important;
  border-radius: 9px !important;
  white-space: normal !important;
  line-height: 1.35 !important;
}

.nav-dropdown-menu a:hover {
  background: #eaf3ff !important;
  color: #0d1f38 !important;
}

.nav-dropdown-menu .menu-group-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: #5d7290 !important;
  margin: 10px 8px 4px !important;
  padding-top: 8px !important;
  border-top: 1px solid #e7effa !important;
}

.nav-dropdown-menu .menu-group-label:first-child {
  margin-top: 2px !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.nav-dropdown-wide .nav-dropdown-menu {
  min-width: 300px !important;
}

.nav-subdropdown {
  width: 100% !important;
}

.nav-subdropdown > .nav-drop-link {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

.nav-subdrop-link::after {
  content: "\25B8";
  font-size: 10px;
  margin-left: 8px;
  opacity: 0.9;
}

.nav-subdropdown > .nav-dropdown-menu {
  position: absolute !important;
  top: 0 !important;
  left: calc(100% + 8px) !important;
  display: none !important;
  width: 300px !important;
  min-width: 300px !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 6px !important;
  background: #f7fbff !important;
  border-color: #dfe8f5 !important;
  box-shadow: none !important;
  z-index: 1200 !important;
}

.nav-subdropdown:hover > .nav-dropdown-menu,
.nav-subdropdown:focus-within > .nav-dropdown-menu {
  display: block !important;
}

.hero {
  background: linear-gradient(135deg, #eef4ff, #dde9ff) !important;
}

h1,
h2,
h3 {
  color: #10243f !important;
}

.hero p,
p {
  color: #46607f !important;
}

.button {
  display: inline-block !important;
  margin-top: 30px !important;
  padding: 14px 24px !important;
  background: #c41e3a !important;
  color: #ffffff !important;
  font-weight: bold !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  border-radius: 12px !important;
  border: none !important;
  text-decoration: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
}

.button:hover {
  background: #e74c3c !important;
}

.hero .button.hcp-button {
  appearance: none !important;
  -webkit-appearance: none !important;
}

section {
  padding: 72px 0 !important;
}

section:nth-of-type(odd) {
  background: #f6f8fc !important;
}

section:nth-of-type(even) {
  background: #ffffff !important;
}

.card {
  background: #ffffff !important;
  border: 1px solid #d7e3f3 !important;
  color: #10243f !important;
}

.card p {
  color: #46607f !important;
}

.map {
  border: 1px solid #d7e3f3;
}

footer {
  background: #0d1f38 !important;
  border-top: 1px solid #1f3655 !important;
  color: #c8d6ea !important;
  padding: 44px 20px 24px !important;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  text-align: left;
}

.footer-grid h3 {
  color: #ffffff !important;
  margin-bottom: 10px;
  font-size: 18px;
}

.footer-grid p,
.footer-grid a {
  color: #d5e3f7 !important;
  font-size: 14px;
  line-height: 1.6;
}

.footer-grid a:hover {
  color: #7dc3ff !important;
}

.footer-copy {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #1f3655;
  color: #a7bedc;
  text-align: center;
  font-size: 13px;
}

a[aria-label="Facebook"] {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 16px !important;
  width: auto !important;
  min-width: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

a[aria-label="Facebook"] img {
  width: 30px;
  height: 30px;
  display: block;
}

@media (max-width: 768px) {
  .topbar-inner {
    min-height: unset;
    padding: 10px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .topbar-links {
    gap: 10px;
  }

  header .navbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 0 !important;
  }

  header .logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 8px !important;
  }

  header {
    position: static !important;
  }

  header .logo img {
    height: 50px !important;
  }

  header .logo h1 {
    font-size: 18px !important;
  }

  header .logo p {
    font-size: 11px !important;
  }

  .header-schedule-btn {
    font-size: 12px !important;
    padding: 7px 13px !important;
  }

  .nav-subdropdown > .nav-dropdown-menu {
    position: static !important;
    width: calc(100% - 10px) !important;
    left: auto !important;
    margin: 6px 0 6px 10px !important;
    display: none !important;
  }

  body.nav-click-only .nav-subdropdown.is-open > .nav-dropdown-menu {
    display: block !important;
  }

  h1 {
    font-size: 34px !important;
    line-height: 1.2 !important;
  }

  h2 {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  .hero {
    padding: 56px 0 !important;
  }

  .hero p {
    font-size: 16px !important;
  }

  .button {
    display: block !important;
    text-align: center !important;
    margin-top: 24px !important;
    width: 100% !important;
  }

  section {
    padding: 52px 0 !important;
  }

  .grid {
    grid-template-columns: 1fr !important;
  }

  iframe {
    height: 280px !important;
  }

  .before-after-gallery h2 {
    font-size: 26px !important;
  }

  .footer-grid {
    text-align: center;
  }
}

@media (max-width: 480px) {
  header .logo img {
    height: 54px !important;
  }

  header .logo h1 {
    font-size: 16px !important;
  }

  header .logo p {
    font-size: 11px !important;
  }

  header nav {
    gap: 4px !important;
  }

  header nav a {
    font-size: 12px !important;
  }

  .nav-dropdown-menu a {
    font-size: 12px !important;
    padding: 8px 10px !important;
  }

  .nav-dropdown-menu .menu-group-label {
    font-size: 10px !important;
    margin: 8px 6px 4px !important;
    padding-top: 6px !important;
  }

  .nav-subdropdown > .nav-dropdown-menu {
    position: static !important;
    width: calc(100% - 8px) !important;
    left: auto !important;
    margin: 6px 0 6px 8px !important;
    display: none !important;
  }

  body.nav-click-only .nav-subdropdown.is-open > .nav-dropdown-menu {
    display: block !important;
  }

  h1 {
    font-size: 26px !important;
  }

  h2 {
    font-size: 22px !important;
  }

  .hero {
    padding: 40px 0 !important;
  }

  section {
    padding: 38px 0 !important;
  }

  .button {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }

  .card {
    padding: 18px !important;
  }

  .card h3 {
    font-size: 18px !important;
  }

  iframe {
    height: 240px !important;
  }

  a[aria-label="Facebook"] img {
    width: 28px;
    height: 28px;
  }
}

/* Second pass polish for location pages */
body,
p,
a,
li,
span,
input,
button,
textarea,
.topbar {
  font-family: "Nunito Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
header .logo h2 {
  font-family: "Sora", "Trebuchet MS", "Segoe UI", Arial, sans-serif !important;
  letter-spacing: -0.012em !important;
}

h1 {
  font-weight: 760 !important;
  line-height: 1.1 !important;
}

h2 {
  font-weight: 720 !important;
  line-height: 1.2 !important;
}

h3 {
  font-weight: 700 !important;
  line-height: 1.25 !important;
}

p,
.hero p,
.card p,
.footer-grid p,
.footer-grid a {
  font-size: 16px !important;
  line-height: 1.66 !important;
  letter-spacing: 0.002em !important;
}

.button {
  font-weight: 780 !important;
  letter-spacing: 0.02em !important;
}

section {
  border-top: 1px solid #e1e9f5;
}

section.hero {
  border-top: none;
  background: linear-gradient(135deg, #eef4ff, #dde9ff) !important;
}

section.before-after-gallery {
  background: #eaf1fb !important;
}

footer {
  padding: 38px 20px 18px !important;
}

.footer-grid {
  gap: 18px;
}

.footer-copy {
  margin-top: 16px;
  padding-top: 10px;
}

@media (max-width: 768px) {
  p,
  .hero p,
  .card p,
  .footer-grid p,
  .footer-grid a {
    font-size: 15px !important;
    line-height: 1.6 !important;
  }

  footer {
    padding: 26px 16px 14px !important;
  }

  .footer-grid {
    gap: 10px;
  }

  .footer-grid h3 {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .footer-grid p,
  .footer-grid a {
    font-size: 13px;
    line-height: 1.45;
  }

  .footer-copy {
    margin-top: 10px;
    padding-top: 8px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  h1,
  h2,
  h3 {
    letter-spacing: -0.01em !important;
  }

  p,
  .hero p,
  .card p,
  .footer-grid p,
  .footer-grid a {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .topbar {
    font-size: 12px;
  }

  .topbar-links {
    gap: 8px;
  }

  footer {
    padding: 22px 12px 12px !important;
  }

  .footer-grid {
    gap: 8px;
  }
}
