/* ======================================================
   GF Hearts — Marketing Homepage
   Logged-out sales page: hero, dating spotlight, feature
   grid, community, pricing, final CTA.
   ====================================================== */

/* ── Hero ────────────────────────────────────────────── */

.gfh-home-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.gfh-home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  z-index: 0;
}

.gfh-home-hero__overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.15) 70%, rgba(0, 0, 0, 0) 100%);
  padding: 3rem 0 2rem;
}

.gfh-home-hero__headline,.gfh-home-hero__subhead {
  text-shadow: 0 0 20px rgba(0,0,0,.50);
}

.gfh-home-hero__headline {
  font-family: var(--gfh-font-display);
  color: #fff;
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 0.75rem;
}

.gfh-home-hero__headline em {
  font-style: italic;
}

.gfh-home-hero__subhead {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 1.5rem;
  max-width: 32rem;
}

@media (min-width: 768px) {
  .gfh-home-hero {
    min-height: 85vh;
  }

  .gfh-home-hero__headline {
    font-size: 3.25rem;
  }

  .gfh-home-hero__subhead {
    font-size: 1.25rem;
  }
}

.gfh-home-hero__cards {
  display: none;
}

@media (min-width: 768px) {
  .gfh-home-hero__cards {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
  }

  .gfh-home-hero-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    background: var(--gfh-surface);
    border-radius: var(--gfh-radius-card);
    padding: 0.6rem 1rem 0.6rem 0.6rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  }

  .gfh-home-hero-card--1 {
    /* Clears the fixed header (which now overlaps the hero - see the
       page-transparent-header rules in nav.css) regardless of its actual
       measured height, rather than a fixed percentage that only happened to
       clear it before the header sat on top of the photo. */
    top: calc(var(--gfh-header-h) + 3rem);
    left: 5%;
  }

  .gfh-home-hero-card--2 {
    top: 45%;
    right: 6%;
  }

  .gfh-home-hero-card--3 {
    top: 44%;
    left: 8%;
  }

  .gfh-home-hero-card__avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  .gfh-home-hero-card__photo {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    display: block;
  }

  .gfh-home-hero-card__avatar .gfh-badge--compact {
    position: absolute;
    bottom: -4px;
    right: -4px;
  }

  .gfh-home-hero-card__info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
  }

  .gfh-home-hero-card__name {
    font-weight: 700;
    color: var(--gfh-teal);
    font-size: 0.9rem;
  }

  .gfh-home-hero-card__meta {
    font-size: 0.8rem;
    color: var(--gfh-text-muted);
  }
}

/* ── Dating spotlight ────────────────────────────────── */

.gfh-home-dating {
  padding: 3rem 0;
  background: var(--gfh-bg);
}

.gfh-home-dating__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gfh-home-dating__photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--gfh-radius-card);
  display: block;
}

.gfh-home-dating__headline {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.gfh-home-dating__headline em {
  color: var(--gfh-primary);
  font-style: italic;
}

.gfh-home-dating__body {
  color: var(--gfh-text);
  margin: 0 0 1rem;
}

.gfh-home-dating__list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  color: var(--gfh-text);
}

.gfh-home-dating__list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.5rem;
}

.gfh-home-dating__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 1.1rem;
  height: 1rem;
  background-image: url('../images/heart-bullet.svg');
  background-repeat: no-repeat;
  background-size: contain;
}

.gfh-home-dating__profiles {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.gfh-home-profile-chip {
  position: relative;
  width: 64px;
  height: 64px;
}

.gfh-home-profile-chip__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 2px solid var(--gfh-surface);
}

.gfh-home-profile-chip .gfh-badge--compact {
  position: absolute;
  bottom: -4px;
  right: -4px;
}

@media (min-width: 768px) {
  .gfh-home-dating__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .gfh-home-dating__photo,
  .gfh-home-dating__content {
    flex: 1;
  }

  .gfh-home-dating__photo img {
    height: 380px;
  }
}

/* ── Feature grid ────────────────────────────────────── */

.gfh-home-feature-card__link {
  display: block;
  margin: 0.75rem 0;
  color: var(--gfh-teal);
  font-weight: 700;
  text-decoration: none;
}

p.gfh-home-feature-card__disclaimer {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: var(--gfh-text-muted);
}

/* ── Split sections (GF Meter / Recipes / Restaurants / Vendors) ── */

.gfh-home-split {
  padding: 3rem 0;
}

.gfh-home-split__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gfh-home-split--reverse .gfh-home-split__inner {
  flex-direction: column-reverse;
}

.gfh-home-meter {
  background: var(--gfh-surface);
}

.gfh-home-restaurants {
  background: var(--gfh-surface);
}

.gfh-home-vendors-family {
  background: var(--gfh-surface);
}

.gfh-home-split__media img,
.gfh-home-split__media video {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--gfh-radius-card);
  display: block;
}

.gfh-home-split__media--video video {
  object-fit: contain;
  background: var(--gfh-surface);
  max-width: 480px;
  max-height: 270px;
  margin: 0 auto;
}

:root[data-bx-mode="dark"] .gfh-home-meter {
  background: #342419 !important;
}

.gfh-home-split__icon {
  font-size: 1.75rem;
  color: var(--gfh-accent);
  margin-bottom: 0.75rem;
  display: block;
}

.gfh-home-split__content h2 {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.gfh-home-split__content p {
  color: var(--gfh-text);
  margin: 0 0 1rem;
}

.gfh-home-split__content p:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .gfh-home-split__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .gfh-home-split--reverse .gfh-home-split__inner {
    flex-direction: row;
  }

  .gfh-home-split__media,
  .gfh-home-split__content {
    flex: 1;
  }

  .gfh-home-split__media img,
  .gfh-home-split__media video {
    height: 380px;
  }
}

/* ── Community ───────────────────────────────────────── */

.gfh-home-community {
  padding: 3rem 0;
}

.gfh-home-community__inner {
  display: flex;
  flex-direction: column-reverse;
  gap: 1.5rem;
}

.gfh-home-community__photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--gfh-radius-card);
  display: block;
}

.gfh-home-community__content h2 {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.gfh-home-community__content p {
  color: var(--gfh-text);
  margin: 0 0 1rem;
}

.gfh-home-community__content p:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .gfh-home-community__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .gfh-home-community__photo,
  .gfh-home-community__content {
    flex: 1;
  }

  .gfh-home-community__photo img {
    height: 360px;
  }
}

/* ── Pricing ─────────────────────────────────────────── */

.gfh-home-pricing {
  padding: 3rem 0;
}

.gfh-home-pricing__title {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.75rem;
  text-align: center;
  margin: 0 0 1.5rem;
}

.gfh-home-pricing__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 640px;
  margin: 0 auto;
}

.gfh-home-pricing-card {
  background: var(--gfh-surface);
  border-radius: var(--gfh-radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
}

.gfh-home-pricing-card--featured {
  border: 2px solid var(--gfh-primary);
}

.gfh-home-pricing-card h3 {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
}

.gfh-home-pricing-card__price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gfh-primary);
  margin: 0 0 0.75rem;
}

.gfh-home-pricing-card__price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--gfh-text-muted);
}

.gfh-home-pricing-card__desc {
  color: var(--gfh-text);
  margin: 0 0 1.5rem;
}

@media (min-width: 768px) {
  .gfh-home-pricing__grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 760px;
  }
}

/* ── Events ──────────────────────────────────────────── */

.gfh-home-events {
  padding: 3rem 0;
  background: var(--gfh-surface);
}

.gfh-home-events__inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.gfh-home-events__photo img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--gfh-radius-card);
  display: block;
}

.gfh-home-events__content h2 {
  font-family: var(--gfh-font-display);
  color: var(--gfh-teal);
  font-size: 1.75rem;
  margin: 0 0 0.75rem;
}

.gfh-home-events__content p {
  color: var(--gfh-text);
  margin: 0;
}

@media (min-width: 768px) {
  .gfh-home-events__inner {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }

  .gfh-home-events__photo,
  .gfh-home-events__content {
    flex: 1;
  }

  .gfh-home-events__photo img {
    height: 360px;
  }
}

/* ── Final CTA ───────────────────────────────────────── */

.gfh-home-final-cta {
  padding: 3rem 0;
  background: var(--gfh-teal);
  text-align: center;
}

.gfh-home-final-cta__text {
  color: #fff;
  font-family: var(--gfh-font-display);
  font-size: 1.5rem;
  margin: 0 0 1.5rem;
}
