/* =============================================
   StartFood — Homepage Only
   Clean build, no legacy, no conflicts
   All classes prefixed hp- to avoid clashes
   ============================================= */

/* ── HERO ──────────────────────────────────── */
.hp-hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 4rem 1.5rem;
  background-color: #111;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 50%, rgba(0,0,0,0.2) 100%),
    url('https://images.unsplash.com/photo-1473093295043-cdd812d0e601?w=1600&q=85');
  background-size: cover;
  background-position: center;
}
.hp-hero__inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}
.hp-hero__content { max-width: 580px; }

.hp-hero__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f5a623;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}
.hp-hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.75rem, 5.5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0 0 1.25rem;
}
.hp-hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, #e8622a, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hp-hero__sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin: 0 0 2rem;
  max-width: 460px;
}
.hp-hero__btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 700;
  padding: 0.9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.hp-btn--primary {
  background: linear-gradient(135deg, #e8622a, #f5a623);
  color: #fff;
  box-shadow: 0 4px 20px rgba(232,98,42,0.45);
}
.hp-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(232,98,42,0.6);
  color: #fff;
  text-decoration: none;
}
.hp-btn--ghost {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.4);
  color: rgba(255,255,255,0.9);
}
.hp-btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.75);
  color: #fff;
  text-decoration: none;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  .hp-hero { min-height: 400px; padding: 3rem 1.25rem; }
  .hp-hero__title { font-size: clamp(2rem, 10vw, 2.75rem); }
  .hp-hero__sub { font-size: 1rem; }
}

/* ── STATS BAR ──────────────────────────────── */
.hp-stats {
  background: #fff;
  border-bottom: 1px solid #e5e0d8;
  padding: 1.5rem 1.5rem;
}
.hp-stats__inner {
  display: flex;
  justify-content: center;
  max-width: 1140px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 0;
}
.hp-stat {
  flex: 1;
  min-width: 110px;
  text-align: center;
  padding: 0.5rem 1.5rem;
  border-right: 1px solid #e5e0d8;
}
.hp-stat:last-child { border-right: none; }
.hp-stat__num {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, #e8622a, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}
.hp-stat__lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.2rem;
}
@media (max-width: 500px) {
  .hp-stat { min-width: 80px; padding: 0.4rem 0.75rem; }
  .hp-stat__num { font-size: 1.5rem; }
}

/* ── AD STRIP ───────────────────────────────── */
.hp-ad {
  background: #f5f3ef;
  border-top: 1px solid #e5e0d8;
  border-bottom: 1px solid #e5e0d8;
  padding: 0.85rem 1.5rem;
  text-align: center;
}
.hp-ad > * { max-width: 1140px; margin: 0 auto; }

/* ── SECTION WRAPPER ────────────────────────── */
.hp-section {
  padding: 4.5rem 1.5rem;
}
.hp-section--alt { background: #f0ede8; }
.hp-section__wrap { max-width: 1140px; margin: 0 auto; }

.hp-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hp-section__left { display: flex; flex-direction: column; gap: 0.4rem; }

.hp-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 20px;
  width: fit-content;
}
.hp-label--orange { background: #fde8dc; color: #e8622a; }
.hp-label--green  { background: #e8f5ee; color: #2d6a4f; }

.hp-section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.15;
  margin: 0;
}
.hp-section__sub {
  color: #6b6b6b;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}
.hp-section__all {
  font-size: 0.88rem;
  font-weight: 700;
  color: #e8622a;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
}
.hp-section__all:hover { text-decoration: underline; }

/* ── CARDS GRID ─────────────────────────────── */
.hp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 900px) { .hp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .hp-grid { grid-template-columns: 1fr; } }

.hp-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e5e0d8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}
.hp-card:hover {
  box-shadow: 0 20px 56px rgba(0,0,0,0.13);
  transform: translateY(-4px);
}
.hp-card--recipe { border-top: 4px solid #e8622a; }
.hp-card--guide  { border-top: 4px solid #2d6a4f; }

/* ✅ KEY: aspect-ratio on the <img> itself avoids height:auto conflicts */
.hp-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hp-card:hover .hp-card__img { transform: scale(1.04); }

.hp-card__img-link {
  display: block;
  overflow: hidden;
  text-decoration: none;
}

.hp-card__body {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hp-card__meta {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #e8622a;
  margin-bottom: 0.45rem;
}
.hp-card--guide .hp-card__meta { color: #2d6a4f; }

.hp-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin: 0 0 0.55rem;
}
.hp-card__title a { color: inherit; text-decoration: none; }
.hp-card__title a:hover { color: #e8622a; }
.hp-card--guide .hp-card__title a:hover { color: #2d6a4f; }

.hp-card__desc {
  font-size: 0.875rem;
  color: #6b6b6b;
  line-height: 1.65;
  flex: 1;
  margin: 0 0 1.1rem;
}
.hp-card__cta {
  display: inline-flex;
  align-items: center;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s, color 0.2s;
  color: #e8622a;
  background: #fde8dc;
}
.hp-card__cta:hover { background: #e8622a; color: #fff; text-decoration: none; }
.hp-card--guide .hp-card__cta { color: #2d6a4f; background: #e8f5ee; }
.hp-card--guide .hp-card__cta:hover { background: #2d6a4f; color: #fff; }

/* ── GENERATOR ──────────────────────────────── */
.hp-gen {
  padding: 5rem 1.5rem;
  background: #111;
  background-image:
    radial-gradient(ellipse 65% 85% at 8% 50%, rgba(232,98,42,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 92% 20%, rgba(245,166,35,0.08) 0%, transparent 55%);
}
.hp-gen__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.hp-gen__copy { display: flex; flex-direction: column; gap: 1.5rem; }

.hp-gen__eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f5a623;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.3);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  width: fit-content;
}
.hp-gen__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  margin: 0;
}
.hp-gen__sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  margin: 0;
}
.hp-gen__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.hp-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.07);
  border: 1.5px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.5);
}
.hp-chip--on {
  background: #e8622a;
  border-color: #e8622a;
  color: #fff;
  box-shadow: 0 2px 10px rgba(232,98,42,0.4);
}
.hp-gen__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #e8622a, #f5a623);
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  padding: 1rem 2.25rem;
  border-radius: 50px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 4px 24px rgba(232,98,42,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.hp-gen__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(232,98,42,0.65);
  color: #fff;
  text-decoration: none;
}

/* Generator mock preview card */
.hp-gen__preview {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0,0,0,0.5);
  border-top: 4px solid #e8622a;
}
.hp-gen__preview-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #faf8f5;
  border-bottom: 1px solid #e5e0d8;
}
.hp-gen__preview-emoji { font-size: 2.25rem; flex-shrink: 0; line-height: 1; }
.hp-gen__preview-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: #1a1a1a;
  margin: 0 0 0.2rem;
}
.hp-gen__preview-meta { font-size: 0.72rem; color: #6b6b6b; margin: 0; }

.hp-gen__preview-steps {
  list-style: none;
  padding: 1rem 1.5rem;
  margin: 0;
  counter-reset: ps;
}
.hp-gen__preview-steps li {
  counter-increment: ps;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.84rem;
  color: #6b6b6b;
  line-height: 1.55;
  padding: 0.45rem 0;
  border-bottom: 1px solid #f5f2ee;
}
.hp-gen__preview-steps li:last-child { border-bottom: none; }
.hp-gen__preview-steps li::before {
  content: counter(ps);
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  height: 1.5rem;
  background: linear-gradient(135deg, #e8622a, #f5a623);
  color: #fff;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 0.05rem;
}
.hp-gen__preview-badge {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f5a623;
  background: rgba(245,166,35,0.09);
  border-top: 1px solid #e5e0d8;
  padding: 0.75rem 1.5rem;
  text-align: center;
}

@media (max-width: 860px) {
  .hp-gen__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hp-gen__preview { display: none; }
  .hp-gen { padding: 3.5rem 1.25rem; }
}

/* ── BENEFITS ───────────────────────────────── */
.hp-benefits { padding: 4.5rem 1.5rem; background: #fff; }
.hp-benefits__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  text-align: center;
  color: #1a1a1a;
  margin: 0 0 2.5rem;
}
.hp-benefits__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 768px) { .hp-benefits__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hp-benefits__grid { grid-template-columns: 1fr; } }

.hp-benefit {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  background: #faf8f5;
  transition: box-shadow 0.2s, transform 0.2s;
}
.hp-benefit:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.09); transform: translateY(-2px); }
.hp-benefit__icon { font-size: 2.25rem; display: block; margin-bottom: 0.75rem; }
.hp-benefit__title { font-weight: 700; font-size: 1rem; color: #1a1a1a; margin: 0 0 0.4rem; }
.hp-benefit__desc { font-size: 0.84rem; color: #6b6b6b; line-height: 1.6; margin: 0; }

/* ── AMAZON PICKS ───────────────────────────── */
.hp-picks { padding: 4.5rem 1.5rem; background: #f0ede8; }
.hp-picks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 1140px;
  margin: 0 auto;
}
@media (max-width: 768px) { .hp-picks__grid { grid-template-columns: 1fr; } }

.hp-pick {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e5e0d8;
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}
.hp-pick:hover { box-shadow: 0 8px 28px rgba(0,0,0,0.10); transform: translateY(-2px); }
.hp-pick__icon { font-size: 2.25rem; flex-shrink: 0; }
.hp-pick__info { flex: 1; min-width: 0; }
.hp-pick__name { font-weight: 700; font-size: 0.95rem; color: #1a1a1a; margin: 0 0 0.15rem; }
.hp-pick__by   { font-size: 0.74rem; color: #6b6b6b; margin: 0 0 0.3rem; }
.hp-pick__desc { font-size: 0.82rem; color: #6b6b6b; line-height: 1.5; margin: 0; }
.hp-pick__btn {
  display: inline-flex;
  background: linear-gradient(135deg, #f5a623, #f0901a);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.15s, box-shadow 0.15s;
  box-shadow: 0 2px 8px rgba(245,166,35,0.3);
}
.hp-pick__btn:hover { transform: translateY(-1px); color: #fff; text-decoration: none; }
.hp-affiliate-note {
  font-size: 0.74rem;
  color: #6b6b6b;
  text-align: center;
  margin: 1.25rem auto 0;
  max-width: 1140px;
  display: block;
}
