:root {
  --hd-section-space: clamp(80px, 7.5vw, 112px);
}

.hd-section {
  padding: var(--hd-section-space) var(--hd-page-pad);
}

.hd-section-heading {
  max-width: 920px;
  margin-bottom: 42px;
}

.hd-section-heading > p:not(.hd-eyebrow) {
  max-width: 720px;
  margin-top: 26px;
  margin-inline: auto;
  color: var(--hd-muted);
}

.hd-hero {
  position: relative;
  min-height: 790px;
  padding-top: clamp(82px, 8vw, 120px);
  background:
    radial-gradient(circle at 11% 18%, rgb(250 194 76 / 18%) 0 2px, transparent 3px),
    radial-gradient(circle at 87% 24%, rgb(217 49 102 / 13%) 0 2px, transparent 3px),
    linear-gradient(180deg, #fff 0%, #fbfcfd 100%);
}

.hd-hero-columns {
  gap: clamp(34px, 5vw, 72px);
}

.hd-hero-copy {
  z-index: 2;
  flex-basis: 48%;
}

.hd-hero-copy h1 {
  max-width: 780px;
}

.hd-hero-intro {
  max-width: 630px;
  margin: 28px 0 38px;
  color: var(--hd-muted);
  font-size: clamp(1.05rem, 1.45vw, 1.18rem) !important;
  line-height: 1.48;
  letter-spacing: -0.012em;
}

.hd-hero-visual {
  position: relative;
  display: grid;
  flex-basis: 52%;
  min-height: 600px;
  place-items: center;
}

.hd-hero-visual::before {
  position: absolute;
  width: min(112%, 650px);
  aspect-ratio: 1;
  content: "";
  background: linear-gradient(145deg, #f2f8fc 0%, #e8f2f8 100%);
  border: 1px solid rgb(22 43 70 / 5%);
  border-radius: 38px;
  box-shadow: 0 28px 80px rgb(45 95 130 / 10%);
  transform: rotate(-2deg);
}

.hd-hero-phone {
  position: relative;
  width: min(124%, 710px);
  margin: 0;
}

.hd-hero-phone img {
  width: 100%;
  height: auto;
  max-height: 740px;
  object-fit: contain;
}

.hd-intro {
  text-align: center;
}

.hd-narrow {
  max-width: 920px;
}

.hd-intro-text {
  max-width: 740px;
  margin: 28px auto 48px;
  color: var(--hd-muted);
}

.hd-listing-preview {
  width: min(100%, 800px);
  aspect-ratio: 1280 / 702;
  margin: 0 auto;
  overflow: hidden;
  background: var(--hd-soft);
  border: 1px solid var(--hd-line);
  border-radius: var(--hd-radius);
  box-shadow: 0 26px 70px rgb(22 43 70 / 12%);
}

.hd-listing-preview img,
.hd-listing-preview video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hd-partner {
  padding-top: 82px;
}

.hd-partner-heading {
  text-align: center;
}

.hd-partner-heading h2,
.hd-proof h2 {
  font-weight: 300;
}

.hd-partner-heading h2 strong,
.hd-proof h2 strong {
  font-weight: 600;
}

.hd-partner-badge {
  width: min(100%, 520px);
  margin: 30px auto 50px;
}

.hd-partner-badge img {
  width: 100%;
  height: auto;
}

.hd-partner-portraits {
  align-items: flex-start;
  width: min(100%, 860px);
  gap: 24px;
}

.hd-partner-portraits .wp-block-image {
  margin: 0;
}

.hd-partner-portraits img {
  width: 100%;
  height: auto;
}

.hd-service-columns {
  gap: clamp(50px, 8vw, 110px);
}

.hd-service-art {
  position: relative;
  display: grid;
  box-sizing: border-box;
  isolation: isolate;
  min-height: 500px;
  place-items: center;
  padding: clamp(35px, 5vw, 70px);
}

.hd-service-art::before {
  position: absolute;
  z-index: -1;
  inset: 8px;
  content: "";
  background: linear-gradient(145deg, #f2f8fc 0%, #e8f2f8 100%);
  border: 1px solid rgb(22 43 70 / 5%);
  border-radius: var(--hd-radius);
  box-shadow: 0 24px 65px rgb(45 95 130 / 9%);
  transform: rotate(-1.2deg);
}

.hd-service-reverse .hd-service-art::before {
  transform: rotate(1.2deg);
}

.hd-service-art .wp-block-image {
  display: grid;
  width: 100%;
  margin: 0;
  place-items: center;
}

.hd-service-art img {
  width: 98%;
  height: auto;
  max-height: 470px;
  object-fit: contain;
}

.hd-service-copy {
  max-width: 650px;
}

.hd-service-copy h2 {
  margin-bottom: 34px;
}

.hd-service-copy p {
  color: var(--hd-muted);
}

.hd-service-copy .hd-lead {
  color: var(--hd-ink);
  font-weight: 500;
  font-size: clamp(1.04rem, 1.4vw, 1.16rem) !important;
  line-height: 1.48;
  letter-spacing: -0.012em;
}

.hd-service-actions {
  gap: 12px;
  margin-top: 28px;
}

.hd-service-reverse .hd-service-art {
  order: 2;
}

.hd-service-reverse .hd-service-copy {
  order: 1;
}

.hd-service-detail-hero {
  min-height: 710px;
  padding-top: clamp(120px, 10vw, 165px);
  background: linear-gradient(180deg, #fff 0%, #f8fbfd 100%);
}

.hd-service-detail-hero h1 {
  margin-bottom: 26px;
  font-size: clamp(3.2rem, 6vw, 5.6rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.hd-service-detail-hero .hd-service-art {
  min-height: 460px;
}

.hd-service-detail-body {
  background: var(--hd-white);
}

.hd-service-detail-content {
  width: 100%;
  max-width: 880px !important;
  margin-inline: auto;
}

.hd-service-detail-content > p {
  color: var(--hd-muted);
  font-size: clamp(1rem, 1.3vw, 1.08rem);
  line-height: 1.72;
}

.hd-service-detail-content h2 {
  margin-top: clamp(46px, 6vw, 72px);
  margin-bottom: 22px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
}

.hd-check-list {
  display: grid;
  gap: 14px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.hd-check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--hd-ink);
  line-height: 1.62;
}

.hd-check-list li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--hd-pink);
  content: "✓";
  font-weight: 700;
}

.hd-service-detail-cta {
  margin-top: clamp(38px, 6vw, 62px);
}

.hd-properties {
  overflow: hidden;
}

.hd-property-carousel {
  position: relative;
}

.hd-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 16px;
}

.hd-carousel-button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  background: var(--hd-white);
  color: var(--hd-navy);
  border: 1px solid var(--hd-line);
  border-radius: 50%;
  box-shadow: 0 8px 24px rgb(22 43 70 / 8%);
  cursor: pointer;
  font: inherit;
  font-size: 1.2rem;
}

.hd-carousel-button:hover:not(:disabled),
.hd-carousel-button:focus-visible {
  background: var(--hd-navy);
  color: var(--hd-white);
  transform: translateY(-2px);
}

.hd-carousel-button:disabled {
  cursor: default;
  opacity: 0.32;
}

.hd-property-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 18px;
  overflow-x: auto;
  padding: 2px 2px 20px;
  scroll-behavior: smooth;
  scroll-padding-left: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hd-property-track::-webkit-scrollbar {
  display: none;
}

.hd-property-card {
  display: flex;
  flex: 0 0 calc((100% - 54px) / 4);
  flex-direction: column;
  overflow: hidden;
  margin: 0;
  background: var(--hd-white);
  border: 1px solid var(--hd-line);
  border-radius: 18px;
  box-shadow: 0 8px 25px rgb(22 43 70 / 5%);
  scroll-snap-align: start;
}

.hd-property-image {
  overflow: hidden;
  aspect-ratio: 1.075;
  margin: 0;
  background: #e9edf1;
}

.hd-property-image a {
  display: block;
}

.hd-property-image img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 320ms ease;
}

.hd-property-card:hover .hd-property-image img {
  transform: scale(1.025);
}

.hd-property-copy {
  display: flex;
  min-height: 162px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  padding: 18px 18px 20px;
}

.hd-property-copy h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.38;
}

.hd-property-copy p {
  margin: 0;
  color: var(--hd-muted);
  font-size: 0.86rem;
  line-height: 1.5;
}

.hd-property-location {
  margin-top: 8px !important;
}

.hd-property-meta {
  margin-top: auto !important;
  padding-top: 7px;
}

.hd-properties-cta {
  margin-top: 26px;
}

.hd-service-cards,
.hd-review-grid,
.hd-proof-grid {
  gap: 24px;
}

.hd-service-card,
.hd-review-card {
  overflow: hidden;
  padding: 34px;
  background: var(--hd-white);
  border: 1px solid var(--hd-line);
  border-radius: 22px;
  box-shadow: 0 15px 50px rgb(22 43 70 / 7%);
}

.hd-service-card .wp-block-image {
  margin: 0 0 30px;
}

.hd-service-card img {
  width: 115px;
  height: 115px;
  object-fit: contain;
}

.hd-service-card h3 {
  margin-bottom: 16px;
}

.hd-service-card p {
  color: var(--hd-muted);
}

.hd-proof-grid {
  align-items: stretch;
}

.hd-proof-grid > .wp-block-column {
  display: grid;
  min-height: 520px;
  place-items: center;
  padding: 18px;
  background: var(--hd-white);
  border: 1px solid var(--hd-line);
  border-radius: var(--hd-radius);
  box-shadow: 0 18px 50px rgb(22 43 70 / 8%);
}

.hd-proof-grid .wp-block-image {
  margin: 0;
}

.hd-proof-grid img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: contain;
}

.hd-review-card {
  padding: 0;
}

.hd-review-card .wp-block-video {
  margin: 0;
}

.hd-review-card video {
  display: block;
  width: 100%;
  aspect-ratio: 0.85;
  background: #101010;
  object-fit: cover;
}

.hd-review-card p {
  margin: 0;
  padding: 24px;
  color: var(--hd-muted);
}

.hd-review-card p strong {
  color: var(--hd-ink);
  font-size: 1.1rem;
}

.hd-booking {
  background: var(--hd-navy);
  color: var(--hd-white);
}

.hd-booking-columns {
  gap: clamp(45px, 7vw, 90px);
}

.hd-booking h2,
.hd-booking h3 {
  color: var(--hd-white);
}

.hd-booking-copy p:not(.hd-eyebrow) {
  max-width: 560px;
  color: rgb(255 255 255 / 70%);
}

.hd-calendar {
  min-height: 420px;
  overflow: hidden;
  background: var(--hd-white);
  color: var(--hd-ink);
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: var(--hd-radius);
  box-shadow: 0 24px 70px rgb(0 0 0 / 18%);
}

.hd-calendar-consent {
  display: grid;
  min-height: 420px;
  align-content: center;
  padding: clamp(32px, 5vw, 58px);
  text-align: center;
}

.hd-calendar-consent h3 {
  color: var(--hd-navy);
}

.hd-calendar-consent a:not(.wp-element-button) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hd-calendar-label {
  margin: 0;
  color: var(--hd-pink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hd-calendar-status {
  max-width: 390px;
  margin-inline: auto;
  color: var(--hd-muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.hd-calendar iframe {
  display: block;
  width: 100%;
  height: 760px;
  border: 0;
}

.hd-reveal-ready {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity 620ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--hd-reveal-delay, 0ms);
  will-change: opacity, transform;
}

.hd-reveal-ready.hd-is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

@media (max-width: 1000px) {
  .hd-hero-columns,
  .hd-service-columns {
    gap: 50px;
  }

  .hd-hero-visual {
    min-height: 500px;
  }

  .hd-hero-visual::before {
    width: min(104%, 540px);
  }

  .hd-hero-phone {
    width: min(112%, 590px);
  }

  .hd-service-art {
    min-height: 430px;
  }

  .hd-service-art img {
    width: 94%;
    max-height: 430px;
  }

  .hd-property-track {
    gap: 16px;
  }

  .hd-property-card {
    flex-basis: calc((100% - 32px) / 3);
  }
}

@media (max-width: 782px) {
  :root {
    --hd-section-space: 74px;
  }

  .hd-section {
    padding-right: 20px;
    padding-left: 20px;
  }

  .hd-hero {
    min-height: auto;
    padding-top: 95px;
  }

  .hd-hero-columns,
  .hd-service-columns,
  .hd-booking-columns {
    display: flex;
    flex-direction: column;
    gap: 42px;
  }

  .hd-hero-copy {
    width: 100%;
  }

  .hd-hero-visual {
    width: 100%;
    min-height: 410px;
  }

  .hd-hero-visual::before {
    width: min(88vw, 370px);
    border-radius: 28px;
  }

  .hd-hero-phone {
    width: min(92vw, 390px);
  }

  .hd-hero-phone img {
    max-height: 430px;
  }

  .hd-intro {
    text-align: left;
  }

  .hd-intro-text {
    margin: 24px 0 36px;
  }

  .hd-listing-preview {
    width: min(100%, 520px);
  }

  .hd-partner {
    padding-top: 55px;
  }

  .hd-partner-heading {
    text-align: left;
  }

  .hd-partner-heading h2 {
    text-align: left;
  }

  .hd-partner-badge {
    margin: 24px 0 35px;
  }

  .hd-partner-portraits {
    display: grid;
    width: min(100%, 430px);
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hd-service-art {
    width: 100%;
    min-height: 320px;
    padding: 35px;
  }

  .hd-service-art img {
    max-height: 260px;
  }

  .hd-service-copy {
    width: 100%;
  }

  .hd-service-actions {
    margin-top: 24px;
  }

  .hd-service-reverse .hd-service-art,
  .hd-service-reverse .hd-service-copy {
    order: initial;
  }

  .hd-service-detail-hero {
    min-height: auto;
    padding-top: 105px;
  }

  .hd-service-detail-hero h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hd-service-detail-hero .hd-service-art {
    min-height: 320px;
  }

  .hd-service-detail-content {
    box-sizing: border-box;
  }

  .hd-section-heading {
    margin-bottom: 36px;
  }

  .hd-section-heading,
  .hd-section-heading h2,
  .hd-section-heading p {
    text-align: left;
  }

  .hd-section-heading > p:not(.hd-eyebrow) {
    margin-left: 0;
  }

  .hd-carousel-controls {
    display: none;
  }

  .hd-property-track {
    width: auto;
    margin-right: -20px;
    margin-left: -20px;
    gap: 12px;
    padding: 2px 20px 18px;
    scroll-padding-left: 20px;
  }

  .hd-property-card {
    flex: 0 0 min(78vw, 310px);
  }

  .hd-property-copy {
    min-height: 140px;
    padding: 16px 16px 18px;
  }

  .hd-property-copy h3 {
    font-size: 0.88rem;
  }

  .hd-property-copy p {
    font-size: 0.78rem;
  }

  .hd-properties-cta {
    margin-top: 22px;
  }

  .hd-service-cards,
  .hd-review-grid,
  .hd-proof-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hd-service-card {
    padding: 25px;
  }

  .hd-service-card img {
    width: 92px;
    height: 92px;
  }

  .hd-proof-grid > .wp-block-column {
    min-height: 0;
  }

  .hd-proof-grid img {
    height: auto;
    max-height: none;
  }

  .hd-booking-copy,
  .hd-booking-columns > .wp-block-column {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hd-reveal-ready,
  .hd-reveal-ready.hd-is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
