/*
Theme Name: Commonwealth
Theme URI: https://example.com/
Author: Commonwealth Psychiatry & Wellness
Description: Lightweight classic theme for Commonwealth Psychiatry & Wellness. Supplies a
  site-wide header, navigation menu, footer widget areas and the practice design system, so
  every page added in WordPress inherits the same chrome as the home page.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: commonwealth
*/

:root {
  --sage: #7a9e87;
  --sage-light: #a8c5b0;
  --sage-dark: #4d7a60;
  --cream: #f5f0e8;
  --warm-white: #fdfaf5;
  --charcoal: #2c2c2c;
  --muted: #6b6b6b;
  --gold: #c9a96e;
  --gold-light: #e8d5b0;
  --section-gap: 100px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: "DM Sans", sans-serif; background: var(--warm-white); color: var(--charcoal); overflow-x: hidden; }
h1, h2, h3, h4 { font-family: "Cormorant Garamond", serif; }
.float-actions { position: fixed; bottom: 28px; right: 28px; display: flex; flex-direction: column; gap: 10px; z-index: 999; }
.float-btn { display: flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 50px; font-family: "DM Sans", sans-serif; font-size: 13px; font-weight: 500; text-decoration: none; letter-spacing: .03em; box-shadow: 0 4px 20px rgba(0,0,0,.15); transition: transform .2s, box-shadow .2s; }
.float-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.2); }
.float-call { background: var(--sage-dark); color: white; }
.float-text { background: var(--gold); color: white; }
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px 60px; background: rgba(253,250,245,.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(122,158,135,.15); transition: padding .3s, box-shadow .3s; }
nav.scrolled { padding: 12px 60px; box-shadow: 0 2px 30px rgba(0,0,0,.08); }
.logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.logo-mark { width: 44px; height: 44px; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: white; font-family: "Cormorant Garamond", serif; font-size: 20px; font-weight: 600; letter-spacing: -1px; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 600; color: var(--charcoal); line-height: 1.1; }
.logo-sub { font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 13px; letter-spacing: .04em; color: var(--charcoal); font-weight: 400; transition: color .2s; position: relative; }
.nav-links a::after { content: ""; position: absolute; bottom: -3px; left: 0; width: 0; height: 1px; background: var(--sage); transition: width .3s; }
.nav-links a:hover { color: var(--sage-dark); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--sage-dark) !important; color: white !important; padding: 10px 22px; border-radius: 50px; font-size: 13px !important; font-weight: 500 !important; transition: background .2s, transform .2s !important; }
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--sage) !important; transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: all .3s; }
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-video-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #2d4a38 0%, #3d6b52 30%, #4a7a5f 60%, #2c4a3a 100%); }
.hero-video-bg::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(201,169,110,.12) 0%, transparent 60%), radial-gradient(ellipse 60% 80% at 20% 70%, rgba(122,158,135,.2) 0%, transparent 50%); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(20,38,28,.65) 0%, rgba(20,38,28,.3) 60%, rgba(20,38,28,.1) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 60px; padding-top: 100px; animation: fadeUp 1s ease both; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(201,169,110,.2); border: 1px solid rgba(201,169,110,.4); color: var(--gold-light); padding: 6px 16px; border-radius: 50px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; animation: fadeUp 1s .1s ease both; }
.hero-badge-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; animation: cw-pulse 2s infinite; }
@keyframes cw-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .4; } }
.hero h1 { font-size: clamp(42px, 6vw, 78px); font-weight: 300; color: white; line-height: 1.1; margin-bottom: 24px; animation: fadeUp 1s .2s ease both; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.7; max-width: 520px; margin-bottom: 48px; font-weight: 300; animation: fadeUp 1s .3s ease both; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeUp 1s .4s ease both; }
.btn-primary { background: var(--gold); color: white; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 500; letter-spacing: .04em; transition: all .3s; box-shadow: 0 4px 24px rgba(201,169,110,.4); }
.btn-primary:hover { background: #b8924a; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(201,169,110,.5); }
.btn-outline { border: 1.5px solid rgba(255,255,255,.5); color: white; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 400; letter-spacing: .04em; transition: all .3s; }
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.hero-stats { position: absolute; bottom: 60px; right: 60px; display: flex; gap: 40px; animation: fadeUp 1s .6s ease both; }
.hero-stat { text-align: center; }
.hero-stat-num { font-family: "Cormorant Garamond", serif; font-size: 36px; font-weight: 300; color: white; line-height: 1; display: block; }
.hero-stat-label { font-size: 11px; color: rgba(255,255,255,.6); letter-spacing: .08em; text-transform: uppercase; margin-top: 4px; display: block; }
.hero-scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; color: rgba(255,255,255,.5); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; animation: fadeIn 2s 1s ease both; }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent); animation: scrollAnim 2s 1s infinite; }
@keyframes scrollAnim { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.trust-bar { background: var(--charcoal); padding: 22px 60px; display: flex; align-items: center; justify-content: center; gap: 60px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.7); font-size: 13px; letter-spacing: .04em; }
.trust-icon { font-size: 16px; }
.trust-divider { width: 1px; height: 20px; background: rgba(255,255,255,.15); }
section { padding: var(--section-gap) 60px; }
.section-label { display: inline-block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 16px; position: relative; padding-left: 24px; }
.section-label::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 16px; height: 1px; background: var(--sage); }
.section-title { font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.15; color: var(--charcoal); margin-bottom: 20px; }
.section-title em { font-style: italic; color: var(--sage-dark); }
.section-desc { font-size: 15px; line-height: 1.8; color: var(--muted); max-width: 540px; font-weight: 300; }
.welcome { background: var(--cream); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1400px; margin: 0 auto; padding: var(--section-gap) 60px; }
.welcome-img { position: relative; }
.welcome-img-main { width: 100%; aspect-ratio: 4/5; background: linear-gradient(145deg, var(--sage-light), var(--sage-dark)); border-radius: 4px 80px 4px 80px; display: flex; align-items: center; justify-content: center; font-family: "Cormorant Garamond", serif; font-size: 18px; color: rgba(255,255,255,.8); font-style: italic; letter-spacing: .05em; overflow: hidden; }
.welcome-img-badge { position: absolute; bottom: -20px; right: -20px; background: white; border-radius: 16px; padding: 20px 24px; box-shadow: 0 8px 40px rgba(0,0,0,.12); }
.badge-num { font-family: "Cormorant Garamond", serif; font-size: 40px; font-weight: 300; color: var(--sage-dark); display: block; line-height: 1; }
.badge-text { font-size: 12px; color: var(--muted); line-height: 1.4; margin-top: 4px; }
.welcome-content { padding: 20px 0; }
.welcome-list { list-style: none; margin-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.welcome-list li { display: flex; align-items: flex-start; gap: 14px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.check { width: 22px; height: 22px; background: var(--sage); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 11px; flex-shrink: 0; margin-top: 1px; }
.why { max-width: 1400px; margin: 0 auto; }
.why-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.why-card { background: var(--cream); border-radius: 20px; padding: 36px 30px; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; border: 1px solid transparent; }
.why-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(77,122,96,.12); border-color: var(--sage-light); }
.why-card-icon { width: 52px; height: 52px; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 24px; }
.why-card h3 { font-size: 20px; font-weight: 400; margin-bottom: 12px; color: var(--charcoal); }
.why-card p { font-size: 14px; color: var(--muted); line-height: 1.7; font-weight: 300; }
.why-card-num { position: absolute; top: 20px; right: 24px; font-family: "Cormorant Garamond", serif; font-size: 72px; font-weight: 300; color: rgba(122,158,135,.08); line-height: 1; pointer-events: none; }
.services-section { background: linear-gradient(160deg, #1e3528 0%, #2d4a38 50%, #1a2e22 100%); position: relative; overflow: hidden; }
.services-section::before { content: ""; position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(201,169,110,.08) 0%, transparent 70%); pointer-events: none; }
.services-inner { max-width: 1400px; margin: 0 auto; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.services-header .section-label { color: var(--gold-light); }
.services-header .section-label::before { background: var(--gold); }
.services-header .section-title { color: white; }
.services-header .section-title em { color: var(--gold-light); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: 24px; overflow: hidden; }
.service-card { background: rgba(255,255,255,.05); padding: 44px 36px; position: relative; transition: background .3s; cursor: pointer; text-decoration: none; display: block; border: 1px solid rgba(255,255,255,.06); }
.service-card:hover { background: rgba(255,255,255,.1); }
.service-card:hover .service-arrow { transform: translate(4px,-4px); }
.service-emoji { font-size: 32px; margin-bottom: 20px; display: block; }
.service-card h3 { font-size: 22px; font-weight: 400; color: white; margin-bottom: 12px; }
.service-card p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; font-weight: 300; }
.service-arrow { position: absolute; top: 36px; right: 36px; color: var(--gold); font-size: 18px; transition: transform .3s; }
.telehealth { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.telehealth-visual { background: linear-gradient(135deg, var(--sage-light) 0%, var(--sage) 50%, var(--sage-dark) 100%); border-radius: 24px; padding: 60px; position: relative; overflow: hidden; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; }
.telehealth-visual::before { content: "💻"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%); font-size: 100px; opacity: .2; }
.telehealth-visual-badge { background: white; border-radius: 16px; padding: 20px 24px; display: inline-flex; align-items: center; gap: 12px; width: fit-content; }
.tele-badge-dot { width: 10px; height: 10px; background: #4CAF50; border-radius: 50%; box-shadow: 0 0 0 3px rgba(76,175,80,.2); animation: cw-pulse 2s infinite; flex-shrink: 0; }
.tele-badge-text { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.telehealth-features { margin-top: 40px; display: flex; flex-direction: column; gap: 20px; }
.tele-feature { display: flex; align-items: flex-start; gap: 16px; padding: 20px; background: var(--cream); border-radius: 16px; transition: transform .2s; }
.tele-feature:hover { transform: translateX(4px); }
.tele-feature-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.tele-feature h4 { font-size: 15px; font-weight: 500; margin-bottom: 4px; color: var(--charcoal); font-family: "DM Sans", sans-serif; }
.tele-feature p { font-size: 13px; color: var(--muted); line-height: 1.6; font-weight: 300; }
.conditions { background: var(--cream); }
.conditions-inner { max-width: 1400px; margin: 0 auto; }
.conditions-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 50px; }
.condition-tag { background: white; border: 1px solid rgba(122,158,135,.2); border-radius: 50px; padding: 14px 24px; font-size: 13px; color: var(--charcoal); text-align: center; transition: all .2s; cursor: default; }
.condition-tag:hover { background: var(--sage); color: white; border-color: var(--sage); transform: scale(1.03); }
.reviews { max-width: 1400px; margin: 0 auto; overflow: hidden; }
.reviews-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.stars { color: #f4c542; font-size: 16px; margin-bottom: 8px; }
.rating-big { font-family: "Cormorant Garamond", serif; font-size: 60px; font-weight: 300; color: var(--charcoal); line-height: 1; }
.rating-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.reviews-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 20px; scrollbar-width: none; scroll-snap-type: x mandatory; }
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { background: var(--cream); border-radius: 20px; padding: 36px; min-width: 340px; flex-shrink: 0; scroll-snap-align: start; border: 1px solid rgba(122,158,135,.1); transition: transform .3s; }
.review-card:hover { transform: translateY(-4px); }
.review-text { font-size: 17px; line-height: 1.8; color: var(--charcoal); margin: 16px 0 24px; font-weight: 300; font-style: italic; font-family: "Cormorant Garamond", serif; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar { width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--sage-light), var(--sage)); display: flex; align-items: center; justify-content: center; color: white; font-size: 16px; font-weight: 600; font-family: "Cormorant Garamond", serif; flex-shrink: 0; }
.reviewer-name { font-size: 14px; font-weight: 500; color: var(--charcoal); }
.reviewer-date { font-size: 12px; color: var(--muted); margin-top: 2px; }
.new-patients { background: linear-gradient(135deg, var(--sage-dark) 0%, #3d6b52 100%); text-align: center; position: relative; overflow: hidden; }
.new-patients-inner { position: relative; max-width: 800px; margin: 0 auto; }
.new-patients .section-label { color: var(--gold-light); }
.new-patients .section-label::before { background: var(--gold); }
.new-patients .section-title { color: white; max-width: 100%; }
.new-patients .section-desc { color: rgba(255,255,255,.75); max-width: 100%; margin: 0 auto 40px; text-align: center; }
.insurance-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 48px; }
.insurance-tag { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: rgba(255,255,255,.85); padding: 10px 20px; border-radius: 8px; font-size: 13px; letter-spacing: .04em; }
.np-actions { display: flex; justify-content: center; gap: 16px; margin-top: 40px; flex-wrap: wrap; }
.btn-white { background: white; color: var(--sage-dark); padding: 16px 36px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 500; transition: all .3s; box-shadow: 0 4px 20px rgba(0,0,0,.1); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,0,0,.15); }
.btn-white-outline { border: 1.5px solid rgba(255,255,255,.5); color: white; padding: 16px 36px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 400; transition: all .3s; }
.btn-white-outline:hover { background: rgba(255,255,255,.1); border-color: white; }
.team-section { max-width: 1400px; margin: 0 auto; }
.team-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.team-card { border-radius: 20px; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(0,0,0,.1); }
.team-photo { aspect-ratio: 4/3; background: linear-gradient(145deg, var(--sage-light), var(--sage)); display: flex; align-items: center; justify-content: center; }
.team-photo span { font-size: 72px; line-height: 1; filter: drop-shadow(0 6px 18px rgba(0,0,0,.18)); }
.team-info { background: var(--cream); padding: 24px 28px; }
.team-info h3 { font-size: 22px; font-weight: 400; color: var(--charcoal); margin-bottom: 4px; }
.team-title { font-size: 13px; color: var(--sage-dark); letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.team-info p { font-size: 13px; color: var(--muted); margin-top: 12px; line-height: 1.6; font-weight: 300; }
.contact { background: var(--cream); }
.contact-inner { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; }
.contact-details { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: var(--sage); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-item h4 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-family: "DM Sans", sans-serif; font-weight: 500; margin-bottom: 6px; }
.contact-item p, .contact-item a { font-size: 15px; color: var(--charcoal); line-height: 1.6; text-decoration: none; font-weight: 300; }
.contact-item a:hover { color: var(--sage-dark); }
.hours-grid { display: grid; grid-template-columns: auto 1fr; gap: 4px 24px; font-size: 14px; }
.hours-day { color: var(--muted); font-weight: 300; }
.hours-time { color: var(--charcoal); }
.contact-map { border-radius: 24px; overflow: hidden; background: var(--sage-light); min-height: 400px; display: flex; align-items: center; justify-content: center; font-family: "Cormorant Garamond", serif; font-size: 16px; color: white; font-style: italic; position: relative; }
.contact-directions { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--sage-dark); text-decoration: none; border-bottom: 1px solid rgba(77,122,96,.35); transition: color .2s, border-color .2s; }
.contact-directions:hover { color: var(--charcoal); border-color: var(--charcoal); }
.contact-map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }
@keyframes mapbounce { 0%, 100% { transform: translate(-50%,-70%); } 50% { transform: translate(-50%,-80%); } }
.map-placeholder-text { position: absolute; bottom: 30px; background: white; padding: 12px 20px; border-radius: 8px; font-style: normal; font-family: "DM Sans", sans-serif; font-size: 13px; color: var(--charcoal); box-shadow: 0 4px 20px rgba(0,0,0,.1); text-align: center; }
.cta-banner { background: var(--gold); padding: 36px 60px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.cta-banner-text { font-family: "Cormorant Garamond", serif; font-size: 26px; font-weight: 300; color: white; }
.cta-banner-text span { font-style: italic; }
.btn-banner { background: white; color: var(--gold); padding: 14px 32px; border-radius: 50px; text-decoration: none; font-size: 14px; font-weight: 500; transition: all .3s; white-space: nowrap; }
.btn-banner:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.crisis { background: #fff8f0; border-top: 3px solid #ff9800; padding: 20px 60px; display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; text-align: center; }
.crisis p { font-size: 14px; color: var(--charcoal); }
.crisis a { color: #e65100; font-weight: 600; text-decoration: none; }
.crisis a:hover { text-decoration: underline; }
footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 60px; }
.footer-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-brand .logo-name { color: white; font-size: 22px; }
.footer-brand .logo-sub { color: rgba(255,255,255,.4); }
.footer-tagline { font-size: 13px; line-height: 1.7; margin-top: 16px; color: rgba(255,255,255,.5); font-weight: 300; max-width: 260px; }
.footer-contact { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.footer-contact a { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.62); text-decoration: none; transition: color .2s; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-qr { margin-top: 24px; width: 80px; height: 80px; background: white; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 11px; color: var(--charcoal); text-align: center; padding: 8px; line-height: 1.3; }
.footer-col h5 { font-family: "DM Sans", sans-serif; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; font-weight: 300; }
.footer-col ul li a:hover { color: var(--sage-light); }
.footer-bottom { max-width: 1400px; margin: 24px auto 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.3); }
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }
.a11y-toggle { position: fixed; left: 0; top: 50%; transform: translateY(-50%); background: var(--sage-dark); color: white; width: 36px; height: 80px; border-radius: 0 8px 8px 0; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 200; writing-mode: vertical-rl; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mobile-menu { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--warm-white); z-index: 99; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: "Cormorant Garamond", serif; font-size: 32px; font-weight: 300; color: var(--charcoal); text-decoration: none; }
.mobile-close { position: absolute; top: 24px; right: 24px; font-size: 28px; cursor: pointer; color: var(--charcoal); background: none; border: none; }
@media (max-width: 1024px) {
  :root { --section-gap: 70px; }
  nav { padding: 16px 30px; }
  section { padding: var(--section-gap) 30px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .welcome, .telehealth, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .why-grid, .services-grid, .team-grid { grid-template-columns: 1fr 1fr; }
  .conditions-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { right: 30px; gap: 24px; }
  .hero-content { padding: 0 30px; padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .trust-bar { padding: 20px 30px; gap: 24px; }
  .cta-banner { flex-direction: column; text-align: center; }
}
@media (max-width: 640px) {
  .why-grid, .services-grid, .team-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .trust-divider { display: none; }
}
/* Elementor page wrapper override */
.elementor-section-wrap > .elementor-section { margin: 0 !important; }
body.elementor-page { padding: 0; }
/* Native widget card columns */
.why-card-col > .elementor-widget-wrap { background: var(--cream); border-radius: 20px; padding: 36px 30px !important; position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; border: 1px solid transparent; }
.why-card-col > .elementor-widget-wrap:hover { transform: translateY(-6px); box-shadow: 0 20px 60px rgba(77,122,96,.12); border-color: var(--sage-light); }
.service-card-col > .elementor-widget-wrap { padding: 40px 32px !important; border: 1px solid rgba(255,255,255,.06); transition: background .3s; }
.service-card-col > .elementor-widget-wrap:hover { background: rgba(255,255,255,.06); }
.team-card-col > .elementor-widget-wrap { padding: 0 !important; overflow: hidden; border-radius: 20px; }
.team-card-col .elementor-widget-heading:not(:first-child), .team-card-col .elementor-widget-text-editor { padding: 0 24px; }
.team-card-col .elementor-widget-heading:first-child + .elementor-widget-heading { padding-top: 20px; }
.team-card-col .elementor-widget-text-editor { padding-bottom: 20px; }
/* About photo native */
/* Elementor image rules win on specificity, so restate the shape. */
.elementor .about-photo img { border-radius: 4px 80px 4px 80px !important; width: 100%; object-fit: cover; }
/* Icon box on dark bg — force white title */
.service-card-col .elementor-icon-box-title { color: #ffffff !important; }
/* h6.section-label on dark sections */
.elementor-section[data-id] h6.section-label { color: var(--gold-light); }
.elementor-section[data-id] h6.section-label::before { background: var(--gold); }
/* Provider headshots on the home-page team cards, and the monogram used
   until a real photo is supplied. */
.team-photo-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.team-monogram {
  width: 100%; aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--sage-light), var(--sage-dark));
}
.team-monogram span {
  font-family: "Cormorant Garamond", serif; font-size: 46px; font-weight: 300;
  color: rgba(255,255,255,.9); letter-spacing: .04em;
}
/* Centered section labels drop the leading rule */
.new-patients-inner .section-label { padding-left: 0; }
.new-patients-inner .section-label::before { display: none; }
/* ── Community-based programs ─────────────────────────── */
.programs { background: var(--cream); padding: var(--section-gap) 60px; }
.programs-inner { max-width: 1200px; margin: 0 auto; }
.programs-lead { max-width: 720px; font-size: 15px; font-weight: 300; line-height: 1.8; color: var(--muted); margin-top: 20px; }
.programs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.program-card { background: var(--warm-white); border: 1px solid rgba(122,158,135,.18); border-radius: 16px; padding: 26px 24px; display: flex; align-items: flex-start; gap: 14px; transition: transform .3s, box-shadow .3s, border-color .3s; }
.program-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(77,122,96,.12); border-color: var(--sage); }
.program-icon { width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: var(--sage-dark); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.program-name { font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 500; color: var(--charcoal); line-height: 1.5; }
.programs-note { margin-top: 34px; font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 760px; }
/* Services intro paragraph on the dark services band */
.services-lead { max-width: 780px; font-size: 15px; font-weight: 300; line-height: 1.85; color: rgba(255,255,255,.6); }
@media (max-width: 1024px) { .programs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .programs-grid { grid-template-columns: 1fr; } .programs { padding-left: 24px; padding-right: 24px; } }
/* ══════════════════════════════════════════════════════════════
   Theme chrome — header, footer and page shell
   These rules replace the markup that used to be baked into the
   home page, so every page gets the same header and footer.
   ══════════════════════════════════════════════════════════════ */

/* Fixed nav needs the page pushed down, except where a hero sits under it. */
body { padding-top: 0; }
.site-main { min-height: 40vh; }
.page-shell { max-width: 1100px; margin: 0 auto; padding: 140px 60px 90px; }
.page-shell h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 300; margin-bottom: 24px; color: var(--charcoal); }
.page-shell h2 { font-size: 32px; font-weight: 300; margin: 40px 0 14px; color: var(--charcoal); }
.page-shell h3 { font-size: 24px; font-weight: 400; margin: 30px 0 12px; color: var(--charcoal); }
.page-shell p, .page-shell li { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.page-shell ul, .page-shell ol { padding-left: 22px; margin-bottom: 18px; }
.page-shell a { color: var(--sage-dark); }
.page-shell img { max-width: 100%; height: auto; border-radius: 12px; }
.page-shell blockquote { border-left: 3px solid var(--sage); padding-left: 20px; margin: 24px 0; font-style: italic; color: var(--muted); }
.entry-meta { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--sage-dark); margin-bottom: 10px; }

/* Elementor pages using the "Elementor Full Width" template sit flush under the nav. */
.elementor-page .site-main { padding-top: 0; }

/* The nav is a real WordPress menu now, so style the menu markup it emits. */
.nav-links li { list-style: none; }
.nav-links li.nav-cta > a { background: var(--sage-dark); color: #fff; padding: 10px 22px; border-radius: 50px; font-weight: 500; }
.nav-links li.nav-cta > a::after { display: none; }
.nav-links li.nav-cta > a:hover { background: var(--sage); transform: translateY(-1px); }
/* WordPress marks every "/#anchor" item as current while on the home page, so
   limit the active underline to menu items that point at a real page. */
.nav-links li.current-menu-item > a:not([href*="#"]) { color: var(--sage-dark); }
.nav-links li.current-menu-item > a:not([href*="#"])::after { width: 100%; }

/* Footer widget areas replace the hard-coded footer columns. */
.footer-col .widget + .widget { margin-top: 26px; }
.footer-col .menu { list-style: none; }
.footer-col ul { list-style: none; }
.footer-col .textwidget p { font-size: 13px; font-weight: 300; color: rgba(255,255,255,.5); line-height: 1.9; }
.footer-menu { display: flex; gap: 20px; list-style: none; flex-wrap: wrap; }
.footer-menu a { font-size: 12px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-menu a:hover { color: var(--gold-light); }

/* Skip link for keyboard users. */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--sage-dark); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }

@media (max-width: 900px) {
  .page-shell { padding: 120px 24px 70px; }
}

/* ══════════════════════════════════════════════════════════════
   Native Elementor widgets replacing the old hand-written HTML.
   These rules dress Elementor's own markup so the sections keep
   their design while staying editable in the visual editor.
   ══════════════════════════════════════════════════════════════ */

/* Elementor's widget stylesheet loads after this file, so these rules carry an
   extra class to win on specificity rather than resorting to !important. */

/* Trust bar — inline icon list on the dark band */
.elementor .trust-list .elementor-icon-list-items { justify-content: center; }
.elementor .trust-list .elementor-icon-list-items .elementor-icon-list-item { letter-spacing: .04em; }
.elementor .trust-list .elementor-icon-list-text { color: rgba(255,255,255,.72); }

/* Welcome checklist */
.welcome-checklist .elementor-icon-list-item { align-items: flex-start; }
.welcome-checklist .elementor-icon-list-icon { padding-top: 3px; }
.welcome-checklist .elementor-icon-list-text { font-size: 14px; line-height: 1.65; }
.welcome-checklist .elementor-icon-list-text strong { color: var(--charcoal); font-weight: 500; }

/* Conditions — inline list rendered as pills */
.elementor .conditions-list .elementor-icon-list-items { justify-content: flex-start; }
.elementor .conditions-list .elementor-icon-list-items .elementor-icon-list-item {
  background: var(--warm-white); border: 1px solid rgba(122,158,135,.2); border-radius: 50px;
  padding: 13px 24px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.elementor .conditions-list .elementor-icon-list-items .elementor-icon-list-item:hover {
  transform: translateY(-2px); border-color: var(--sage); box-shadow: 0 10px 26px rgba(77,122,96,.10);
}
.elementor .conditions-list .elementor-icon-list-text { padding-left: 0; }
.elementor .conditions-list .elementor-icon-list-icon { display: none; }

/* Insurance plans — inline pills on the green band */
/* ── Accepted-plans carousel ──────────────────────────────────
   Cards scroll horizontally with snap points; the arrows are progressive
   enhancement and stay hidden until site.js finds the track scrollable. */
.insurance-carousel { width: 100%; }
.insurance-carousel-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.55); text-align: center; margin-bottom: 16px;
}
.insurance-carousel-frame { position: relative; display: flex; align-items: center; gap: 10px; }
.insurance-track {
  list-style: none; margin: 0; padding: 4px; display: flex; gap: 14px; flex: 1;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none; -ms-overflow-style: none;
}
.insurance-track::-webkit-scrollbar { display: none; }
.insurance-track:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 4px; }
.insurance-card {
  scroll-snap-align: start; flex: 0 0 auto; min-width: 172px; min-height: 84px;
  display: flex; align-items: center; justify-content: center; padding: 18px 24px;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.18);
  border-radius: 6px; backdrop-filter: blur(2px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.insurance-card:hover { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.32); transform: translateY(-2px); }
.insurance-card span { font-size: 14px; font-weight: 400; color: #fff; text-align: center; line-height: 1.4; }
.insurance-card img { max-height: 44px; width: auto; filter: brightness(0) invert(1); opacity: .88; }
.insurance-nav {
  flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: 18px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease, opacity .2s ease;
}
.insurance-nav:hover { background: rgba(255,255,255,.24); }
.insurance-nav:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.insurance-nav[disabled] { opacity: .32; cursor: default; }
@media (prefers-reduced-motion: reduce) {
  .insurance-track { scroll-behavior: auto; }
  .insurance-card { transition: none; }
}
@media (max-width: 640px) {
  .insurance-card { min-width: 148px; padding: 16px 18px; }
  .insurance-nav { display: none; }
}

.elementor .insurance-list .elementor-icon-list-items { justify-content: center; }
.elementor .insurance-list .elementor-icon-list-items .elementor-icon-list-item {
  border: 1px solid rgba(255,255,255,.3); border-radius: 50px; padding: 9px 18px;
}
.elementor .insurance-list .elementor-icon-list-text { padding-left: 0; }
.elementor .insurance-list .elementor-icon-list-icon { display: none; }

/* Telehealth feature blocks */
.tele-feature-box .elementor-icon-box-wrapper {
  background: var(--cream); border-radius: 14px; padding: 20px 22px; margin-bottom: 12px;
  transition: transform .3s, box-shadow .3s;
}
.tele-feature-box .elementor-icon-box-wrapper:hover {
  transform: translateX(4px); box-shadow: 0 12px 32px rgba(77,122,96,.10);
}
.tele-feature-box .elementor-icon-box-title { margin-bottom: 4px; }
.tele-feature-box .elementor-icon-box-description { line-height: 1.7; }

/* Community-programme cards */
.program-card-col > .elementor-widget-wrap {
  background: var(--warm-white); border: 1px solid rgba(122,158,135,.18); border-radius: 16px;
  padding: 22px 22px !important; height: 100%;
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.program-card-col > .elementor-widget-wrap:hover {
  transform: translateY(-4px); box-shadow: 0 18px 50px rgba(77,122,96,.12); border-color: var(--sage);
}
.program-card-col .elementor-icon-box-title { margin-bottom: 0; line-height: 1.5; }
.program-card-col .elementor-icon-box-description { display: none; }

/* Contact detail blocks */
.contact-item-box .elementor-icon-box-wrapper { margin-bottom: 22px; }
.contact-item-box .elementor-icon-box-title { color: var(--sage-dark) !important; margin-bottom: 6px; }
.contact-item-box .elementor-icon-box-description { line-height: 1.7; }
.contact-item-box .elementor-icon-box-description a { color: var(--charcoal); text-decoration: none; }
.contact-item-box .elementor-icon-box-description a:hover { color: var(--sage-dark); }
.contact-item-box .hours-grid {
  display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin-top: 4px;
}
.contact-item-box .hours-day { color: var(--muted); }
.contact-item-box .hours-time { color: var(--charcoal); }

/* The decorative telehealth panel keeps its own block */
.telehealth-visual { width: 100%; aspect-ratio: 4/3; border-radius: 20px; position: relative;
  background: linear-gradient(145deg, var(--sage-light), var(--sage-dark)); overflow: hidden; }

@media (max-width: 767px) {
  .elementor .trust-list .elementor-icon-list-items,
  .elementor .insurance-list .elementor-icon-list-items { justify-content: flex-start; }
  .elementor .conditions-list .elementor-icon-list-items .elementor-icon-list-item { padding: 11px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   Provider profiles
   ══════════════════════════════════════════════════════════════ */
.provider-media { position: relative; }
.elementor .provider-photo img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 4px 60px 4px 60px;
}
.provider-monogram {
  width: 100%; aspect-ratio: 4/5; border-radius: 4px 60px 4px 60px;
  background: linear-gradient(145deg, var(--sage-light), var(--sage-dark));
  display: flex; align-items: center; justify-content: center;
}
.provider-monogram span {
  font-family: "Cormorant Garamond", serif; font-size: 64px; font-weight: 300;
  color: rgba(255,255,255,.9); letter-spacing: .04em;
}
/* A profile with no details yet gets a smaller, quieter mark — whether that
   mark is the CSS monogram or the placeholder plate from the media library. */
.elementor .provider-photo.is-placeholder img {
  aspect-ratio: 1; border-radius: 4px 36px 4px 36px;
}
.provider-monogram.is-placeholder {
  aspect-ratio: 1; border-radius: 4px 36px 4px 36px;
  background: linear-gradient(145deg, #cfdcd3, #a8bdb0);
}
.provider-monogram.is-placeholder span { font-size: 40px; color: rgba(255,255,255,.75); }

/* Space the biography paragraphs. */
.elementor .provider-bio p { margin-bottom: 16px; }
.elementor .provider-bio p:last-child { margin-bottom: 0; }
.provider-credentials { font-size: .62em; color: var(--sage-dark); letter-spacing: .04em; }

.elementor .provider-languages .elementor-icon-list-items .elementor-icon-list-item {
  font-size: 13px; color: var(--muted);
}

/* Clinical-focus pills */
.elementor .provider-focus .elementor-icon-list-items { justify-content: flex-start; }
.elementor .provider-focus .elementor-icon-list-items .elementor-icon-list-item {
  background: var(--warm-white); border: 1px solid rgba(122,158,135,.22);
  border-radius: 50px; padding: 9px 18px;
}
.elementor .provider-focus .elementor-icon-list-icon { margin-right: 2px; }

/* A profile still awaiting its details reads as clearly unfinished. */
.provider-placeholder-note p {
  border-left: 3px solid var(--gold); padding-left: 16px; font-style: italic;
}

@media (max-width: 767px) {
  .provider-monogram,
  .elementor .provider-photo img,
  .elementor .provider-photo.is-placeholder img { aspect-ratio: 3/2; }
  .provider-monogram span { font-size: 48px; }
}
