/*
Theme Name: Your Pickering Chiropractors
Theme URI: https://yourpickeringchiropractors.ca/
Author: Your Pickering Chiropractors
Description: A professional, warm WordPress block theme for Your Pickering Chiropractors practice.
Version:            1.0.3
Requires at least: 6.3
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pickering-chiro
*/

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --navy: #1e3a8a;
  --blue: #3b82f6;
  --soft-blue: #dbeafe;
  --mid-blue: #60a5fa;
  --soft-mid: #bfdbfe;
  --steel: #64748b;
  --white: #ffffff;
  --offwhite: #f8fafc;
  --cream: #f0f5ff;
  --text: #1e293b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(30,58,138,0.10);
  --shadow-lg: 0 10px 40px rgba(30,58,138,0.14);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
}

/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Outfit', system-ui, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--navy);
}

/* =========================================================
   TYPOGRAPHY UTILITIES
   ========================================================= */
.eyebrow {
  display: inline-block;
  background: var(--soft-blue);
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.section-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

/* =========================================================
   UTILITY BAR
   ========================================================= */
.utility-bar {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
  color: rgba(255,255,255,0.9);
}
.utility-bar,
.utility-bar *:not(.utility-book-btn):not(.utility-book-btn *) {
  color: rgba(255,255,255,0.9) !important;
}

.utility-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0.6rem 1.5rem;
  gap: 2rem;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.utility-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9) !important;
  margin: 0 !important;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.utility-item svg {
  flex-shrink: 0;
  opacity: 0.75;
}

.utility-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.utility-item a:hover {
  color: #ffffff !important;
}

.utility-item a:hover svg {
  opacity: 1;
}

.utility-divider {
  width: 1px;
  height: 18px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.btn-book-utility .wp-block-button__link {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  padding: 0.5rem 1.4rem !important;
  letter-spacing: 0.01em !important;
}

.utility-book-btn {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  text-decoration: none !important;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.utility-book-btn:hover {
  background: var(--soft-blue);
  color: var(--navy) !important;
}

@media (max-width: 768px) {
  .utility-address { display: none; }
  .utility-divider { display: none; }
}

@media (max-width: 480px) {
  .utility-bar-inner { justify-content: center; }
}

/* =========================================================
   INNER PAGES
   ========================================================= */
.inner-hero {
  text-align: center;
  width: 100%;
}

.inner-hero h1 {
  color: #ffffff !important;
  margin-top: 0 !important;
}

.inner-hero,
.inner-hero p,
.inner-hero .wp-block-post-excerpt,
.inner-hero .wp-block-post-excerpt p,
.inner-hero .wp-block-post-excerpt__excerpt {
  color: #bfdbfe !important;
}

.inner-hero .wp-block-post-title {
  color: #ffffff !important;
}

/* ─── Trust bar — force white/light-blue text on navy ─────────────────────── */
.trust-bar,
.trust-bar * {
  color: #ffffff;
}
.trust-bar h3,
.trust-bar .wp-block-heading {
  color: #ffffff !important;
}
.trust-bar p,
.trust-bar .wp-block-paragraph {
  color: #bfdbfe !important;
}
.trust-stat-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

/* ─── Service card icon wrapper ────────────────────────────────────────────── */
.service-icon-wrap {
  width: 64px;
  height: 64px;
  background: #dbeafe;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.service-card--featured .service-icon-wrap {
  background: #bfdbfe;
}

.inner-content {
  width: 100%;
}

/* Blog grid */
.blog-grid {
  display: grid !important;
  grid-template-columns: repeat(3,1fr);
  gap: 2rem;
}

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

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

.blog-card .wp-block-post-featured-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Post nav */
.post-nav a {
  color: #3b82f6 !important;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9375rem;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(30,58,138,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 2rem;
}

.header-logo img {
  height: 50px;
  width: auto;
}

.header-logo a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo .logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  line-height: 1.3;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.header-nav a {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.header-nav a:hover {
  color: var(--blue);
}

.wp-block-navigation a:not(.wp-block-button__link) {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text) !important;
  text-decoration: none !important;
}

.wp-block-navigation a:not(.wp-block-button__link):hover {
  color: var(--blue) !important;
}

.btn-book {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 2px 8px rgba(59,130,246,0.35);
}

.btn-book:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(59,130,246,0.4);
  color: #fff !important;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  box-shadow: 0 4px 16px rgba(59,130,246,0.35);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59,130,246,0.4);
  color: #fff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--navy);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  background: var(--navy);
  color: #fff !important;
  transform: translateY(-2px);
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
  background: var(--offwhite);
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1160px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--soft-blue);
  color: var(--blue);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4em 1em;
  border-radius: var(--radius-pill);
  margin-bottom: 1.5rem;
}

.hero-h1 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 1.25rem 0;
}

.hero-h1 em {
  font-style: italic;
  color: var(--blue);
}

.hero-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 1.125rem;
  color: var(--steel);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius);
}

.rating-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: #fff;
  border-radius: 12px;
  padding: 0.875rem 1.25rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 3;
}

.rating-stars {
  color: #f59e0b;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.rating-text {
  font-family: 'Outfit', sans-serif;
}

.rating-num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
  line-height: 1.1;
}

.rating-sub {
  font-size: 0.75rem;
  color: var(--steel);
}

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar {
  background: var(--navy);
  padding: 2.5rem 1.5rem;
}

.trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1160px;
  margin: 0 auto;
  text-align: center;
}

.trust-stat {
  padding: 0.5rem;
}

.trust-stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--mid-blue);
  line-height: 1;
  display: block;
  margin-bottom: 0.35rem;
}

.trust-stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* =========================================================
   SERVICES SECTION
   ========================================================= */
.services-section {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.services-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: var(--navy);
  margin: 0.5rem 0 1rem;
}

.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  color: var(--steel);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-top-color 0.25s ease;
  border-top: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--blue);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--soft-blue);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
}

.service-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.375rem;
  color: var(--navy);
  margin: 0 0 0.75rem;
}

.service-card p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--steel);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}

.service-link:hover {
  gap: 0.6rem;
  color: var(--navy);
}

/* =========================================================
   WHAT TO EXPECT SECTION (from Concept 4)
   ========================================================= */
.expect-section {
  background: var(--offwhite);
  padding: 5rem 1.5rem;
}

.expect-inner {
  max-width: 960px;
  margin: 0 auto;
}

.expect-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin-top: 3rem;
}

.expect-steps::before {
  content: '';
  position: absolute;
  top: 27px;
  left: calc(12.5% + 28px);
  right: calc(12.5% + 28px);
  height: 2px;
  background: var(--soft-mid);
  z-index: 0;
}

.expect-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--soft-blue);
  border: 2px solid var(--soft-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.step-dot svg {
  width: 24px;
  height: 24px;
  stroke: var(--blue);
  transition: stroke 0.3s ease;
}

.expect-step:hover .step-dot {
  background: var(--blue);
  border-color: var(--blue);
}

.expect-step:hover .step-dot svg {
  stroke: #fff;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.4rem;
}

.step-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.step-desc {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

.expect-cta {
  text-align: center;
  margin-top: 3rem;
}

/* =========================================================
   TEAM SECTION
   ========================================================= */
.team-section {
  background: var(--white);
  padding: 5rem 1.5rem;
}

.team-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.team-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: center;
}

.team-intro h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: var(--navy);
  margin: 0.5rem 0 1rem;
}

.team-intro p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  color: var(--steel);
  line-height: 1.7;
  margin: 0 0 1.5rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-card {
  background: var(--offwhite);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border);
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.team-photo {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.team-info {
  padding: 1.25rem;
  border-top: 3px solid var(--soft-blue);
}

.team-info h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  margin: 0 0 0.25rem;
}

.team-info .team-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.team-info p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

/* =========================================================
   TESTIMONIALS SECTION
   ========================================================= */
.testimonials-section {
  background: var(--cream);
  padding: 5rem 1.5rem;
}

.testimonials-inner {
  max-width: 1160px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 3rem;
}

.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
  margin: 0 0 1.25rem;
  font-style: italic;
}

.testimonial-author {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.testimonial-location {
  font-size: 0.8125rem;
  color: var(--steel);
  font-weight: 400;
  display: block;
}

/* =========================================================
   CONTACT / LOCATION SECTION
   ========================================================= */
.contact-section {
  background: var(--navy);
  padding: 5rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(59,130,246,0.08);
  border-radius: 50%;
  pointer-events: none;
}

.contact-section::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: rgba(59,130,246,0.06);
  border-radius: 50%;
  pointer-events: none;
}

.contact-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: #fff;
  margin: 0.5rem 0 1rem;
}

.contact-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0 0 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--mid-blue);
}

.contact-item-text {
  font-family: 'Outfit', sans-serif;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--mid-blue);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item-value {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.9);
}

.contact-item-value a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.contact-item-value a:hover {
  color: var(--mid-blue);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: var(--navy) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 2.25rem;
  border-radius: var(--radius-pill);
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--soft-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
  color: var(--navy) !important;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.5);
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.btn-outline-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0f2060;
  padding: 3rem 1.5rem;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
}

.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-logo .logo-text {
  font-family: 'DM Serif Display', Georgia, serif;
  color: rgba(255,255,255,0.9);
  font-size: 1rem;
}

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

.footer-contact {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--soft-mid);
}

.footer-contact a {
  color: var(--soft-mid);
  text-decoration: none;
}

.footer-contact a:hover {
  color: #fff;
}

.footer-sep {
  margin: 0 0.5rem;
  color: rgba(255,255,255,0.3);
}

.footer-address {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.80);
  margin-top: 0.35rem;
}

.footer-right {
  text-align: right;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Hero animations — fire immediately */
.hero-content {
  animation: fadeUp 0.7s ease both;
  animation-delay: 0.1s;
}

.hero-image {
  animation: slideInRight 0.7s ease both;
  animation-delay: 0.25s;
}

.rating-badge {
  animation: fadeUp 0.6s ease both;
  animation-delay: 0.5s;
}

/* Scroll-triggered animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.slide-in-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.slide-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.93);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Staggered children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger-children.is-visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.stagger-children.is-visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.stagger-children.is-visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.stagger-children.is-visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-content,
  .hero-image,
  .rating-badge {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .animate-on-scroll,
  .fade-up,
  .slide-in-left,
  .slide-in-right,
  .scale-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .stagger-children > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   EQUAL HEIGHT CARDS
   ========================================================= */
.services-grid,
.team-grid,
.testimonials-grid {
  align-items: stretch;
}

.services-grid .service-card,
.testimonials-grid .testimonial-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card p { flex: 1; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero-inner {
    gap: 2.5rem;
  }

  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-intro {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 68px;
    padding: 0 1rem;
  }

  .header-nav {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 3rem 1rem;
  }

  .hero-image {
    order: -1;
  }

  .hero-image img {
    height: 320px;
  }

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

  .expect-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .expect-steps::before {
    display: none;
  }

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

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

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1.5rem;
  }

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

@media (max-width: 480px) {
  .trust-bar-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .expect-steps {
    grid-template-columns: 1fr;
  }

  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   CONTRAST FIXES — Dark background sections
   ========================================================= */

/* Trust bar — force all text white */
.trust-bar,
.trust-bar * {
  color: #ffffff;
}
.trust-bar .wp-block-heading,
.trust-bar h1, .trust-bar h2, .trust-bar h3,
.trust-bar h4, .trust-bar h5, .trust-bar h6 {
  color: #ffffff !important;
}
.trust-stat-number {
  color: var(--mid-blue) !important;
}
.trust-stat-label {
  color: rgba(255,255,255,0.85) !important;
}

/* Contact CTA section — force all text white */
.contact-cta-section .wp-block-heading,
.contact-cta-section h1, .contact-cta-section h2,
.contact-cta-section h3, .contact-cta-section h4 {
  color: #ffffff !important;
}
.contact-cta-section p {
  color: rgba(255,255,255,0.85);
}

/* Footer — force all text white */
.site-footer,
.site-footer .wp-block-heading,
.site-footer h1, .site-footer h2, .site-footer h3,
.site-footer h4, .site-footer h5, .site-footer h6,
.site-footer p {
  color: rgba(255,255,255,0.85);
}
.site-footer a {
  color: var(--soft-mid);
}
.site-footer a:hover {
  color: #ffffff;
}

/* Any wp-block-group with dark/navy background — catch-all */
[style*="background-color:#1e3a8a"] .wp-block-heading,
[style*="background-color:#1e3a8a"] h1,
[style*="background-color:#1e3a8a"] h2,
[style*="background-color:#1e3a8a"] h3,
[style*="background-color:#1e3a8a"] h4 {
  color: #ffffff !important;
}
[style*="background-color:#0f2060"] .wp-block-heading,
[style*="background-color:#0f2060"] h1,
[style*="background-color:#0f2060"] h2,
[style*="background-color:#0f2060"] h3,
[style*="background-color:#0f2060"] h4 {
  color: #ffffff !important;
}

/* =========================================================
   WORDPRESS BLOCK EDITOR OVERRIDES
   ========================================================= */
.wp-block-group {
  margin: 0;
}

.wp-block-columns {
  gap: 0;
  margin: 0;
}

.is-layout-constrained > * {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   DROPDOWN NAV
   ========================================================= */
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.125rem;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li.has-dropdown:hover > a {
  background: var(--soft-blue);
  color: var(--navy);
}

.nav-chevron {
  opacity: 0.5;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.has-dropdown:hover .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 8px 40px rgba(30,58,138,0.14);
  padding: 0.75rem;
  min-width: 220px;
  display: none;
  flex-direction: column;
  gap: 0.125rem;
  z-index: 200;
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 0.875rem;
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.nav-dropdown a:hover {
  background: var(--soft-blue);
  color: var(--navy);
}

.nav-dropdown a svg {
  flex-shrink: 0;
  opacity: 0.5;
  stroke: var(--blue);
}

.nav-dropdown a:hover svg {
  opacity: 1;
}

.dropdown-view-all {
  color: var(--blue) !important;
  font-weight: 600 !important;
  border-top: 1px solid var(--border);
  margin-top: 0.25rem;
  padding-top: 0.75rem !important;
}

/* Wide dropdown (grid layout) */
.nav-dropdown--wide {
  left: 0;
  transform: none;
  min-width: 540px;
  padding: 1.25rem;
}

.nav-dropdown--wide .dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.5rem;
}

.nav-dropdown--wide .dropdown-grid.dropdown-grid--3 {
  grid-template-columns: 1fr 1fr 1fr;
}

.dropdown-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 0.25rem 0.875rem 0.375rem;
  margin: 0;
}

.has-dropdown:hover .nav-dropdown {
  display: flex;
}

/* Prevent flicker gap */
.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}

/* Book Now button in header */
.header-book-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--navy);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.35rem;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(59,130,246,0.3);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.header-book-btn:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(30,58,138,0.3);
  color: #fff !important;
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.nav-hamburger:hover {
  background: var(--soft-blue);
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15,32,96,0.45);
  z-index: 300;
  backdrop-filter: blur(2px);
}

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 92vw);
  height: 100dvh;
  background: #fff;
  z-index: 400;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
  box-shadow: -4px 0 40px rgba(30,58,138,0.18);
}

.mobile-nav.is-open,
.mobile-nav-overlay.is-open {
  transform: none;
  display: block;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.mobile-nav-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 8px;
  color: var(--text);
  display: flex;
  align-items: center;
  transition: background 0.15s ease;
}

.mobile-nav-close:hover {
  background: var(--soft-blue);
}

.mobile-nav-body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 0;
}

.mobile-link {
  display: block;
  padding: 0.875rem 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s ease, color 0.15s ease;
}

.mobile-link:hover {
  background: var(--offwhite);
  color: var(--navy);
}

.mobile-section {
  border-bottom: 1px solid var(--border);
}

.mobile-section-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 1.5rem;
  background: none;
  border: none;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}

.mobile-section-toggle:hover {
  background: var(--offwhite);
}

.mobile-section-toggle svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.mobile-section.is-open .mobile-section-toggle svg {
  transform: rotate(180deg);
}

.mobile-sub {
  display: none;
  flex-direction: column;
  background: var(--offwhite);
  padding: 0.25rem 0;
}

.mobile-section.is-open .mobile-sub {
  display: flex;
}

.mobile-sub a {
  display: block;
  padding: 0.7rem 1.5rem 0.7rem 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease;
}

.mobile-sub a:first-child {
  color: var(--blue);
  font-weight: 600;
}

.mobile-sub a:hover {
  color: var(--navy);
  background: var(--soft-blue);
}

.mobile-nav-footer {
  padding: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-book-btn {
  display: block;
  text-align: center;
  background: var(--blue);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.875rem;
  border-radius: 50px;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(59,130,246,0.3);
}

.mobile-phone {
  display: block;
  text-align: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy) !important;
  text-decoration: none;
}

@media (max-width: 900px) {
  .nav-list { display: none; }
  .nav-hamburger { display: flex; }
  .header-book-btn { display: none; }
  .header-nav { justify-content: flex-end; }
}

/* =========================================================
   BREADCRUMB BAR
   ========================================================= */
.breadcrumb-bar {
  background: var(--offwhite);
  border-bottom: 1px solid var(--border);
  padding: 0.625rem 1.5rem;
}

.breadcrumb-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 1160px;
  margin: 0 auto;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: var(--steel);
}

.breadcrumb-inner a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb-inner a:hover {
  color: var(--navy);
}

.breadcrumb-inner svg {
  opacity: 0.4;
  flex-shrink: 0;
}

.breadcrumb-current {
  color: var(--text);
  font-weight: 500;
}

/* =========================================================
   PAGE LAYOUT (content + sidebar)
   ========================================================= */
.page-body {
  width: 100%;
}

.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  max-width: 1160px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5rem;
  align-items: start;
}

.page-content {
  min-width: 0;
}

/* Prose styles for page content */
.page-content h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--navy);
  margin: 2.5rem 0 1rem;
  line-height: 1.2;
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin: 2rem 0 0.75rem;
  line-height: 1.3;
}

.page-content p {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.25rem;
}

.page-content ul, .page-content ol {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.25rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.4rem;
}

.page-content strong {
  font-weight: 600;
  color: var(--navy);
}

/* FAQ accordion */
.page-content .faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}

.page-content .faq-q {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 0.625rem;
}

.page-content .faq-a {
  font-size: 0.9375rem;
  color: var(--steel);
  margin: 0;
  line-height: 1.7;
}

/* Symptom / condition pill list */
.symptom-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
}

.symptom-list li {
  background: var(--soft-blue);
  color: var(--navy);
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4em 1em;
  border-radius: 50px;
  border: 1px solid var(--soft-mid);
}

/* Info box / callout */
.info-box {
  background: var(--cream);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.info-box p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text);
}

.info-box strong {
  color: var(--navy);
}

/* Inline CTA band */
.inline-cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 3rem 0 0;
}

.inline-cta-band__text {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}

.inline-cta-band__text strong {
  color: #fff !important;
  font-weight: 700;
}

.inline-cta-band__btn {
  display: inline-flex;
  align-items: center;
  background: var(--blue);
  color: #fff !important;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  text-decoration: none !important;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  transition: background 0.2s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.inline-cta-band__btn:hover {
  background: #fff;
  color: var(--navy) !important;
  transform: translateY(-1px);
}

/* =========================================================
   SIDEBAR
   ========================================================= */
.page-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 110px;
}

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-card--cta {
  background: var(--cream);
  border-color: var(--soft-mid);
  border-top: 3px solid var(--blue);
  text-align: center;
}

.sidebar-card--cta .sidebar-card__icon {
  width: 56px;
  height: 56px;
  background: var(--soft-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.sidebar-card--cta .sidebar-card__icon svg {
  stroke: var(--blue);
}

.sidebar-card--cta h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0 0 0.5rem;
}

.sidebar-card--cta p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--steel);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.sidebar-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.8rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  text-decoration: none !important;
  transition: all 0.2s ease;
  margin-bottom: 0.625rem;
}

.sidebar-btn:last-child {
  margin-bottom: 0;
}

.sidebar-btn--primary {
  background: var(--blue);
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(59,130,246,0.3);
}

.sidebar-btn--primary:hover {
  background: var(--navy);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(30,58,138,0.25);
}

.sidebar-btn--secondary {
  background: transparent;
  color: var(--navy) !important;
  border: 2px solid var(--navy);
  font-size: 0.875rem;
}

.sidebar-btn--secondary:hover {
  background: var(--navy);
  color: #fff !important;
}

.sidebar-card__label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 1rem;
}

/* Hours table */
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
}

.hours-table td {
  padding: 0.4rem 0;
  color: var(--text);
  vertical-align: top;
}

.hours-table td:first-child {
  color: var(--steel);
  width: 45%;
}

.hours-table td:last-child {
  font-weight: 500;
  text-align: right;
}

.hours-table tr.closed td {
  color: var(--steel);
  opacity: 0.6;
}

.hours-table tr + tr td {
  border-top: 1px solid var(--border);
}

.sidebar-address {
  display: flex;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.sidebar-map-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.sidebar-map-link:hover {
  color: var(--navy);
}

.sidebar-card--insurance p {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--steel);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.sidebar-text-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

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

/* Responsive sidebar */
@media (max-width: 900px) {
  .page-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2.5rem 1rem 3rem;
  }

  .page-sidebar {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .sidebar-card--cta {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .page-sidebar {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SERVICE / CONDITION / GEO INTERIOR PAGE PATTERNS
   ========================================================= */

/* Two-column feature intro (icon left, text right) */
.feature-intro {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-intro__icon {
  width: 72px;
  height: 72px;
  background: var(--soft-blue);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-intro__icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--blue);
}

.feature-intro__text h2:first-child {
  margin-top: 0;
}

/* Benefits checklist */
.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.5;
}

.benefit-list li::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  min-width: 20px;
  background: var(--soft-blue);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%233b82f6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 1px;
}

/* Process steps (numbered) */
.process-steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.process-steps li {
  counter-increment: step;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.6;
}

.process-steps li::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  margin-top: 1px;
}

/* Geo page local landmarks */
.geo-highlights {
  background: var(--offwhite);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.geo-highlights h4 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 0.875rem;
}

.geo-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.geo-highlights li {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.geo-highlights li::before {
  content: '→';
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
}

/* Team cards (interior) */
.team-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.team-card {
  background: var(--offwhite);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
}

.team-card h3 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1.125rem;
  color: var(--navy);
  margin: 0 0 0.25rem;
}

.team-card .team-card__role {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  display: block;
  margin-bottom: 0.75rem;
}

.team-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.team-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
}

@media (max-width: 700px) {
  .team-cards { grid-template-columns: 1fr; }
  .geo-highlights ul { grid-template-columns: 1fr; }
  .feature-intro { grid-template-columns: 1fr; }
  .inline-cta-band { flex-direction: column; text-align: center; }
}

/* =========================================================
   FOOTER — FULL REBUILD
   ========================================================= */
.site-footer {
  background: #0f2060 !important;
  color: rgba(255,255,255,0.85);
}

.footer-grid-main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  padding: 0 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-col-label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin: 0 0 1rem;
}

.footer-logo-link {
  display: inline-block;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer-tagline {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
  margin: 0 0 1.25rem;
}

.footer-contact-quick {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #60a5fa !important;
  text-decoration: none;
}

.footer-phone:hover {
  color: #ffffff !important;
}

.footer-address-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav-list li a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav-list li a:hover {
  color: #ffffff;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.7);
  padding: 0.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-hours-row span:last-child {
  font-weight: 500;
}

.footer-hours-closed {
  color: rgba(255,255,255,0.55) !important;
}

.footer-hours-closed span {
  color: rgba(255,255,255,0.55) !important;
}

.footer-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 2.5rem 1.5rem 1.5rem;
  max-width: calc(1160px);
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0 1.5rem;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-copy {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-bottom-links a {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
  color: rgba(255,255,255,0.7);
}

.footer-bottom-sep {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
}

@media (max-width: 960px) {
  .footer-grid-main {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
  }
}


/* Contrast fix: step number circles – .expect-step-number uses .has-text-color which WP core
   overrides with #1e293b !important. We beat it with higher specificity. */
.wp-block-group.expect-step-number.has-text-color,
.wp-block-group.expect-step-number.has-text-color *,
.wp-block-group.expect-step-number .has-text-color,
.wp-block-group.expect-step-number .wp-block-paragraph {
  color: #ffffff !important;
}

/* Legacy .step-dot fallback */
.step-dot .step-num,
.expect-step .step-dot * {
  color: #ffffff !important;
}


/* ── CONTRAST OVERRIDES (post-WP-global-styles) ─────────────────────────── */

/* Fix: buttons with .has-text-color get WP core color:!important override.
   Beat it with a chained selector that has higher specificity. */
.wp-block-button .wp-block-button__link.has-text-color,
.wp-block-button .wp-block-button__link.wp-element-button {
  color: inherit !important;
}
/* Specifically force white on blue/navy background buttons */
.wp-block-button .wp-block-button__link.has-background {
  color: #ffffff !important;
}

/* Fix: header Book Now button — force navy bg */
a.header-book-btn,
a.header-book-btn:link,
a.header-book-btn:visited {
  background-color: var(--navy) !important;
  color: #ffffff !important;
}

/* Fix: utility bar — any block inside it must use white text */
.utility-bar .has-text-color,
.utility-bar .wp-block-group,
.utility-bar .wp-block-group * {
  color: rgba(255,255,255,0.9) !important;
}
