/* ==============================================
   STYLES: pages/home.css
   Home page specific styles
   ============================================== */


/* --- Hero --- */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-4xl) var(--gutter) var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(250, 248, 245, 0.75) 0%,
    rgba(250, 248, 245, 0.55) 40%,
    rgba(250, 248, 245, 0.80) 100%
  );
}

.hero__content {
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  margin-bottom: var(--space-md);
}

.hero__headline {
  margin-bottom: var(--space-md);
}

.hero__subline {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-xl);
}

.hero__cta {
  margin-top: var(--space-sm);
}

.btn--hero {
  padding: 16px 40px;
  font-size: var(--text-sm);
}


/* --- Value Proposition --- */

.value-prop {
  text-align: center;
}

.value-prop__heading {
  margin-bottom: var(--space-sm);
}

.value-prop__statement {
  font-family: var(--font-display);
  font-size: clamp(var(--text-lg), 2vw, var(--text-xl));
  color: var(--color-text-muted);
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
  font-weight: var(--weight-light);
}


/* --- Treatment Highlights --- */

.treatments-section__header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.treatments-section__eyebrow {
  margin-bottom: var(--space-sm);
}


/* --- Philosophy Preview --- */

.philosophy-preview {
  text-align: center;
  max-width: var(--max-width-text);
  margin-left: auto;
  margin-right: auto;
}

.philosophy-preview__heading {
  margin-bottom: var(--space-sm);
}

.philosophy-preview__divider {
  margin: var(--space-md) auto;
}

.philosophy-preview__excerpt {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: var(--weight-light);
  font-style: italic;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}


/* --- Trust Section --- */

.trust-section {
  text-align: center;
}

.trust-section__header {
  margin-bottom: var(--space-xl);
}

.trust-section__grid {
  text-align: left;
}


/* --- Image Break --- */

.image-break {
  width: 100%;
  height: 40vh;
  min-height: 280px;
  max-height: 500px;
  overflow: hidden;
  position: relative;
}

.image-break__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}


/* --- Hero animations --- */

@keyframes heroFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__eyebrow,
.hero__headline,
.hero__subline,
.hero__cta {
  animation: heroFadeIn var(--duration-slow) var(--ease-out) forwards;
  opacity: 0;
}

.hero__eyebrow  { animation-delay: 0.1s; }
.hero__headline { animation-delay: 0.25s; }
.hero__subline  { animation-delay: 0.4s; }
.hero__cta      { animation-delay: 0.55s; }
