/* Thrive360 presentation from the supplied reference file. */

.thrive360-page {
  background: var(--white);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
}

.thrive360-page *,
.thrive360-page *::before,
.thrive360-page *::after {
  box-sizing: border-box;
}

.thrive-shell {
  margin-inline: auto;
  width: min(1180px, calc(100% - 80px));
}

.thrive-narrow {
  margin-inline: auto;
  width: min(960px, calc(100% - 80px));
}

.thrive-pad {
  padding: 96px 0;
}

.thrive-eyebrow {
  color: var(--green);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 3.5px;
  line-height: 1.4;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.thrive-eyebrow-light {
  color: var(--gold-bright);
}

.thrive360-page h1,
.thrive360-page h2 {
  font-family: var(--font-heading);
  margin: 0;
}

.thrive360-page h1 {
  color: var(--espresso);
  font-size: 72px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.06;
}

.thrive360-page h2 {
  color: var(--espresso);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 1.14;
}

.thrive360-page h1 em,
.thrive360-page h2 em {
  color: var(--green);
  font-style: italic;
}

.thrive360-page h1 em {
  font-weight: 600;
}

.thrive360-page h2 em {
  font-weight: 700;
}

.thrive-rule {
  background: var(--gold);
  height: 2px;
  margin: 26px 0;
  width: 140px;
}

.thrive-lead {
  color: var(--text-2);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.8;
}

.thrive-btn {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  display: inline-flex;
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.2;
  min-height: 58px;
  padding: 15px 30px;
  text-decoration: none;
  transition: background-color 0.18s, box-shadow 0.18s, transform 0.18s;
}

.thrive-btn:hover,
.thrive-btn:focus-visible {
  box-shadow: 0 10px 24px rgba(58, 29, 20, 0.19);
  transform: translateY(-2px);
}

.thrive-btn-green {
  background: var(--green);
  color: var(--white);
}

.thrive-btn-dark {
  background: var(--espresso);
  color: var(--white);
}

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

.thrive-hero {
  background: var(--stucco);
  overflow: hidden;
  position: relative;
}

.thrive-hero-grid {
  display: grid;
  grid-template-columns: 54% 46%;
  min-height: 620px;
}

.thrive-hero-copy {
  align-self: center;
  padding: 80px 48px 80px 64px;
}

.thrive-hero-copy h1 em {
  display: block;
}

.thrive-hero-copy .thrive-lead {
  font-size: 19.5px;
  line-height: 1.65;
  margin: 0 0 38px;
  max-width: 480px;
}

.thrive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.thrive-hero-art {
  background: var(--stucco);
  isolation: isolate;
  overflow: hidden;
  position: relative;
}

.thrive-hero-art::before {
  background:
    linear-gradient(180deg, transparent 55%, rgba(43, 22, 13, 0.16)),
    url("/images/thrive360-hero.png") center 42% / cover no-repeat;
  content: "";
  inset: 0;
  -webkit-mask-composite: source-in;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 6%, #000 14%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect;
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 6%, #000 14%),
    linear-gradient(to bottom, transparent 0%, #000 9%, #000 91%, transparent 100%);
  position: absolute;
  z-index: 0;
}

/* ---------- Wellness strip ---------- */

.thrive-trust {
  background: var(--travertine);
  border-bottom: 1px solid rgba(135, 91, 37, 0.17);
  border-top: 1px solid rgba(135, 91, 37, 0.17);
}

.thrive-trust-grid {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  padding: 22px 0;
}

.thrive-trust p {
  align-items: center;
  color: var(--espresso);
  display: inline-flex;
  font-size: 18.5px;
  font-weight: 500;
  line-height: 1.45;
  justify-content: center;
  margin: 0;
  text-align: center;
  width: 100%;
}

.thrive-trust i {
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
  height: 9px;
  margin-right: 11px;
  width: 9px;
}

/* ---------- Introduction ---------- */

.thrive-intro {
  background: var(--white);
  padding-bottom: 80px;
  padding-top: 96px;
  text-align: center;
}

.thrive-intro h2 em {
  display: block;
}

.thrive-intro .thrive-rule {
  margin-inline: auto;
}

.thrive-intro .thrive-lead {
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.8;
}

/* ---------- Four dimensions ---------- */

.thrive-dimensions {
  background: var(--stucco);
  border-top: 1px solid #eee4d7;
}

.thrive-dimension-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, 1fr);
}

.thrive-dimension {
  background: rgba(255, 255, 255, 0.79);
  border: 1px solid #ded3c2;
  border-top: 4px solid var(--green);
  padding: 36px 28px;
}

.thrive-dimension:nth-child(2) {
  border-top-color: var(--gold);
}

.thrive-dimension:nth-child(3) {
  border-top-color: var(--terracotta);
}

.thrive-dimension:nth-child(4) {
  border-top-color: var(--espresso);
}

.thrive-dimension span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
}

.thrive-dimension h3 {
  color: var(--espresso);
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.15;
  margin: 24px 0 10px;
}

.thrive-dimension p {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Included services ---------- */

.thrive-included {
  background: var(--white);
}

.thrive-section-head {
  display: grid;
  gap: 95px;
  grid-template-columns: 0.78fr 1.22fr;
  margin-bottom: 48px;
}

.thrive-section-head > p {
  align-self: end;
  color: var(--text-2);
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.8;
  margin: 0 0 8px;
}

.thrive-services {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(6, 1fr);
}

.thrive-service {
  background: var(--white);
  border: 1px solid #ded3c2;
  border-radius: 5px;
  border-top: 4px solid var(--green);
  box-shadow: 0 14px 35px rgba(58, 29, 20, 0.05);
  grid-column: span 2;
  min-height: 302px;
  padding: 34px 30px;
}

.thrive-service:nth-child(2) {
  border-top-color: var(--gold);
}

.thrive-service:nth-child(3) {
  border-top-color: var(--terracotta);
}

.thrive-service:nth-child(4) {
  border-top-color: #81513c;
  grid-column: 2 / span 2;
}

.thrive-service:nth-child(5) {
  border-top-color: #8d9b6f;
  grid-column: 4 / span 2;
}

.thrive-num {
  color: var(--gold);
  display: block;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 22px;
}

.thrive-service h3 {
  color: var(--espresso);
  font-family: var(--font-heading);
  font-size: 29px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 11px;
}

.thrive-service > p {
  color: var(--text-2);
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.62;
  margin: 0 0 15px;
}

.thrive-service ul {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.65;
  list-style: disc;
  margin: 0;
  padding-left: 18px;
}

/* ---------- A day with Thrive360 ---------- */

.thrive-day {
  background: url('/images/thrive360-day.jpg') center 52% / cover no-repeat;
  color: #f6eddf;
  overflow: hidden;
  position: relative;
}

.thrive-day::after {
  background: linear-gradient(135deg, rgba(47, 24, 18, 0.8), rgba(82, 39, 25, 0.73));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.thrive-day > .thrive-shell {
  position: relative;
  z-index: 1;
}

.thrive-day h2 {
  color: var(--white);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.14;
}

.thrive-day h2 em {
  color: var(--gold-bright);
}

.thrive-timeline {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 50px;
}

.thrive-moment {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  background: rgba(58, 32, 24, 0.22);
  border: 1px solid rgba(245, 242, 233, 0.6);
  border-radius: 14px;
  padding: 27px 23px;
}

.thrive-moment > span {
  color: var(--gold-bright);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.thrive-moment h3 {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
  margin: 13px 0 10px;
}

.thrive-moment p {
  color: #d8cbbb;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

/* ---------- Who it supports ---------- */

.thrive-fit {
  background: var(--stucco);
}

.thrive-fit-grid {
  display: grid;
  gap: 92px;
  grid-template-columns: 0.82fr 1.18fr;
}

.thrive-fit-list {
  display: grid;
  gap: 13px;
  grid-template-columns: 1fr 1fr;
}

.thrive-fit-item {
  background: var(--white);
  border: 1px solid #ded3c2;
  padding: 25px 27px;
}

.thrive-fit-item b {
  color: var(--green);
  display: block;
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 11px;
}

.thrive-fit-item p {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.7;
  margin: 0;
}

.thrive-fit-item:last-child {
  grid-column: 1 / -1;
}

/* ---------- Promise ---------- */

.thrive-promise {
  background: var(--white);
}

.thrive-promise-grid {
  align-items: center;
  display: grid;
  gap: 92px;
  grid-template-columns: 0.82fr 1.18fr;
}

.thrive-promise-list {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
}

.thrive-promise-list p {
  background: #f5f4eb;
  border-left: 4px solid var(--green);
  color: var(--text-2);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
  margin: 0;
  padding: 21px 23px;
}

.thrive-promise-list p:nth-child(even) {
  background: #faf6eb;
  border-left-color: var(--gold);
}

/* ---------- Consultation CTA ---------- */

.thrive-cta {
  background: url('/images/thrive360-cta.jpg') center 55% / cover no-repeat;
  color: var(--white);
  overflow: hidden;
  padding: 86px 0;
  position: relative;
}

.thrive-cta::after {
  background: linear-gradient(135deg, rgba(47, 24, 18, 0.84), rgba(82, 39, 25, 0.76));
  content: '';
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.thrive-cta-grid {
  align-items: center;
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr auto;
  position: relative;
  z-index: 1;
}

.thrive-cta h2 {
  color: var(--white);
  max-width: 760px;
}

.thrive-cta p:not(.thrive-eyebrow) {
  color: #d9cbba;
  font-size: 17.5px;
  font-weight: 500;
  line-height: 1.8;
  margin: 20px 0 0;
}

.thrive-cta .thrive-btn {
  background: var(--gold);
  color: var(--espresso);
}

@media (max-width: 980px) {
  .thrive-hero-grid {
    grid-template-columns: 1fr;
  }

  .thrive-hero-copy {
    padding: 82px 44px;
  }

  .thrive360-page h1 {
    font-size: 52px;
  }

  .thrive-hero-art {
    min-height: 370px;
    order: -1;
  }

  .thrive-hero-art::before {
    background-position: center 38%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 9%, #000 100%);
  }

  .thrive-section-head,
  .thrive-promise-grid,
  .thrive-fit-grid {
    gap: 38px;
    grid-template-columns: 1fr;
  }

  .thrive-services {
    grid-template-columns: 1fr 1fr;
  }

  .thrive-service,
  .thrive-service:nth-child(4),
  .thrive-service:nth-child(5) {
    grid-column: auto;
  }

  .thrive-dimension-grid,
  .thrive-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .thrive-cta-grid {
    grid-template-columns: 1fr;
  }

  .thrive-cta .thrive-btn {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .thrive-shell,
  .thrive-narrow {
    width: min(100% - 36px, 1180px);
  }

  .thrive-pad {
    padding: 76px 0;
  }

  .thrive-hero-grid {
    min-height: auto;
  }

  .thrive-hero-art {
    min-height: 285px;
  }

  .thrive-hero-copy {
    padding: 60px 20px 68px;
  }

  .thrive-eyebrow {
    font-size: 13px;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
  }

  .thrive360-page h1 {
    font-size: clamp(40px, 13vw, 50px);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .thrive360-page h2,
  .thrive-day h2 {
    font-size: 36px;
    line-height: 1.1;
    overflow-wrap: anywhere;
  }

  .thrive-hero-copy .thrive-lead {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .thrive-btn {
    font-size: 14px;
    min-height: 52px;
    padding: 13px 18px;
  }

  .thrive-trust-grid,
  .thrive-services,
  .thrive-dimension-grid,
  .thrive-timeline,
  .thrive-fit-list,
  .thrive-promise-list {
    grid-template-columns: 1fr;
  }

  .thrive-trust-grid {
    gap: 7px;
    padding: 18px 0;
  }

  .thrive-trust p {
    font-size: 14px;
    line-height: 1.45;
  }

  .thrive-service {
    min-height: auto;
  }

  .thrive-fit-item:last-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .thrive360-page *,
  .thrive360-page *::before,
  .thrive360-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
