/* ==========================================================================
   Healing Minds — design system v4 "Noche ciruela" (the version the client chose)
   - Base layer below is v2 "Spectrum"; the v4 layer at the end of this file turns it
     dark: plum night from the logo's violet, white serif headlines, coral actions.
   - The logo's brain spectrum is the colour system, and colour carries meaning:
     each service keeps its colour (psychiatry coral, TMS amber, therapy green,
     PSR blue, Healing Medical Center berry).
   - Source Serif 4 (display, echoes the logo serif) + Lexend (body,
     designed to make reading easier: many patients are Medicare age).
   - Mobile: card rows become swipe carousels (.hm-mcar) instead of long stacks.
   ========================================================================== */

body.hm {
  --ink: #000;
  --text: #393743;
  --text-2: #5d5a69;
  --paper: #fff;
  --soft: #f4f4f6;
  --line: #e4e3ea;
  --focus: #3478e3;
  /* the logo spectrum */
  --s-coral: #e8553f; --s-orange: #f0773a; --s-amber: #e9a21a; --s-lime: #8cc63f;
  --s-green: #23a565; --s-teal: #18a6bd; --s-blue: #2f6fd8; --s-violet: #6a52dc; --s-berry: #b8338a;
  --spectrum: linear-gradient(90deg, #ef4f4a 0%, #f4733f 12%, #f6a630 24%, #f6cf3a 34%, #9ed23f 45%, #2fbf71 55%, #1fb3c9 66%, #3478e3 77%, #6a52dc 88%, #b8338a 100%);
  --mind: linear-gradient(90deg, #2fbf71, #1fb3c9, #3478e3, #6a52dc);
  --body-g: linear-gradient(90deg, #ef4f4a, #f4733f, #c93d8f);
  --display: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1200px;
  --gut: clamp(20px, 4vw, 40px);
  --hdr: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --e-global-color-primary: var(--ink);
  --e-global-color-secondary: var(--text);
  --e-global-color-text: var(--text);
  --e-global-color-accent: var(--ink);
  --e-global-typography-primary-font-family: "Source Serif 4";
  --e-global-typography-text-font-family: "Lexend";

  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.hm *, body.hm *::before, body.hm *::after { box-sizing: border-box; }
body.hm img { max-width: 100%; height: auto; }
body.hm a { color: var(--ink); text-decoration-thickness: 1.5px; text-underline-offset: .2em; }
body.hm a:hover { text-decoration-color: var(--c, var(--s-blue)); }
body.hm :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
body.hm h1, body.hm h2, body.hm h3, body.hm h4 { font-family: var(--display); color: var(--ink); font-weight: 600; font-optical-sizing: auto; }
body.hm-no-scroll { overflow: hidden; }

/* service colours (also used by cards, heroes and the brain) */
.hm-c--psychiatry { --c: var(--s-coral); }
.hm-c--tms-therapy { --c: var(--s-amber); }
.hm-c--psychotherapy { --c: var(--s-green); }
.hm-c--psychosocial-rehabilitation { --c: var(--s-blue); }
.hm-c--mental-health { --c: var(--s-violet); }
.hm-c--physical-rehabilitation, .hm-c--physical-therapy { --c: var(--s-berry); }
.hm-c--pain-management { --c: var(--s-orange); }
.hm-c--hyperbaric-chamber { --c: var(--s-teal); }
.hm-c--insurance, .hm-c--contact, .hm-c--conditions, .hm-c--about { --c: var(--s-violet); }

.hm-skip { position: absolute; left: -9999px; top: 8px; z-index: 1000; background: var(--ink); color: #fff !important; padding: 10px 16px; border-radius: 10px; }
.hm-skip:focus { left: 12px; }

/* ---------------------------------------------------------------- buttons */
body.hm .hm-btn,
body.hm .hm-b .elementor-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; line-height: 1.2; letter-spacing: .005em;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  background: var(--ink); color: #fff; fill: #fff;
  transition: transform .1s ease-out, background-color .2s, color .2s, border-color .2s;
}
body.hm .hm-btn:active, body.hm .hm-b .elementor-button:active { transform: scale(.97); }
body.hm .hm-btn--primary:hover, body.hm .hm-b--primary .elementor-button:hover { background: #2a2930; color: #fff; }
body.hm .hm-btn--ghost, body.hm .hm-b--ghost .elementor-button { background: transparent; color: var(--ink); border-color: #c9c7d2; }
body.hm .hm-btn--ghost:hover, body.hm .hm-b--ghost .elementor-button:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
body.hm .hm-b--secondary .elementor-button { background: #fff; color: var(--ink); border-color: var(--ink); }
body.hm .hm-b--secondary .elementor-button:hover { background: var(--ink); color: #fff; }
body.hm .hm-b--light .elementor-button, body.hm .hm-btn--light { background: #fff; color: var(--ink); }
body.hm .hm-b--light .elementor-button:hover, body.hm .hm-btn--light:hover { background: #ececf0; }
body.hm .hm-b .elementor-button-icon svg { width: 1em; height: 1em; fill: currentColor; }
body.hm .hm-b .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 8px; flex-direction: row; }
body.hm .hm-btn .hm-ico { flex: none; }

/* ---------------------------------------------------------------- topbar + header */
.hm-topbar { background: var(--ink); color: #e6e5ec; font-size: .86rem; position: relative; }
.hm-topbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectrum); }
.hm-topbar__in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 8px var(--gut) 11px; display: flex; gap: 28px; align-items: center; }
.hm-topbar__item { display: inline-flex; align-items: center; gap: 7px; color: #e6e5ec !important; text-decoration: none; }
.hm-topbar__item .hm-ico { opacity: .7; }
.hm-topbar__ins { margin-left: auto; }

.hm-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent; transition: border-color .25s, background-color .25s;
}
.hm-header.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, .93); }
body.admin-bar .hm-header { top: 32px; }
.hm-header__in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); height: var(--hdr); display: flex; align-items: center; gap: 24px; }
.hm-logo { display: block; flex: none; line-height: 0; }
body.hm .hm-logo__img { height: 50px; width: auto; }
.hm-nav { margin-left: auto; }
.hm-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.hm-nav__list > li { position: relative; }
.hm-nav__list > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 10px 10px; color: var(--ink) !important; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; border-radius: 10px; transition: background-color .2s; }
.hm-nav__list > li > a:hover { background: var(--soft); }
.hm-nav__list > li.current-menu-item > a, .hm-nav__list > li.current-menu-ancestor > a, .hm-nav__list > li.current-page-ancestor > a { box-shadow: inset 0 -2px 0 var(--ink); border-radius: 0; }
.hm-nav .menu-item-has-children > a::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); margin-left: 4px; opacity: .55; }
.hm-nav .sub-menu {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: -8px; min-width: 300px;
  background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .28);
  opacity: 0; visibility: hidden; transform: translateY(-4px) scale(.98); transform-origin: 24px 0;
  transition: opacity .18s ease-out, transform .18s ease-out, visibility 0s .18s;
}
.hm-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.hm-nav li:hover > .sub-menu, .hm-nav li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hm-nav .sub-menu a { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; color: var(--ink) !important; text-decoration: none; font-size: .96rem; }
.hm-nav .sub-menu a::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--line)); flex: none; }
.hm-nav .sub-menu a:hover { background: var(--soft); }
.hm-soon { font-size: .72rem; font-weight: 600; color: #6b4a00; background: #fdf0d0; border-radius: 6px; padding: 2px 7px; margin-left: auto; }
.hm-header__actions { display: flex; align-items: center; gap: 12px; }
.hm-lang { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.hm-lang__item { font-size: .82rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; color: var(--text-2) !important; text-decoration: none; }
.hm-lang__item.is-current { background: var(--ink); color: #fff !important; }
.hm-lang__item:not(.is-current):hover { background: var(--soft); }
body.hm .hm-btn--call { padding: 12px 18px; font-size: .95rem; }
.hm-burger { display: none; width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }

.hm-drawer { position: fixed; inset: 0; z-index: 400; background: rgba(0, 0, 0, .35); opacity: 0; transition: opacity .25s; }
.hm-drawer.is-open { opacity: 1; }
.hm-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); background: #fff; padding: 18px 22px 28px; overflow-y: auto; transform: translateX(100%); transition: transform .32s var(--ease); display: flex; flex-direction: column; gap: 18px; }
.hm-drawer.is-open .hm-drawer__panel { transform: none; }
.hm-drawer__top { display: flex; align-items: center; justify-content: space-between; }
.hm-drawer__close { width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.hm-drawer .hm-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
.hm-drawer .hm-nav__list > li > a { display: block; padding: 14px 2px; border-radius: 0; font-family: var(--display); font-weight: 600; font-size: 1.4rem; border-bottom: 1px solid var(--line); background: none !important; box-shadow: none !important; color: var(--ink) !important; text-decoration: none; }
.hm-drawer .menu-item-has-children > a::after { display: none; }
.hm-drawer .sub-menu { list-style: none; margin: 4px 0 8px; padding: 0; }
.hm-drawer .sub-menu a { display: flex; gap: 10px; align-items: center; padding: 9px 2px; color: var(--text) !important; text-decoration: none; }
.hm-drawer .sub-menu a::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--line)); flex: none; }
.hm-drawer__cta { display: grid; gap: 10px; margin-top: auto; }

@media (max-width: 1180px) {
  .hm-nav { display: none; }
  .hm-burger { display: inline-flex; }
  .hm-header__actions { margin-left: auto; }
}
@media (max-width: 860px) {
  .hm-topbar__ins, .hm-topbar__addr { display: none; }
  .hm-topbar__in { justify-content: center; }
}
@media (max-width: 600px) {
  body.hm { --hdr: 68px; font-size: 17px; }
  body.hm .hm-logo__img { height: 40px; }
  .hm-header .hm-lang--header { display: none; }
  body.hm .hm-btn--call span { display: none; }
  body.hm .hm-btn--call { padding: 12px; width: 46px; height: 46px; }
  .hm-topbar { font-size: .8rem; }
}

/* ---------------------------------------------------------------- Elementor resets */
body.hm .hm-main { display: block; }
body.hm .elementor-widget-text-editor p { margin: 0 0 1em; }
body.hm .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
body.hm .elementor-heading-title { font-family: var(--display); color: var(--ink); font-weight: 600; font-optical-sizing: auto; }
body.hm .elementor-widget-heading .elementor-heading-title a { color: inherit; text-decoration: none; }
body.hm .e-con { --widgets-spacing: 0px; --widgets-spacing-row: 0px; --widgets-spacing-column: 0px; }
body.hm .elementor-widget:not(:last-child) { margin-block-end: 0; }
body.hm .e-con > .e-con-inner, body.hm .e-con.e-con-full { --row-gap: 18px; --column-gap: 18px; }
body.hm .e-con { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; }
body.hm .elementor-widget-image img { display: block; width: 100%; }

/* ---------------------------------------------------------------- sections + type */
body.hm .e-con.hm-sec {
  --padding-top: clamp(64px, 8vw, 120px); --padding-bottom: clamp(64px, 8vw, 120px);
  --padding-left: var(--gut); --padding-right: var(--gut);
  --content-width: var(--wrap);
}
body.hm .e-con.hm-sec > .e-con-inner { --row-gap: clamp(28px, 4vw, 52px); max-width: var(--wrap); }
body.hm .e-con.hm-sec--mist, body.hm .e-con.hm-sec--mint { background: var(--soft); }
body.hm .e-con.hm-sec--narrow > .e-con-inner { max-width: 780px; }
/* two white sections in a row: don't double the gap (only when the previous one is white too) */
body.hm .e-con.hm-sec:not(.hm-sec--mist):not(.hm-sec--mint):not(.hm-sec--ink):not(.hm-cta):not(.hm-sec--plum):not(.hm-home-hero) + .e-con.hm-sec:not(.hm-sec--mist):not(.hm-sec--mint):not(.hm-sec--ink):not(.hm-cta):not(.hm-hero):not(.hm-sec--plum) { --padding-top: clamp(16px, 3vw, 40px); }

body.hm .hm-h1 .elementor-heading-title { font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
body.hm .hm-h2 .elementor-heading-title { font-size: clamp(2rem, 3.8vw, 3.1rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
body.hm .hm-h3 .elementor-heading-title { font-size: 1.3rem; line-height: 1.2; margin-top: 8px; }
body.hm .hm-lead { font-size: clamp(1.1rem, 1.45vw, 1.28rem); line-height: 1.55; color: var(--text); max-width: 56ch; }
body.hm .hm-intro { font-size: 1.1rem; color: var(--text); max-width: 60ch; }
body.hm .e-con.hm-head { --row-gap: 14px; }

/* brand chip → a quiet brand line with the brand's colour bar (identifies who provides it) */
body.hm .hm-chip p { display: inline-flex; align-items: center; gap: 10px; margin: 0; font-size: .95rem; font-weight: 600; color: var(--ink); }
body.hm .hm-chip p::before { content: ""; width: 26px; height: 6px; border-radius: 3px; background: var(--spectrum); }
body.hm .hm-chip--minds p::before { background: var(--mind); }
body.hm .hm-chip--medical p::before { background: var(--body-g); }

body.hm .e-con.hm-btns { --flex-direction: row; --flex-wrap: wrap; --align-items: center; --column-gap: 12px; --row-gap: 12px; flex-direction: row !important; flex-wrap: wrap; width: auto; }
body.hm .e-con.hm-btns > .elementor-widget { width: auto; }

/* split layouts */
body.hm .e-con.hm-split { display: grid !important; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
body.hm .e-con.hm-split > .e-con { width: auto; --width: auto; --row-gap: 18px; }
body.hm .e-con.hm-split--contact { align-items: start; grid-template-columns: .9fr 1.1fr; }
@media (min-width: 861px) { body.hm .e-con.hm-split--rev > .hm-split__a { order: 2; } }
@media (max-width: 860px) { body.hm .e-con.hm-split, body.hm .e-con.hm-split--contact { grid-template-columns: 1fr; } }
body.hm .hm-feature__img img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
body.hm .hm-prose { font-size: 1.08rem; }
body.hm .hm-prose p { max-width: 62ch; }

/* ---------------------------------------------------------------- page hero */
body.hm .e-con.hm-hero { --padding-top: clamp(36px, 5vw, 72px); position: relative; }
body.hm .e-con.hm-hero > .e-con-inner { display: grid !important; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
body.hm .e-con.hm-hero > .e-con-inner > .e-con { width: auto; --width: auto; }
body.hm .e-con.hm-hero__copy { --row-gap: 20px; align-items: flex-start; }
body.hm .e-con.hm-hero__copy::before { content: none; }
body.hm .hm-hero__copy .hm-h1 { padding-left: 22px; border-left: 6px solid var(--c, var(--ink)); }
body.hm .e-con.hm-hero__media { position: relative; }
body.hm .hm-hero__img img { aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 28px; }
body.hm .e-con.hm-hero--plain > .e-con-inner { display: flex !important; flex-direction: column; align-items: flex-start; --row-gap: 16px; }
body.hm .e-con.hm-hero--plain > .e-con-inner > .elementor-widget { width: 100%; max-width: 880px; text-align: left; }
body.hm .e-con.hm-hero--plain { --padding-bottom: clamp(32px, 5vw, 64px); }
body.hm .hm-hero--plain .hm-h1 { padding-left: 22px; border-left: 6px solid var(--c, var(--ink)); }
body.hm .hm-crumbs { font-size: .9rem; color: var(--text-2); }
body.hm .hm-crumbs p { margin: 0; }
body.hm .hm-crumbs a { color: var(--text-2); text-decoration: none; }
body.hm .hm-crumbs a:hover { color: var(--ink); text-decoration: underline; }
body.hm .hm-crumbs__sep { margin: 0 6px; opacity: .5; }
@media (max-width: 860px) {
  body.hm .e-con.hm-hero > .e-con-inner { grid-template-columns: 1fr; }
  body.hm .hm-hero__img img { aspect-ratio: 4 / 3; }
    body.hm .hm-hero__copy .hm-h1, body.hm .hm-hero--plain .hm-h1 { padding-left: 16px; border-left-width: 5px; }
}

/* ---------------------------------------------------------------- service tiles */
body.hm .e-con.hm-cards { display: grid !important; gap: 20px; }
body.hm .e-con.hm-cards--4 { grid-template-columns: repeat(4, 1fr); }
body.hm .e-con.hm-cards--3 { grid-template-columns: repeat(3, 1fr); }
body.hm .e-con.hm-card { position: relative; --row-gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; overflow: hidden; width: auto; --width: auto; padding: 0 0 22px; }
body.hm .e-con.hm-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c, var(--ink)); z-index: 3; }
body.hm .e-con.hm-card > .elementor-widget:not(.hm-card__img):not(.hm-badge) { padding: 0 20px; }
body.hm .hm-card__img { margin-bottom: 10px; }
body.hm .hm-card__img img { aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); }
body.hm .hm-card:hover .hm-card__img img { transform: scale(1.03); }
body.hm .hm-card__t .elementor-heading-title { font-size: 1.45rem; line-height: 1.15; letter-spacing: -.01em; }
body.hm .hm-card__d { font-size: 1rem; color: var(--text); flex-grow: 1; }
body.hm .hm-more { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--c, var(--ink)); text-decoration-thickness: 2px; text-underline-offset: .25em; }
body.hm .hm-badge { position: absolute; top: 18px; left: 14px; z-index: 2; width: auto !important; padding: 0 !important; }
body.hm .hm-badge p { display: inline-block; margin: 0; background: #fff; color: #6b4a00; font-weight: 600; font-size: .82rem; border-radius: 8px; padding: 5px 10px; box-shadow: 0 0 0 1.5px var(--s-amber); }
body.hm .hm-badge--inline { position: static; }
@media (max-width: 1024px) and (min-width: 768px) {
  body.hm .e-con.hm-cards--4, body.hm .e-con.hm-cards--3 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- two doors (home) */
body.hm .e-con.hm-doors { display: grid !important; grid-template-columns: 1fr 1fr; gap: 24px; }
body.hm .e-con.hm-door { position: relative; width: auto; --width: auto; border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); --row-gap: 0; }
body.hm .e-con.hm-door::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; z-index: 3; background: var(--mind); }
body.hm .e-con.hm-door--medical::after { background: var(--body-g); }
body.hm .hm-door__img img { aspect-ratio: 16 / 10; object-fit: cover; }
body.hm .e-con.hm-door__body { padding: 28px clamp(22px, 3vw, 36px) 34px; --row-gap: 14px; align-items: flex-start; flex-grow: 1; }
body.hm .hm-door__k p { margin: 0; font-size: 1.05rem; color: var(--text); }
body.hm .hm-door__t .elementor-heading-title { font-size: clamp(1.8rem, 2.8vw, 2.4rem); line-height: 1.08; letter-spacing: -.02em; }
body.hm .hm-door__list { width: 100%; }
body.hm .hm-door__list .elementor-icon-list-item { border-top: 1px solid var(--line); }
body.hm .hm-door__list .elementor-icon-list-item a { padding: 12px 0; display: flex; width: 100%; text-decoration: none; }
body.hm .hm-door__list .elementor-icon-list-text { color: var(--ink); font-weight: 600; padding-left: 12px !important; }
body.hm .hm-door__list .elementor-icon-list-icon svg { width: 10px; height: 10px; }
body.hm .hm-door__list .elementor-icon-list-item:nth-child(1) svg { fill: var(--s-coral); }
body.hm .hm-door__list .elementor-icon-list-item:nth-child(2) svg { fill: var(--s-amber); }
body.hm .hm-door__list .elementor-icon-list-item:nth-child(3) svg { fill: var(--s-green); }
body.hm .hm-door__list .elementor-icon-list-item:nth-child(4) svg { fill: var(--s-blue); }
body.hm .hm-door--medical .hm-door__list .elementor-icon-list-item:nth-child(1) svg { fill: var(--s-berry); }
body.hm .hm-door--medical .hm-door__list .elementor-icon-list-item:nth-child(2) svg { fill: var(--s-orange); }
body.hm .hm-door--medical .hm-door__list .elementor-icon-list-item:nth-child(3) svg { fill: var(--s-teal); }

/* ---------------------------------------------------------------- lists, chips */
body.hm .elementor-icon-list-items { margin: 0; padding: 0; }
body.hm .hm-list .elementor-icon-list-item { align-items: flex-start; padding: 7px 0; font-size: 1.05rem; }
body.hm .hm-list .elementor-icon-list-icon { margin-top: 6px; }
body.hm .hm-list .elementor-icon-list-icon svg { width: 14px; height: 14px; fill: var(--c, var(--ink)); }
body.hm .hm-list .elementor-icon-list-text { color: var(--text); padding-left: 10px; }
body.hm .hm-list--light .elementor-icon-list-text { color: #e8e7ee; }
body.hm .hm-list--light .elementor-icon-list-icon svg { fill: var(--s-amber); }
body.hm .hm-list--cols .elementor-icon-list-items { columns: 2; column-gap: 48px; }
body.hm .hm-list--cols .elementor-icon-list-item { break-inside: avoid; }
@media (max-width: 700px) { body.hm .hm-list--cols .elementor-icon-list-items { columns: 1; } }

body.hm .hm-chips .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 10px; }
body.hm .hm-chips .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
body.hm .hm-chips .elementor-icon-list-item::after { display: none !important; }
body.hm .hm-chips .elementor-icon-list-item > a { display: inline-flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s; }
body.hm .hm-chips .elementor-icon-list-item > a:hover { border-color: var(--ink); }
body.hm .hm-chips .elementor-icon-list-icon svg { width: 10px; height: 10px; }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+1) svg { fill: var(--s-coral); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+2) svg { fill: var(--s-orange); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+3) svg { fill: var(--s-amber); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+4) svg { fill: var(--s-lime); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+5) svg { fill: var(--s-green); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+6) svg { fill: var(--s-teal); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+7) svg { fill: var(--s-blue); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+8) svg { fill: var(--s-violet); }
body.hm .hm-chips .elementor-icon-list-item:nth-child(9n+9) svg { fill: var(--s-berry); }
body.hm .hm-chips .elementor-icon-list-text { color: var(--ink); font-weight: 600; padding: 0 !important; }

/* ---------------------------------------------------------------- insurer logos */
.hm-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.hm-logos__item { display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 18px 22px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.hm-logos__item img { max-height: 42px; width: auto; max-width: 100%; object-fit: contain; }
.hm-logos__item--pip { flex-direction: column; gap: 2px; }
.hm-logos__pip { font-family: var(--display); font-weight: 700; font-size: 1.9rem; line-height: 1; color: var(--ink); letter-spacing: .02em; }
.hm-logos__pipnote { font-size: .8rem; color: var(--text-2); text-align: center; }
.hm-logos__note { margin: 14px 0 0; font-size: .82rem; color: var(--text-2); max-width: 80ch; }
@media (max-width: 1024px) and (min-width: 768px) { .hm-logos { grid-template-columns: repeat(4, 1fr); } }
body.hm .e-con.hm-sec--ins > .e-con-inner { --row-gap: 28px; }

/* insurer grid on the insurance page */
body.hm .e-con.hm-ins-grid { display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 14px; }
body.hm .e-con.hm-ins { width: auto; --width: auto; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px; --row-gap: 10px; align-items: flex-start; }
body.hm .hm-ins__logo img { height: 40px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
body.hm .hm-ins__t .elementor-heading-title { font-family: var(--sans); font-weight: 600; font-size: 1.05rem; }
body.hm .hm-ins__d { font-size: .93rem; color: var(--text); }
@media (max-width: 1024px) and (min-width: 768px) { body.hm .e-con.hm-ins-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------- reasons (icon boxes) */
body.hm .e-con.hm-iboxes { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
body.hm .hm-ibox { padding: 28px 28px 8px 0; width: auto !important; }
body.hm .hm-ibox + .hm-ibox { padding-left: 28px; border-left: 1px solid var(--line); }
body.hm .hm-ibox .elementor-icon-box-wrapper { text-align: left; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
body.hm .hm-ibox .elementor-icon-box-icon { margin: 0 !important; }
body.hm .hm-ibox .elementor-icon { font-size: 26px; color: var(--ink); }
body.hm .hm-ibox .elementor-icon svg { width: 26px; height: 26px; fill: var(--ink); }
body.hm .hm-ibox .elementor-icon-box-title { margin: 0 0 8px; font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; color: var(--ink); }
body.hm .hm-ibox .elementor-icon-box-title a { color: inherit; }
body.hm .hm-ibox .elementor-icon-box-description { margin: 0; color: var(--text); font-size: 1rem; }
@media (max-width: 1024px) and (min-width: 768px) {
  body.hm .e-con.hm-iboxes { grid-template-columns: repeat(2, 1fr); }
  body.hm .hm-ibox:nth-child(3) { padding-left: 0; border-left: 0; }
}

/* ---------------------------------------------------------------- steps (a real sequence) */
body.hm .e-con.hm-steps { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: hmstep; }
body.hm .e-con.hm-step { width: auto; --width: auto; counter-increment: hmstep; padding-top: 0; --row-gap: 8px; position: relative; }
body.hm .hm-step__t .elementor-heading-title::before { content: counter(hmstep); display: flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 1.5rem; line-height: 1; font-weight: 600; }
body.hm .hm-step__t .elementor-heading-title { font-size: 1.4rem; line-height: 1.2; }
body.hm .hm-step__d { color: var(--text); }

/* ---------------------------------------------------------------- dark feature (TMS) */
body.hm .e-con.hm-sec--ink { background: var(--ink); color: #e8e7ee; position: relative; }
body.hm .e-con.hm-sec--ink::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--spectrum); }
body.hm .hm-sec--ink .elementor-heading-title { color: #fff; }
body.hm .hm-sec--ink .hm-intro, body.hm .hm-sec--ink p { color: #d8d6e2; }
body.hm .hm-sec--ink .hm-chip p { color: #fff; }
body.hm .hm-sec--ink .hm-feature__img img { aspect-ratio: 1 / 1; border-radius: 50%; }

/* ---------------------------------------------------------------- conditions */
body.hm .e-con.hm-conds { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 20px; }
body.hm .e-con.hm-cond { position: relative; width: auto; --width: auto; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; overflow: hidden; padding: 0 0 24px; --row-gap: 12px; scroll-margin-top: calc(var(--hdr) + 20px); }
body.hm .e-con.hm-cond::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--c, var(--ink)); z-index: 3; }
body.hm .e-con.hm-cond > .elementor-widget:not(.hm-card__img):not(.hm-badge) { padding: 0 22px; }
body.hm .hm-cond:target { outline: 3px solid var(--c); outline-offset: 2px; }
body.hm .hm-how { font-weight: 600; color: var(--ink); margin: 4px 0 8px; font-size: .95rem; }
body.hm .hm-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
body.hm .hm-links a { display: inline-block; padding: 7px 12px; border-radius: 10px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; }
body.hm .hm-links a:hover { border-color: var(--ink); }
@media (max-width: 1024px) and (min-width: 768px) { body.hm .e-con.hm-conds { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------------------------------------------- FAQ (Elementor accordion) */
body.hm .hm-faq .elementor-accordion-item { border: 0 !important; border-bottom: 1px solid var(--line) !important; }
body.hm .hm-faq .elementor-accordion-item:first-child { border-top: 1px solid var(--ink) !important; }
body.hm .hm-faq .elementor-tab-title { padding: 22px 0 !important; display: flex; align-items: center; gap: 16px; cursor: pointer; border: 0 !important; }
body.hm .hm-faq .elementor-tab-title a, body.hm .hm-faq .elementor-accordion-title { font-family: var(--display); font-size: clamp(1.15rem, 1.6vw, 1.35rem); font-weight: 600; color: var(--ink) !important; text-decoration: none; order: 1; flex: 1; }
body.hm .hm-faq .elementor-accordion-icon { order: 2; float: none !important; width: 34px; height: 34px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--ink); }
body.hm .hm-faq .elementor-accordion-icon svg { width: 12px; height: 12px; fill: var(--ink); }
body.hm .hm-faq .elementor-tab-content { padding: 0 52px 24px 0 !important; border: 0 !important; color: var(--text); font-size: 1.05rem; }
body.hm .hm-sec--faq > .e-con-inner { max-width: 920px; }

/* ---------------------------------------------------------------- contact + forms */
body.hm .hm-contact-list .elementor-icon-list-item { padding: 12px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
body.hm .hm-contact-list .elementor-icon-list-icon svg { width: 18px; height: 18px; fill: var(--ink); }
body.hm .hm-contact-list .elementor-icon-list-text { color: var(--ink); padding-left: 12px; font-size: 1.05rem; }
body.hm .hm-hours { list-style: none; margin: 0; padding: 0; }
body.hm .hm-hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); }
body.hm .hm-hours li span:first-child { color: var(--ink); font-weight: 600; }
body.hm .hm-note { font-size: .93rem; color: var(--text-2); }
body.hm .hm-split--contact > .hm-split__b { background: var(--soft); border-radius: 24px; padding: clamp(24px, 3vw, 40px); }

.hm-form form p { margin: 0 0 14px; }
.hm-form label { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); }
.hm-form input[type=text], .hm-form input[type=tel], .hm-form input[type=email], .hm-form select, .hm-form textarea {
  width: 100%; margin-top: 6px; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff;
  border: 1.5px solid #cfcdd8; border-radius: 12px; padding: 13px 14px; min-height: 52px; transition: border-color .15s, box-shadow .15s;
}
.hm-form input:focus, .hm-form select:focus, .hm-form textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(52, 120, 227, .18); }
.hm-form__grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; }
.hm-form__note { font-size: .9rem; color: var(--text-2); }
.hm-form__consent, .hm-form__consent label { font-weight: 400 !important; font-size: .95rem; color: var(--text); }
.hm-form .wpcf7-list-item { margin: 0; }
.hm-form .wpcf7-submit, .hm-form button[type=submit] {
  font: 600 1rem var(--sans); background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 16px 30px; cursor: pointer; transition: background-color .2s, transform .1s;
}
.hm-form .wpcf7-submit:hover, .hm-form button[type=submit]:hover { background: #2a2930; }
.hm-form .wpcf7-submit:active { transform: scale(.97); }
.hm-form .wpcf7-not-valid-tip { font-size: .88rem; color: #b42318; margin-top: 4px; }
.hm-form .wpcf7-response-output { border-radius: 12px; margin: 12px 0 0 !important; padding: 12px 16px !important; }
.hm-form__msg { padding: 12px 16px; border-radius: 12px; }
.hm-form__msg.is-ok { background: #e3f4ea; color: #146c3b; }
.hm-form__msg.is-err { background: #fdecea; color: #b42318; }
.hm-hp { position: absolute !important; left: -9999px !important; }
@media (max-width: 600px) { .hm-form__grid { grid-template-columns: 1fr; } }

body.hm .e-con.hm-sec--map { --padding-left: var(--gut); --padding-right: var(--gut); --padding-bottom: clamp(48px, 6vw, 96px); }
body.hm .hm-map { max-width: var(--wrap); margin: 0 auto; width: 100%; }
body.hm .hm-map iframe { border-radius: 24px; display: block; filter: saturate(.85); }

/* ---------------------------------------------------------------- CTA band */
body.hm .e-con.hm-cta { --padding-top: 24px; }
body.hm .e-con.hm-cta__in { position: relative; overflow: hidden; background: var(--ink); border-radius: 32px; align-items: flex-start; padding: clamp(44px, 6vw, 80px) clamp(24px, 5vw, 72px); --row-gap: 18px; }
body.hm .e-con.hm-cta__in::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--spectrum); }
body.hm .hm-cta__in .elementor-heading-title { color: #fff; }
body.hm .hm-cta__in .hm-lead { color: #d8d6e2; }
body.hm .hm-cta__in .hm-b--primary .elementor-button { background: #fff; color: var(--ink); }
body.hm .hm-cta__in .hm-b--primary .elementor-button:hover { background: #ececf0; }
body.hm .hm-cta__in .hm-b--ghost .elementor-button { color: #fff; border-color: rgba(255, 255, 255, .45); }
body.hm .hm-cta__in .hm-b--ghost .elementor-button:hover { background: rgba(255, 255, 255, .08); border-color: #fff; color: #fff; }

body.hm .hm-legal h2 { font-size: 1.5rem; margin: 1.6em 0 .4em; }
body.hm .hm-legal h2:first-child { margin-top: 0; }

/* ==========================================================================
   Mobile carousels: grids become one horizontal, snapping row (≤ 767px)
   ========================================================================== */
@media (max-width: 767px) {
  body.hm .e-con.hm-mcar, .hm-logos.hm-mcar {
    display: flex !important; flex-wrap: nowrap !important; flex-direction: row !important;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    gap: 14px !important; margin-inline: calc(-1 * var(--gut)); padding: 4px var(--gut) 8px !important;
    scroll-padding-inline: var(--gut); scrollbar-width: none; -webkit-overflow-scrolling: touch;
    border-top: 0 !important;
  }
  body.hm .e-con.hm-mcar::-webkit-scrollbar, .hm-logos.hm-mcar::-webkit-scrollbar { display: none; }
  body.hm .e-con.hm-mcar > *, .hm-logos.hm-mcar > * { flex: 0 0 82% !important; max-width: 82%; scroll-snap-align: start; }
  body.hm .e-con.hm-doors.hm-mcar > * { flex-basis: 88% !important; max-width: 88%; }
  .hm-logos.hm-mcar > * { flex-basis: 42% !important; max-width: 42%; min-height: 92px; }
  body.hm .e-con.hm-iboxes.hm-mcar > .hm-ibox { padding: 22px !important; border: 1px solid var(--line) !important; border-radius: 18px; }
  body.hm .e-con.hm-steps.hm-mcar > .hm-step { padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
  body.hm .e-con.hm-mcar > .e-con { width: auto !important; }
}
.hm-dots { display: none; }
@media (max-width: 767px) {
  .hm-dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .hm-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #cfcdd8; transition: width .25s var(--ease), background-color .25s; cursor: pointer; }
  .hm-dots button.is-active { width: 24px; background: var(--ink); }
}

/* ---------------------------------------------------------------- footer */
.hm-footer { position: relative; background: var(--ink); color: #cfcdd9; }
.hm-footer__spectrum { height: 6px; background: var(--spectrum); }
.hm-footer__in { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: clamp(56px, 7vw, 88px) var(--gut) 40px; display: grid; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 40px; }
.hm-footer a { color: #f1f0f5 !important; text-decoration: none; }
.hm-footer a:hover { color: #fff !important; text-decoration: underline; }
body.hm .hm-logo--footer .hm-logo__img { height: 56px; }
.hm-footer__tagline { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: #fff; margin: 22px 0 14px; max-width: 24ch; }
.hm-footer__dba { font-size: .92rem; color: #b2afc0; max-width: 46ch; }
body.hm .hm-footer__h { font-family: var(--sans); color: #fff; font-size: .98rem; font-weight: 600; margin: 6px 0 16px; }
.hm-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .97rem; }
.hm-footer__contact li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.hm-footer__contact .hm-ico { color: #fff; opacity: .7; margin-top: 3px; }
.hm-footer .hm-soon { margin-left: 6px; }
.hm-footer__crisis { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.hm-footer__crisis p { margin: 0; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: .95rem; color: #ecebf2; }
.hm-footer__crisis a { font-weight: 600; text-decoration: underline !important; }
.hm-footer__bottom { max-width: calc(var(--wrap) + 2 * var(--gut)); margin: 0 auto; padding: 28px var(--gut) 36px; display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; font-size: .86rem; color: #a3a0b3; }
.hm-footer__bottom p { margin: 0; }
.hm-footer__legal { display: flex !important; flex-wrap: wrap; gap: 8px 20px !important; font-size: .86rem !important; }
.hm-footer__credit { margin-left: auto !important; }
.hm-footer__model { flex-basis: 100%; font-size: .8rem; color: #8f8ba3; }
.hm-footer__model a { color: #b9b6c8 !important; text-decoration: underline !important; }
@media (max-width: 1024px) { .hm-footer__in { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .hm-footer__in { grid-template-columns: 1fr; }
  .hm-footer__credit { margin-left: 0 !important; }
  .hm-footer { padding-bottom: 76px; }
}

/* ---------------------------------------------------------------- floating buttons */
.hm-fab { position: fixed; z-index: 300; width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; border: 0; cursor: pointer; box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .5); transition: opacity .25s, transform .25s var(--ease); }
.hm-fab--call { left: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff !important; display: none; }
.hm-fab--top { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); background: #fff; color: var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; }
.hm-fab--top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.hm-fab:active { transform: scale(.94); }
@media (max-width: 860px) { .hm-fab--call { display: inline-flex; } }

/* ---------------------------------------------------------------- preferences */
@media (prefers-reduced-transparency: reduce) {
  .hm-header { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
}
@media (prefers-reduced-motion: reduce) {
  body.hm *, body.hm *::before, body.hm *::after { transition-duration: .01ms !important; }
  body.hm .hm-card:hover .hm-card__img img { transform: none; }
}

/* ---------------------------------------------------------------- audit fixes: tap targets & minimum text */
body.hm .hm-contact-list .elementor-icon-list-item > a { display: flex; align-items: center; min-height: 44px; }
body.hm .hm-faq .elementor-tab-title { min-height: 64px; }
.hm-logos__pipnote { font-size: .875rem; }

/* ---------------------------------------------------------------- audit fixes: vertical rhythm */
body.hm { line-height: 1.65; }
body.hm .e-con.hm-step { --row-gap: 12px; }
body.hm .hm-step__d { font-size: 1.05rem; }
body.hm .e-con.hm-head { --row-gap: 18px; }
body.hm .e-con.hm-card { --row-gap: 12px; }
body.hm .e-con.hm-cond { --row-gap: 14px; }
body.hm .e-con.hm-hero__copy { --row-gap: 24px; }
body.hm .hm-prose p { margin-bottom: 1.15em; }
body.hm .hm-ibox .elementor-icon-box-title { margin-bottom: 10px; }
body.hm .e-con.hm-split > .e-con { --row-gap: 22px; }
body.hm .hm-faq .elementor-tab-content { line-height: 1.7; }
body.hm .hm-hours li { padding: 11px 0; }

/* ==========================================================================
   Colour on actions (client request): CTA = logo violet → blue, phone = green,
   scroll-to-top = spectrum ring. White text contrast ≥ 4.5:1 on every fill.
   ========================================================================== */
body.hm {
  --cta: linear-gradient(120deg, #6a52dc 0%, #4a5fe0 45%, #2f6fd8 100%);
  --cta-hover: linear-gradient(120deg, #5a43c9 0%, #3c50cf 45%, #245fc2 100%);
  --call: #15803d;
  --call-hover: #116a32;
  --link-hover: #2f6fd8;
}

/* primary CTA */
body.hm .hm-btn--primary,
body.hm .hm-b--primary .elementor-button,
body.hm .hm-cta__in .hm-b--primary .elementor-button,
.hm-form .wpcf7-submit, .hm-form button[type=submit] {
  background: var(--cta); color: #fff; border-color: transparent;
  box-shadow: 0 10px 24px -14px rgba(74, 95, 224, .75);
}
body.hm .hm-btn--primary:hover,
body.hm .hm-b--primary .elementor-button:hover,
body.hm .hm-cta__in .hm-b--primary .elementor-button:hover,
.hm-form .wpcf7-submit:hover, .hm-form button[type=submit]:hover {
  background: var(--cta-hover); color: #fff; box-shadow: 0 12px 28px -12px rgba(74, 95, 224, .85);
}

/* every phone action is green: header button, floating button, "Call …" buttons */
body.hm .hm-btn--call, .hm-fab--call { background: var(--call) !important; color: #fff !important; }
body.hm .hm-btn--call:hover, .hm-fab--call:hover { background: var(--call-hover) !important; }
body.hm .hm-b .elementor-button[href^="tel:"],
body.hm .hm-btn--ghost[href^="tel:"] { color: var(--call); border-color: var(--call); background: #fff; }
body.hm .hm-b .elementor-button[href^="tel:"]:hover,
body.hm .hm-btn--ghost[href^="tel:"]:hover { background: var(--call); border-color: var(--call); color: #fff; }
body.hm .hm-cta__in .hm-b .elementor-button[href^="tel:"] { background: transparent; color: #7fe0a4; border-color: #7fe0a4; }
body.hm .hm-cta__in .hm-b .elementor-button[href^="tel:"]:hover { background: var(--call); border-color: var(--call); color: #fff; }
.hm-drawer__cta .hm-btn--ghost[href^="tel:"] { color: var(--call); border-color: var(--call); }
.hm-fab--call { animation: hm-ring 1s var(--ease) 2.5s 1 both; }
@keyframes hm-ring { 0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, .45); } 100% { box-shadow: 0 0 0 16px rgba(21, 128, 61, 0); } }

/* scroll to top: white with the logo spectrum as its ring */
.hm-fab--top {
  border: 3px solid transparent !important;
  background: linear-gradient(#fff, #fff) padding-box, var(--spectrum) border-box !important;
  color: var(--ink);
}
.hm-fab--top:hover { background: var(--cta) padding-box, var(--spectrum) border-box !important; color: #fff; }

/* hovers on phone, email, address and text links */
body.hm .hm-contact-list .elementor-icon-list-item > a { transition: color .2s; }
body.hm .hm-contact-list .elementor-icon-list-item > a:hover .elementor-icon-list-text { color: var(--link-hover); text-decoration: underline; text-underline-offset: .2em; }
body.hm .hm-contact-list .elementor-icon-list-item > a[href^="tel:"]:hover .elementor-icon-list-text { color: var(--call); }
body.hm .hm-contact-list .elementor-icon-list-item > a:hover svg { fill: currentColor; }
body.hm .hm-contact-list .elementor-icon-list-item > a[href^="tel:"]:hover svg { fill: var(--call); }
body.hm .hm-contact-list .elementor-icon-list-item > a[href^="mailto:"]:hover svg,
body.hm .hm-contact-list .elementor-icon-list-item > a[href*="maps"]:hover svg { fill: var(--link-hover); }
body.hm .elementor-widget-text-editor a:hover, body.hm .hm-prose a:hover { color: var(--link-hover); }
.hm-topbar__item { transition: color .2s; }
a.hm-topbar__item:hover { color: #fff !important; text-decoration: underline; text-decoration-color: #f6cf3a; text-underline-offset: .25em; }
.hm-footer a { transition: color .2s; }
.hm-footer a:hover { color: #f6cf3a !important; text-decoration-color: #f6cf3a; }
.hm-footer__contact li:hover .hm-ico { color: #f6cf3a; opacity: 1; }
.hm-footer__contact a[href^="tel:"]:hover { color: #7fe0a4 !important; }
.hm-nav__list > li > a:hover { color: var(--link-hover) !important; }
.hm-nav .sub-menu a:hover { color: var(--ink) !important; }
body.hm .hm-more:hover { text-decoration-thickness: 4px; }
body.hm .hm-card:hover .hm-card__t .elementor-heading-title { color: var(--link-hover); }
.hm-lang__item:not(.is-current):hover { color: var(--link-hover) !important; }

.hm-topbar__short { display: none; }
@media (max-width: 480px) { .hm-topbar__long { display: none; } .hm-topbar__short { display: inline; } }

/* ---------------------------------------------------------------- footer: accordion on phones */
.hm-footer__col > summary { list-style: none; }
.hm-footer__col > summary::-webkit-details-marker { display: none; }
.hm-footer__col > summary .hm-footer__h { margin: 6px 0 16px; }
@media (min-width: 768px) {
  .hm-footer__col > summary { pointer-events: none; }          /* always open on desktop */
}
@media (max-width: 767px) {
  .hm-footer__in { gap: 0; }
  .hm-footer__brand { padding-bottom: 28px; }
  .hm-footer__col { border-top: 1px solid rgba(255, 255, 255, .14); }
  .hm-footer__col:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  .hm-footer__col > summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; cursor: pointer; }
  .hm-footer__col > summary .hm-footer__h { margin: 0; font-size: 1.05rem; }
  .hm-footer__col > summary::after {
    content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff;
    transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease);
  }
  .hm-footer__col[open] > summary::after { transform: translateY(2px) rotate(-135deg); }
  .hm-footer__col > ul { padding-bottom: 20px; }
  .hm-footer__col > ul a { display: inline-block; padding: 6px 0; }
  .hm-footer__dba { font-size: .88rem; }
}

/* ==========================================================================
   iOS Safari fix: inside Elementor's flex columns Safari lets image widgets shrink
   below their image's height (aspect-ratio + flex-shrink), so the photo spills over
   the text that follows. Widgets keep their natural height; images size themselves.
   ========================================================================== */
body.hm .e-con > .elementor-widget,
body.hm .e-con > .e-con-inner > .elementor-widget { flex-shrink: 0; min-height: 0; }
body.hm .elementor-widget-image { flex-shrink: 0; overflow: hidden; }
body.hm .elementor-widget-image .elementor-widget-container { display: block; }
body.hm .elementor-widget-image img { height: auto; max-height: none; }
body.hm .hm-card__img img, body.hm .hm-cond .hm-card__img img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
body.hm .hm-feature__img img { width: 100%; height: auto; }

/* floating buttons: the header already has a sticky green "call" button, so the
   floating one was a duplicate that covered headings. Keep only "back to top", smaller. */
.hm-fab--call { display: none !important; }
.hm-fab--top { width: 46px; height: 46px; }
@media (max-width: 767px) { .hm-fab--top { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); } .hm-footer { padding-bottom: 0; } }
/* photo frames own their proportion, so an image that is still loading (or lazy, off-screen
   in a carousel) can never be taller than its frame */
body.hm .hm-card__img .elementor-widget-container,
body.hm .hm-door__img .elementor-widget-container { aspect-ratio: 4 / 3; overflow: hidden; }
body.hm .hm-door__img .elementor-widget-container { aspect-ratio: 16 / 10; }
body.hm .hm-hero__img .elementor-widget-container { aspect-ratio: 4 / 4.4; overflow: hidden; border-radius: 28px; }
body.hm .hm-feature__img .elementor-widget-container { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; }
body.hm .hm-sec--ink .hm-feature__img .elementor-widget-container { aspect-ratio: 1 / 1; border-radius: 50%; }
body.hm .hm-card__img img, body.hm .hm-door__img img, body.hm .hm-hero__img img, body.hm .hm-feature__img img { width: 100%; height: 100% !important; aspect-ratio: auto; object-fit: cover; }
@media (max-width: 860px) { body.hm .hm-hero__img .elementor-widget-container { aspect-ratio: 4 / 3; } }

/* ==========================================================================
   v4 "Noche ciruela" — chosen by the client.
   Plum night (from the logo's violet, not navy), white serif headlines, the logo
   spectrum as light, coral for "Book a visit", green for every phone action.
   ========================================================================== */
body.hm {
  --night: #1b1023; --night-2: #140b1a; --surf: #28173a; --surf-2: #342049;
  --ink: #fff; --text: #d6cae4; --text-2: #b3a8c1;
  --paper: var(--night); --soft: var(--surf); --line: rgba(255, 255, 255, .12);
  --cta: #c9432f; --cta-hover: #ad3524; --link-hover: #8fd3ff; --focus: #1fb3c9;
  --e-global-color-primary: #fff; --e-global-color-text: var(--text);
  background: var(--night); color: var(--text); color-scheme: dark;
}
body.hm a { color: #fff; }
body.hm a:hover { text-decoration-color: var(--c, #f6a630); }

/* top bar + header */
.hm-topbar { background: var(--night-2); }
.hm-header { background: rgba(27, 16, 35, .9); }
.hm-header.is-scrolled { background: rgba(27, 16, 35, .96); border-bottom-color: var(--line); }
.hm-nav__list > li > a { color: #fff !important; }
.hm-nav__list > li > a:hover { background: var(--surf); color: #fff !important; }
.hm-nav__list > li.current-menu-item > a, .hm-nav__list > li.current-menu-ancestor > a, .hm-nav__list > li.current-page-ancestor > a { box-shadow: inset 0 -2px 0 #f6a630; }
.hm-nav .sub-menu { background: var(--surf-2); border-color: var(--line); box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .7); }
.hm-nav .sub-menu a, .hm-nav .sub-menu a:hover { color: #fff !important; }
.hm-nav .sub-menu a:hover { background: rgba(255, 255, 255, .07); }
.hm-lang { background: transparent; border-color: var(--line); }
.hm-lang__item { color: var(--text) !important; }
.hm-lang__item.is-current { background: #fff; color: var(--night) !important; }
.hm-lang__item:not(.is-current):hover { background: var(--surf); color: #fff !important; }
.hm-burger, .hm-drawer__close { background: var(--surf); border-color: var(--line); color: #fff; }
.hm-drawer { background: rgba(8, 4, 12, .6); }
.hm-drawer__panel { background: var(--night); }
.hm-drawer .hm-nav__list > li > a { color: #fff !important; border-bottom-color: var(--line); }
.hm-drawer .sub-menu a { color: var(--text) !important; }
.hm-soon { color: #3d2600; background: #f6c75f; }

/* buttons */
body.hm .hm-btn--primary, body.hm .hm-b--primary .elementor-button,
body.hm .hm-cta__in .hm-b--primary .elementor-button,
.hm-form .wpcf7-submit, .hm-form button[type=submit] { background: var(--cta); color: #fff; box-shadow: 0 12px 26px -16px rgba(201, 67, 47, .9); }
body.hm .hm-btn--primary:hover, body.hm .hm-b--primary .elementor-button:hover,
body.hm .hm-cta__in .hm-b--primary .elementor-button:hover,
.hm-form .wpcf7-submit:hover, .hm-form button[type=submit]:hover { background: var(--cta-hover); color: #fff; }
body.hm .hm-btn--ghost, body.hm .hm-b--ghost .elementor-button,
body.hm .hm-b--secondary .elementor-button { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
body.hm .hm-btn--ghost:hover, body.hm .hm-b--ghost .elementor-button:hover,
body.hm .hm-b--secondary .elementor-button:hover { background: #fff; color: var(--night); border-color: #fff; }
body.hm .hm-b .elementor-button[href^="tel:"], body.hm .hm-btn--ghost[href^="tel:"],
.hm-drawer__cta .hm-btn--ghost[href^="tel:"] { background: transparent; color: #7fe0a4; border-color: #7fe0a4; }
body.hm .hm-b .elementor-button[href^="tel:"]:hover, body.hm .hm-btn--ghost[href^="tel:"]:hover { background: var(--call); border-color: var(--call); color: #fff; }
body.hm .hm-b--light .elementor-button, body.hm .hm-btn--light { background: #fff; color: var(--night); }
body.hm .hm-b--light .elementor-button:hover { background: #ece4f6; color: var(--night); }

/* sections: night, and a deeper night to give rhythm */
body.hm .e-con.hm-sec--mist, body.hm .e-con.hm-sec--mint,
body.hm .e-con.hm-sec--plum, body.hm .e-con.hm-sec--ink { background: var(--night-2); }
body.hm .hm-sec--ink .hm-feature__img .elementor-widget-container { aspect-ratio: 5 / 4; border-radius: 28px; }
body.hm .hm-sec--ink .hm-feature__img img { border-radius: 28px; }
body.hm .hm-feature__img .elementor-widget-container, body.hm .hm-feature__img img { border-radius: 28px; }

/* inner page heroes: arched photo */
body.hm .hm-hero__img .elementor-widget-container, body.hm .hm-hero__img img { border-radius: 220px 220px 28px 28px; }
@media (max-width: 860px) { body.hm .hm-hero__img .elementor-widget-container, body.hm .hm-hero__img img { border-radius: 140px 140px 22px 22px; } }
body.hm .hm-crumbs a { color: var(--text-2); }
body.hm .hm-crumbs a:hover { color: #fff; }

/* cards, conditions, doors, insurer notes */
body.hm .e-con.hm-card, body.hm .e-con.hm-cond, body.hm .e-con.hm-ins,
body.hm .e-con.hm-door { background: var(--surf); border-color: var(--line); }
body.hm .hm-card:hover .hm-card__t .elementor-heading-title { color: #fff; }
body.hm .hm-badge p { background: #f6c75f; color: #3d2600; box-shadow: none; }
body.hm .hm-links a, body.hm .hm-chips .elementor-icon-list-item > a { background: var(--surf); border-color: var(--line); color: #fff; }
body.hm .hm-links a:hover, body.hm .hm-chips .elementor-icon-list-item > a:hover { border-color: #fff; }
body.hm .hm-chips .elementor-icon-list-text { color: #fff; }
body.hm .hm-list .elementor-icon-list-text { color: var(--text); }
body.hm .hm-list--light .elementor-icon-list-text, body.hm .hm-sec--ink .hm-list .elementor-icon-list-text { color: #fff; }
body.hm .hm-ibox .elementor-icon svg { fill: #f6a630; }
body.hm .hm-ibox .elementor-icon { color: #f6a630; }

/* insurer logos stay on light tiles so the brand colours read */
.hm-logos__item { background: #f3eefa; border-color: transparent; }
.hm-logos__pip { color: var(--night); }
.hm-logos__pipnote { color: #4f4560; }

/* steps */
body.hm .hm-step__t .elementor-heading-title::before { background: var(--cta); color: #fff; }
@media (max-width: 767px) { body.hm .e-con.hm-steps.hm-mcar > .hm-step, body.hm .e-con.hm-iboxes.hm-mcar > .hm-ibox { background: var(--surf); border-color: var(--line) !important; } }

/* FAQ */
body.hm .hm-faq .elementor-accordion-item:first-child { border-top-color: rgba(255, 255, 255, .5) !important; }
body.hm .hm-faq .elementor-accordion-icon { border-color: rgba(255, 255, 255, .6); }
body.hm .hm-faq .elementor-accordion-icon svg { fill: #fff; }

/* contact + form */
body.hm .hm-contact-list .elementor-icon-list-icon svg { fill: #f6a630; }
body.hm .hm-split--contact > .hm-split__b { background: var(--surf); }
.hm-form label { color: #fff; }
.hm-form input[type=text], .hm-form input[type=tel], .hm-form input[type=email], .hm-form select, .hm-form textarea {
  background: var(--night); color: #fff; border-color: rgba(255, 255, 255, .22);
}
.hm-form input:focus, .hm-form select:focus, .hm-form textarea:focus { border-color: #fff; box-shadow: 0 0 0 4px rgba(31, 179, 201, .25); }
.hm-form ::placeholder { color: #8f84a0; }
.hm-form__msg.is-ok { background: #123d27; color: #a6efc4; }
.hm-form__msg.is-err { background: #4a1712; color: #ffc2b8; }
body.hm .hm-map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95); }

/* CTA band */
body.hm .e-con.hm-cta__in { background: radial-gradient(120% 140% at 100% 0%, #3d2452 0%, var(--surf) 60%); }

/* footer, floating button, carousel dots */
.hm-footer { background: var(--night-2); }
.hm-fab--top { background: linear-gradient(var(--surf), var(--surf)) padding-box, var(--spectrum) border-box !important; color: #fff; }
@media (max-width: 767px) {
  .hm-dots button { background: rgba(255, 255, 255, .25); }
  .hm-dots button.is-active { background: #fff; }
}

/* ---------------------------------------------------------------- home: hero */
body.hm .e-con.hm-home-hero { --padding-top: clamp(28px, 4vw, 56px); --padding-bottom: clamp(56px, 7vw, 96px); --padding-left: var(--gut); --padding-right: var(--gut); }
body.hm .e-con.hm-home-hero > .e-con-inner { display: grid !important; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 72px); align-items: center; max-width: var(--wrap); }
body.hm .e-con.hm-home-hero > .e-con-inner > .e-con { width: auto; --width: auto; }
body.hm .e-con.hm-home-hero__copy { --row-gap: 26px; align-items: flex-start; }
body.hm .hm-home-hero .hm-h1 .elementor-heading-title { font-size: clamp(2.7rem, 5.4vw, 4.6rem); line-height: 1.02; }
body.hm .hm-trust p { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin: 0; font-size: .95rem; }
body.hm .hm-trust__lg { display: inline-flex; align-items: center; height: 44px; padding: 0 12px; border-radius: 12px; background: #f3eefa; }
body.hm .hm-trust__lg img { height: 22px; width: auto; display: block; }
body.hm .hm-trust__lg b { color: var(--night); font-weight: 600; }
body.hm .e-con.hm-home-hero__media { position: relative; }
/* the one bold move: an arched photo with the logo spectrum glowing behind it */
body.hm .e-con.hm-home-hero__media::before { content: ""; position: absolute; inset: 6% -4% -2% -6%; border-radius: 50%; background: conic-gradient(from 200deg, #ef4f4a, #f6a630, #2fbf71, #1fb3c9, #3478e3, #6a52dc, #b8338a, #ef4f4a); filter: blur(70px); opacity: .42; pointer-events: none; }
body.hm .hm-home-hero__img { position: relative; z-index: 1; }
body.hm .hm-home-hero__img .elementor-widget-container { aspect-ratio: 4 / 4.3; overflow: hidden; border-radius: 220px 220px 28px 28px; }
body.hm .hm-home-hero__img img { width: 100%; height: 100% !important; object-fit: cover; object-position: 58% 35%; }
body.hm .hm-float { position: absolute !important; z-index: 2; width: auto !important; }
body.hm .hm-float p { display: flex; flex-direction: column; margin: 0; padding: 12px 16px 12px 40px; position: relative; background: var(--surf-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .7); }
body.hm .hm-float p::before { content: ""; position: absolute; left: 16px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--dot); }
body.hm .hm-float b { font-family: var(--display); font-size: 1.22rem; color: #fff; font-weight: 600; line-height: 1.2; }
body.hm .hm-float small { font-size: .82rem; color: var(--text); }
body.hm .hm-float--lang { --dot: #2fbf71; left: -28px; bottom: 70px; }
body.hm .hm-float--hours { --dot: #f6a630; right: -16px; top: 40px; }
@media (prefers-reduced-motion: no-preference) {
  body.hm .hm-float { animation: hm-float-in .7s cubic-bezier(.23, 1, .32, 1) both; }
  body.hm .hm-float--lang { animation-delay: .35s; }
  body.hm .hm-float--hours { animation-delay: .5s; }
}
@keyframes hm-float-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
@media (max-width: 860px) {
  body.hm .e-con.hm-home-hero > .e-con-inner { grid-template-columns: 1fr; }
  body.hm .e-con.hm-home-hero__media { order: -1; }
  body.hm .hm-home-hero__img .elementor-widget-container { aspect-ratio: 4 / 3.2; border-radius: 140px 140px 22px 22px; }
  body.hm .hm-float--lang { left: 10px; bottom: -20px; }
  body.hm .hm-float--hours { right: 10px; top: 12px; }
  body.hm .hm-home-hero .hm-btns { width: 100%; }
  body.hm .hm-home-hero .hm-btns > .elementor-widget { flex: 1 1 100%; }
  body.hm .hm-home-hero .hm-btns .elementor-button { width: 100%; }
}

/* ---------------------------------------------------------------- home: what do you need today? */
body.hm .e-con.hm-tiles { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 16px; }
body.hm .e-con.hm-tile {
  width: auto; --width: auto; --row-gap: 12px; position: relative; min-height: 210px; align-items: flex-start;
  padding: 24px; border-radius: 22px; background: var(--surf); border-top: 6px solid var(--c); text-decoration: none;
  transition: transform .25s cubic-bezier(.23, 1, .32, 1), background-color .25s;
}
body.hm .hm-tile--1 { --c: #6a52dc; } body.hm .hm-tile--2 { --c: #f6a630; } body.hm .hm-tile--3 { --c: #2fbf71; } body.hm .hm-tile--4 { --c: #ef4f4a; }
body.hm .hm-tile__ic .elementor-icon { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%; background: var(--c); font-size: 26px; color: #fff; }
body.hm .hm-tile__ic .elementor-icon svg { width: 26px; height: 26px; fill: #fff; }
body.hm .hm-tile__t .elementor-heading-title { font-size: 1.45rem; line-height: 1.15; color: #fff; }
body.hm .hm-tile__d { font-size: .98rem; color: var(--text); flex-grow: 1; }
body.hm .hm-tile__go { margin-top: auto; }
body.hm .hm-tile .hm-more { color: #fff; text-decoration-color: var(--c); }
@media (hover: hover) and (pointer: fine) {
  body.hm .e-con.hm-tile:hover { transform: translateY(-4px); background: var(--surf-2); }
}
@media (max-width: 1024px) { body.hm .e-con.hm-tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) {
  body.hm .e-con.hm-tiles { gap: 12px; }
  body.hm .e-con.hm-tile { min-height: 0; padding: 18px; }
  body.hm .hm-tile__d { display: none; }
  body.hm .hm-tile__t .elementor-heading-title { font-size: 1.18rem; }
  body.hm .hm-tile__ic .elementor-icon { width: 46px; height: 46px; font-size: 20px; }
  body.hm .hm-tile__ic .elementor-icon svg { width: 20px; height: 20px; }
}

/* ---------------------------------------------------------------- home: two doors, group feature */
body.hm .e-con.hm-door::after { height: 0; }
body.hm .hm-door__img .elementor-widget-container { aspect-ratio: 16 / 10; }
body.hm .hm-door--minds .hm-door__img img { object-position: 20% 50%; }
body.hm .hm-door__list .elementor-icon-list-item { border-top-color: var(--line); }
body.hm .hm-door__list .elementor-icon-list-text { color: #fff; }
body.hm .hm-list--green .elementor-icon-list-icon svg { fill: #2fbf71; }
body.hm .hm-list--green .elementor-icon-list-text { color: #fff; font-weight: 600; }
@media (max-width: 860px) { body.hm .e-con.hm-doors { grid-template-columns: 1fr; } }

/* Elementor's optimised markup prints the <img> straight inside the widget (no
   .elementor-widget-container), so each photo carries its own proportion. */
body.hm .hm-card__img img, body.hm .hm-cond .hm-card__img img { aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; }
body.hm .hm-door__img img { aspect-ratio: 16 / 10; height: auto !important; object-fit: cover; }
body.hm .hm-feature__img img { aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; }
body.hm .hm-sec--ink .hm-feature__img img { aspect-ratio: 5 / 4; }
body.hm .hm-hero__img img { aspect-ratio: 4 / 4.4; height: auto !important; object-fit: cover; }
body.hm .hm-home-hero__img img { aspect-ratio: 4 / 4.3; height: auto !important; border-radius: 220px 220px 28px 28px; }
@media (max-width: 860px) {
  body.hm .hm-hero__img img { aspect-ratio: 4 / 3; }
  body.hm .hm-home-hero__img img { aspect-ratio: 4 / 3.2; border-radius: 140px 140px 22px 22px; }
}
@media (max-width: 600px) {
  body.hm .hm-trust p { gap: 8px; }
  body.hm .hm-trust__lg { height: 36px; padding: 0 9px; }
  body.hm .hm-trust__lg img { height: 16px; }
}
/* lazy photos inside swipe carousels: the frame keeps its size before the image loads */
body.hm .elementor-widget-image.hm-card__img { position: relative; height: 0; padding-top: 75%; }
body.hm .elementor-widget-image.hm-card__img img { position: absolute; inset: 0; width: 100%; height: 100% !important; aspect-ratio: auto; }
/* keep the patient inside the arch on photos where he sits to one side */
body.hm .hm-img--consult img { object-position: 46% 30%; }

/* ==========================================================================
   Header + footer as Elementor templates (Templates → Saved Templates)
   ========================================================================== */
.hm-hf-header { position: sticky; top: calc(-1 * var(--tbh, 38px)); z-index: 200; }
body.admin-bar .hm-hf-header { top: calc(32px - var(--tbh, 38px)); }
body.hm .e-con.hm-tb { position: relative; background: var(--night-2); --padding-top: 8px; --padding-bottom: 11px; --padding-left: var(--gut); --padding-right: var(--gut); }
body.hm .e-con.hm-tb::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--spectrum); }
body.hm .e-con.hm-tb > .e-con-inner, body.hm .e-con.hm-hrow > .e-con-inner,
body.hm .e-con.hm-fmain > .e-con-inner, body.hm .e-con.hm-fcrisisw > .e-con-inner, body.hm .e-con.hm-fbottom > .e-con-inner { max-width: var(--wrap); }
body.hm .hm-tb__list .elementor-icon-list-items { display: flex; flex-wrap: nowrap; gap: 28px; }
body.hm .hm-tb__list .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
body.hm .hm-tb__list .elementor-icon-list-item::after { display: none !important; }
body.hm .hm-tb__list .elementor-icon-list-item:last-child { margin-left: auto !important; }
body.hm .hm-tb__list .elementor-icon-list-text { color: #e6e5ec; font-size: .86rem; padding-left: 7px !important; }
body.hm .hm-tb__list .elementor-icon-list-icon svg { width: 14px; height: 14px; fill: #e6e5ec; opacity: .7; }
body.hm .hm-tb__list a:hover .elementor-icon-list-text { color: #fff; text-decoration: underline; text-decoration-color: #f6cf3a; }
body.hm .e-con.hm-hrow { background: rgba(27, 16, 35, .9); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid transparent; transition: border-color .25s; --padding-left: var(--gut); --padding-right: var(--gut); }
.hm-hf-header.is-scrolled .e-con.hm-hrow { border-bottom-color: var(--line); background: rgba(27, 16, 35, .96); }
body.hm .e-con.hm-hrow > .e-con-inner { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 24px; min-height: var(--hdr); }
body.hm .e-con.hm-hrow > .e-con-inner > .elementor-widget, body.hm .e-con.hm-hrow > .e-con-inner > .e-con { width: auto; flex: none; }
body.hm .hm-hlogo img, body.hm .hm-flogo img { width: auto !important; height: 50px !important; aspect-ratio: auto; }
body.hm .hm-hlogo { line-height: 0; }
body.hm .e-con.hm-hrow .hm-hnav { margin-left: auto; }
body.hm .e-con.hm-hactions { flex-direction: row; flex-wrap: nowrap; align-items: center; --column-gap: 12px; gap: 12px; }
body.hm .e-con.hm-hactions > .elementor-widget { width: auto; }
body.hm .hm-b--call .elementor-button { background: var(--call); color: #fff; padding: 12px 18px; font-size: .95rem; }
body.hm .hm-b--call .elementor-button:hover { background: var(--call-hover); color: #fff; }
@media (max-width: 1180px) {
  body.hm .e-con.hm-hrow .hm-hnav { display: none; }
  body.hm .e-con.hm-hactions { margin-left: auto; }
}
@media (max-width: 860px) {
  body.hm .hm-tb__list .elementor-icon-list-item:not(:first-child) { display: none; }
  body.hm .hm-tb__list .elementor-icon-list-items { justify-content: center; }
}
@media (max-width: 600px) {
  body.hm .hm-hlogo img { height: 40px !important; }
  body.hm .hm-hlang { display: none; }
  body.hm .hm-b--call .elementor-button { width: 46px; height: 46px; padding: 0; }
  body.hm .hm-b--call .elementor-button-text { display: none; }
  body.hm .hm-tb__list .elementor-icon-list-text { font-size: .8rem; }
}

/* footer template */
body.hm .e-con.hm-fmain { --padding-top: clamp(56px, 7vw, 88px); --padding-bottom: 40px; --padding-left: var(--gut); --padding-right: var(--gut); }
body.hm .e-con.hm-fmain > .e-con-inner { display: grid !important; grid-template-columns: 1.35fr 1fr 1fr 1.15fr; gap: 40px; }
body.hm .e-con.hm-fmain > .e-con-inner > .e-con { width: auto; --width: auto; --row-gap: 0px; }
body.hm .hm-flogo img { height: 56px !important; }
body.hm .hm-ftag .elementor-heading-title { font-family: var(--display); font-weight: 600; font-size: 1.4rem; line-height: 1.25; color: #fff; margin: 22px 0 14px; max-width: 24ch; }
body.hm .hm-fdba { font-size: .92rem; color: #b2afc0; max-width: 46ch; }
body.hm .hm-fcol__h .elementor-heading-title { font-family: var(--sans); color: #fff; font-size: .98rem; font-weight: 600; margin: 6px 0 16px; }
body.hm .hm-flinks .elementor-icon-list-icon { display: none; }
body.hm .hm-flinks .elementor-icon-list-item, body.hm .hm-fcontact .elementor-icon-list-item { padding: 5px 0; }
body.hm .hm-flinks .elementor-icon-list-text, body.hm .hm-fcontact .elementor-icon-list-text { color: #f1f0f5; font-size: .97rem; padding-left: 0 !important; }
body.hm .hm-fcontact .elementor-icon-list-text { padding-left: 10px !important; }
body.hm .hm-flinks a:hover .elementor-icon-list-text, body.hm .hm-fcontact a:hover .elementor-icon-list-text { color: #f6cf3a; text-decoration: underline; }
body.hm .hm-fcontact .elementor-icon-list-icon svg { width: 16px; height: 16px; fill: #f6a630; }
body.hm .hm-fhours { margin-top: 10px; }
body.hm .hm-fhours .hm-hours li { padding: 6px 0; font-size: .92rem; border-bottom-color: var(--line); }
body.hm .hm-fhours .hm-hours li span:first-child { color: #fff; }
body.hm .e-con.hm-fcrisisw { --padding-left: var(--gut); --padding-right: var(--gut); }
body.hm .hm-fcrisis p { margin: 0; padding: 16px 20px; border-radius: 14px; background: rgba(255, 255, 255, .07); font-size: .95rem; color: #ecebf2; }
body.hm .hm-fcrisis a { font-weight: 600; text-decoration: underline; }
/* bottom row: copyright + legal links on the left, credit on the right, both vertically centred */
body.hm .e-con.hm-fbottom { --padding-top: 28px; --padding-bottom: 36px; --padding-left: var(--gut); --padding-right: var(--gut); }
body.hm .e-con.hm-fbottom > .e-con-inner { display: grid !important; grid-template-columns: 1fr auto; grid-template-areas: "copy credit" "legal credit"; align-items: center; gap: 8px 32px; }
body.hm .e-con.hm-fbottom > .e-con-inner > .elementor-widget { width: auto; }
body.hm .hm-fcopy { grid-area: copy; } body.hm .hm-flegal { grid-area: legal; } body.hm .hm-fcredit { grid-area: credit; text-align: right; }
body.hm .hm-fcopy p, body.hm .hm-fcredit p { margin: 0; font-size: .86rem; color: #a3a0b3; }
body.hm .hm-fcredit a { color: #f1f0f5; text-decoration: none; }
body.hm .hm-flegal .elementor-icon-list-icon { display: none; }
body.hm .hm-flegal .elementor-icon-list-items { display: flex; flex-wrap: wrap; gap: 6px 20px; }
body.hm .hm-flegal .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
body.hm .hm-flegal .elementor-icon-list-item::after { display: none !important; }
body.hm .hm-flegal .elementor-icon-list-text { color: #f1f0f5; font-size: .86rem; padding: 0 !important; }
body.hm .hm-flegal a:hover .elementor-icon-list-text { color: #f6cf3a; }
@media (max-width: 1024px) { body.hm .e-con.hm-fmain > .e-con-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  body.hm .e-con.hm-fmain > .e-con-inner { grid-template-columns: 1fr; gap: 0; }
  body.hm .e-con.hm-fbrand { padding-bottom: 28px; }
  body.hm .e-con.hm-fcol { border-top: 1px solid rgba(255, 255, 255, .14); }
  body.hm .e-con.hm-fcol:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
  body.hm .hm-fcol__h .elementor-heading-title { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin: 0; font-size: 1.05rem; cursor: pointer; }
  body.hm .hm-fcol__h .elementor-heading-title::after { content: ""; width: 10px; height: 10px; margin-right: 6px; border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-3px) rotate(45deg); transition: transform .25s var(--ease); }
  body.hm .hm-fcol.is-open .hm-fcol__h .elementor-heading-title::after { transform: translateY(2px) rotate(-135deg); }
  body.hm .hm-fcol[data-hm-init]:not(.is-open) > :not(.hm-fcol__h) { display: none; }
  body.hm .hm-fcol.is-open > :last-child { padding-bottom: 18px; }
  body.hm .e-con.hm-fbottom > .e-con-inner { grid-template-columns: 1fr; grid-template-areas: "copy" "legal" "credit"; }
  body.hm .hm-fcredit { text-align: left; }
}

/* ==========================================================================
   Google reviews ([hm_reviews]; Trustindex replaces it once its shortcode is saved)
   ========================================================================== */
.hm-rev__top { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 22px; }
.hm-rev__brand { display: flex; align-items: center; gap: 12px; }
.hm-rev__brand b { display: block; color: #fff; font-size: 1.1rem; font-weight: 600; }
.hm-rev__stars { color: #fbbc04; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.hm-rev__demo { margin: 0; padding: 6px 12px; border-radius: 10px; border: 1px dashed rgba(246, 166, 48, .55); background: rgba(246, 166, 48, .1); color: #f6c75f; font-size: .85rem; }
.hm-rev__nav { margin-left: auto; display: flex; gap: 8px; }
.hm-rev__btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .45); background: transparent; color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding-bottom: 3px; transition: background-color .2s, border-color .2s, opacity .2s; }
.hm-rev__btn:not(:disabled):hover { background: #fff; color: var(--night); border-color: #fff; }
.hm-rev__btn:active:not(:disabled) { transform: scale(.95); }
.hm-rev__btn:disabled { opacity: .3; cursor: default; }
.hm-rev__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; padding-bottom: 4px; }
.hm-rev__track::-webkit-scrollbar { display: none; }
.hm-rev__card { flex: 0 0 calc((100% - 32px) / 3); scroll-snap-align: start; background: var(--surf); border: 1px solid var(--line); border-radius: 20px; padding: 22px; }
.hm-rev__card header { display: flex; align-items: center; gap: 12px; }
.hm-rev__av { width: 42px; height: 42px; border-radius: 50%; color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.hm-rev__card header div { flex: 1; }
.hm-rev__card header b { display: block; color: #fff; font-weight: 600; }
.hm-rev__card header small { color: var(--text-2); font-size: .85rem; }
.hm-rev__card .hm-rev__stars { display: block; margin: 14px 0 8px; }
.hm-rev__card p { margin: 0; color: var(--text); font-size: 1rem; line-height: 1.6; }
@media (max-width: 1024px) { .hm-rev__card { flex-basis: calc((100% - 16px) / 2); } }
@media (max-width: 600px) {
  .hm-rev__card { flex-basis: 86%; }
  .hm-rev__nav { margin-left: 0; }
  .hm-rev__track { margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scroll-padding-inline: var(--gut); }
}

/* floating call button is back on phones (green, bottom left; "back to top" stays bottom right) */
@media (max-width: 860px) {
  .hm-fab--call { display: inline-flex !important; left: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 56px; height: 56px; background: var(--call) !important; }
}
body.hm .hm-b--call .elementor-button[href^="tel:"] { background: var(--call); color: #fff; border-color: var(--call); }
body.hm .hm-b--call .elementor-button[href^="tel:"]:hover { background: var(--call-hover); border-color: var(--call-hover); }
body.hm .hm-flogo, body.hm .hm-hlogo { text-align: left; }
body.hm .hm-flogo img, body.hm .hm-hlogo img { margin: 0; display: inline-block; }
body.hm .hm-flegal .elementor-icon-list-items, body.hm .hm-tb__list .elementor-icon-list-items { margin: 0 !important; }
@media (max-width: 860px) { .hm-footer { padding-bottom: 84px !important; } }
/* before Trustindex: a quiet one-line note instead of the reviews section */
body.hm .e-con.hm-sec--reviews:has(.hm-rev--soon) { --padding-top: 8px; --padding-bottom: 8px; }
body.hm .e-con.hm-sec--reviews:has(.hm-rev--soon) .hm-head { display: none; }
.hm-rev--soon { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hm-rev--soon p { margin: 0; font-size: .92rem; color: var(--text-2); }
