/* Hero Banner */

:root {
  --hero-dark: #171a18;
  --hero-text: #ffffff;
  --hero-muted: rgba(255, 255, 255, 0.82);
  --hero-border: rgba(255, 255, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0 20px;
  background: #ffffff;
  color: #171a18;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

/*
        |--------------------------------------------------------------------------
        | Only Hero / Banner
        |--------------------------------------------------------------------------
        */

.home-massage-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(560px, 78vh, 780px);
  overflow: hidden;
  background: var(--hero-dark);
}

/*
        Image itself is used instead of CSS background-image.
        This is better for image discovery and gives the browser
        explicit image dimensions / loading priority.
        */

.home-massage-hero__media {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.home-massage-hero__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/*
        Dark overlay keeps text readable while preserving the image.
        */

.home-massage-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(
    90deg,
    rgba(13, 17, 15, 0.82) 0%,
    rgba(13, 17, 15, 0.68) 38%,
    rgba(13, 17, 15, 0.34) 68%,
    rgba(13, 17, 15, 0.18) 100%
  );
}

/*
        Subtle bottom transition.
        */

.home-massage-hero__bottom-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  z-index: -1;
  background: linear-gradient(to bottom, transparent, rgba(13, 17, 15, 0.18));
  pointer-events: none;
}

/*
        Main content container
        */

.home-massage-hero__container {
  min-height: clamp(560px, 78vh, 780px);
  display: flex;
  align-items: center;
}

/*
        Content intentionally doesn't stretch across the whole banner.
        This leaves the image visible and gives the section a true
        hero/banner composition.
        */

.home-massage-hero__content {
  width: min(100%, 680px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.home-massage-hero__title {
  max-width: 650px;
  margin: 0;
  color: var(--hero-text);
  font-size: clamp(2.5rem, 5vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 700;
  text-wrap: balance;
  text-align: center;
}

.home-massage-hero__description {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--hero-muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  line-height: 1.75;
  text-wrap: pretty;
}

/*
        CTA group
        */

.home-massage-hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.home-massage-hero__button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 23px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  line-height: 1;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.home-massage-hero__button:hover {
  transform: translateY(-1px);
}

.home-massage-hero__button:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.75);
  outline-offset: 3px;
}

.home-massage-hero__button--primary {
  background: #ffffff;
  color: #1b211e;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
}

.home-massage-hero__button--primary:hover {
  background: #f3f3f1;
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.2);
}

.home-massage-hero__button--secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: var(--hero-border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-massage-hero__button--secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
}

/*
        Supporting text
        */

.home-massage-hero__supporting {
  max-width: 600px;
  margin: 23px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.875rem;
  line-height: 1.6;
}

.home-massage-hero p{
  text-align-last: center;
}

/*
        Mobile
        */

@media (max-width: 767px) {
  body{
    padding: 0 8px;
  }
  
  .home-massage-hero,
  .home-massage-hero__container {
    min-height: 680px;
  }

  .home-massage-hero__image {
    object-position: 58% center;
  }

  .home-massage-hero__overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 17, 15, 0.32) 0%,
      rgba(13, 17, 15, 0.58) 38%,
      rgba(13, 17, 15, 0.86) 100%
    );
  }

  .home-massage-hero__container {
    align-items: flex-end;
  }

  .home-massage-hero__content {
    padding-top: 48px;
    padding-bottom: 42px;
  }

  .home-massage-hero__title {
    font-size: clamp(2.35rem, 11vw, 3.6rem);
    line-height: 1.06;
    letter-spacing: -0.04em;
  }

  .home-massage-hero__description {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-massage-hero__actions {
    width: 100%;
    margin-top: 28px;
  }

  .home-massage-hero__button {
    flex: 1 1 100%;
    width: 100%;
  }

  .home-massage-hero__supporting {
    margin-top: 20px;
  }
}

/*
        Reduced motion accessibility
        */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .home-massage-hero__button {
    transition: none;
  }
}


    