/*---------------------------------------------------
  Indy Home Page
----------------------------------------------------*/
#home-blog .btn.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
}

#home-blog .text-center.mt-4 .btn.btn-secondary {
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #eef1f5;
  color: #111827;
  box-shadow: none;
}

[data-home-blog-feed] > [data-home-blog-card] .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.78rem 1.35rem;
  border-radius: 999px;
}

#home-blog .text-center.mt-4 .btn.btn-secondary:hover,
#home-blog .text-center.mt-4 .btn.btn-secondary:focus-visible {
  background: #e5e9ee;
  color: #111827;
  border-color: rgba(15, 23, 42, 0.12);
}

[data-home-blog-feed] > [data-home-blog-card] .btn:hover,
[data-home-blog-feed] > [data-home-blog-card] .btn:focus-visible {
  box-shadow: var(--shadow-action-hover);
}

#home-blog .text-center.mt-4 {
  margin-top: 1.5rem !important;
}

/* Tag top-left, bookmark top-right */
#home-therapist-promo-grid .therapist-promo-card-tag {
  top: 12px;
  left: 12px;
  right: auto;
  bottom: auto;
  justify-content: flex-start;
}

#home-therapist-promo-grid .therapist-bookmark-btn {
  left: auto;
  right: 0.75rem;
}

@media (max-width: 767.98px) {
  #home-therapist-promo-grid .therapist-promo-pill {
    font-size: 0.62rem;
    padding: 0.18rem 0.45rem;
    min-height: auto;
  }

}

.home-section-title {
  color: var(--text-primary) !important;
}

body.home-page {
  --ims-section-hero-y: clamp(4.5rem, 6.2vw, 7.5rem);
  --ims-section-regular-y: clamp(3rem, 4.6vw, 5.5rem);
  --ims-section-luxe-y: clamp(4rem, 6.4vw, 8.2rem);
}

body.home-page #main-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
}

html.theme-dark body.home-page #main-header {
  background: rgba(10, 18, 30, 0.82);
}

body.home-page .ims-home-section {
  position: relative;
  overflow: clip;
}

body.home-page .ims-home-section-hero {
  padding-top: var(--ims-section-hero-y);
  padding-bottom: calc(var(--ims-section-hero-y) - 1rem);
}

body.home-page .ims-home-section-regular {
  padding-top: var(--ims-section-regular-y);
  padding-bottom: var(--ims-section-regular-y);
}

body.home-page .ims-home-section-luxe {
  padding-top: var(--ims-section-luxe-y);
  padding-bottom: var(--ims-section-luxe-y);
}

@media (max-width: 767.98px) {
  body.home-page {
    --ims-section-hero-y: clamp(3.8rem, 14vw, 5.2rem);
    --ims-section-regular-y: clamp(2.2rem, 8.8vw, 3.1rem);
    --ims-section-luxe-y: clamp(2.9rem, 11.4vw, 4.2rem);
  }
}

body.home-page .home-hero-surface {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, #fbfcfe 0%, #f3f8fd 48%, #ffffff 100%);
  min-height: clamp(28rem, 64vh, 38rem);
}

html.theme-dark body.home-page .home-hero-surface {
  background: linear-gradient(180deg, #122033 0%, #0f1d2f 48%, #0b1727 100%);
}

.home-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.home-hero-media--mobile {
  display: none;
}

.home-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 1;
}

body.home-page .home-hero-surface > .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}

body.home-page .home-hero-surface::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: none;
}

html.theme-dark body.home-page .home-hero-surface::before {
  background: none;
}

body.home-page .home-hero-surface > .container {
  max-width: 1160px;
}

body.home-page .home-hero-surface .row {
  width: 100%;
  justify-content: center;
  align-items: center;
}

.home-hero-copy-shell {
  display: flex;
  flex-direction: column;
  gap: clamp(0.58rem, 1.05vw, 0.82rem);
  max-width: min(50rem, 100%);
  margin-inline: auto;
  text-align: center;
  padding: clamp(1.55rem, 3vw, 2.35rem) clamp(1.25rem, 3.4vw, 3rem);
  border-radius: clamp(1.4rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

html.theme-dark .home-hero-copy-shell {
  background: rgba(8, 16, 28, 0.66);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 18px 40px rgba(2, 8, 20, 0.42);
}

.home-hero-copy-shell .lead,
.home-hero-copy-shell .text-muted {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.home-hero-kicker {
  color: #254a78;
  font-size: clamp(0.66rem, 0.95vw, 0.82rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1.6;
}

.home-hero-kicker span,
.home-hero-trustline span {
  color: #c99a3e;
  padding-inline: 0.35rem;
}

.home-hero-title {
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: clamp(3rem, 6vw, 5.25rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.home-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0.5rem;
}

.home-hero-divider span {
  display: block;
  width: clamp(3.5rem, 8vw, 5.75rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, #c99a3e 16%, #c99a3e 84%, transparent);
}

.home-hero-divider--lotus span {
  position: relative;
  width: clamp(10rem, 30vw, 18rem);
}

.home-hero-divider--lotus span::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0.75rem;
  height: 0.75rem;
  border: 2px solid #c99a3e;
  border-radius: 70% 70% 55% 55%;
  background: rgba(255, 255, 255, 0.82);
  transform: translate(-50%, -50%) rotate(45deg);
}

.home-hero-lead {
  display: grid;
  gap: 0.55rem;
  margin-inline: auto;
  max-width: 43rem;
}

.home-hero-subheadline {
  color: var(--text-primary);
  font-size: clamp(1.22rem, 2.15vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

.home-hero-support {
  color: #315171;
  font-size: clamp(0.96rem, 1.28vw, 1.1rem);
  font-weight: 500;
  line-height: 1.5;
}

.home-hero-actions {
  margin-top: clamp(0.35rem, 1vw, 0.9rem);
}

.home-hero-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-width: min(100%, 13.8rem);
  min-height: 3.05rem;
  padding: 0.75rem 1.3rem;
  border-radius: 999px;
}

.home-hero-action-btn span {
  font-size: 1.18em;
  line-height: 1;
  transition: transform 0.2s ease;
}

.home-hero-action-btn:hover span,
.home-hero-action-btn:focus-visible span {
  transform: translateX(0.18rem);
}

.home-hero-trustline {
  color: #254a78;
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 600;
  line-height: 1.6;
}

html.theme-dark .home-hero-kicker,
html.theme-dark .home-hero-support,
html.theme-dark .home-hero-trustline {
  color: #cfe3ff;
}

html.theme-dark .home-hero-title,
html.theme-dark .home-hero-subheadline {
  color: #ffffff;
}

html.theme-dark .home-hero-divider--lotus span::before {
  background: rgba(8, 16, 28, 0.84);
}

body.home-page .home-hero-surface .btn-outline-primary {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(11, 99, 206, 0.24);
  color: var(--text-primary);
  box-shadow: var(--shadow-surface);
}

body.home-page .home-hero-surface .btn-outline-primary:hover,
body.home-page .home-hero-surface .btn-outline-primary:focus-visible {
  background: rgba(231, 241, 255, 0.95);
  border-color: rgba(11, 99, 206, 0.4);
  color: var(--text-primary);
}

html.theme-dark body.home-page .home-hero-surface .btn-outline-primary {
  background: rgba(11, 22, 34, 0.72);
  border-color: rgba(96, 165, 250, 0.28);
  color: #eaf3ff;
  box-shadow: var(--shadow-surface);
}

html.theme-dark body.home-page .home-hero-surface .btn-outline-primary:hover,
html.theme-dark body.home-page .home-hero-surface .btn-outline-primary:focus-visible {
  background: rgba(17, 31, 49, 0.92);
  border-color: rgba(96, 165, 250, 0.46);
  color: #ffffff;
}

body.home-page .home-welcome-surface {
  background:
    radial-gradient(980px 360px at 14% -10%, rgba(11, 99, 206, 0.08), transparent 64%),
    linear-gradient(180deg, #fcfdff 0%, #f8fbff 52%, #ffffff 100%);
}

html.theme-dark body.home-page .home-welcome-surface {
  background:
    radial-gradient(980px 380px at 12% -10%, rgba(96, 165, 250, 0.24), transparent 63%),
    linear-gradient(180deg, #1a314d 0%, #14283f 52%, #0f1e31 100%);
}

.home-welcome-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.home-welcome-kicker {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-blue);
}

.home-welcome-title {
  color: var(--text-primary);
}

.home-benefit-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.home-benefit-list li {
  position: relative;
  padding-left: 2.1rem;
  min-height: 1.55rem;
  display: flex;
  align-items: center;
}

.home-benefit-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.45rem;
  height: 1.45rem;
  border-radius: 999px;
  display: block;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(11, 99, 206, 0.22);
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.16);
}

html.theme-dark .home-benefit-list li::before {
  background: rgba(11, 24, 39, 0.72);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.45);
}

.home-benefit-list li::after {
  content: "";
  position: absolute;
  left: 0.47rem;
  top: 50%;
  width: 0.42rem;
  height: 0.42rem;
  border-top: 0.12rem solid var(--color-blue);
  border-right: 0.12rem solid var(--color-blue);
  transform: translateY(-50%) rotate(45deg);
}

.home-welcome-closer {
  margin-top: 1.35rem;
  font-weight: 600;
  color: var(--text-primary);
}

body.home-page .home-therapists-surface {
  background:
    radial-gradient(1020px 360px at 86% -12%, rgba(58, 111, 73, 0.13), transparent 62%),
    linear-gradient(180deg, rgba(58, 111, 73, 0.05) 0%, rgba(255, 255, 255, 0.94) 100%);
}

html.theme-dark body.home-page .home-therapists-surface {
  background:
    radial-gradient(1020px 360px at 86% -12%, rgba(110, 231, 183, 0.14), transparent 62%),
    linear-gradient(180deg, rgba(11, 22, 34, 0.95) 0%, rgba(8, 16, 28, 0.98) 100%);
}

@media (min-width: 992px) {
  body.home-page .home-therapists-surface,
  body.home-page .home-services-surface {
    padding-top: clamp(5rem, 8vw, 7rem);
    padding-bottom: clamp(5rem, 8vw, 7rem);
  }
}

.home-box-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.74rem 1.22rem;
  border-radius: var(--radius-card);
  border: var(--surface-card-border);
  background: rgba(255, 255, 255, 0.88);
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-surface);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-box-cta:hover,
.home-box-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(11, 99, 206, 0.42);
}

html.theme-dark .home-box-cta {
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(148, 163, 184, 0.35);
  color: #eaf3ff;
  box-shadow: 0 14px 30px rgba(2, 8, 20, 0.36);
}

.home-therapists-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.home-box-cta-primary {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
  box-shadow: var(--shadow-action);
}

.home-box-cta-primary:hover,
.home-box-cta-primary:focus-visible {
  background: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  color: #fff;
  box-shadow: var(--shadow-action-hover), var(--focus-ring-action);
}

html.theme-dark .home-box-cta-primary {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: #fff;
}

#home-therapist-promo-grid + .col-12,
#home-therapist-promo-grid + .text-center,
.home-therapists-surface .home-box-cta {
  margin-top: 1.35rem;
}

.home-therapists-surface .home-therapists-cta-row .home-box-cta {
  margin-top: 0;
}

.blog-article .home-therapists-surface--article-breakout {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
  border-radius: 0;
}

.blog-article .home-therapists-surface--article-breakout .container {
  max-width: 1320px;
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}


.home-box-cta-secondary {
  background: rgba(246, 249, 253, 0.96);
  border-color: #bfccdd;
  color: var(--text-primary);
}

.home-box-cta-secondary:hover,
.home-box-cta-secondary:focus-visible {
  background: rgba(231, 241, 255, 0.98);
  border-color: #9bc2f1;
}

html.theme-dark .home-box-cta-secondary {
  background: rgba(12, 21, 34, 0.84);
  border-color: rgba(148, 163, 184, 0.42);
  color: #eaf3ff;
}

html.theme-dark .home-box-cta-secondary:hover,
html.theme-dark .home-box-cta-secondary:focus-visible {
  background: rgba(18, 31, 49, 0.9);
  border-color: rgba(96, 165, 250, 0.58);
}

.home-box-cta-outline {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--color-blue);
  color: var(--color-blue);
}

.home-box-cta-outline:hover,
.home-box-cta-outline:focus-visible {
  background: rgba(11, 99, 206, 0.06);
  border-color: var(--color-blue-hover);
  color: var(--color-blue-hover);
}

html.theme-dark .home-box-cta-outline {
  background: rgba(11, 19, 32, 0.84);
  border-color: rgba(96, 165, 250, 0.7);
  color: rgba(96, 165, 250, 0.9);
}

html.theme-dark .home-box-cta-outline:hover,
html.theme-dark .home-box-cta-outline:focus-visible {
  border-color: rgba(96, 165, 250, 1);
  color: #fff;
}

body.home-page .home-services-surface {
  background:
    radial-gradient(1200px 430px at 92% -12%, rgba(11, 99, 206, 0.12), transparent 63%),
    linear-gradient(180deg, rgba(11, 99, 206, 0.05) 0%, rgba(255, 255, 255, 0.92) 100%);
}

html.theme-dark body.home-page .home-services-surface {
  background:
    radial-gradient(1200px 430px at 88% -12%, rgba(96, 165, 250, 0.2), transparent 63%),
    linear-gradient(180deg, rgba(11, 19, 32, 0.95) 0%, rgba(10, 17, 29, 0.98) 100%);
}

.home-service-cards .services-v2-therapeutic-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  height: auto;
}

/* Media fills full card — text overlays on top */
.home-service-cards .services-grid-media {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
}

.home-service-cards .services-grid-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-service-cards .services-v2-therapeutic-card:hover .services-grid-media img {
  transform: scale(1.05);
}

/* Text pinned to bottom, gradient scrim for readability */
.home-service-cards .services-grid-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(7, 10, 20, 0.68) 0%, transparent 100%);
}

.home-service-cards .services-card-title {
  margin: 0;
  font-size: 1.06rem;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.home-benefits-section {
  position: relative;
  isolation: auto;
  overflow: visible;
  min-height: 0;
  background-image: url("/assets/images/spa-hero-background-2000.webp");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: auto;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.home-benefits-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(247, 252, 255, 0.32) 0%, rgba(247, 252, 255, 0.52) 100%);
}

html.theme-dark .home-benefits-overlay {
  background:
    linear-gradient(180deg, rgba(6, 12, 22, 0.26) 0%, rgba(6, 12, 22, 0.5) 100%);
}

.card-luxe {
  padding: 1.45rem 1.25rem;
  border-radius: 16px;
}

.home-benefits-inner {
  position: relative;
  z-index: 8;
  padding-bottom: clamp(1.2rem, 2.6vw, 2.4rem);
}

.home-benefits-section .row {
  position: relative;
  z-index: auto;
}

.home-benefits-grid-row {
  position: relative;
  z-index: 9;
}

.home-benefits-grid-row > [class*="col-"] {
  display: flex;
}

.home-benefit-card h3 {
  color: var(--text-primary);
}

.home-benefit-card p {
  color: var(--text-muted);
}

.home-benefit-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 0.52rem;
  height: auto !important;
  min-height: clamp(190px, 18vw, 250px);
  opacity: 1 !important;
  visibility: visible !important;
  background: rgba(255, 255, 255, 0.78) !important;
  border: 1px solid rgba(255, 255, 255, 0.45) !important;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16) !important;
  position: relative;
  z-index: 10;
  width: 100%;
}

body.home-page #reviews {
  position: relative;
  z-index: 1;
  clear: both;
  margin-top: 0;
  background: transparent !important;
}

@supports (content-visibility: auto) {
  body.home-page #welcome,
  body.home-page #therapists,
  body.home-page #services,
  body.home-page #benefits,
  body.home-page #reviews,
  body.home-page #booking,
  body.home-page #home-blog,
  body.home-page #faq {
    content-visibility: auto;
    contain-intrinsic-size: 900px;
  }
}

.home-benefit-icon {
  width: 2.45rem;
  height: 2.45rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(11, 99, 206, 0.22);
  box-shadow: 0 8px 18px rgba(11, 99, 206, 0.18);
}

.home-benefit-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html.theme-dark .home-benefit-icon {
  background: rgba(12, 22, 36, 0.8);
  border-color: rgba(96, 165, 250, 0.42);
  box-shadow: 0 8px 18px rgba(2, 8, 20, 0.45);
}

html.theme-dark .home-benefit-card {
  background: rgba(10, 19, 32, 0.82) !important;
  border-color: rgba(148, 163, 184, 0.34) !important;
  box-shadow: 0 16px 30px rgba(2, 8, 20, 0.5) !important;
}

.home-book-online-cta {
  position: relative;
  overflow: hidden;
  padding-top: clamp(4.75rem, 8vw, 7rem);
  padding-bottom: clamp(4.75rem, 8vw, 7rem);
  color: #fff;
  background:
    radial-gradient(780px 300px at 16% 0%, rgba(255, 255, 255, 0.22), transparent 62%),
    radial-gradient(620px 260px at 86% 100%, rgba(96, 165, 250, 0.28), transparent 58%),
    linear-gradient(135deg, #0754b5 0%, #0b63ce 52%, #063f86 100%);
}

.home-book-online-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), transparent 34%, rgba(255, 255, 255, 0.08));
  opacity: 0.72;
}

.home-book-online-inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.home-book-online-kicker {
  display: inline-flex;
  margin-bottom: 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.home-book-online-cta h2 {
  color: #fff;
}

.home-book-online-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.home-book-online-btn {
  min-width: min(100%, 230px);
  color: var(--color-blue);
  font-weight: 800;
  border: 0;
  box-shadow: 0 18px 38px rgba(2, 8, 20, 0.24);
}

.home-book-online-btn:hover,
.home-book-online-btn:focus-visible {
  color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(2, 8, 20, 0.3);
}

.home-book-online-note {
  margin-top: 1.4rem;
  font-size: 0.96rem;
  font-weight: 600;
}

@media (max-width: 991.98px) {
  .home-benefits-section {
    min-height: 0;
    background-attachment: scroll;
  }

  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
    overscroll-behavior-y: contain;
  }

  body > * {
    max-width: 100%;
  }

  body.home-page #booking .btn[style*="min-width"] {
    min-width: 0 !important;
    width: 100%;
    max-width: 100%;
  }

  body.home-page #booking .d-flex {
    max-width: 100%;
  }

  body.home-page #booking .d-flex > a {
    max-width: 100%;
  }

  body.home-page #booking .d-flex > a .d-flex {
    flex-wrap: wrap;
    justify-content: center;
  }

  body.home-page #booking .d-flex > a span {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}

@media (max-width: 767.98px) {
  .home-hero-media--desktop {
    display: none;
  }

  .home-hero-media--mobile {
    display: block;
    opacity: 0;
    transition: opacity 0.35s ease;
  }

  .home-hero-media--mobile.is-ready {
    opacity: 1;
  }

  .home-hero-media--mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 1;
  }

  body.home-page .home-hero-surface {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  }

  body.home-page .home-hero-surface::before {
    background-image: none;
  }

  .home-hero-copy-shell {
    gap: 0.78rem;
    padding: 1.6rem 1rem 1.7rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .home-hero-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .home-hero-title {
    font-size: clamp(3rem, 14vw, 4.35rem);
    letter-spacing: -0.06em;
  }

  .home-hero-divider--lotus span {
    width: min(14rem, 78vw);
  }

  .home-hero-subheadline {
    font-size: clamp(1.28rem, 6vw, 1.75rem);
  }

  .home-hero-support {
    font-size: 0.98rem;
  }

  .home-hero-trustline {
    font-size: 0.9rem;
  }

  html.theme-dark .home-hero-copy-shell {
    background: rgba(13, 20, 33, 0.92);
    border-color: rgba(148, 163, 184, 0.14);
    box-shadow: 0 12px 28px rgba(2, 8, 20, 0.3);
  }

  .home-hero-actions {
    gap: 0.85rem !important;
    width: 100%;
  }

  .home-hero-action-btn {
    width: min(100%, 18.5rem);
    min-height: 3.45rem;
    padding: 0.9rem 1.2rem;
    justify-content: center;
  }

  .home-benefits-section {
    padding-bottom: calc(var(--ims-section-luxe-y) + 2rem);
  }

  body.home-page #reviews {
    padding-top: calc(var(--ims-section-regular-y) + 0.75rem);
  }

  [data-home-blog-feed] {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-inline: 0;
    margin-left: 0;
    margin-right: 0;
    justify-content: flex-start !important;
  }

  [data-home-blog-feed]::-webkit-scrollbar {
    display: none;
  }

  [data-home-blog-feed] > [data-home-blog-card],
  [data-home-blog-feed] > [data-blog-card] {
    flex: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
  }

  [data-home-blog-feed] > [data-home-blog-card]:nth-child(n+3),
  [data-home-blog-feed] > [data-blog-card]:nth-child(n+3) {
    display: none !important;
  }

  [data-home-blog-feed] > [data-home-blog-card] .card {
    border-radius: 1rem;
  }

  [data-home-blog-feed] > [data-home-blog-card] .blog-card-media {
    aspect-ratio: 1 / 0.72;
  }

  [data-home-blog-feed] > [data-home-blog-card] .card-body {
    padding: 0.78rem;
  }

  [data-home-blog-feed] > [data-home-blog-card] .h5 {
    font-size: 0.92rem;
    line-height: 1.18;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  [data-home-blog-feed] > [data-home-blog-card] .update-card-date,
  [data-home-blog-feed] > [data-home-blog-card] p {
    display: none;
  }

  [data-home-blog-feed] > [data-home-blog-card] .btn {
    min-height: 2.35rem;
    padding: 0.55rem 0.7rem;
    font-size: 0.78rem;
    white-space: normal;
  }

  body.home-page #booking .contact-book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    padding-inline: 0;
  }

  body.home-page #booking .contact-book-card {
    width: 100% !important;
    max-width: none;
    margin-inline: 0;
  }
}

/* ── Gallery CTA shine sweep (mirrors pswp-btn-shine in pages-gallery.css) ── */
@keyframes home-cta-shine {
  0%   { transform: translateX(-120%) skewX(-15deg); }
  100% { transform: translateX(320%) skewX(-15deg); }
}

.home-box-cta-shine {
  position: relative;
  overflow: hidden;
}

.home-box-cta-shine::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(255, 255, 255, 0.28) 50%,
    transparent 100%
  );
  animation: home-cta-shine 2.2s ease-in-out infinite;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .home-box-cta-shine::after { animation: none; display: none; }
}
