/**
 * BHK Homepage — hero, meals, steps, testimonials
 * Palette aligned to brand primary #7FB82D (style.css)
 */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

/* ── BHK homepage design tokens ── */
.bhk-home-hero {
  --bhk-brand: #7fb82d;
  --bhk-brand-dark: #5a9a1a;
  --bhk-brand-deep: #4a8020;
  --bhk-brand-light: #9dce5c;
  --bhk-brand-soft: #eef8e8;
  --bhk-brand-mist: #f4faf0;
  --bhk-brand-tint: #e3f2d8;
  --bhk-brand-glow: rgba(127, 184, 45, 0.32);
  --bhk-brand-ring: rgba(127, 184, 45, 0.38);
  --bhk-ink: #1a1f1c;
  --bhk-ink-soft: #2d3530;
  --bhk-muted: #5c6b62;
  --bhk-muted-light: #8a968f;
  --bhk-surface: #ffffff;
  --bhk-surface-alt: #fafcf8;
  --bhk-border: #dfe8d8;
  --bhk-border-soft: rgba(127, 184, 45, 0.16);
  --bhk-shadow-sm: 0 10px 28px rgba(27, 67, 50, 0.07);
  --bhk-shadow-md: 0 20px 44px rgba(27, 67, 50, 0.1);
  --bhk-shadow-hover: 0 26px 52px rgba(90, 154, 26, 0.2);
  --bhk-dark: #161a18;
  --bhk-dark-mid: #1f2a22;
  --bhk-gold: #e5a011;
  --bhk-gold-soft: #f0c14a;
  --bhk-radius-lg: 22px;
  --bhk-radius-md: 16px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}

.bhk-hero {
  --hero-green: var(--bhk-brand);
  --hero-green-dark: var(--bhk-brand-dark);
  --hero-green-glow: var(--bhk-brand-glow);
  --hero-dark: var(--bhk-ink);
  --hero-muted: var(--bhk-muted);
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5rem);
  background: linear-gradient(135deg, var(--bhk-brand-mist) 0%, var(--bhk-surface) 42%, var(--bhk-brand-soft) 100%);
  font-family: inherit;
}

.bhk-hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -180px;
  right: -120px;
  background: radial-gradient(circle, var(--hero-green-glow) 0%, transparent 68%);
  pointer-events: none;
  animation: heroGlow 8s ease-in-out infinite alternate;
}

.bhk-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(127, 184, 45, 0.07) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
  pointer-events: none;
  mask-image: linear-gradient(180deg, #000 0%, transparent 95%);
}

@keyframes heroGlow {
  from { transform: translate(0, 0) scale(1); opacity: 0.7; }
  to   { transform: translate(-30px, 20px) scale(1.08); opacity: 1; }
}

.bhk-hero .container {
  position: relative;
  z-index: 2;
}

/* ── Copy column ── */
.bhk-hero-copy {
  max-width: 560px;
}

.bhk-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.25rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--hero-green-dark);
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

.bhk-hero-bar {
  width: 3px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--hero-green) 0%, var(--hero-green-dark) 100%);
  flex-shrink: 0;
  box-shadow: 0 0 12px var(--hero-green-glow);
}

.bhk-hero-title {
  font-size: clamp(2.15rem, 5.2vw, 3.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--hero-dark);
  margin: 0 0 1.25rem;
  opacity: 0;
  transform: translateY(24px);
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.22s forwards;
}

.bhk-hero-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--hero-green-dark), var(--hero-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bhk-hero-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.08rem);
  line-height: 1.75;
  color: var(--hero-muted);
  margin: 0 0 1.75rem;
  max-width: 480px;
  opacity: 0;
  transform: translateY(20px);
  animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.35s forwards;
}

@keyframes heroFadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.bhk-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(16px);
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.48s forwards;
}

.bhk-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.95rem 1.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s;
}

.bhk-hero-btn img {
  width: 14px;
  height: auto;
  filter: brightness(0) invert(1);
}

.bhk-hero-btn--primary {
  background: linear-gradient(135deg, var(--hero-green) 0%, var(--hero-green-dark) 100%);
  color: #fff !important;
  box-shadow: 0 12px 32px var(--hero-green-glow);
}

.bhk-hero-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(127, 184, 45, 0.45);
  color: #fff !important;
}

.bhk-hero-btn--dark {
  background: var(--hero-dark);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.bhk-hero-btn--dark:hover {
  transform: translateY(-3px);
  background: #2d3330;
  color: #fff !important;
}

.bhk-hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(127, 184, 45, 0.2);
  opacity: 0;
  animation: heroFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.6s forwards;
}

.bhk-hero-trust-item strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--hero-dark);
  line-height: 1.1;
}

.bhk-hero-trust-item span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hero-muted);
}

/* ── Visual collage ── */
.bhk-hero-visual {
  position: relative;
  min-height: 420px;
  margin-top: 2rem;
}

.bhk-hero-stage {
  position: relative;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
}

.bhk-hero-ring {
  position: absolute;
  inset: 8%;
  border: 2px dashed rgba(127, 184, 45, 0.25);
  border-radius: 50%;
  animation: heroSpin 40s linear infinite;
}

@keyframes heroSpin {
  to { transform: rotate(360deg); }
}

.bhk-hero-main {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 28px 60px rgba(27, 67, 50, 0.18),
    0 0 0 8px rgba(255, 255, 255, 0.85);
  z-index: 3;
  animation: heroFloatMain 6s ease-in-out infinite;
}

.bhk-hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.bhk-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: bhkHeroSlideFade 25s ease-in-out infinite;
}

.bhk-hero-slide:nth-child(1) { animation-delay: 0s; }
.bhk-hero-slide:nth-child(2) { animation-delay: 5s; }
.bhk-hero-slide:nth-child(3) { animation-delay: 10s; }
.bhk-hero-slide:nth-child(4) { animation-delay: 15s; }
.bhk-hero-slide:nth-child(5) { animation-delay: 20s; }

.bhk-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  animation: bhkHeroKenBurns 14s ease-in-out infinite alternate;
}

.bhk-hero-slide:nth-child(2) img { animation-duration: 16s; animation-delay: -3s; }
.bhk-hero-slide:nth-child(3) img { animation-duration: 13s; animation-delay: -6s; }
.bhk-hero-slide:nth-child(4) img { animation-duration: 15s; animation-delay: -2s; }
.bhk-hero-slide:nth-child(5) img { animation-duration: 14s; animation-delay: -5s; }

@keyframes bhkHeroSlideFade {
  0% { opacity: 0; z-index: 0; }
  4% { opacity: 1; z-index: 1; }
  16% { opacity: 1; z-index: 1; }
  20% { opacity: 0; z-index: 0; }
  100% { opacity: 0; z-index: 0; }
}

@keyframes bhkHeroKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

@keyframes heroFloatMain {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

.bhk-hero-card {
  position: absolute;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(27, 67, 50, 0.14);
  border: 4px solid #fff;
  z-index: 4;
  animation: heroFloatCard 5s ease-in-out infinite;
}

.bhk-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.bhk-hero-card:hover img {
  transform: scale(1.06);
}

.bhk-hero-card--1 {
  width: 38%;
  aspect-ratio: 4/3;
  top: 2%;
  right: -2%;
  animation-delay: 0.5s;
}

.bhk-hero-card--2 {
  width: 34%;
  aspect-ratio: 1;
  bottom: 8%;
  left: -4%;
  animation-delay: 1s;
}

.bhk-hero-card--3 {
  width: 30%;
  aspect-ratio: 4/3;
  bottom: 4%;
  right: 8%;
  animation-delay: 1.5s;
}

@keyframes heroFloatCard {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

.bhk-hero-badge {
  position: absolute;
  z-index: 5;
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--hero-dark);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  animation: heroFloatCard 4.5s ease-in-out infinite;
}

.bhk-hero-badge i {
  color: var(--hero-green);
}

.bhk-hero-badge--fresh {
  top: 18%;
  left: -2%;
  animation-delay: 0.3s;
}

.bhk-hero-badge--rating {
  bottom: auto;
  top: 58%;
  right: -6%;
  animation-delay: 0.8s;
}

.bhk-hero-leaf {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(127, 184, 45, 0.12);
  z-index: 1;
  pointer-events: none;
}

.bhk-hero-leaf--1 { top: 10%; left: 20%; animation: heroPulse 3s ease-in-out infinite; }
.bhk-hero-leaf--2 { bottom: 20%; right: 15%; animation: heroPulse 3.5s ease-in-out infinite 0.5s; }

@keyframes heroPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50%      { transform: scale(1.15); opacity: 1; }
}

@media (min-width: 992px) {
  .bhk-hero-visual {
    margin-top: 0;
    min-height: 480px;
  }

  .bhk-hero-stage {
    max-width: 480px;
    margin-left: auto;
    margin-right: 0;
  }
}

@media (max-width: 991px) {
  .bhk-hero {
    text-align: center;
  }

  .bhk-hero-eyebrow {
    justify-content: center;
  }

  .bhk-hero-lead {
    margin-inline: auto;
  }

  .bhk-hero-cta {
    justify-content: center;
  }

  .bhk-hero-trust {
    justify-content: center;
  }

  .bhk-hero-visual {
    min-height: 360px;
  }

  .bhk-hero-card--1 { right: 0; }
  .bhk-hero-card--2 { left: 0; }
  .bhk-hero-badge--fresh { left: 4%; }
  .bhk-hero-badge--rating {
    top: 52%;
    bottom: auto;
    right: 2%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhk-hero-eyebrow,
  .bhk-hero-title,
  .bhk-hero-lead,
  .bhk-hero-cta,
  .bhk-hero-trust {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .bhk-hero-main,
  .bhk-hero-card,
  .bhk-hero-badge,
  .bhk-hero-ring,
  .bhk-hero-leaf,
  .bhk-hero::before {
    animation: none;
  }

  .bhk-hero-slide {
    animation: none;
    opacity: 0;
  }

  .bhk-hero-slide:first-child {
    opacity: 1;
    z-index: 1;
  }

  .bhk-hero-slide img {
    animation: none;
    transform: none;
  }

  .bhk-hero-card img,
  .bhk-hero-card:hover img {
    transform: none;
    transition: none;
  }
}

/* Our Meals — legacy carousel rules superseded by home-meals.css (.bhk-meals-section) */

/* ── How it works / steps section (same image + content) ── */
.bhk-steps {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: linear-gradient(125deg, var(--bhk-dark) 0%, var(--bhk-dark-mid) 48%, var(--bhk-ink) 100%);
}

.bhk-steps::before {
  content: "";
  position: absolute;
  width: 480px;
  height: 480px;
  left: -120px;
  top: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, var(--bhk-brand-glow) 0%, transparent 68%);
  pointer-events: none;
}

.bhk-steps::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(127, 184, 45, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.6;
  pointer-events: none;
}

.bhk-steps.pq-dark-bg-side-right::before {
  display: none;
}

.bhk-steps .container {
  position: relative;
  z-index: 2;
}

.bhk-steps .pq-main-about-img,
.bhk-steps .bhk-steps-visual {
  margin-left: 0;
  display: block;
  width: 100%;
}

.bhk-steps .pq-about-img1,
.bhk-steps .bhk-steps-photo {
  display: block !important;
  margin: 0;
  max-width: 100%;
}

.bhk-steps-photo {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.bhk-steps-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.25) 100%);
  pointer-events: none;
}

.bhk-steps-photo img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  object-fit: cover;
  object-position: center center;
}

.bhk-steps .pq-steps-process {
  padding: 0;
  margin: 0;
  background: transparent;
}

.bhk-steps .pq-section-sub-title {
  color: var(--bhk-brand-light);
  letter-spacing: 0.14em;
}

.bhk-steps .pq-section-title.pq-about-title {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}

.bhk-steps .pq-section-description.pq-about-description {
  font-size: 1rem;
  line-height: 1.7;
  opacity: 0.88;
  max-width: 520px;
}

.bhk-steps .pq-about-main-container {
  margin-top: 1.75rem;
}

.bhk-steps .pq-process-2 {
  padding: 0;
}

.bhk-steps .pq-process-2 + .pq-process-2 {
  margin-top: 0.65rem;
}

.bhk-steps .pq-process-2 .pq-process-item {
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  border-radius: var(--bhk-radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--bhk-border-soft);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.bhk-steps .pq-process-2 .pq-process-item:hover {
  background: rgba(127, 184, 45, 0.1);
  border-color: rgba(127, 184, 45, 0.38);
  transform: translateX(4px);
}

.bhk-steps .pq-process-2 .pq-process-img {
  width: 48px;
  height: 48px;
  line-height: 48px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--bhk-brand) 0%, var(--bhk-brand-dark) 100%);
  box-shadow: 0 8px 22px var(--bhk-brand-glow);
}

.bhk-steps .pq-process-2 .pq-process-img::before {
  background: var(--bhk-brand);
  opacity: 0.22;
}

.bhk-steps .pq-process-2 .pq-process-image-curve .pq-process-image-curve-inner::before {
  display: none;
}

.bhk-steps .pq-process-2 .pq-process-image-content {
  flex-direction: row;
}

.bhk-steps .pq-process-2 .pq-process-info {
  margin: 0 0 0 1.25rem;
}

.bhk-steps .pq-process-2 .pq-process-info .pq-process-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.bhk-steps .pq-process-2 .pq-process-description p {
  font-size: 0.92rem;
  line-height: 1.65;
  opacity: 0.85;
}

@media (max-width: 1199px) {
  .bhk-steps-photo img {
    min-height: 320px;
    max-height: 420px;
  }
}

@media (max-width: 767px) {
  .bhk-steps {
    padding: 2.5rem 0;
  }

  .bhk-steps-photo img {
    min-height: 280px;
    max-height: 360px;
  }

  .bhk-steps .pq-process-2 .pq-process-info {
    margin-left: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhk-steps .pq-process-2 .pq-process-item:hover {
    transform: none;
  }
}
