
/* Phase 3: compact header, accessible off-canvas navigation and laptop hero */
#header.wr-header-v3{position:relative;z-index:999;background:#fff;width:100%;box-shadow:0 1px 8px #142f3c16}
#header.wr-header-v3 .wr-header-inner{height:92px;max-width:1800px;margin:auto;padding:12px clamp(16px,2.5vw,48px);display:flex;align-items:center;justify-content:space-between;gap:18px}
.wr-header-logo{min-width:0;max-width:270px}.wr-header-logo img{display:block;max-width:100%;width:auto;max-height:68px;height:auto}.wr-header-actions{display:flex;align-items:center;gap:clamp(10px,2vw,26px);margin-left:auto}.wr-header-phone{font-size:clamp(15px,1.3vw,21px);color:#006c98;text-decoration:none;white-space:nowrap;font-weight:600}.wr-header-cta,.wr-menu-cta{background:#dd7d00!important;color:#fff!important;border-radius:40px!important;padding:13px 25px!important;white-space:nowrap;cursor:pointer}
.wr-menu-toggle{display:flex;align-items:center;gap:9px;padding:10px;border:0;background:transparent;color:#193d4e;cursor:pointer;font-size:15px;font-weight:700}.wr-menu-bars{width:28px;display:flex;flex-direction:column;gap:5px}.wr-menu-bars i{height:3px;background:currentColor;border-radius:3px;width:100%}
.wr-menu-backdrop{position:fixed;inset:0;background:#001a2b9c;z-index:10000}.wr-menu-backdrop[hidden]{display:none!important}.wr-slide-nav{position:fixed;right:0;top:0;bottom:0;z-index:10001;width:min(420px,90vw);padding:25px 28px 45px;overflow-y:auto;background:#fff;box-shadow:-10px 0 30px #0002;transform:translateX(105%);visibility:hidden;transition:transform .24s ease,visibility .24s}.wr-slide-nav.is-open{transform:translateX(0);visibility:visible}.wr-slide-top{display:flex;align-items:center;justify-content:space-between;font-size:19px;font-weight:700;color:#006c98;margin-bottom:22px}.wr-menu-close{background:transparent;border:0;font-size:34px;cursor:pointer;line-height:1;padding:4px 10px;color:#163b4e}.wr-slide-nav ul{list-style:none;margin:0;padding:0}.wr-slide-nav li{position:relative;border-bottom:1px solid #e1e8ec}.wr-slide-nav li a{display:block;padding:14px 35px 14px 2px;color:#183c4d;text-decoration:none;font-weight:600}.wr-slide-nav li .sub-menu{display:none;padding:0 0 12px 18px}.wr-slide-nav li.wr-sub-open>.sub-menu{display:block}.wr-slide-nav li .sub-menu li{border:0}.wr-slide-nav li .sub-menu a{font-weight:400;padding:9px 0}.wr-sub-toggle{position:absolute;right:0;top:6px;border:0;background:#eaf3f6;border-radius:5px;min-width:36px;min-height:36px;cursor:pointer}.wr-menu-languages{margin:20px 0}.wr-menu-phone{display:block;margin:18px 0;color:#006c98}.wr-menu-cta{width:100%}body.wr-menu-open{overflow:hidden}
#header.wr-header-v3 a:focus-visible,#header.wr-header-v3 button:focus-visible{outline:3px solid #005fcc;outline-offset:3px}
#header-spacer{height:0!important}
@media(min-width:768px){section.feature_banner:not(.wr-home-fullscreen){height:clamp(490px,43vw,730px);max-height:calc(100svh - 92px);min-height:440px}section.feature_banner .container{bottom:clamp(48px,8vh,100px)}.slide-content{margin-bottom:0}}
@media(max-width:767px){#header.wr-header-v3 .wr-header-inner{height:76px;padding:10px 15px}.wr-header-logo{max-width:175px}.wr-header-logo img{max-height:55px}.wr-header-actions{gap:8px}.wr-phone-label,.wr-menu-word{display:none}.wr-header-phone{font-size:24px}.wr-header-cta{padding:9px 12px!important;font-size:11px!important}.wr-menu-toggle{padding:7px}.wr-menu-bars{width:24px}}
@media(max-width:390px){.wr-header-logo{max-width:145px}.wr-header-cta{padding:8px!important}}
@media(prefers-reduced-motion:reduce){.wr-slide-nav{transition:none!important}}

/* Phase 6: preserve the original ACF logo, constrain inline SVG and images */
#header.wr-header-v3 .wr-header-logo{flex:0 1 190px;width:190px;max-width:190px;min-width:0}
#header.wr-header-v3 .wr-header-logo a{display:flex;align-items:center;max-width:100%;height:100%}
#header.wr-header-v3 .wr-header-logo svg,#header.wr-header-v3 .wr-header-logo img{display:block;width:auto!important;height:auto!important;max-width:100%!important;max-height:52px!important;object-fit:contain}
#header.wr-header-v3 .wr-header-phone{display:inline-flex;align-items:center;gap:7px}
#header.wr-header-v3 .wr-mobile-icon{width:20px;height:20px;flex:none}
@media(max-width:767px){#header.wr-header-v3 .wr-header-logo{flex-basis:135px;width:135px;max-width:135px}#header.wr-header-v3 .wr-header-logo svg,#header.wr-header-v3 .wr-header-logo img{max-height:42px!important}}
@media(max-width:390px){#header.wr-header-v3 .wr-header-logo{flex-basis:115px;width:115px;max-width:115px}}

/* Phase 12: compact responsive header and accessible office cards */
#header.wr-header-v3 .wr-header-inner{min-width:0}
#header.wr-header-v3 .wr-header-actions{flex:0 0 auto;margin-left:auto;gap:clamp(8px,1.2vw,18px)}
#header.wr-header-v3 .wr-header-maps{min-width:0}
@media(max-width:1400px){#header.wr-header-v3 .wr-header-maps{display:none!important}}
#header.wr-header-v3 .wr-slide-nav .wr-menu-locations{padding:22px 0 12px;margin:20px 0 0;border-top:1px solid #dce7eb}
#header.wr-header-v3 .wr-menu-locations h2{font-size:1.15rem;line-height:1.35;margin:0 0 14px;color:#173d51;font-weight:700}
#header.wr-header-v3 .wr-location-cards{display:grid;grid-template-columns:minmax(0,1fr);gap:12px}
#header.wr-header-v3 .wr-location-card{background:#f3f8fa;border:1px solid #dce8ed;border-radius:10px;padding:15px 16px;min-width:0}
#header.wr-header-v3 .wr-location-card__title{display:flex;align-items:center;gap:9px;color:#c66c0a}
#header.wr-header-v3 .wr-location-card__title svg{flex:none}
#header.wr-header-v3 .wr-location-card__title h3{font-size:1rem;line-height:1.35;color:#173d51;margin:0;font-weight:750}
#header.wr-header-v3 .wr-location-card__address{font-size:.88rem;line-height:1.5;color:#3e5967;margin:8px 0 11px;overflow-wrap:break-word}
#header.wr-header-v3 .wr-location-card__links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px}
#header.wr-header-v3 .wr-location-card__links a{display:inline-flex;align-items:center;gap:5px;font-size:.86rem;line-height:1.4;color:#076c97;font-weight:700;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
#header.wr-header-v3 .wr-location-card__links a:hover{color:#b65f08}
#header.wr-header-v3 .wr-location-card__links a:focus-visible{outline:3px solid #c66c0a;outline-offset:3px}
/* The full Schedule Now CTA remains on desktop; mobile uses the phone icon as the compact call CTA. */
@media(max-width:767px){
 #header.wr-header-v3 .wr-header-inner{gap:6px}
 #header.wr-header-v3 .wr-header-actions{gap:8px}
 #header.wr-header-v3 .wr-header-phone{display:inline-flex!important;align-items:center;justify-content:center;width:42px;height:42px;min-width:42px;border-radius:50%;background:#dd7d00;color:#fff!important;text-decoration:none}
 #header.wr-header-v3 .wr-mobile-icon{width:22px;height:22px}
 #header.wr-header-v3 .wr-phone-label{display:none!important}
 #header.wr-header-v3 .wr-header-cta{display:none!important}
 #header.wr-header-v3 .wr-menu-toggle{min-width:42px;min-height:42px;justify-content:center}
 #header.wr-header-v3 .wr-header-maps{display:none!important}
}
@media(max-width:390px){#header.wr-header-v3 .wr-header-actions{gap:4px}}

/* Phase 13: action-first slide navigation; compact location links */
#header.wr-header-v3 .wr-menu-quick-actions{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;margin:17px 0 8px}
#header.wr-header-v3 .wr-menu-call-button{display:flex;justify-content:center;align-items:center;gap:10px;min-height:46px;border-radius:25px;background:#0876a0;color:#fff;text-decoration:none;font-size:15px;font-weight:700;padding:10px 14px;line-height:1.3}
#header.wr-header-v3 .wr-menu-call-button svg{flex:none}
#header.wr-header-v3 .wr-menu-quick-actions .wr-menu-cta{min-height:46px;margin:0!important;padding:10px 14px!important;font-size:15px!important;line-height:1.3}
#header.wr-header-v3 .wr-menu-languages{margin:12px 0 8px!important;padding:6px 0}
#header.wr-header-v3 .wr-slide-nav .wr-menu-locations{margin:8px 0 0;padding:12px 0 0}
#header.wr-header-v3 .wr-menu-locations h2{font-size:1rem;margin:0 0 6px}
#header.wr-header-v3 .wr-location-cards{gap:0}
#header.wr-header-v3 .wr-location-card{display:flex;align-items:center;gap:9px;padding:9px 0!important;border:0;border-bottom:1px solid #e4edf0;border-radius:0;background:transparent;min-height:42px}
#header.wr-header-v3 .wr-location-card svg{flex:none;color:#c66c0a}
#header.wr-header-v3 .wr-location-card a,#header.wr-header-v3 .wr-location-card span{font-size:.94rem;line-height:1.3;font-weight:650;color:#076c97;text-decoration:none}
#header.wr-header-v3 .wr-location-card a:hover{text-decoration:underline;text-underline-offset:3px}
#header.wr-header-v3 .wr-location-card a:focus-visible{outline:3px solid #005fcc;outline-offset:3px}

/* Phase 14: menu CTA, tighter vertical rhythm, compact location links */
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-quick-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;margin:10px 0 3px!important;padding:0!important}
#header.wr-header-v3 nav.wr-slide-nav a.wr-menu-call-button{box-sizing:border-box!important;display:flex!important;width:100%!important;min-height:48px!important;align-items:center!important;justify-content:center!important;gap:10px!important;padding:11px 15px!important;border:0!important;border-radius:999px!important;background:#0876a0!important;color:#fff!important;font:700 15px/1.3 Montserrat,Arial,sans-serif!important;text-decoration:none!important;box-shadow:none!important}
#header.wr-header-v3 nav.wr-slide-nav a.wr-menu-call-button span{color:#fff!important;font:inherit!important}
#header.wr-header-v3 nav.wr-slide-nav a.wr-menu-call-button svg{color:#fff!important;stroke:#fff!important;flex:0 0 20px}
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-quick-actions button.wr-menu-cta{display:block!important;width:100%!important;min-height:48px!important;margin:0!important;border-radius:999px!important}
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-languages{margin:5px 0 0!important;padding:4px 0!important;min-height:0!important}
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-locations{margin:0!important;padding:7px 0 0!important}
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-locations h2{margin:0 0 3px!important}
#header.wr-header-v3 nav.wr-slide-nav .wr-location-card{min-height:34px!important;padding:5px 0!important;background:none!important;border-radius:0!important}
#header.wr-header-v3 .wr-header-logo{flex:0 1 190px;min-width:0;max-width:190px!important}
#header.wr-header-v3 .wr-header-logo a{display:block;max-width:100%}
#header.wr-header-v3 .wr-header-logo svg,#header.wr-header-v3 .wr-header-logo img{max-width:100%!important;max-height:54px!important;height:auto!important}
#header.wr-header-v3 .wr-header-actions{flex:0 0 auto;min-width:0;gap:clamp(6px,1.2vw,18px)}
#header.wr-header-v3 .wr-header-maps{flex:0 1 auto;min-width:0;gap:10px}
@media(max-width:1500px){#header.wr-header-v3 .wr-header-maps{display:none!important}}
@media(max-width:767px){#header.wr-header-v3 .wr-header-logo{max-width:150px!important;flex-basis:150px}#header.wr-header-v3 .wr-header-logo svg,#header.wr-header-v3 .wr-header-logo img{max-height:43px!important}}

/* Phase 15: match the call CTA dimensions to the orange scheduling CTA. */
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-quick-actions{justify-items:start!important}
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-quick-actions > a.wr-menu-call-button,
#header.wr-header-v3 nav.wr-slide-nav .wr-menu-quick-actions > button.wr-menu-cta{box-sizing:border-box!important;width:350px!important;max-width:100%!important;min-height:58px!important;justify-self:start!important;margin-left:0!important;margin-right:0!important;border-radius:999px!important}


/* Phase 17: sticky header at all viewport sizes; account for WP admin toolbar. */
html { scroll-padding-top: 105px; }
#header.wr-header-v3 {
  position: sticky !important;
  top: 0;
  left: auto;
  right: auto;
  z-index: 9990;
  width: 100%;
  background: #fff;
}
body.admin-bar #header.wr-header-v3 { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar #header.wr-header-v3 { top: 46px; }
  html { scroll-padding-top: 90px; }
}
@media (max-width: 600px) {
  /* WordPress mobile admin toolbar scrolls away on small screens. */
  body.admin-bar #header.wr-header-v3 { top: 0; }
}
#header.wr-header-v3 .wr-slide-nav,
#header.wr-header-v3 .wr-menu-backdrop { position: fixed; }
/* Treatment pages: bring hero text, CTA and original media closer to top on desktop. */
@media (min-width: 801px) {
  .wr-service-v9 .wr-service-hero-grid {
    align-items: start;
    padding-top: clamp(30px, 3.1vw, 50px);
    padding-bottom: clamp(38px, 4.3vw, 64px);
  }
  .wr-service-v9 .wr-service-hero-text { align-self: start; }
  .wr-service-v9 .wr-service-hero-photo { align-self: start; }
  .wr-service-v9 .wr-service-hero h1 { margin-bottom: 16px; }
  .wr-service-v9 .wr-service-lead { margin-bottom: 10px; }
  .wr-service-v9 .wr-service-hero .wr-service-btn { margin-top: 12px; }
}

/* Phase 19: treatments overview inherits individual treatment hero styling. */
.wr-overview-v19 .wr-overview-treatment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:28px}
.wr-overview-v19 .wr-overview-treatment-card{padding:30px;border:1px solid #dcebf0;border-radius:12px;background:#f6fafb}
.wr-overview-v19 .wr-overview-treatment-card h3{font-size:1.45rem;line-height:1.25;color:#176d94;margin:0 0 14px}
.wr-overview-v19 .wr-overview-treatment-card p{line-height:1.65}
.wr-overview-v19 .wr-overview-treatment-card a{font-weight:700;color:#086e99}
.wr-overview-v19 .wr-overview-existing-content{min-width:0}
@media(max-width:800px){.wr-overview-v19 .wr-overview-treatment-grid{grid-template-columns:1fr}}

/* Phase 20: Overview hero uses the exact treatment-detail visual rhythm. */
@media (min-width: 801px) {
  .wr-overview-v19 .wr-service-hero .wr-service-hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 70px); align-items: start;
    padding-top: clamp(30px, 3.1vw, 50px);
    padding-bottom: clamp(38px, 4.3vw, 64px);
  }
  .wr-overview-v19 .wr-service-hero-text,
  .wr-overview-v19 .wr-service-hero-photo { align-self: start; }
}
.wr-overview-v19 .wr-service-hero .wr-service-kicker {
  font-size: .8rem; letter-spacing: .13em; font-weight: 750;
  color: #0877a0; margin: 0 0 15px;
}
.wr-overview-v19 .wr-service-hero h1 {
  font-size: clamp(2.4rem, 4.7vw, 4.5rem); line-height: 1.13;
  color: #176d94; margin: 0 0 16px; font-weight: 700;
}
.wr-overview-v19 .wr-service-hero .wr-service-lead {
  font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.65;
}
.wr-overview-v19 .wr-service-hero .wr-service-btn {
  display: inline-block; padding: 15px 26px; background: #c66c0a;
  color: #fff !important; text-decoration: none; border-radius: 4px;
  font-weight: 700; margin-top: 12px;
}
@media (max-width: 800px) {
  .wr-overview-v19 .wr-service-hero .wr-service-hero-grid { grid-template-columns: 1fr; }
}

/* Phase 26: restored age-group content, scoped to Treatments overview. */
.wr-overview-v19 .wr-treatment-ages{background:#eaf5f8}
.wr-overview-v19 .wr-age-links{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 30px}
.wr-overview-v19 .wr-age-links a{background:#fff;border:1px solid #b9d5e0;border-radius:5px;padding:12px 24px;color:#176d94;font-weight:700;text-decoration:none}
.wr-overview-v19 .wr-age-panel{background:#fff;border-radius:12px;padding:clamp(22px,4vw,42px);margin:0 0 24px;scroll-margin-top:125px}
.wr-overview-v19 .wr-age-panel h3{font-size:clamp(1.5rem,2.5vw,2rem);color:#176d94;margin:0 0 18px}
.wr-overview-v19 .wr-age-panel details{border-top:1px solid #dcebf0;padding:14px 0}
.wr-overview-v19 .wr-age-panel summary{cursor:pointer;font-weight:700;color:#176d94;line-height:1.5}
.wr-overview-v19 .wr-age-answer{padding:15px 0 0;line-height:1.75}
.wr-overview-v19 .wr-age-panel img{max-width:100%;height:auto}

/* Phase 27: fixed desktop header and in-flow spacer. */
@media(min-width:783px){
body #header.wr-header-v3{position:fixed!important;top:0!important;left:0!important;right:0!important;width:100%!important;transform:none!important;margin:0!important;}
body.admin-bar #header.wr-header-v3{top:32px!important;}
body #header.wr-header-v3 + #header-spacer{display:block!important;height:var(--wr-fixed-header-height,100px)!important;min-height:0!important;margin:0!important;padding:0!important;}
html{scroll-padding-top:calc(var(--wr-fixed-header-height,100px) + 32px);}
}

/* Phase 28: fixed header on every viewport. */
body #header.wr-header-v3{position:fixed!important;top:var(--wr-admin-offset,0px)!important;left:0!important;right:0!important;width:100%!important;transform:none!important;margin:0!important;z-index:9990!important;}
body #header.wr-header-v3 + #header-spacer{display:block!important;height:var(--wr-fixed-header-height,80px)!important;min-height:0!important;margin:0!important;padding:0!important;}
html{scroll-padding-top:calc(var(--wr-fixed-header-height,80px) + var(--wr-admin-offset,0px));}
body.admin-bar{--wr-admin-offset:32px;}
@media(max-width:782px){body.admin-bar{--wr-admin-offset:46px;}}
@media(max-width:600px){body.admin-bar #wpadminbar{position:fixed!important;}body.admin-bar{--wr-admin-offset:46px;}}

/* Phase 32: consistent treatment hero CTA at every viewport. */
.wr-service-v9 .wr-service-hero a.wr-service-btn,
.wr-overview-v19 .wr-service-hero a.wr-service-btn {
  display: inline-flex !important; align-items: center; justify-content: center;
  box-sizing: border-box; min-height: 52px; height: auto !important;
  padding: 14px 28px !important; border-radius: 999px !important;
  background: #df8000; color: #fff !important;
  font-size: 18px; font-weight: 700; line-height: 1.3 !important;
  text-align: center; text-decoration: none; max-width: 100%;
}
.wr-service-v9 .wr-service-hero a.wr-service-btn:hover,
.wr-overview-v19 .wr-service-hero a.wr-service-btn:hover { background: #b96a00; }

