/* ============================================================
   Container — shared responsive layout constraint
   Provides 1024px max content width with responsive side padding.
   Import this in any component that uses the .container class.
   ============================================================ */

.container {
  position:  relative;
  width:     1024px;
  max-width: calc(100% - 160px); /* 80px × 2 — desktop */
  margin:    0 auto;
}

/* Tablet (≤991px): 60px × 2 = 120px */
@media (max-width: 991px) {
  .container {
    max-width: calc(100% - 120px);
  }
}

/* Landscape mobile (≤767px): 2rem × 2 = 4rem */
@media (max-width: 767px) {
  .container {
    max-width: calc(100% - 4rem);
  }
}



/* ============================================================
   Wide container — 1360px content + 48px side padding
   Used for full-bleed section content blocks (slider, big cards)
   that need to be wider than the standard 1024px text container.
   ============================================================ */

.container-wide {
  width:      100%;
  max-width:  calc(1360px + 96px);   /* 1360px content + 48px × 2 */
  padding:    0 3rem;                /* 48px sides */
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet + landscape mobile (≤991px) */
@media (max-width: 991px) {
  .container-wide {
    padding: 0 2rem;
  }

  .container-wide > * {
    margin-left:  -1rem;
    width:        calc(100% + 2rem) !important;
  }
}


/* ============================================================
   Shared homepage section patterns
   Import in any section component that uses the sticky badge rail.

   Provides: .hp-section shell, .hp-rail sticky rail,
   .hp-badge pill, .hp-heading, .hp-body
   ============================================================ */


/* ---- Section shell ----------------------------------------
   Background-color is intentionally omitted — each section
   sets its own via a single-rule override. */

.hp-section {
  position:       relative;
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            4rem;      /* 64px */
  padding:        8rem 0;   /* 128px top + bottom */
  font-family:    var(--font-family-default);
  width:          100%;
  box-sizing:     border-box;
}

/* Tablet (≤991px) */
@media (max-width: 991px) {
  .hp-section {
    padding: 6rem 0;
    gap:     3rem;
  }
}

/* Mobile (≤767px) */
@media (max-width: 767px) {
  .hp-section {
    padding: 4rem 0;
    gap:     2rem;
  }
}


/* ---- Sticky badge rail ------------------------------------
   Absolutely positioned inside the first .container, pushed
   left via right: 100%.  .container has position: relative so
   the rail is bounded to the container's height — badge stops
   when the container ends.
   Width = gutter between container (1024px) and container-wide
   (1360px): (1360 − 1024) / 2 = 168px.
   Shown only at ≥1488px — when the gutter is a fixed, predictable size. */

.hp-rail {
  display:        none;
  position:       absolute;
  right:          100%;
  top:            0;
  bottom:         0;
  width:          calc((1360px - 1024px) / 2);   /* 168px */
  pointer-events: none;
}

.hp-rail__sticky {
  position:        sticky;
  top:             8rem;
  display:         flex;
  justify-content: flex-end;
  align-items:     flex-start;
  padding-right:   12px;   /* 12px gap from the container's left edge */
}

@media (min-width: 1488px) {
  .hp-rail {
    display:         flex;
    justify-content: flex-start;
    align-items:     flex-start;
  }
}


/* ---- Badge pill -------------------------------------------
   Base pill used in the sticky rail and as the inline badge.
   .hp-badge--inline controls visibility relative to breakpoint. */

.hp-badge {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             6px;
  height:          26px;
  padding:         0 var(--spacing-3);
  background:      var(--card);
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     var(--line-height-xs);
  color:           var(--foreground);
  white-space:     nowrap;
}

/* Inline variant — shown below 1488px, hidden at and above
   (matches the rail breakpoint so there is never a gap where
   neither badge is shown) */
.hp-badge--inline {
  margin-bottom: var(--spacing-6);
}

@media (min-width: 1488px) {
  .hp-badge--inline {
    display: none;
  }
}

@media (max-width: 767px) {
  .hp-badge--inline {
    margin-bottom: 1rem;
  }
}

/* Live indicator dot (DemoSection "Live demo" badge) */
.hp-badge__dot {
  display:          block;
  width:            6px;
  height:           6px;
  border-radius:    var(--radius-full);
  background-color: var(--primary);
  flex-shrink:      0;
}


/* ---- Section heading --------------------------------------
   36px regular weight; <strong> inside uses bold. */

.hp-heading {
  margin:      0;
  font-size:   2.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 2.5rem;
  color:       var(--foreground);
}

.hp-heading strong {
  font-weight: var(--font-weight-bold);
}


/* ---- Section body text ------------------------------------
   20px regular — used in header intro blocks. */

.hp-body {
  margin:      0;
  font-size:   1.25rem;
  font-weight: var(--font-weight-regular);
  line-height: 1.75rem;
  color:       var(--foreground);
}

.hp-body strong {
  font-weight: var(--font-weight-bold);
}

@media (max-width: 767px) {
  .hp-heading {
    font-size:   1.875rem;  /* 30px */
    line-height: 2.25rem;   /* 36px */
  }

  .hp-body {
    font-size:   1.125rem;  /* 18px */
    line-height: 1.75rem;   /* 28px */
  }
}


/* ---- Shared card shell ------------------------------------
   Secondary background + hairline border + 12px radius.
   Use alongside component class for layout-specific rules. */

.card-secondary {
  background:    var(--secondary);
  border:        0.5px solid var(--border);
  border-radius: 12px;
  box-sizing:    border-box;
}


/* ---- 26px number pill -------------------------------------
   Circular badge used for step numbers.
   Color (background) set per-component. */

.num-pill {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  width:           26px;
  height:          26px;
  flex-shrink:     0;
  border-radius:   var(--radius-full);
  font-size:       var(--font-size-xs);
  font-weight:     var(--font-weight-medium);
  line-height:     1;
  color:           var(--foreground);
}


/* ---- Card typography --------------------------------------
   Base/bold title and base/regular muted body.
   Color overrides applied per-component as needed. */

.card-title {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-base);
}

.card-body {
  margin:      0;
  font-size:   var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-base);
  color:       var(--muted-foreground);
}

.lf-intake-section{
    background: #FAF6F0;
}
.lf-intake-section__header{
    margin-bottom: 4rem;
}
.lf-intake-section__heading{
    margin-bottom: 36px;
}
.lf-intake-section__description{
    font-size: 20px;
    line-height: 28px;
    max-width: 800px;
    color: #282825;
}
.lf-intake-grid{
    display: flex;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 4rem;
}
.lf-intake-grid__item{
    width: 100%;
    background: #F5F0E7;
    border: 1px solid #D6CFC2;
    padding: 28px;
    border-radius: 24px;
}
.lf-intake-grid__item-heading{
    font-size: 24px;
    color: #282825;
    line-height: 32px;
    margin-bottom: 8px;
}
.lf-intake-grid__item-description{
    font-size: 16px;
    line-height: 24px;
    color: #85857A;
}
.lf-intake-section__practices{
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.lf-intake-section__practices-left{
    border-radius: 24px;
    background: #fff;
    padding: 36px;
    width: 100%;
}
.lf-intake-section__practices-heading{
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 8px;
    font-weight: 700;
}
.lf-intake-section__practices-description{
    font-size: 16px;
    line-height: 24px;
    color: #85857A;
    margin-bottom: 28px;
}
.lf-intake-section__practices-list{
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.lf-intake-section__practices-list-item{
    border: 1px solid #D6CFC2;
    border-radius: 12px;
    width: 100%;
    max-width: calc(50% - 6px);
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #FAF6F0;
}
.lf-intake-section__practices-list-item .icon{
    margin-bottom: 24px;
}
.lf-intake-section__practices-list-item .desc{
    align-self: flex-start;
    justify-self: flex-start;
    font-size: 16px;
    line-height: 24px;
    color: #85857A;
    min-height: 96px;
}
.lf-intake-section__practices-list-item .highlights{
    font-size: 12px;
    line-height: 16px;
    background: #fff;
    border-radius: 999px;
    color: #282825;
    display: inline-block;
    width: auto !important;
    padding: 5px 12px;
    max-width: max-content;
}
.lf-intake-section__practices-right{
    width: 100%;
    padding: 0 32px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.lf-intake-section__practices-right .list-item{
    margin-bottom: 36px;
}
.lf-intake-section__practices-right .title-with-icon{
    display: flex;
    margin-bottom: 12px;
}
.lf-intake-section__practices-right .title-with-icon h4{
    margin-left: 12px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}
.lf-intake-section__practices-right .list-desc{
    font-size: 16px;
    line-height: 24px;
    color: #85857A;
}

@media(max-width:767px){
    .lf-intake-section__heading{
        margin-bottom:32px;
    }
    .lf-intake-section__header{
        margin-bottom:32px;
    }
    .lf-intake-section__description {
        font-size: 18px;
        line-height: 28px;
    }
    .lf-intake-section__blocks{
        margin-left: -1rem;
        width: calc(100% + 2rem);
    }
    .lf-intake-grid{
        gap: 12px;
        margin-bottom: 32px;
    }
    .lf-intake-grid__item{
        padding: 16px;
        border-radius: 12px;
    }
    .lf-intake-grid__item-heading{
        font-size: 20px;
        line-height: 28px;
    }
    .lf-intake-grid__item-description{
        font-size: 14px;
        line-height: 20px;
    }
    .lf-intake-section__practices{
        margin-left: -1rem;
        width: calc(100% + 2rem);
        flex-wrap: wrap;
    }
    .lf-intake-section__practices-left{
        border-radius: 24px;
        background: #fff;
        padding: 24px;
    }
    .lf-intake-section__practices-right{
        margin-top: 32px;
        padding: 12px 24px;
    }
    .lf-intake-section__practices-heading{
        font-size: 18px;
    }
    .lf-intake-section__practices-list-item{
        padding: 16px;
    }
    .lf-intake-section__practices-list-item .icon{
        max-width: 48px;
    }
    .lf-intake-section__practices-list-item .icon svg{
        width: 100%;
    }
    .lf-intake-section__practices-list-item .desc{
        font-size: 14px;
        line-height: 20px;
        min-height: 115px;
    }
    .lf-intake-section__practices-right .list-item:last-child{
        margin-bottom: 0 !important;
    }
}
