
/* Treatment hero: single-fold height — no parallax tail; light bg drift only */
body.delamere-v2-parallax section.hero {
  background: none;
  background-image: none;
  padding: 0;
}
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
}
.hero__sticky {
  position: sticky; top: 0;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  padding-bottom: clamp(28px, 5vh, 44px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}
.hero__sticky::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(96deg,
    rgba(26,29,21,.58) 0%,
    rgba(26,29,21,.38) 32%,
    rgba(26,29,21,.14) 58%,
    rgba(26,29,21,.02) 80%);
}
.hero__bg {
  position: absolute;
  top: calc(-1 * var(--header-h));
  right: -22%;
  bottom: -8%;
  left: -4%;
  min-height: calc(100% + var(--header-h) + 8%);
  background-color: var(--olive-dark);
  background-image:
    radial-gradient(
      ellipse 68% 82% at 26% 58%,
      rgba(28,31,23,.26) 0%,
      rgba(28,31,23,.12) 55%,
      rgba(28,31,23,0) 82%
    ),
    linear-gradient(
      to bottom,
      rgba(45,48,38,.52) 0%,
      rgba(45,48,38,.22) 34%,
      rgba(45,48,38,.32) 64%,
      rgba(45,48,38,.62) 100%
    ),
    var(--hero-bg-image, none);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 62% 48%;
  transform: translate3d(0,0,0);
}
.hero__leaf {
  position: absolute;
  right: -6%;
  top: -6%;
  width: min(30vw, 280px);
  opacity: .07;
  pointer-events: none;
  filter: brightness(0) invert(1);
}
.hero__content {
  position: relative; z-index: 2;
  flex: 0 0 auto;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  min-height: 0;
  width: min(680px, calc(100% - var(--hero-gutter) - clamp(24px, 4vw, 48px)));
  margin-inline-start: var(--hero-gutter);
  padding:
    calc(var(--header-h) + clamp(8px, 2vh, 24px))
    0
    clamp(12px, 2vh, 20px)
    var(--hero-text-pad);
  color: #fff;
  text-align: left;
  transition: opacity .45s ease;
}
.hero__fold-foot {
  z-index: 3;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vh, 24px);
}
.hero__inner {
  max-width: 40rem;
  --hero-headline-width: 28ch;
}
/* Width cap uses title font metrics so .hero__sub matches the H1 column (ch is font-relative). */
.hero__headline {
  max-width: var(--hero-headline-width, 28ch);
  font-size: clamp(28px, 4.2vw, 52px);
}
.hero .at-breadcrumb {
  margin: 0 0 clamp(12px, 2vh, 20px);
  max-width: 40rem;
}
.hero .at-breadcrumb__list,
.hero__crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: normal;
  text-transform: none;
  color: rgba(255,255,255,.88);
  max-width: 40rem;
  text-shadow: 0 1px 14px rgba(0,0,0,.35);
}
.hero .at-breadcrumb__item,
.hero__crumbs li { display: flex; align-items: center; gap: 8px; }
.hero .at-breadcrumb__item:not(:last-child)::after,
.hero__crumbs li:not(:last-child)::after {
  content: "/";
  opacity: .55;
  color: rgba(255,210,108,.7);
}
.hero__crumbs a { color: rgba(255,255,255,.82); text-decoration: none; }
.hero__crumbs a:hover { color: var(--gold); }
.hero .at-breadcrumb__item a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}
.hero .at-breadcrumb__item a:hover { color: var(--gold); }
.hero .at-breadcrumb__item span[aria-current="page"] { color: var(--gold); }
.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 10px; font-weight: 500;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold);
}
.hero__title {
  margin: 0 0 16px;
  font-size: inherit;
  font-weight: 300; line-height: 1.12; letter-spacing: -.022em;
  max-width: none;
  color: #fff;
  text-shadow: 0 2px 30px rgba(0,0,0,.34);
}
.hero__sub {
  margin: 0 0 20px;
  font-size: clamp(15px, 1.5vw, 17px);
  font-weight: 300; line-height: 1.7;
  max-width: none;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 18px rgba(0,0,0,.3);
}
.hero__ticks {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  display: grid; gap: 10px;
  max-width: 34em;
}
.hero__ticks li {
  position: relative;
  padding: 0 0 0 26px;
  border-bottom: 0;
  font-size: 13px; font-weight: 300; line-height: 1.5;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 14px rgba(0,0,0,.3);
}
.hero__ticks li::before {
  content: "";
  position: absolute;
  left: 2px; top: 4px;
  width: 10px; height: 6px;
  border-left: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  transform: rotate(-45deg);
}
.hero__content .hero__cta-group {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
}
.hero__content .hero__cta-group .btn--gold {
  grid-column: 1;
  grid-row: 1;
}
.hero__content .hero__cta-group .btn--ghost {
  grid-column: 2;
  grid-row: 1;
}
.hero__content .hero__cta-group .btn--phone {
  grid-column: 1 / -1;
  grid-row: 2;
  justify-self: start;
  margin-top: 0;
}
@media (min-width: 1024px) {
  .hero__content {
    justify-content: flex-start;
    padding-bottom: clamp(14px, 2.2vh, 28px);
  }
  .hero__title { margin-bottom: clamp(14px, 2vh, 22px); }
  .hero__sub { margin-bottom: clamp(18px, 2.4vh, 26px); }
  .hero__fold-foot { gap: clamp(14px, 2.2vh, 24px); }
  .hero__content .hero__cta-group {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: 8px;
    row-gap: clamp(10px, 1.6vh, 16px);
    width: max-content;
    max-width: 100%;
    align-self: flex-start;
    margin-top: 0;
    margin-bottom: clamp(2px, 0.5vh, 8px);
  }
  .hero__content .hero__cta-group .btn--gold {
    grid-column: 1;
    grid-row: 1;
  }
  .hero__content .hero__cta-group .btn--ghost {
    grid-column: 2;
    grid-row: 1;
  }
  .hero__content .hero__cta-group .btn--phone {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }
  .hero__content .hero__cta-group .btn:not(.btn--phone) {
    min-width: 0;
    width: max-content;
    max-width: 100%;
    padding-inline: clamp(18px, 2.1vw, 26px);
    font-size: 12px;
    letter-spacing: clamp(.12em, .02vw + .11em, .16em);
    white-space: nowrap;
  }
  .hero__fold-foot .hero__credibility {
    margin-top: 0;
    padding-inline: calc(var(--hero-gutter) + var(--hero-text-pad));
  }
  .hero__fold-foot .hero__anchors {
    margin: 0;
    padding-inline: calc(var(--hero-gutter) + var(--hero-text-pad));
  }
}
.hero__content .btn {
  min-width: min(220px, 42vw);
  min-height: 58px;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0,0,0,.22);
  text-decoration: none;
}
.hero__content .btn--gold,
.hero__content .btn--gold:hover,
.hero__content .btn--gold:focus-visible {
  color: var(--olive-dark) !important;
}
.hero__content .btn--ghost {
  background: #fff;
  color: var(--olive-dark) !important;
  border-color: #fff;
  backdrop-filter: none;
}
.hero__content .btn--ghost:hover,
.hero__content .btn--ghost:active,
.hero__content .btn--ghost:focus-visible {
  background: #fff;
  color: var(--olive-dark) !important;
  border-color: #fff;
}
.hero__content .btn--phone {
  display: inline-flex;
  align-self: flex-start;
  min-width: auto;
  min-height: auto;
  margin-top: 0;
  padding: 0;
  font-size: clamp(9px, 0.92vw, 11px);
  letter-spacing: clamp(.1em, .015vw + .09em, .14em);
  white-space: nowrap;
  background: transparent;
  color: rgba(255,255,255,.92);
  border-color: transparent;
  box-shadow: none;
  text-shadow: 0 1px 12px rgba(30,32,25,.75);
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255,210,108,.6);
}
.hero__content .btn--phone:hover { color: rgba(255,255,255,.92); transform: none; }
.hero__content .btn:hover,
.hero__content .btn:focus-visible { transform: none; }
.hero__content .btn--gold:hover,
.hero__content .btn--gold:active,
.hero__content .btn--gold:focus-visible {
  color: var(--olive-dark) !important;
  background: var(--gold) !important;
  border-color: var(--gold) !important;
}
.hero__credibility {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  width: 100%;
}
.hero__anchors {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(6px, 0.9vw, 10px);
  justify-content: flex-start;
  align-self: flex-start;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.hero__anchors a {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px clamp(12px, 1.4vw, 18px);
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,210,108,.72);
  background: rgba(32,35,27,.62);
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: background .2s, color .2s, border-color .2s;
}
.hero__anchors a:hover {
  background: rgba(255,210,108,.18);
  border-color: var(--gold);
  color: var(--gold);
}
.hero-anchors { display: none; }
.hero__doctify {
  width: fit-content;
  background: transparent;
  border: 0;
  padding: 0;
}
.hero__doctify > div { zoom: .74; }
.hero__doctify [class*="doctify_micro_stars_style_wrapper_"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.doctify-badge,
.hero__doctify [class*="doctify_micro_stars_style_wrapper_"] {
  color: #fff !important;
  text-shadow: 0 1px 12px rgba(30,32,25,.75);
}
.doctify-badge__logo,
.hero__doctify [class*="doctify_micro_stars_logo_logo_"] {
  background-image: url("/wp-content/themes/delamere-newbuild/prototypes/doctify-logo-white.svg") !important;
}
.doctify-badge__logo,
.doctify-badge__stars i,
.hero__doctify [class*="doctify_micro_stars_logo_logo_"],
.hero__doctify [class*="doctify_stars_item_"] {
  filter: drop-shadow(0 1px 10px rgba(30,32,25,.75));
}
.doctify-badge {
  display: flex;
  align-items: center;
  padding: 0;
  font-family: Poppins, Montserrat, sans-serif;
  line-height: 1.2;
  text-decoration: none;
  color: #fff !important;
}
.doctify-badge__verbal { font-size: 26px; font-weight: 500; }
.doctify-badge__stars { display: flex; margin: 0 15px; }
.doctify-badge__stars i {
  display: block;
  width: 27px; height: 30px;
  margin-right: 15px;
  background: url("/wp-content/themes/delamere-newbuild/prototypes/doctify-star.svg") 0 0/27px 30px no-repeat;
}
.doctify-badge__stars i:last-child { margin-right: 0; }
.doctify-badge__logo {
  display: block;
  width: 85px; height: 29px;
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: contain;
}
.hero__proof {
  margin: 0;
  padding-bottom: 2px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
  white-space: nowrap;
}
.hero__trust {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px;
  margin: 0;
  font-size: 9px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.78);
  text-shadow: 0 1px 12px rgba(30,32,25,.75);
}
.hero__trust span { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (min-width: 701px) and (max-height: 860px) {
  .hero__headline { font-size: clamp(26px, 4vw, 44px); }
  .hero__title { margin-bottom: 12px; }
  .hero__sub { margin-bottom: 14px; line-height: 1.55; font-size: 16px; }
  .hero__ticks { margin-bottom: 14px; gap: 8px; }
  .hero__content {
    padding-top: calc(var(--header-h) + clamp(4px, 1vh, 14px));
    padding-bottom: clamp(12px, 2vh, 22px);
  }
  .hero__content .btn:not(.btn--phone) { min-height: 52px; }
  .hero__doctify > div { zoom: .66; }
}
@media (min-width: 701px) and (max-height: 740px) {
  .hero__headline { font-size: clamp(24px, 3.8vw, 38px); }
  .hero__title { margin-bottom: 10px; }
  .hero__sub { margin-bottom: 12px; font-size: 15px; line-height: 1.5; }
  .hero__content .btn:not(.btn--phone) { min-height: 48px; }
  .hero__doctify > div { zoom: .62; }
}
@media (max-width: 1023px) {
  .hero { height: 100vh; height: 100dvh; }
  .hero__sticky {
    min-height: 100dvh;
    height: 100dvh;
  }
  .hero__content {
    padding-bottom: clamp(12px, 1.8vh, 18px);
  }
  .hero__fold-foot {
    gap: clamp(10px, 1.6vh, 16px);
  }
  .hero__fold-foot .hero__credibility,
  .hero__fold-foot .hero__anchors { flex: 0 0 auto; }
  .hero__title { margin-bottom: 12px; }
  .hero__sub { margin-bottom: 14px; }
  .hero__ticks { margin-bottom: 16px; gap: 8px; }
  .hero__content .hero__cta-group { margin-top: 0; }
}
@media (min-width: 701px) and (max-width: 1023px) {
  .hero__content {
    padding-bottom: clamp(6px, 1vh, 12px);
  }
  .hero__fold-foot {
    gap: clamp(8px, 1.2vh, 14px);
    align-items: flex-start;
  }
  .hero__fold-foot .hero__credibility,
  .hero__fold-foot .hero__anchors {
    box-sizing: border-box;
    width: min(680px, calc(100% - var(--hero-gutter) - clamp(24px, 4vw, 48px)));
    margin-inline-start: var(--hero-gutter);
    padding-inline-start: var(--hero-text-pad);
    padding-inline-end: 0;
    align-self: flex-start;
    justify-content: flex-start;
  }
  .hero__fold-foot .hero__credibility {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }
  .hero__fold-foot .hero__anchors {
    margin-top: 0;
  }
}
@media (max-width: 700px) {
  .hero__anchors { display: none; }
  .hero__headline {
    font-size: clamp(26px, 7.2vw, 30px);
    max-width: 28ch;
  }
  .hero__title {
    margin-bottom: 10px;
    line-height: 1.12;
  }
  .hero__sub { margin-bottom: 12px; line-height: 1.55; font-size: 15px; }
  .hero__bg {
    top: calc(-1 * var(--header-h));
    right: -18%;
    bottom: -8%;
    left: -8%;
    min-height: calc(100% + var(--header-h) + 8%);
    background-position: 62% 56%;
  }
  .hero__content {
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding:
      calc(var(--header-h) + 8px)
      var(--hero-gutter)
      clamp(10px, 1.5vh, 14px)
      var(--hero-gutter);
  }
  .hero__fold-foot {
    gap: clamp(12px, 2vh, 18px);
  }
  .hero__fold-foot .hero__credibility {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin: 0;
    padding-inline: var(--hero-gutter);
  }
  .hero__content .btn:not(.btn--phone) {
    min-height: 52px;
    min-width: 0;
    width: 100%;
  }
  .hero__content .hero__cta-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
    margin-top: 0;
    flex-shrink: 0;
  }
  .hero__content .hero__cta-group .btn--gold,
  .hero__content .hero__cta-group .btn--ghost,
  .hero__content .hero__cta-group .btn--phone {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
  }
  .hero__content .hero__cta-group .btn:not(.btn--phone) {
    width: 100%;
    max-width: 100%;
    font-size: 12px;
    letter-spacing: .12em;
    padding-inline: 18px;
    white-space: nowrap;
  }
  .hero__content .hero__cta-group .btn--phone { display: none; }
  .hero__ticks li:nth-child(n+3) { display: none; }
  .hero__credibility .hero__proof {
    align-self: center;
    width: 100%;
    text-align: center;
    white-space: normal;
    letter-spacing: .1em;
    font-size: 9px;
    line-height: 1.45;
  }
  .hero__trust { font-size: 8px; letter-spacing: .12em; gap: 6px 12px; }
  .hero__doctify > div { zoom: .56; }
}
@media (max-width: 1023px) and (max-height: 740px) {
  .hero__headline { font-size: clamp(24px, 6.5vw, 28px); }
  .hero__title { margin-bottom: 8px; }
  .hero__sub { margin-bottom: 10px; font-size: 14px; line-height: 1.5; }
  .hero__content {
    padding-top: calc(var(--header-h) + 4px);
    padding-bottom: 10px;
  }
  .hero__content .btn:not(.btn--phone) { min-height: 48px; }
  .hero__doctify > div { zoom: .58; }
  .hero__fold-foot { gap: 8px; }
}
@media (max-width: 700px) {
  :root {
    --hero-gutter: 22px;
    --hero-text-pad: 16px;
  }
  .hero-anchors {
    display: block;
    position: relative;
    z-index: 2;
    background: var(--olive-dark);
  }
  .hero__sticky::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to top, var(--olive-dark), rgba(61,66,53,0));
  }
  .hero-anchors a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 48px;
    padding: 14px var(--hero-gutter) 14px var(--hero-inset);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    border-top: 1px solid rgba(255,210,108,.35);
    background: rgba(32,35,27,.55);
    text-decoration: none;
    transition: background-color .35s ease, color .35s ease;
  }
  .hero-anchors a:first-child { border-top: 0; }
  .hero-anchors a::after {
    content: "";
    flex: none;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: rotate(-45deg);
    transition: transform .35s ease;
  }
  .hero-anchors a:hover,
  .hero-anchors a:active {
    background-color: rgba(255,210,108,.14);
    color: var(--gold);
  }
  .hero-anchors a:hover::after,
  .hero-anchors a:active::after {
    border-color: var(--gold);
    transform: translateX(3px) rotate(-45deg);
  }
}
@media (max-width: 700px) and (max-height: 800px) {
  .hero__headline { font-size: clamp(25px, 7vw, 28px); }
  .hero__title { margin-bottom: 10px; }
  .hero__sub { margin-bottom: 12px; line-height: 1.5; font-size: 14px; }
  .hero__content .btn:not(.btn--phone) { min-height: 48px; }
  .hero__fold-foot { gap: clamp(16px, 3vh, 24px); }
  .hero__doctify > div { zoom: .54; }
}
.hero__content.is-ready .hero__crumbs,
.hero__content.is-ready .hero .at-breadcrumb__list { animation: riseIn .9s cubic-bezier(.22,1,.36,1) both; }
.hero__content.is-ready .hero__eyebrow { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .06s both; }
.hero__content.is-ready .hero__title { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .14s both; }
.hero__content.is-ready .hero__sub { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .22s both; }
.hero__content.is-ready .hero__ticks { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .3s both; }
.hero__content.is-ready .hero__cta-group { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .38s both; }
.hero__content.is-ready ~ .hero__fold-foot .hero__credibility { animation: riseIn .9s cubic-bezier(.22,1,.36,1) .48s both; }
.hero__content.is-shown .hero__crumbs,
.hero__content.is-shown .hero .at-breadcrumb__list,
.hero__content.is-shown .hero__eyebrow,
.hero__content.is-shown .hero__title,
.hero__content.is-shown .hero__sub,
.hero__content.is-shown .hero__ticks,
.hero__content.is-shown .hero__cta-group,
.hero__content.is-shown ~ .hero__fold-foot .hero__credibility {
  animation: none;
  opacity: 1;
  transform: none;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
