/**
 * BHK Diet Service — shared hero (title + showcase + info panel)
 * Title styling aligned with homepage bhk-hero (home-hero.css)
 */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

.bhk-diet-hero {
  --bhk-hero-header-offset: 132px;
  --bhk-brand: #7fb82d;
  --bhk-brand-dark: #5a9a1a;
  --bhk-brand-glow: rgba(127, 184, 45, 0.28);
  --bhk-hero-accent-start: #5a9a1a;
  --bhk-hero-accent-end: #7fb82d;
  --bhk-ink: #1a1f1c;
  --bhk-muted: #5c6b62;
  position: relative;
  padding: calc(var(--bhk-hero-header-offset) + 1.75rem) 0 100px;
  overflow-x: hidden;
  overflow-y: visible;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: linear-gradient(135deg, #f4faf0 0%, #fff 45%, #eef8e8 100%);
}

.bhk-diet-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, var(--bhk-brand-glow) 0%, transparent 68%);
  pointer-events: none;
}

.bhk-diet-hero__inner {
  width: min(92%, 1180px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section.bhk-diet-hero.pq-grey-bg-color {
  background: linear-gradient(135deg, #f4faf0 0%, #fff 45%, #eef8e8 100%);
}

.bhk-diet-hero__head {
  margin-bottom: 2.25rem;
  padding-top: 0.25rem;
}

.bhk-diet-hero__title-block {
  position: relative;
  max-width: 40rem;
  animation: bhkDietTitleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-diet-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bhk-brand-dark);
}

.bhk-diet-hero__bar {
  width: 3px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--bhk-brand) 0%, var(--bhk-brand-dark) 100%);
  box-shadow: 0 0 10px var(--bhk-brand-glow);
}

.bhk-diet-hero__title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bhk-ink);
  text-transform: none;
}

.bhk-diet-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--bhk-hero-accent-start), var(--bhk-hero-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bhk-diet-hero__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: var(--bhk-muted);
  font-weight: 400;
}

.bhk-diet-hero__main {
  align-items: flex-start;
  gap: 0;
}

/* ── Image showcase ── */
.bhk-diet-showcase {
  animation: bhkDietShowcaseIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-diet-showcase__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1f1c;
  box-shadow:
    0 28px 60px rgba(26, 31, 28, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  min-height: 420px;
}

.bhk-diet-showcase__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(26, 31, 28, 0.72);
  backdrop-filter: blur(8px);
  animation: bhkDietBadgePop 0.8s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bhk-diet-slider {
  position: relative;
  z-index: 2;
}

.bhk-diet-slider .pq-portfoliobox-2,
.bhk-diet-slider .pq-portfolio-block,
.bhk-diet-slider .pq-portfolio-img {
  margin: 0;
  height: 100%;
}

.bhk-diet-slider .pq-portfolio-img {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  overflow: hidden;
}

.bhk-diet-slider .pq-portfoliobox-2 .pq-portfolio-img::before {
  display: none !important;
}

.bhk-diet-slider .pq-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  animation: bhkDietKenBurns 14s ease-in-out infinite alternate;
}

.bhk-diet-slider .item:nth-child(2) .pq-portfolio-img img {
  animation-duration: 16s;
  animation-delay: -3s;
}

.bhk-diet-slider .item:nth-child(3) .pq-portfolio-img img {
  animation-duration: 13s;
  animation-delay: -6s;
}

.bhk-diet-slider .item:nth-child(4) .pq-portfolio-img img {
  animation-duration: 15s;
  animation-delay: -2s;
}

.bhk-diet-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(26, 31, 28, 0.88) 0%, transparent 100%);
  letter-spacing: 0.02em;
}

.bhk-diet-slider.owl-carousel .owl-item,
.bhk-diet-slider.owl-carousel .owl-item.active {
  opacity: 1;
  transform: none;
}

/* ── Info panel (right column) ── */
.bhk-diet-info-col {
  animation: bhkDietInfoIn 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-diet-info-panel {
  height: 100%;
  padding: 1.75rem 1.65rem 2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f6 100%);
  border: 1px solid rgba(127, 184, 45, 0.18);
  box-shadow:
    0 24px 50px rgba(26, 31, 28, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
}

.bhk-diet-info-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7fb82d, #9dce5c, #7fb82d);
  background-size: 200% 100%;
}

.bhk-diet-info-panel__reviews {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e8ece9;
}

.bhk-diet-info-panel__reviews-title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a1f1c;
}

.bhk-diet-info-panel__avatars {
  height: 28px;
  width: auto;
}

.bhk-diet-info-panel__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6b7570;
}

.bhk-diet-info-panel__rating .fa-star {
  color: #f5b301;
}

.bhk-diet-info-panel__desc {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #4a554f;
}

.bhk-diet-info-panel__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.bhk-diet-info-panel__feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 0.9rem;
  border-radius: 12px;
  background: #f7f8f6;
  border: 1px solid #e8ece9;
}

.bhk-diet-info-panel__feature-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(127, 184, 45, 0.14);
  color: #7fb82d;
  font-size: 1.1rem;
}

.bhk-diet-info-panel__feature-body h6 {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: #1a1f1c;
  text-transform: capitalize;
}

.bhk-diet-info-panel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bhk-diet-info-panel__actions .pq-button-container {
  margin: 0;
}

.bhk-diet-info-panel__actions .pq-button {
  white-space: nowrap;
}

@keyframes bhkDietTitleReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bhkDietShowcaseIn {
  from {
    opacity: 0;
    transform: translateX(-36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes bhkDietInfoIn {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bhkDietKenBurns {
  0% {
    transform: scale(1.06) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(-1.2%, -0.8%);
  }
  100% {
    transform: scale(1.08) translate(0.6%, 0.4%);
  }
}

@keyframes bhkDietBadgePop {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@media (max-width: 1199px) {
  .bhk-diet-info-col {
    margin-top: 1.75rem;
  }

  .bhk-diet-slider .pq-portfolio-img {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .bhk-diet-hero {
    --bhk-hero-header-offset: 96px;
    padding: calc(var(--bhk-hero-header-offset) + 1.25rem) 0 80px;
  }

  .bhk-diet-hero__title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .bhk-diet-hero__lead {
    font-size: 0.92rem;
  }

  .bhk-diet-slider .pq-portfolio-img {
    min-height: 280px;
  }

  .bhk-diet-info-panel__features {
    grid-template-columns: 1fr;
  }

  .bhk-diet-info-panel__actions {
    flex-direction: column;
  }

  .bhk-diet-info-panel__actions .pq-button-container {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhk-diet-hero *,
  .bhk-diet-hero *::before,
  .bhk-diet-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Per-diet palette — matches meal type, same layout as homepage hero */
.bhk-veg-diet-page .bhk-diet-hero,
.bhk-vegan-diet-page .bhk-diet-hero {
  --bhk-brand: #7fb82d;
  --bhk-brand-dark: #5a9a1a;
  --bhk-brand-glow: rgba(127, 184, 45, 0.22);
  --bhk-hero-accent-start: #5a9a1a;
  --bhk-hero-accent-end: #7fb82d;
}

.bhk-vegan-diet-page .bhk-diet-hero {
  background: linear-gradient(135deg, #fafafa 0%, #fff 50%, #f6faf4 100%);
}

.bhk-non-veg-diet-page .bhk-diet-hero {
  --bhk-brand: #c45a45;
  --bhk-brand-dark: #9e4535;
  --bhk-brand-glow: rgba(196, 90, 69, 0.22);
  --bhk-hero-accent-start: #9e4535;
  --bhk-hero-accent-end: #c45a45;
  background: linear-gradient(135deg, #faf6f5 0%, #fff 45%, #f8efec 100%);
}

.bhk-keto-diet-page .bhk-diet-hero {
  --bhk-brand: #c4920a;
  --bhk-brand-dark: #9a7209;
  --bhk-brand-glow: rgba(196, 146, 10, 0.2);
  --bhk-hero-accent-start: #9a7209;
  --bhk-hero-accent-end: #c4920a;
  background: linear-gradient(135deg, #faf8f2 0%, #fff 45%, #f5f0e3 100%);
}

.bhk-non-veg-diet-page .bhk-diet-hero__title {
  font-size: clamp(1.75rem, 4.8vw, 2.85rem);
}

/* Signup wizard column (veg / vegan / keto / non-veg pages) */
.bhk-diet-signup-col {
  animation: bhkDietShowcaseIn 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-diet-hero .formwrapper.bhk-signup-panel {
  width: 100%;
  margin: 0;
  padding: 1.65rem 1.5rem 1.75rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f6 100%);
  border: 1px solid rgba(127, 184, 45, 0.18);
  box-shadow:
    0 24px 50px rgba(26, 31, 28, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bhk-diet-hero .formwrapper.bhk-signup-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #7fb82d, #9dce5c, #7fb82d);
  background-size: 200% 100%;
}
