/* =========================================================
   Lundy — Homepage Styles
   ========================================================= */

/* ---------- Header ---------- */
   .logo img {
width: 110px;
height: auto;
   }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--bg-cream);
  overflow: hidden;
  min-height: 620px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-content-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 64px 100px;
  pointer-events: none;
}
.hero-content { position: relative; max-width: 640px; pointer-events: auto; }
.hero-fade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--bg-cream) 0%, var(--bg-cream) 84%, rgba(251, 246, 242, 0) 100%);
}
.hero-text { max-width: 540px; }
.hero-title {
  font-size: 58px;
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.08;
  letter-spacing: -0.5px;
  margin: 0 0 24px;
}
.hero-lede { font-size: 17px; line-height: 1.65;  max-width: 430px; margin: 0 0 30px; }

.hero-badges { display: flex; align-items: center; gap: 26px; margin-bottom: 32px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 10px; }
.hero-badge-icon { color: var(--accent); display: flex; width: 30px; height: auot; }
.hero-badge-text { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.hero-divider { width: 1px; height: 22px; background: rgba(26, 26, 26, 0.15); }

.hero-cta-row { display: flex; gap: 14px; margin-bottom: 36px; flex-wrap: wrap; }

.hero-social { display: flex; align-items: center; gap: 16px; }
.avatar-stack { display: flex; }
.avatar img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8E7A6B;
  margin-left: -10px;
}
.avatar:first-child { margin-left: 0; }
.avatar-1 { background: #E6D2CA; }
.avatar-2 { background: #DCC3B8; }
.avatar-3 { background: #CBAA9B; color: #fff; }
.social-proof-text { font-size: 13.5px; font-weight: 600; color: var(--text-dark); margin: 0 0 4px; }
.rating-row { display: flex; align-items: center; gap: 6px; }
.rating-caption { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Science section (home uses 36px heading / 36px tile padding) ---------- */
.science-section-home { background: var(--bg-cream); padding: 100px 64px; }
.science-heading-home {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}
.science-tile-home { 
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  height: 100%;
  border-left: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  justify-content: start;
  padding: 3rem;
}
.no-left-border {
  border-left: none;
}

.no-bottom-border {
  border-bottom: none;
}
/* ---------- Lifestyle image grid + habit checklist ---------- */
.habit-section { background: var(--bg-cream); display: grid; grid-template-columns: 3fr 1fr; padding: 3rem 0;}
.lifestyle-grid { flex: 2 1 460px; min-width: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lifestyle-photo { flex: 1 1 100px; min-width: 0;  }
.habit-copy {
  flex: 1 1 280px;
  padding: 64px 64px 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 400px;
}
.habit-heading { font-size: 32px; font-weight: 500; color: var(--text-dark); line-height: 1.2; margin: 0 0 18px; letter-spacing: -0.3px; }
.habit-lede { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0 0 24px; }

/* ---------- Subscribe & save box ---------- */
.subscribe-section { background: var(--bg-blush);  }
.subscribe-inner { display: grid; grid-template-columns: repeat(3, 1fr);     align-items: center; }
/* .subscribe-image-col { flex: 1 1 200px; max-width: 320px; } */
/* .subscribe-image { width: 100%; height: 420px; } */

.subscriber-image {
  background-image: url("../images/lundy_subscription.webp"); 
  background-position: center;
  background-repeat: no-repeat; 
  background-size: cover; 
  height: 100%;
  width: 100%;
}
.subscribe-copy { padding: 3rem; }
.subscribe-heading { font-size: 32px; font-weight: 500; color: var(--text-dark); margin: 0 0 10px; letter-spacing: -0.3px; }
.subscribe-sub { font-size: 14.5px; color: var(--text-muted); margin: 0 0 26px; }

.subscribe-card {
  flex: 1 1 220px;
  max-width: 340px;
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 2px 14px rgba(26, 26, 26, 0.06);
  margin: 3rem;
  height: fit-content;
}
.subscribe-card .purchase-row-price { text-align: right; }
.subscribe-card .purchase-price { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.subscribe-card .purchase-price-strike { font-size: 12px; color: var(--text-muted); text-decoration: line-through; }
.subscribe-card .btn-primary { width: 100%; padding: 16px; margin-top: 4px; }
.subscribe-card-note { font-size: 12px; color: var(--text-muted); text-align: center; margin: 0; }

/* ---------- Timing Section ---------- */
.timing-section-home { background: var(--bg-cream); padding: 100px 64px; }
.timing-inner { max-width: 700px; margin: 0 auto; }
.timing-heading { font-size: 32px; font-weight: 300; color: var(--text-dark); margin: 0 0 14px; letter-spacing: -0.3px; }
.timing-heading-home {
  font-size: 32px;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.18;
  margin: 0 0 20px;
  letter-spacing: -0.3px;
}
.timing-lede { font-size: 16px; line-height: 1.7; color: var(--text-muted); margin: 0 0 28px; max-width: 420px; }

.timing-options { display: flex; gap: 10px; justify-content: start; flex-wrap: wrap; margin-bottom: 30px; }
.timing-option {
  padding: 12px 20px;
  border: 1.5px solid rgba(26, 26, 26, 0.15);
  border-radius: 24px;
  background: #fff;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}
.timing-option:hover { border-color: var(--accent); }
.timing-option.selected { background: var(--accent); border-color: var(--accent); color: #fff; }

.timing-result {
  background: #fff;
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: left;
  box-shadow: 0 2px 14px rgba(26, 26, 26, 0.06);
}
.timing-clock {
  flex: none;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--bg-blush);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.timing-clock-time { font-size: 20px; font-weight: 700; color: var(--accent); }
.timing-clock-label { font-size: 10px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; text-align: center; padding: 0 8px; }
.timing-result-text { font-size: 14.5px; line-height: 1.65; color: var(--text-dark); margin: 0; }

@media (max-width: 560px) {
  .timing-result { flex-direction: column; text-align: center; }
}

/* ---------- Testimonial carousel ---------- */
.testimonials-section { background: var(--bg-cream); padding: 96px 64px; text-align: center; }
.testimonials-heading { font-size: 32px; font-weight: 500; color: var(--text-dark); margin: 0 0 16px; letter-spacing: -0.3px; }
.testimonials-rating-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 52px; }

.carousel-row { display: flex; align-items: center; justify-content: center; gap: 18px; }
.carousel-btn {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(26, 26, 26, 0.15);
  background: #fff;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); }
.carousel-viewport { flex: 1; max-width: 1080px; overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 24px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-track.no-transition { transition: none; }

.testimonial-card {
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.07);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
}

@media (max-width: 960px) {
  .testimonial-card { flex-basis: calc((100% - 24px) / 2); }
}
@media (max-width: 680px) {
  .testimonial-card { flex-basis: 100%; }
}
.testimonial-card .stars { margin-bottom: 14px; }
.testimonial-quote { font-size: 14.5px; line-height: 1.65; color: var(--text-dark); margin: 0 0 18px; }
.testimonial-name { font-size: 13px; font-weight: 600; color: var(--text-muted); margin: 0; }

/* ---------- About Story ---------- */
.story-section { background: var(--bg-cream); padding: 100px 64px; }
.story-inner { display: flex; gap: 64px; align-items: center; flex-wrap: wrap; }
.story-image-col { flex: 1 1 380px; min-width: 0; }
.story-image { width: 100%; }
.story-copy { flex: 1 1 380px; min-width: 0; max-width: 480px; }
.story-heading { font-size: 32px; font-weight: 500; color: var(--text-dark); line-height: 1.25; margin: 0 0 22px; letter-spacing: -0.3px; }
.story-paragraph { font-size: 15.5px; line-height: 1.75; color: var(--text-muted); margin: 0 0 18px; }
.story-signature { font-size: 14px; font-style: italic; color: var(--text-dark); margin: 24px 0 20px; }
.story-cta { display: inline-block; font-size: 13px; font-weight: 600; color: var(--accent); border-bottom: 1.5px solid var(--accent); padding-bottom: 2px; }
.story-cta:hover { color: var(--accent-dark); border-color: var(--accent-dark); }

@media (max-width: 720px) {
  .story-inner { flex-direction: column; }
}


.assurance-section { background: var(--bg-cream); padding: 90px 64px; text-align: center; }
.assurance-heading { font-size: 32px; font-weight: 500; color: var(--text-dark); margin: 0 0 44px; letter-spacing: -0.3px; }
.assurance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; max-width: 1100px; margin: 0 auto; }
.assurance-card {
  flex: 1 1 280px;
  position: relative;
  background: #fff;
  border-radius: 12px;

  text-align: left;
  overflow: hidden;
}

.assurance-card img {
  height: auto;
  width: 100%;
  object-fit: cover;
}
.assurance-content {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1rem;
background: rgba(255, 255, 255, 0.527);
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
}
.assurance-icon { color: var(--accent); display: inline-flex; margin-bottom: 16px; }
.assurance-question { font-size: 16px; font-weight: 600; color: var(--text-dark); margin: 0 0 10px; }
.assurance-answer { font-size: 12px; }
.assurance-link { font-size: 12.5px; font-weight: 600; color: var(--accent); }
.assurance-link:hover { color: var(--accent-dark); }



/* ---------- Trust strip (5-item, slightly narrower text than main strip; home only) ---------- */
.mini-trust-strip {
  background: var(--bg-cream);
  border-top: 1px solid rgba(26, 26, 26, 0.08);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
}
.mini-trust-inner { max-width: 1280px; margin: 0 auto; display: flex; flex-wrap: wrap; padding: 44px 64px; }
.mini-trust-item {
  flex: 1 1 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 4px 14px;
}
.mini-trust-item:not(:first-child) { border-left: 1px solid rgba(26, 26, 26, 0.08); }
.mini-trust-icon { color: var(--accent); display: flex; }
.mini-trust-title { font-size: 13px; font-weight: 600; color: var(--text-dark); margin: 0; letter-spacing: 0.3px; }
.mini-trust-desc { font-size: 11.5px; color: var(--text-muted); margin: 0; }
