/* =============================================================
   Rocky Mountain District — Homepage Styles
   Color palette drawn from design:
     --sage:       #5F8070  (hero background)
     --terracotta: #C4614A  (section backgrounds, accents)
     --cream:      #F5F0E8  (light sections)
     --grey:       #EBEBEB
     --dark:       #1A1A1A
   ============================================================= */

/* =============================================================
   SHARED BLOCK STYLES
   ============================================================= */

.block {
  width: 100%;
}

.richtext p { margin-bottom: 1em; line-height: 1.3; }
.richtext p:last-child { margin-bottom: 0; }

/* =============================================================
   HERO BANNER BLOCK
   ============================================================= */

.hero-banner {
  position: relative;
  background-size: cover;
  background-position: center top;
  padding: 6rem 2rem;
  text-align: center;
  color: var(--white);
}

.hero-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-banner__inner {
  position: relative;
  z-index: 1;
}

.hero .hero__text{
  max-width: 960px;
}

.hero-banner__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 1.5rem;
}

/* =============================================================
   RESPONSIVE Home
   ============================================================= */


/* =============================================================
   BUTTONS
   ============================================================= */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn--primary {
  background: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn--primary:hover {
  background: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.15); }

.btn--outline-dark {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
}
.btn--outline-dark:hover {
  background: var(--terracotta);
  color: var(--white);
}

.btn--sage{
  background: var(--sage);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  font-size: 0.7rem;
}
.btn--ghost:hover { background: rgba(255,255,255,0.15); }

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.2); }

/* =============================================================
   HERO SECTION
   ============================================================= */

.hero {
  position: relative;
  /* background: var(--sage); */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  padding-bottom: 0;
}

.hero__text {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 10rem 2rem 1rem;
  max-width: var(--column-width);
  width: 100%;
}

.hero__heading {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero__subheading {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--cream);
  opacity: 0.85;
  margin-bottom: 2rem;
}

.hero__ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* Hero image — constrained to column width */
.hero__image-wrap {
  position: relative;
  width: 100%;
  max-width: var(--column-width);
  margin: 2rem auto 0;
}

.hero__image {
  width: 100%;
  display: block;
}


/* =============================================================
   HOMEPAGE SAGE-TO-WHITE GRADIENT WRAPPER
   Wraps the hero + first two blocks (statement + two-col)
   ============================================================= */

.homepage-gradient-wrap {
  background: linear-gradient(
    to bottom,
    var(--sage) 0%,
    var(--sage) 40%,
    #e8ede9 75%,
    var(--white) 100%
  );
  width: 100%;
    display: flex;
  flex-direction: column;
  gap: 0;
}

.homepage-gradient-wrap > * {
  margin-top: 0;
  margin-bottom: 0;
}


/* =============================================================
   RESPONSIVE
   ============================================================= */

@media (max-width: 1024px) {
  .homepage-gradient-wrap .hero, .homepage-gradient-wrap .statement-block, .homepage-gradient-wrap .two-col-block{
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 768px) {
  .hero__text {
    padding: 6rem 1.5rem 2rem;
  }
}

@media (max-width: 666px) {
  .hero__text{
    padding: 8rem 1.5rem 1rem;
  }
}

body {
  padding-top: 0;
}

/* =============================================================
   Partners Block
   ============================================================= */

.partners-block {
  /* background: #f2f2f2; */
  padding: 4rem 2rem;
}

.partners-block__inner {
  max-width: var(--column-width);
  margin: 0 auto;
}

.partners-block__heading {
  text-align: center;
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2.5rem;
}

.partners-block__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2rem 3rem;
}

.partners-block__item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
  max-width: 150px;
}

.partners-block__item:hover {
  opacity: 0.75;
}

.partners-block__logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}