/*
Theme Name: Harbor Practice
Theme URI: https://example.local/harbor-practice
Author: Harbor Practice
Description: A calm, editorial WordPress theme for a psychotherapy practice, carrying the palette, typography, and page structure of the practice's original site.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: harbor-practice
*/

/* ---------------------------------------------------------------- Tokens -- */

:root {
  --hp-ink: #26312d;
  --hp-sage: #49665a;
  --hp-sage-dark: #3d554b;
  --hp-mist: #dce7e0;
  --hp-sand: #e9e1d5;
  --hp-paper: #f7f4ee;
  --hp-white: #fffdfa;
  --hp-muted: #68736e;
  --hp-line: #dce7e0;
  --hp-clay: #b97967;
  --hp-amber-bg: #fdf6e7;
  --hp-amber-line: #e6d2a8;
  --hp-amber-ink: #6d5417;
  --hp-rose-bg: #fdf1f0;
  --hp-rose-line: #f0c9c4;
  --hp-rose-ink: #8c2f26;

  --hp-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --hp-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --hp-radius: 1.5rem;    /* 24px, measured from the original */
  --hp-radius-lg: 1.5rem;
  --hp-shadow: 0 1px 2px rgba(38, 49, 45, .04), 0 12px 32px -20px rgba(38, 49, 45, .35);
  --hp-gutter: clamp(1.25rem, 5vw, 4rem);
  --hp-max: 80rem;   /* 1280px, the original site's container */
  --hp-narrow: 56rem; /* 896px, used by the FAQ and legal pages */
  --hp-cta: 64rem;    /* 1024px, the closing call to action */
  --hp-wide: 82rem;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--hp-paper);
  color: var(--hp-ink);
  font-family: var(--hp-sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--hp-sage); }
a:hover { color: var(--hp-sage-dark); }

:focus-visible {
  outline: 2px solid var(--hp-sage);
  outline-offset: 3px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.hp-skip-link {
  position: absolute; left: -9999px;
  z-index: 100; padding: .75rem 1rem;
  background: var(--hp-ink); color: #fff;
}
.hp-skip-link:focus { left: 1rem; top: 1rem; }

h1, h2, h3, h4 {
  font-family: var(--hp-serif);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.01em;
  color: var(--hp-ink);
  margin: 0 0 .6em;
}

.hp-eyebrow {
  margin: 0 0 .75rem;
  font-family: var(--hp-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-sage);
}

.hp-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--hp-muted);
}

.hp-muted { color: var(--hp-muted); font-size: .9rem; }
.hp-text-center { text-align: center; }

/* ---------------------------------------------------------------- Chrome -- */

/* The masthead mirrors the original site: a two-row dark utility bar, then a
   sticky bar with the wordmark, uppercase navigation, and two actions. */

.hp-topbar {
  background: var(--hp-ink);
  color: #c9d2cd;
  font-size: .72rem;
}
.hp-topbar__row {
  max-width: var(--hp-wide);
  margin: 0 auto;
  padding: .45rem var(--hp-gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .4rem 1.5rem;
}
.hp-topbar__row--chips {
  justify-content: flex-start;
  gap: .5rem;
  padding-top: 0;
  padding-bottom: .5rem;
}
.hp-topbar p { margin: 0; }
.hp-topbar a { color: #dfe7e2; text-decoration: none; }
.hp-topbar a:hover { color: #fff; text-decoration: underline; }

.hp-topbar__notice { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; }
.hp-topbar__notice strong { color: #fff; font-weight: 600; }
.hp-topbar__sep { color: #6c7a73; }
.hp-topbar__dot {
  width: .4rem; height: .4rem; border-radius: 50%;
  background: #7cc79b; flex: none;
}

.hp-chip {
  display: inline-flex;
  align-items: center;
  padding: .2rem .7rem;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
  font-size: .68rem;
  font-weight: 500;
  text-decoration: none;
}
.hp-chip:hover { background: rgba(255, 255, 255, .13); text-decoration: none !important; }
.hp-chip--crisis { color: #f0b5a8 !important; border-color: rgba(240, 181, 168, .3); }

.hp-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(247, 244, 238, .92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-header__inner {
  max-width: var(--hp-wide);
  margin: 0 auto;
  padding: .9rem var(--hp-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.hp-brand { display: flex; align-items: center; gap: .6rem; flex: none; }
.hp-brand__id { display: flex; flex-direction: column; min-width: 0; }
.hp-brand__name {
  display: block;
  font-family: var(--hp-serif);
  font-size: 1.7rem;
  font-weight: 600;
  line-height: 1;
  color: var(--hp-ink);
  text-decoration: none;
  letter-spacing: -.01em;
}
.hp-brand__name:hover { color: var(--hp-sage); }
.hp-brand__subtitle {
  display: block;
  margin: .2rem 0 0;
  max-width: 8.5rem;
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--hp-muted);
  line-height: 1.5;
}
.hp-brand__badge {
  align-self: center;
  padding: .3rem .55rem;
  border: 1px solid var(--hp-line);
  border-radius: .5rem;
  background: var(--hp-mist);
  font-size: .53rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-sage);
  line-height: 1.4;
  max-width: 5.5rem;
}

.hp-nav { display: flex; align-items: center; gap: 1.5rem; }
.hp-nav__list {
  display: flex; flex-wrap: nowrap; align-items: center;
  gap: .1rem; margin: 0; padding: 0; list-style: none;
}
.hp-nav__list a { white-space: nowrap; }
/* Pills, as the original has them: muted by default, darkening onto a soft
   tinted background on hover, and ink for the page you are on. */
.hp-nav__list a {
  display: inline-block;
  padding: .5rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hp-muted);
  text-decoration: none;
  transition: color .15s ease, background-color .15s ease;
}
.hp-nav__list a:hover,
.hp-nav__list a:focus-visible {
  color: var(--hp-ink);
  background: rgba(220, 231, 224, .6);
}
.hp-nav__list .current-menu-item > a,
.hp-nav__list .current_page_item > a { color: var(--hp-ink); }
.hp-nav__list .current-menu-item > a:hover,
.hp-nav__list .current_page_item > a:hover { background: rgba(220, 231, 224, .6); }

/* The same treatment for the utility chips above it. */
.hp-chip { transition: background-color .15s ease, color .15s ease; }

/* And for the menu widget, so a nav built in Elementor matches. */
.hp-menu__list a {
  display: inline-block;
  padding: .45rem .7rem;
  border-radius: 999px;
  transition: color .15s ease, background-color .15s ease;
}
.hp-menu--horizontal .hp-menu__list a:hover { background: rgba(220, 231, 224, .6); color: var(--hp-ink); }

.hp-nav__actions { display: flex; align-items: center; gap: .5rem; flex: none; }

.hp-nav-toggle {
  display: none;
  width: 2.6rem; height: 2.6rem;
  padding: 0; border: 1px solid var(--hp-line);
  border-radius: .7rem; background: var(--hp-white);
  cursor: pointer;
}
.hp-nav-toggle__bars,
.hp-nav-toggle__bars::before,
.hp-nav-toggle__bars::after {
  display: block; width: 1.05rem; height: 1.5px;
  margin: 0 auto; background: var(--hp-ink); position: relative;
}
.hp-nav-toggle__bars::before { content: ""; position: absolute; top: -.38rem; }
.hp-nav-toggle__bars::after { content: ""; position: absolute; top: .38rem; }

/* ----------------------------------------------------------------- Main -- */

.hp-main { min-height: 60vh; }

.hp-entry,
.hp-front-content { padding: 0 0 4rem; }

/* The front page mixes full-bleed bands (the hero) with a centred measure, so
   it uses a three-column grid rather than padding on each child. */
.hp-front-content {
  display: grid;
  grid-template-columns:
    [full-start] minmax(var(--hp-gutter), 1fr)
    [content-start] minmax(0, var(--hp-max))
    [content-end] minmax(var(--hp-gutter), 1fr)
    [full-end];
  row-gap: clamp(2.5rem, 5vw, 4rem);
}
.hp-front-content > * { grid-column: content; margin: 0; }
.hp-front-content > .hp-hero,
.hp-front-content > .alignfull { grid-column: full; }

.hp-entry__content {
  max-width: var(--hp-max);
  margin-inline: auto;
  padding-inline: var(--hp-gutter);
}
.hp-entry__content > * + * { margin-top: 1.5rem; }

/* Structural blocks get more air than running prose. */
.hp-entry__content > .hp-section-head,
.hp-entry__content > .hp-grid,
.hp-entry__content > .hp-cta,
.hp-entry__content > .hp-split,
.hp-entry__content > .hp-steps,
.hp-entry__content > .hp-service,
.hp-entry__content > .hp-specialty,
.hp-entry__content > .hp-estimator,
.hp-entry__content > .hp-breathing,
.hp-entry__content > .hp-faq,
.hp-entry__content > .hp-form { margin-top: clamp(2rem, 4vw, 3rem); }

.hp-entry__content p,
.hp-front-content p { color: var(--hp-muted); }

.hp-entry__content > h2 { margin-top: clamp(2.25rem, 4vw, 3rem); font-size: clamp(1.7rem, 3vw, 2.25rem); }
.hp-entry__content > h3 { margin-top: 1.75rem; font-size: 1.3rem; }

/* --------------------------------------------------------------- Heroes -- */

.hp-page-hero {
  max-width: var(--hp-max);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) var(--hp-gutter) 2.5rem;
  border-bottom: 1px solid var(--hp-line);
}
.hp-page-hero--center { text-align: center; }
.hp-page-hero--center .hp-lead { margin-left: auto; margin-right: auto; }
.hp-page-title {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
}
.hp-page-hero .hp-lead { max-width: 44rem; margin-bottom: 0; }

.hp-section-head { margin: 0 auto; max-width: 46rem; }
.hp-section-head--center { text-align: center; }
.hp-section-title { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
.hp-section-head .hp-lead { margin-bottom: 0; }

.hp-hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding: clamp(3rem, 7vw, 5.5rem) var(--hp-gutter);
  background: linear-gradient(118deg, #e8efe9 0%, #f8f4ec 62%, #f2ece1 100%);
  border-bottom: 1px solid var(--hp-line);
  max-width: none !important;
}
.hp-hero__title {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  margin-bottom: 1rem;
}
.hp-hero__subtitle {
  font-size: 1.1rem;
  color: var(--hp-muted);
  max-width: 34rem;
}
.hp-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1rem; }
.hp-hero__trust { font-size: .85rem; color: var(--hp-muted); margin: 0; }

.hp-stats {
  display: flex; flex-wrap: wrap; gap: 2.5rem;
  margin: 2rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(73, 102, 90, .18);
}
.hp-stat dt, .hp-stat dd { margin: 0; }
.hp-stat__number {
  font-family: var(--hp-serif);
  font-size: 2.1rem; font-weight: 600; color: var(--hp-sage);
}
.hp-stat__label { font-size: .78rem; color: var(--hp-muted); }

.hp-hero__media {
  margin: 0; position: relative;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  padding: .9rem;
  box-shadow: var(--hp-shadow);
}
.hp-hero__image {
  width: 100%; height: clamp(16rem, 32vw, 22rem);
  object-fit: cover; border-radius: 1.25rem;
}
.hp-hero__caption {
  padding: 1rem .4rem .5rem;
  font-family: var(--hp-serif);
  font-style: italic;
  font-size: 1.02rem;
  color: var(--hp-ink);
}
.hp-hero__caption-label {
  display: block;
  font-family: var(--hp-sans);
  font-style: normal;
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-sage);
  margin-bottom: .45rem;
}
.hp-hero__badges {
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  margin: .5rem 0 0; padding: 0; list-style: none;
}
.hp-hero__badges li {
  padding: .7rem .85rem;
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  border-radius: .75rem;
  font-size: .76rem;
}
.hp-hero__badges strong { display: block; color: var(--hp-sage); }
.hp-hero__badges span { color: var(--hp-muted); }

/* --------------------------------------------------------------- Blocks -- */

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

.hp-card {
  padding: 1.25rem;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.hp-card--featured { border: 2px solid var(--hp-sage); }
.hp-card__title { margin: 0; font-size: 1.32rem; }
.hp-card__title a { text-decoration: none; color: inherit; }
.hp-card__body { color: var(--hp-muted); font-size: .94rem; }
.hp-card__body > :first-child { margin-top: 0; }
.hp-card__body > :last-child { margin-bottom: 0; }
.hp-card__footer { margin-top: auto; padding-top: .6rem; }

.hp-list { margin: .5rem 0; padding-left: 1.15rem; color: var(--hp-muted); }
.hp-list li { margin-bottom: .4rem; }
.hp-list--check { list-style: none; padding-left: 0; }
.hp-list--check li { position: relative; padding-left: 1.6rem; }
.hp-list--check li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: .55rem; height: .55rem; border-radius: 50%;
  background: var(--hp-sage);
}

.hp-deflist { margin: 1rem 0; display: grid; gap: .85rem; }
.hp-deflist > div { display: grid; gap: .15rem; }
.hp-deflist dt {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--hp-sage);
}
.hp-deflist dd { margin: 0; color: var(--hp-muted); font-size: .94rem; }
.hp-deflist--compact { gap: .6rem; }

.hp-note {
  padding: 1.25rem 1.4rem;
  border: 1px solid var(--hp-line);
  border-left: 4px solid var(--hp-sage);
  border-radius: .9rem;
  background: rgba(220, 231, 224, .38);
}
.hp-note__title { margin: 0 0 .4rem; font-weight: 600; color: var(--hp-ink) !important; }
.hp-note__body > :first-child { margin-top: 0; }
.hp-note__body > :last-child { margin-bottom: 0; }
.hp-note__body p { font-size: .92rem; }
.hp-note--calm { background: rgba(233, 225, 213, .4); border-left-color: var(--hp-sand); }
.hp-note--warning {
  background: var(--hp-amber-bg);
  border-color: var(--hp-amber-line);
  border-left-color: #cfa63f;
}
.hp-note--warning .hp-note__title { color: var(--hp-amber-ink) !important; }
.hp-note--crisis {
  background: var(--hp-rose-bg);
  border-color: var(--hp-rose-line);
  border-left-color: var(--hp-clay);
}
.hp-note--crisis .hp-note__title { color: var(--hp-rose-ink) !important; }
.hp-note--flash { margin-bottom: 2rem; }

.hp-quote {
  margin: 1.5rem 0;
  padding: 1.1rem 1.5rem;
  border-left: 3px solid var(--hp-sage);
  background: var(--hp-paper);
  border-radius: 0 .75rem .75rem 0;
}
.hp-quote p {
  margin: 0;
  font-family: var(--hp-serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--hp-ink) !important;
}
.hp-quote cite {
  display: block; margin-top: .6rem;
  font-family: var(--hp-sans); font-style: normal;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-sage);
}
.hp-quote--card { border: 0; padding: 0; background: none; }
.hp-quote--inline { background: var(--hp-mist); }

.hp-pill {
  display: inline-block;
  padding: .35rem .85rem;
  border: 1px solid var(--hp-line);
  border-radius: 999px;
  background: rgba(220, 231, 224, .55);
  font-size: .72rem;
  font-weight: 600;
  color: var(--hp-sage);
}
.hp-pill--hero { margin-bottom: 1.25rem; }
.hp-pills__label {
  font-size: .68rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--hp-sage); margin: 0 0 .6rem;
}
.hp-pills__list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.hp-pills__list .hp-pill { font-weight: 500; }
.hp-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .06em;
  color: var(--hp-sage);
}

.hp-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .5rem .875rem;
  border: 1px solid var(--hp-sage);
  border-radius: .75rem;
  background: var(--hp-sage);
  color: #fff !important;
  font-size: .75rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.hp-btn:hover { background: var(--hp-sage-dark); border-color: var(--hp-sage-dark); color: #fff !important; }
.hp-btn--ghost {
  background: var(--hp-white);
  border-color: var(--hp-line);
  color: var(--hp-ink) !important;
}
.hp-btn--ghost:hover { background: var(--hp-sand); border-color: var(--hp-sand); color: var(--hp-ink) !important; }
.hp-btn[disabled] { opacity: .5; cursor: not-allowed; }
.hp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.hp-link { font-weight: 600; font-size: .88rem; }

.hp-cta {
  padding: clamp(2.5rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  background: var(--hp-ink);
  border-radius: var(--hp-radius-lg);
  color: #f2efe8;
  text-align: center;
}
.hp-cta .hp-eyebrow { color: #a8c4b4; }
.hp-cta__title { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.hp-cta__body { max-width: 40rem; margin: 0 auto; color: #c9d2cd !important; }
.hp-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin: 1.75rem 0 0; }
.hp-cta .hp-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.hp-cta .hp-btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff !important; }

.hp-split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
}
.hp-split--flip .hp-split__media { order: 2; }
.hp-split__media { margin: 0; }
.hp-split__image {
  width: 100%; height: clamp(15rem, 30vw, 24rem);
  object-fit: cover; border-radius: var(--hp-radius);
}
.hp-split__caption {
  margin-top: .65rem;
  font-size: .72rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--hp-sage);
}
.hp-split__title { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.hp-split__text > :last-child { margin-bottom: 0; }

.hp-steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: none;
}
.hp-step {
  padding: 1.6rem;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
}
.hp-step__number {
  display: block; margin-bottom: .6rem;
  font-family: var(--hp-serif); font-size: 1.9rem;
  color: var(--hp-sage);
}
.hp-step__title { margin: 0 0 .4rem; font-size: 1.2rem; }
.hp-step__body { margin: 0; color: var(--hp-muted); font-size: .92rem; }

.hp-service,
.hp-specialty {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  scroll-margin-top: 7rem;
}
.hp-service__head { display: flex; align-items: baseline; gap: 1rem; }
.hp-service__number {
  font-family: var(--hp-serif); font-size: 1.6rem;
  color: var(--hp-sage); line-height: 1;
}
.hp-service__title { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.hp-service__duration {
  margin: .2rem 0 0;
  font-size: .7rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-service__tagline {
  margin: 1rem 0 1.25rem;
  font-family: var(--hp-serif); font-style: italic;
  font-size: 1.15rem; color: var(--hp-sage) !important;
}
.hp-service__detail { display: grid; gap: 1.25rem; }
.hp-service__detail h3 {
  margin: 0 0 .3rem;
  font-family: var(--hp-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-muted);
}
.hp-service__detail p { margin: 0; }

.hp-specialty__title { margin: .3rem 0 .75rem; font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
.hp-specialty__summary { color: var(--hp-ink) !important; font-weight: 500; }
.hp-specialty h3 {
  font-family: var(--hp-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-muted);
  margin: 1.25rem 0 .4rem;
}

.hp-crisis__contact { font-weight: 600; color: var(--hp-ink) !important; }

.hp-price { margin: .5rem 0 1rem; }
.hp-price__amount {
  display: block;
  font-family: var(--hp-serif);
  font-size: 2.4rem; font-weight: 600;
  color: var(--hp-ink);
  line-height: 1.1;
}
.hp-price__unit { display: block; font-size: .8rem; color: var(--hp-muted); }

.hp-philosophy { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.hp-philosophy__copy > :first-child { margin-top: 0; }

/* -------------------------------------------------------------- FAQ list -- */

.hp-faq { display: grid; gap: .75rem; }
.hp-faq__item {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  overflow: hidden;
}
.hp-faq__question {
  display: flex; flex-direction: column; gap: .3rem;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--hp-serif);
  font-size: 1.2rem;
  color: var(--hp-ink);
  cursor: pointer;
  list-style: none;
}
.hp-faq__question::-webkit-details-marker { display: none; }
.hp-faq__question::after {
  content: "+";
  position: absolute; right: 1.4rem; top: 1rem;
  font-family: var(--hp-sans); font-size: 1.3rem; line-height: 1.2;
  color: var(--hp-sage);
}
.hp-faq__item[open] > .hp-faq__question::after { content: "\2212"; }
.hp-faq__category {
  font-family: var(--hp-sans);
  font-size: .62rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--hp-sage);
}
.hp-faq__answer { padding: 0 1.4rem 1.3rem; border-top: 1px solid var(--hp-line); }
.hp-faq__answer p { margin: 1rem 0 0; font-size: .95rem; }

/* ------------------------------------------------------ Breathing widget -- */

.hp-breathing {
  max-width: 34rem; margin-inline: auto;
  padding: 1.75rem;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  text-align: center;
}
.hp-breathing__head {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
}
.hp-breathing__pattern { font-size: .78rem; color: var(--hp-muted); }
.hp-breathing__stage {
  display: grid; place-items: center;
  min-height: 15rem; margin: 1rem 0;
}
.hp-breathing__orb {
  width: 9rem; height: 9rem; border-radius: 50%;
  display: grid; place-content: center; gap: .2rem;
  background: var(--hp-muted); color: #fff;
  transition: transform 3.6s ease-in-out, background-color 1.2s ease;
}
.hp-breathing__orb[data-hp-state="inhale"],
.hp-breathing__orb[data-hp-state="hold"] { background: var(--hp-sage); transform: scale(1.3); }
.hp-breathing__orb[data-hp-state="exhale"],
.hp-breathing__orb[data-hp-state="rest"] { background: var(--hp-muted); transform: scale(.85); }
.hp-breathing__phase {
  font-size: .68rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; opacity: .85;
}
.hp-breathing__count { font-family: var(--hp-serif); font-size: 1.9rem; }
.hp-breathing__instruction { min-height: 3rem; margin: 0; font-size: .95rem; color: var(--hp-sage) !important; }
.hp-breathing__controls { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; align-items: center; }
.hp-breathing__cycles { font-size: .8rem; color: var(--hp-muted); }
.hp-breathing__note { margin-top: 1rem; font-size: .8rem; }

@media (prefers-reduced-motion: reduce) {
  .hp-breathing__orb { transition: background-color .2s ease; transform: none !important; }
  * { scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------- Estimator -- */

.hp-estimator {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
}
.hp-estimator__head {
  display: flex; flex-wrap: wrap; gap: .75rem;
  align-items: center; justify-content: space-between;
  padding-bottom: 1.25rem; margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--hp-line);
}
.hp-estimator__body { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.hp-estimator__controls { display: grid; gap: 1.5rem; }

.hp-field { margin: 0; padding: 0; border: 0; }
.hp-field legend,
.hp-field__label {
  display: block; padding: 0; margin-bottom: .6rem;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-sage);
}
.hp-field__label output { float: right; letter-spacing: 0; color: var(--hp-ink); }
.hp-field__help { margin: 0 0 .6rem; font-size: .85rem; }
.hp-field__scale { display: flex; justify-content: space-between; margin: .4rem 0 0; font-size: .7rem; color: var(--hp-muted); }
.hp-field input[type="range"] { width: 100%; accent-color: var(--hp-sage); }
.hp-field input[type="range"]:disabled { opacity: .4; }

.hp-choice { display: grid; gap: .6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-choice--inline { display: flex; flex-wrap: wrap; }
.hp-choice--inline .hp-choice__option { min-width: 6rem; text-align: center; }
.hp-choice__option {
  position: relative;
  display: grid; gap: .15rem;
  padding: .75rem .9rem;
  border: 1px solid var(--hp-line);
  border-radius: .75rem;
  background: var(--hp-paper);
  cursor: pointer;
  font-size: .85rem;
}
.hp-choice__option:has(input:checked) {
  background: var(--hp-sage); border-color: var(--hp-sage); color: #fff;
}
.hp-choice__option:has(input:checked) .hp-choice__meta { color: rgba(255, 255, 255, .8); }
.hp-choice__option input { position: absolute; opacity: 0; width: 0; height: 0; }
.hp-choice__label { font-weight: 600; }
.hp-choice__meta { font-size: .72rem; color: var(--hp-muted); }

.hp-estimator__summary {
  padding: 1.5rem;
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
}
.hp-estimator__rows { margin: 0 0 1rem; display: grid; gap: .6rem; }
.hp-estimator__rows > div {
  display: flex; justify-content: space-between; gap: 1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--hp-line);
  font-size: .85rem;
}
.hp-estimator__rows dt { color: var(--hp-muted); }
.hp-estimator__rows dd { margin: 0; font-weight: 600; }
.hp-estimator__total {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem; margin: 0 0 1rem; font-size: .9rem; font-weight: 600;
}
.hp-estimator__total strong {
  font-family: var(--hp-serif); font-size: 2.1rem;
  font-weight: 600; color: var(--hp-sage);
}

/* ------------------------------------------------------------------ Form -- */

.hp-form {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
  display: grid; gap: 1.1rem;
  scroll-margin-top: 7rem;
}
.hp-form__title { margin: 0; font-size: 1.5rem; }
.hp-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 0; }
.hp-form__field { margin: 0; padding: 0; border: 0; display: grid; gap: .35rem; }
.hp-form__field label,
.hp-form__field legend {
  padding: 0;
  font-size: .78rem; font-weight: 600; color: var(--hp-ink);
}
.hp-form input[type="text"],
.hp-form input[type="email"],
.hp-form input[type="tel"],
.hp-form select,
.hp-form textarea {
  width: 100%;
  padding: .7rem .85rem;
  font: inherit; font-size: .95rem;
  color: var(--hp-ink);
  background: var(--hp-paper);
  border: 1px solid var(--hp-line);
  border-radius: .7rem;
}
.hp-form textarea { resize: vertical; }
.hp-form__consent { margin: 0; font-size: .82rem; color: var(--hp-muted); }
.hp-form__consent label { display: flex; gap: .6rem; align-items: flex-start; }
.hp-form__actions { margin: .25rem 0 0; }
.hp-form__actions .hp-btn { width: 100%; }
.hp-form__honeypot { position: absolute; left: -9999px; }

/* ---------------------------------------------------------------- Footer -- */

.hp-footer {
  margin-top: 4rem;
  background: var(--hp-ink);
  color: #c9d2cd;
  font-size: .9rem;
}
.hp-footer a { color: #dfe7e2; text-decoration: none; }
.hp-footer a:hover { color: #fff; text-decoration: underline; }
.hp-footer__inner {
  max-width: 82rem; margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 4rem) var(--hp-gutter) 2.5rem;
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2.5rem;
}
.hp-footer__name { margin: 0; font-family: var(--hp-serif); font-size: 1.6rem; color: #fff; }
.hp-footer__credentials { margin: .2rem 0 .1rem; color: var(--hp-mist); font-size: .85rem; }
.hp-footer__licence { margin: 0; font-size: .75rem; color: #8d9a94; }
.hp-footer__blurb { margin: 1rem 0; max-width: 28rem; }
.hp-footer__contact { display: grid; gap: .25rem; font-style: normal; margin-bottom: 1rem; }
.hp-footer__hours { margin: 0; display: grid; gap: .2rem; font-size: .78rem; }
.hp-footer__hours > div { display: flex; gap: .5rem; }
.hp-footer__hours dt { color: #8d9a94; min-width: 9rem; }
.hp-footer__hours dd { margin: 0; }
.hp-footer__heading {
  margin: 0 0 1rem;
  font-family: var(--hp-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--hp-mist);
}
.hp-footer__list { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; }
.hp-footer__areas {
  max-width: 82rem; margin: 0 auto;
  padding: 0 var(--hp-gutter) 2rem;
}
.hp-footer__areas p { margin: 0 0 .35rem; font-size: .85rem; line-height: 1.8; }
.hp-footer__areas-label { color: #8d9a94; margin-right: .35rem; }

.hp-footer__crisis {
  max-width: 82rem; margin: 0 auto;
  padding: 1.25rem var(--hp-gutter);
  display: flex; flex-wrap: wrap; gap: 1.25rem;
  align-items: center; justify-content: space-between;
}
.hp-footer__crisis > div {
  padding: 1rem 1.25rem;
  background: rgba(0, 0, 0, .25);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--hp-radius);
  flex: 1 1 28rem;
}
.hp-footer__crisis p { margin: 0; font-size: .82rem; }
.hp-footer__crisis-title {
  font-weight: 600; color: #fff !important;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: .68rem !important; margin-bottom: .3rem !important;
}
.hp-footer__crisis strong { color: #fff; }
.hp-footer__crisis .hp-btn--ghost {
  background: var(--hp-sage); border-color: var(--hp-sage); color: #fff !important;
}

.hp-footer__legal {
  max-width: 82rem; margin: 0 auto;
  padding: 1.5rem var(--hp-gutter) 2.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1);
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: flex-end; justify-content: space-between;
  font-size: .76rem; color: #8d9a94;
}
.hp-footer__legal p { margin: 0; max-width: 46rem; }
.hp-footer__legal strong { color: var(--hp-mist); }

.hp-pagination { margin-top: 2.5rem; display: flex; gap: .75rem; justify-content: center; }

/* ------------------------------------------------------------ Responsive -- */

@media (max-width: 1000px) {
  .hp-footer__inner { grid-template-columns: 1fr 1fr; }
  .hp-estimator__body { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .hp-nav-toggle { display: block; }
  .hp-header__inner { flex-wrap: wrap; }
  .hp-nav {
    display: none; width: 100%;
    flex-direction: column; align-items: stretch;
    gap: 1rem; padding-top: 1rem;
    border-top: 1px solid var(--hp-line);
  }
  .hp-nav.is-open { display: flex; }
  .hp-nav__list { flex-direction: column; flex-wrap: wrap; align-items: stretch; gap: .25rem; }
  .hp-nav__actions { width: 100%; }

  .hp-hero { grid-template-columns: 1fr; }
  .hp-split, .hp-philosophy { grid-template-columns: 1fr; }
  .hp-split--flip .hp-split__media { order: 0; }
  .hp-grid--2, .hp-grid--3, .hp-steps { grid-template-columns: 1fr; }
  .hp-form__row { grid-template-columns: 1fr; }
  .hp-stats { gap: 1.5rem; }
}

@media (max-width: 620px) {
  .hp-footer__inner { grid-template-columns: 1fr; }
  .hp-hero__badges { grid-template-columns: 1fr; }
  .hp-choice { grid-template-columns: 1fr; }
  .hp-topbar__inner { flex-direction: column; align-items: flex-start; }
}

/* ------------------------------------------------------------- Elementor -- */

/* Elementor puts our CSS classes on the element wrapper, so these rules reach
   through to the widget markup inside. Everything here is a plain class, so
   any of it can still be overridden from the Elementor panel. */

.hp-main > .elementor { padding-bottom: 3rem; }

/* Labels and headings ----------------------------------------------------- */

.hp-eyebrow .elementor-heading-title {
  font-family: var(--hp-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--hp-sage);
  line-height: 1.5;
}

.hp-el-page-title .elementor-heading-title { font-size: clamp(2.2rem, 5.5vw, 3.75rem); font-weight: 700; }
.hp-el-hero-title .elementor-heading-title { font-size: clamp(2.4rem, 5.4vw, 3.75rem); font-weight: 700; }
.elementor-widget-heading h2.elementor-heading-title { font-size: clamp(1.7rem, 3.2vw, 2.25rem); font-weight: 700; }
.elementor-widget-heading h3.elementor-heading-title { font-size: 1.25rem; font-weight: 700; }

.hp-el-step-number .elementor-heading-title {
  font-size: 1.9rem;
  color: var(--hp-sage);
  line-height: 1;
}

.hp-el-note-title .elementor-heading-title {
  font-family: var(--hp-sans);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: 0;
}

/* Body copy --------------------------------------------------------------- */

.elementor-widget-text-editor { color: var(--hp-muted); }
.elementor-widget-text-editor p { margin: 0 0 .9em; }
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }

.hp-lead p { font-size: 1.12rem; line-height: 1.7; color: var(--hp-muted); }
.hp-el-fine p { font-size: .85rem; color: var(--hp-muted); }
.hp-el-strong p { color: var(--hp-ink); font-weight: 500; }

.hp-el-list .elementor-icon-list-text { color: var(--hp-muted); font-size: .94rem; }
.hp-el-list .elementor-icon-list-icon svg { width: .8em; height: .8em; fill: var(--hp-sage); }

/* Buttons ----------------------------------------------------------------- */

.hp-el-btn { width: auto; flex: 0 0 auto; }

.elementor-widget-button.hp-el-btn .elementor-button {
  padding: .5rem .875rem;
  border: 1px solid var(--hp-sage);
  border-radius: .75rem;
  background: var(--hp-sage);
  color: #fff;
  font-family: var(--hp-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background-color .15s ease, border-color .15s ease;
}
.elementor-widget-button.hp-el-btn .elementor-button:hover,
.elementor-widget-button.hp-el-btn .elementor-button:focus {
  background: var(--hp-sage-dark);
  border-color: var(--hp-sage-dark);
  color: #fff;
}

.elementor-widget-button.hp-el-btn--ghost .elementor-button {
  background: var(--hp-white);
  border-color: var(--hp-line);
  color: var(--hp-ink);
}
.elementor-widget-button.hp-el-btn--ghost .elementor-button:hover,
.elementor-widget-button.hp-el-btn--ghost .elementor-button:focus {
  background: var(--hp-sand);
  border-color: var(--hp-sand);
  color: var(--hp-ink);
}

/* Containers -------------------------------------------------------------- */

.e-con.hp-card {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
}
.e-con.hp-card--featured { border: 2px solid var(--hp-sage); }

.e-con.hp-el-hero {
  background: linear-gradient(118deg, #e8efe9 0%, #f8f4ec 62%, #f2ece1 100%);
  border-bottom: 1px solid var(--hp-line);
}
.e-con.hp-el-page-hero { border-bottom: 1px solid var(--hp-line); }

.e-con.hp-el-split {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius-lg);
}

/* Notes: the tone rules must beat the card background they sit on. */
.e-con.hp-note { border-left: 4px solid var(--hp-sage); background: rgba(220, 231, 224, .38); }
.e-con.hp-note--calm { background: rgba(233, 225, 213, .4); border-left-color: var(--hp-sand); }
.e-con.hp-note--warning {
  background: var(--hp-amber-bg);
  border-color: var(--hp-amber-line);
  border-left-color: #cfa63f;
}
.e-con.hp-note--crisis {
  background: var(--hp-rose-bg);
  border-color: var(--hp-rose-line);
  border-left-color: var(--hp-clay);
}

/* Closing call to action -------------------------------------------------- */



/* Elementor binds heading colour to the global ink, so these need to outrank
   its per-element rule to stay legible on the dark panel. */
.e-con.hp-el-cta .elementor-widget-heading .elementor-heading-title { color: #fff; }
.e-con.hp-el-cta .hp-eyebrow .elementor-heading-title { color: #86d3a6; }
.e-con.hp-el-cta .elementor-widget-text-editor,
.e-con.hp-el-cta .hp-el-cta-body p { color: #c9d2cd; }
.hp-el-cta .elementor-widget-button.hp-el-btn--ghost .elementor-button {
  background: transparent;
  border-color: rgba(255, 255, 255, .35);
  color: #fff;
}
.hp-el-cta .elementor-widget-button.hp-el-btn--ghost .elementor-button:hover { background: rgba(255, 255, 255, .12); }

/* Images ------------------------------------------------------------------ */

.hp-el-hero-image img,
.hp-el-split-image img {
  width: 100%;
  height: clamp(15rem, 30vw, 22rem);
  object-fit: cover;
  border-radius: var(--hp-radius);
}

/* Accordion --------------------------------------------------------------- */

.hp-el-accordion .elementor-accordion-item {
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  margin-bottom: .75rem;
  overflow: hidden;
}
.hp-el-accordion .elementor-tab-title {
  border: 0;
  padding: 1.1rem 1.4rem;
  font-family: var(--hp-serif);
  font-size: 1.2rem;
}
.hp-el-accordion .elementor-tab-title a { color: var(--hp-ink); }
.hp-el-accordion .elementor-tab-content {
  border: 0;
  border-top: 1px solid var(--hp-line);
  padding: 1rem 1.4rem 1.3rem;
  color: var(--hp-muted);
  font-size: .95rem;
}
.hp-el-accordion .elementor-accordion-icon { color: var(--hp-sage); }

/* The practice's own widgets already carry their theme styling. */
.elementor-widget-harbor-breathing,
.elementor-widget-harbor-estimator,
.elementor-widget-harbor-inquiry,
.elementor-widget-harbor-crisis { width: 100%; }
.elementor-widget-harbor-breathing .hp-breathing { margin-inline: auto; }

.hp-flash-wrap {
  max-width: var(--hp-max);
  margin: 1.5rem auto 0;
  padding-inline: var(--hp-gutter);
}

/* ------------------------------------- Elementor: the original's sections -- */

/* The original stacks generously spaced panels on the paper background, most
   of them on a 1280px measure, with the FAQ and estimator pulled in tighter. */

/* The original spaces every band 112px apart and wraps most of them in a
   24px card. Card chrome goes on .e-con-inner: on a boxed container that is
   the element held at the section measure, so the card stops at the measure
   instead of bleeding to the viewport edge. */

.hp-main > .elementor > .e-con + .e-con { margin-top: clamp(3.5rem, 8vw, 7rem); }

.e-con.hp-panel-card > .e-con-inner,
.e-con.hp-panel-outline > .e-con-inner,
.e-con.hp-panel-solid > .e-con-inner,
.e-con.hp-panel-ink > .e-con-inner {
  border: 1px solid var(--hp-line);
  border-radius: 1.5rem;
  padding: clamp(1.75rem, 4vw, 4rem);
}
.e-con.hp-panel-card > .e-con-inner    { background: rgba(255, 255, 253, .8); }
.e-con.hp-panel-outline > .e-con-inner { background: transparent; }
.e-con.hp-panel-solid > .e-con-inner   { background: #fff; }
.e-con.hp-panel-ink > .e-con-inner     { background: var(--hp-ink); border-color: var(--hp-ink); }

/* Per-section measures, matching the original. */
.e-con.hp-w-mid > .e-con-inner    { max-width: 64rem; }
.e-con.hp-w-narrow > .e-con-inner { max-width: 56rem; }

.e-con.hp-el-center { text-align: center; }
.e-con.hp-el-narrow > .e-con-inner { max-width: var(--hp-narrow); }

.hp-el-measure p { max-width: 48rem; margin-inline: auto; }
.hp-el-measure-sm p { max-width: 36rem; margin-inline: auto; }

/* Hero ------------------------------------------------------------------- */

.e-con.hp-el-hero { background: none; border-bottom: 0; }
.e-con.hp-hero__card { padding: 1rem; box-shadow: var(--hp-shadow); }
.hp-el-hero-image img { border-radius: 1.1rem; height: clamp(17rem, 26vw, 22rem); }

.hp-hero__trust {
  display: flex; flex-wrap: wrap; gap: 1rem;
  margin: .75rem 0 0; padding: .75rem 0 0;
  list-style: none;
  border-top: 1px solid var(--hp-line);
  font-size: .7rem; color: var(--hp-muted);
}
.hp-hero__trust li::before { content: "\2713"; color: var(--hp-sage); margin-right: .35rem; }

/* Practice assistant panel ------------------------------------------------ */

.hp-featurerow {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: .25rem 0 0; padding: 0; list-style: none;
}
.hp-featurerow li {
  padding: .35rem .75rem;
  border: 1px solid var(--hp-line);
  border-radius: .6rem;
  background: var(--hp-white);
  font-size: .72rem;
  color: var(--hp-muted);
}

.e-con.hp-concierge__card { background: var(--hp-mist); border-color: #cddbd3; }
.hp-concierge__head { margin-bottom: .5rem; }
.hp-concierge__bubble,
.hp-concierge__reply {
  margin: 0 0 .6rem;
  padding: .8rem 1rem;
  border: 1px solid var(--hp-line);
  border-radius: .9rem;
  background: var(--hp-white);
  font-size: .82rem;
  color: var(--hp-muted);
}
.hp-concierge__bubble { font-style: italic; }
.hp-concierge__reply strong { color: var(--hp-sage); font-style: normal; }

/* Ruled section head ------------------------------------------------------ */

.e-con.hp-el-head-rule { border-bottom: 1px solid var(--hp-line); }
.hp-el-headlink { align-items: flex-end; }
.hp-el-morelink {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--hp-sage);
}
.hp-el-morelink:hover { color: var(--hp-ink); text-decoration: underline; }
.hp-el-morelink-wrap p { margin: 0; }

/* Assurance row ----------------------------------------------------------- */

.hp-checkrow {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .75rem 1.75rem;
  margin: .5rem 0 0; padding: 0; list-style: none;
  font-size: .85rem; font-weight: 500; color: var(--hp-ink);
}
.hp-checkrow li::before { content: "\2713"; color: var(--hp-sage); margin-right: .45rem; font-weight: 700; }

/* Specialty cards --------------------------------------------------------- */

.e-con.hp-spec { justify-content: space-between; }
.hp-spec__top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.hp-spec__num { font-family: var(--hp-serif); font-size: .9rem; color: #a9b3ad; }
.hp-pill--tag {
  padding: .15rem .6rem;
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.hp-el-cardfoot p {
  margin: 0;
  padding-top: .85rem;
  border-top: 1px solid var(--hp-line);
  font-size: .72rem;
  font-weight: 500;
  color: var(--hp-sage);
}

/* Journey steps ----------------------------------------------------------- */

.hp-el-stepbadge .elementor-heading-title {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem;
  border-radius: .85rem;
  background: var(--hp-sage);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
}

/* Testimonials ------------------------------------------------------------ */

.hp-el-quote p {
  font-family: var(--hp-serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--hp-ink);
}
.hp-testimonial__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; flex-wrap: wrap;
  padding-top: .85rem;
  border-top: 1px solid var(--hp-line);
}
.hp-testimonial__label { font-size: .75rem; font-weight: 600; color: var(--hp-sage); }

/* Clinician bio ----------------------------------------------------------- */

.e-con.hp-bio__card { gap: .35rem; }
.hp-bio__name { margin: .1rem 0 0; font-family: var(--hp-serif); font-size: 1.5rem; color: var(--hp-ink); }
.hp-bio__meta { margin: 0; font-size: .75rem; color: var(--hp-muted); }
.hp-bio__licences { margin: .5rem 0; padding: 0; list-style: none; font-size: .72rem; color: var(--hp-muted); }
.hp-bio__licences li { margin-bottom: .2rem; }

.hp-modalities {
  display: grid; grid-template-columns: 1fr 1fr; gap: .4rem .9rem;
  margin: .25rem 0 0; padding: 0; list-style: none;
  font-size: .8rem; color: var(--hp-muted);
}
.hp-modalities li::before { content: "\2713"; color: var(--hp-sage); margin-right: .4rem; }

/* Closing call to action -------------------------------------------------- */

.e-con.hp-el-cta > .e-con-inner { max-width: var(--hp-cta); }
.hp-el-cta .hp-el-cta-title .elementor-heading-title { font-size: clamp(1.9rem, 4vw, 3rem); }
.hp-el-cta .hp-eyebrow .elementor-heading-title { color: #86d3a6; }
.hp-el-cta .hp-el-cta-fine p { font-size: .72rem; color: #8d9a94; }
.hp-el-cta .elementor-widget-button.hp-el-btn--ghost .elementor-button {
  background: rgba(255, 255, 255, .1);
  border-color: transparent;
}

@media (max-width: 900px) {
  .hp-modalities { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------- Toolkit widgets -- */

/* Breadcrumbs */
.hp-crumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  margin: 0; padding: 0; list-style: none;
  font-size: .78rem; color: var(--hp-muted);
}
.hp-crumbs a { color: var(--hp-sage); text-decoration: none; }
.hp-crumbs a:hover { text-decoration: underline; }
.hp-crumbs__sep { color: #b6bfb9; }
.hp-crumbs [aria-current="page"] { color: var(--hp-ink); }

/* Table of contents */
.hp-toc {
  padding: 1.25rem 1.5rem;
  background: var(--hp-white);
  border: 1px solid var(--hp-line);
  border-left: 3px solid var(--hp-sage);
  border-radius: var(--hp-radius);
}
.hp-toc__title {
  margin: 0 0 .6rem;
  font-size: .68rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-sage);
}
.hp-toc__list { margin: 0; padding-left: 1.1rem; display: grid; gap: .35rem; font-size: .92rem; }
.hp-toc__list a { color: var(--hp-muted); text-decoration: none; }
.hp-toc__list a:hover { color: var(--hp-sage); text-decoration: underline; }
.hp-toc__item--h3 { margin-left: .9rem; font-size: .86rem; }

/* Navigation menu widget */
.hp-menu__list { margin: 0; padding: 0; list-style: none; display: flex; gap: 1.1rem; flex-wrap: wrap; }
.hp-menu--vertical .hp-menu__list { flex-direction: column; gap: .6rem; }
.hp-menu__list a {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--hp-ink); text-decoration: none;
}
.hp-menu__list a:hover,
.hp-menu__list .current-menu-item > a { color: var(--hp-sage); }

/* Post grid */
.hp-card__media { display: block; margin: -1.6rem -1.6rem .4rem; overflow: hidden; border-radius: var(--hp-radius) var(--hp-radius) 0 0; }
.hp-card__media img { width: 100%; height: 11rem; object-fit: cover; }

/* Gallery */
.hp-gallery { display: grid; gap: .75rem; }
.hp-gallery--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-gallery--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-gallery--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hp-gallery img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3;
  object-fit: cover; border-radius: var(--hp-radius);
  border: 1px solid var(--hp-line);
}
.hp-gallery a { display: block; line-height: 0; }

/* Share buttons */
.hp-share { display: flex; flex-wrap: wrap; gap: .5rem; }
.hp-btn--sm { padding: .55rem .9rem; font-size: .7rem; }

@media (max-width: 760px) {
  .hp-gallery--3, .hp-gallery--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ------------------------------------------ Header/footer builder seeds -- */

/* Styling for the templates seeded by Appearance → Header & Footer, so a new
   template starts looking like the built-in header rather than unstyled. */

.hp-tb--header { position: sticky; top: 0; z-index: 30; }

.e-con.hp-tb-topbar > .e-con-inner,
.e-con.hp-tb-topbar { background: var(--hp-ink); }
.hp-tb-topbar .elementor-widget-text-editor,
.hp-tb-topbar p { color: #c9d2cd; font-size: .74rem; margin: 0; }
.hp-tb-phone p { text-align: right; color: #fff; }

.e-con.hp-tb-masthead {
  background: rgba(247, 244, 238, .95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hp-line);
}
.hp-tb-brand .elementor-heading-title {
  font-size: 1.7rem; font-weight: 600; line-height: 1;
}
.hp-tb-brandmeta p {
  margin: .25rem 0 0;
  font-size: .58rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--hp-muted);
}

.e-con.hp-tb-footer { background: var(--hp-ink); }
.hp-tb-footer .elementor-widget-text-editor,
.hp-tb-footer p { color: #c9d2cd; font-size: .85rem; }
.hp-tb-footer .elementor-heading-title { color: #fff; }
.hp-tb-footheading .elementor-heading-title {
  font-family: var(--hp-sans);
  font-size: .68rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--hp-mist);
}
.hp-tb-footer .hp-menu__list a { color: #dfe7e2; }
.hp-tb-footer .hp-menu__list a:hover { color: #fff; }
.hp-tb-footname .elementor-heading-title { font-size: 1.5rem; }
.hp-tb-copyright p { font-size: .75rem; color: #8d9a94; }

/* -------------------------------------------------------------------------
 * Voice assistant — inline [harbor_voice_agent] block.
 * The floating launcher is styled by the assistant's own widget.css; this is
 * only the in-page variant.
 * ---------------------------------------------------------------------- */

.hp-voice-inline {
  border: 1px solid var(--hp-line);
  border-radius: var(--hp-radius);
  background: var(--hp-mist);
  padding: 1.25rem;
  text-align: center;
}

.hp-voice-inline__note {
  margin: 0 0 .75rem;
  font-size: .95rem;
  color: var(--hp-ink);
}

.hp-voice-inline__fine {
  margin: .75rem 0 0;
  font-size: .72rem;
  color: var(--hp-muted);
}

/* Body prose inside Elementor sections.
   `hp-prose` sets the paragraph rhythm; add `hp-prose--measure` in a
   full-bleed section, where the 1280px container is far too wide to read.
   Inside a column that is already ~740px the modifier is unnecessary.

   The !important is not laziness: Elementor caps every widget with
   `.elementor.elementor .e-con > .elementor-widget` (specificity 0,4,0),
   which no practical theme-side selector beats. Alignment is deliberately
   NOT set here — that lives on the widget's own `align` setting, so
   Elementor keeps ownership of it. */
.hp-prose p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--hp-muted);
  margin: 0 0 1.1rem;
}

.hp-prose p:last-child {
  margin-bottom: 0;
}

.hp-prose--measure.hp-prose--measure {
  max-width: 46rem !important;
  margin-inline: auto;
}

/* Charm booking embed.
   The calendar is a cross-origin iframe, so its height cannot be measured from
   this side — it is given a generous fixed height rather than collapsing to
   nothing. The fallback line matters: the widget only renders on hosts that
   are allow-listed in Charm, so on any other domain it shows an error and the
   visitor needs another way to reach the practice. */
.hp-booking {
  max-width: 62rem;
  margin-inline: auto;
}

.hp-booking__frame {
  width: 100%;
  min-height: 1000px;
  border: 0;
  border-radius: var(--hp-radius, 12px);
  background: #fff;
}

.hp-booking__fallback {
  margin-top: 1rem;
  font-size: .9rem;
  color: var(--hp-muted);
  text-align: center;
}

/* ---------------------------------------------- Elementor container gutter --
   Elementor's boxed containers cap their inner width at min(100%, 1280px) but
   ship no horizontal padding. Above 1280px the cap leaves space either side and
   everything looks correctly inset; at or below it the container fills the
   viewport and text sits flush against the glass. Same CSS, so the site looked
   right on a wide display and edge-to-edge on a 1280px laptop.

   This supplies the theme's own gutter as a DEFAULT, not an override: Elementor
   writes a configured container's padding as an INLINE style attribute, which
   beats any stylesheet rule, so sections that set their own padding keep it.
   Verified: hero moves 0px -> 56px while .hp-panel-* sections stay at 45px.
   Scoped to .e-parent so nested containers are not indented twice. */
.e-con.e-parent {
  --padding-inline-start: var(--hp-gutter);
  --padding-inline-end: var(--hp-gutter);
}
