/* Homepage: only what Bootstrap + site.css can't express. */

/* Section spacing */
.hm-pt-80 { padding-top: 80px; }
.hm-pt-64 { padding-top: 64px; }
.hm-pb-160 { padding-bottom: 160px; }
.hm-py-160 { padding-top: 160px; padding-bottom: 160px; }
@media (max-width: 767.98px) {
  .hm-pt-80 { padding-top: 48px; }
  .hm-pt-64 { padding-top: 40px; }
  .hm-pb-160 { padding-bottom: 96px; }
  .hm-py-160 { padding-top: 96px; padding-bottom: 96px; }
}

/* Photo hero (nav floats over it) */
/* 60% of the visitor's screen height (svh = the visible height on phones, without the address-bar jump); grows only if the quote needs more room. */
.hm-hero { background-color: var(--ink-2); background-image: linear-gradient(180deg, rgba(11,10,8,.25) 0%, rgba(11,10,8,.55) 45%, rgba(11,10,8,.82) 100%), url('../../img/hero.jpg'); background-size: cover; background-position: center; min-height: 60vh; min-height: 60svh; padding: clamp(96px, 12vh, 140px) 0 clamp(40px, 6vh, 96px); color: var(--cream); display: flex; flex-direction: column; justify-content: flex-end; }
.hm-stars { color: var(--star); font-size: 20px; letter-spacing: 5px; }
.hm-quote { margin: 18px 0 0; font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(30px, min(4.8vw, 5.4vh), 64px); line-height: 1.1; letter-spacing: -.015em; }
.btn-cream { --bs-btn-bg: var(--cream); --bs-btn-color: var(--ink); --bs-btn-border-color: var(--cream); --bs-btn-hover-bg: #fff; --bs-btn-hover-color: var(--ink); --bs-btn-hover-border-color: #fff; --bs-btn-active-bg: #fff; --bs-btn-active-color: var(--ink); }

/* Open-slot picker */
.hm-card { border-color: rgba(11,10,8,.13) !important; }
.hm-divider { width: 1px; height: 22px; background: rgba(11,10,8,.15); margin: 0 10px; }
.hm-slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; }
.hm-slot { font-family: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 12px; padding: 18px 18px 16px; border-radius: 18px; border: 1px solid rgba(11,10,8,.14); background: #fff; color: var(--ink); }
.hm-slot:hover { border-color: var(--ink); }
/* Earliest opening: brand coral (the deep shade keeps cream text readable). */
.hm-slot.is-first { background: var(--coral-deep); border-color: var(--coral-deep); color: var(--cream); }
.hm-slot.is-first:hover { border-color: var(--ink); }
.hm-slot-time { font-family: var(--serif); font-size: 32px; line-height: 1; }
.hm-slot-time small { font-size: 16px; opacity: .6; }
.hm-slot img { width: 28px; height: 28px; border-radius: 999px; object-fit: cover; display: block; flex: none; }
.hm-faces { display: flex; flex: none; }
.hm-faces img + img { margin-left: -10px; box-shadow: 0 0 0 2px #fff; }
.hm-slot.is-first .hm-faces img + img { box-shadow: 0 0 0 2px var(--coral-deep); }
.hm-empty { padding: 40px 24px; border-radius: 18px; border: 1px dashed rgba(11,10,8,.28); }

/* Map callout */
.hm-map { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--line-soft); min-height: 600px; padding: 32px; display: flex; align-items: flex-start; background-color: #DDE8E1; background-image: repeating-linear-gradient(115deg, rgba(11,10,8,.06) 0 1px, transparent 1px 9px), repeating-linear-gradient(25deg, rgba(11,10,8,.04) 0 1px, transparent 1px 13px); }
/* Map pin: zero-size marker, dot centred on the point, tag above it. */
.hm-pin-icon { width: 0; height: 0; }
.hm-pin { position: absolute; left: 0; top: 0; width: max-content; transform: translate(-50%, calc(-100% + 8px)); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); }
.hm-map .maplibregl-map { font-family: inherit; background: #EEF1EC; }
.hm-map-credit { position: absolute; left: 0; bottom: 0; font-size: 11px; line-height: 1.4; padding: 3px 8px; background: rgba(255,255,255,.8); border-radius: 0 8px 0 0; color: rgba(11,10,8,.7); }
.hm-map-credit a { color: inherit; }
.hm-pin-tag { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 999px; padding: 8px 16px 8px 8px; box-shadow: 0 10px 30px rgba(11,10,8,.18); font-size: 14px; font-weight: 600; white-space: nowrap; }
.hm-ref { position: absolute; left: 0; top: 0; width: max-content; transform: translate(-4px, -50%); display: flex; align-items: center; gap: 6px; }
.hm-ref.is-beside { transform: translate(16px, calc(-50% + 45px)); }
.hm-ref.is-market { transform: translate(3px, calc(-50% - 4px)); }
.hm-ref-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(11,10,8,.4); flex-shrink: 0; }
.hm-ref-tag { font-size: 12px; font-weight: 500; white-space: nowrap; color: rgba(11,10,8,.55); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; }
.hm-pin-dot { width: 16px; height: 16px; border-radius: 999px; background: var(--coral); box-shadow: 0 0 0 6px rgba(217,96,74,.25); }
.hm-map-open { position: absolute; right: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 12px 20px; font-size: 14px; font-weight: 600; min-height: 44px; box-shadow: 0 6px 20px rgba(11,10,8,.12); }
.hm-map-card { position: relative; width: 100%; max-width: 430px; background: #fff; border-radius: 22px; padding: 36px 34px; box-shadow: 0 20px 60px rgba(11,10,8,.14); }
.hm-hours > li { padding: 11px 0; }
@media (max-width: 759.98px) {
  .hm-map { padding: 16px; padding-bottom: 300px; }
  .hm-map-card { padding: 28px 24px; }
  .hm-map-embed { top: auto !important; height: 300px !important; bottom: 0; }
}

/* Price strip */
.hm-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(11,10,8,.2); }
.hm-prices > div { padding: 20px 4px 0; }
.hm-prices > div + div { border-left: 1px solid rgba(11,10,8,.2); padding-left: 18px; }
.hm-price { font-family: var(--serif); font-size: clamp(30px, 3vw, 44px); margin-top: 8px; }

/* Services list */
.hm-head-rule { padding-bottom: 28px; border-bottom: 1px solid rgba(11,10,8,.2); }
.hm-svc { color: var(--ink); display: flex; align-items: center; gap: 20px; padding: 22px 4px; border-bottom: 1px solid rgba(11,10,8,.12); height: 100%; }
.hm-svc:hover { color: var(--ink); }
.hm-svc-name { font-family: var(--serif); font-size: 25px; line-height: 1.1; }
.hm-svc-line { display: block; font-size: 14.5px; opacity: .75; margin-top: 4px; }
/* Same inline bars + word as the services page. */
.hm-svc-pressure { flex: none; width: 128px; display: flex; }

/* Gift card visual */
/* Same photo and charcoal wash as the gift card preview on /gift-cards. */
.hm-gift { aspect-ratio: 3 / 2; border-radius: 18px; background-color: var(--ink-2); background-image: linear-gradient(180deg, rgba(28, 25, 22, .15) 0%, rgba(28, 25, 22, .78) 78%), url('../../img/gift-cards-shoulder-massage.jpg'); background-size: cover; background-position: 54% 40%; position: relative; display: flex; flex-direction: column; justify-content: center; padding: 24px; color: var(--cream); }
.hm-gift img { position: absolute; top: 24px; left: 24px; width: 150px; height: auto; display: block; }
.hm-gift-kicker { display: block; font-size: 20px; letter-spacing: .3em; text-transform: uppercase; font-weight: 600; color: var(--coral-light); }
.hm-gift-line { display: block; margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }

/* Reviews */
.hm-review { margin: 0; padding: 30px 30px 26px; display: flex; flex-direction: column; gap: 18px; height: 100%; }
.hm-review blockquote { margin: 0; flex: 1; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.45; }
.hm-review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(11,10,8,.08); }
.hm-avatar { width: 40px; height: 40px; flex: none; border-radius: 999px; display: flex; align-items: center; justify-content: center; background: #F6EEE6; color: rgba(11,10,8,.45); }

/* Therapist strip: 7 across, horizontal scroll on smaller screens */
/* Seventh-width cards; auto-fit drops the empty tracks so any number of therapists sits centred. */
.hm-team { display: grid; grid-template-columns: repeat(auto-fit, calc((100% - 120px) / 7)); justify-content: center; gap: 20px; }
.hm-team a { color: var(--ink); display: flex; flex-direction: column; gap: 12px; text-align: center; }
.hm-team img { width: 100%; aspect-ratio: 1 / 1; border-radius: 999px; object-fit: cover; display: block; filter: grayscale(1); }
@media (max-width: 959.98px) {
  .hm-team { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 128px; overflow-x: auto; padding-bottom: 8px; }
}

/* Phones */
@media (max-width: 575.98px) {
  /* The day and therapist filters wrap onto two lines; the divider between them would dangle at the end of the first. */
  .hm-divider { display: none; }
  /* Today's times: the first eight, then "See the full schedule". */
  .hm-slots > :nth-child(n+9) { display: none; }
  /* The gift card is short on a phone: line at the bottom so it clears the logo. */
  .hm-gift { justify-content: flex-end; padding: 18px; }
  .hm-gift img { top: 18px; left: 18px; width: 120px; }
  .hm-gift-kicker { font-size: 15px; }
}
