/* Above-the-fold — funeral-home-ppc-company.html (mobile LCP / FCP) */

#component-header {
  min-height: 70px;
}

@media (max-width: 1199px) {
  #component-header {
    min-height: 0;
  }

  body.body-page-inner {
    padding-top: 72px;
  }
}

@media (min-width: 1200px) {
  #component-header {
    min-height: 100px;
  }
}

.fh-ppc-landing {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.8;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  color: #18160f;
  background: #f8f6f3;
}

.fh-ppc-landing .container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 3vw, 3rem);
}

.fh-ppc-landing .hero {
  background: linear-gradient(170deg, #f8f6f3 60%, #e8ecf8 100%);
  padding: 0.25rem 0 1.15rem;
  margin-top: 0;
  position: relative;
  overflow: hidden;
}

@media (min-width: 921px) {
  .fh-ppc-landing .hero {
    padding: clamp(3.5rem, 7vw, 5.75rem) 0 2.5rem;
  }
}

.fh-ppc-landing .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.fh-ppc-landing .hero-grid > * {
  min-width: 0;
}

.fh-ppc-landing .hero-eyebrow {
  display: inline-block;
  background: rgba(255, 107, 52, 0.12);
  border: 1px solid rgba(255, 107, 52, 0.3);
  color: #ff6b34;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.fh-ppc-landing .hero h1 {
  font-size: clamp(1.55rem, 5vw, 3rem);
  color: #18160f;
  margin-bottom: 16px;
  font-weight: 800;
  line-height: 1.15;
}

.fh-ppc-landing .hero h1 em {
  color: #ff6b34;
  font-style: normal;
}

.fh-ppc-landing .hero-lead {
  color: #18160f;
  font-size: clamp(0.95rem, 2.5vw, 1.05rem);
  margin-bottom: 22px;
  line-height: 1.65;
}

.fh-ppc-landing .btn-primary {
  background: #ff6b34;
  color: #fff;
  padding: 12px 24px;
  border-radius: 7px;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-block;
  text-decoration: none;
}

.fh-ppc-landing .hero-img-wrap {
  position: relative;
  min-height: 0;
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(24, 22, 15, 0.12);
}

.fh-ppc-landing .hero-img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
}

.fh-ppc-landing .hero-badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  box-shadow: 0 12px 40px rgba(24, 22, 15, 0.12);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.fh-ppc-landing .badge-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff6b34;
  line-height: 1;
}

.fh-ppc-landing .badge-label {
  font-size: 0.74rem;
  color: #18160f;
  font-weight: 600;
  line-height: 1.3;
}

.fh-ppc-landing .trust-bar {
  background: #fff;
  padding: 18px 0;
  border-bottom: 1px solid #e0d8d0;
}

.fh-ppc-landing .trust-items {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.fh-ppc-landing .trust-item {
  font-size: 0.85rem;
  font-weight: 600;
  color: #18160f;
}

@media (max-width: 920px) {
  .fh-ppc-landing .hero {
    padding: 0.25rem 0 1.15rem;
    margin-top: 0 !important;
  }

  .fh-ppc-landing .hero-eyebrow {
    margin-top: 0;
  }

  .fh-ppc-landing .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .fh-ppc-landing .hero-img-wrap {
    min-height: 220px;
    height: auto;
    max-height: 48vh;
    aspect-ratio: 4 / 3;
  }

  .fh-ppc-landing .hero-img-wrap img {
    position: relative;
    inset: auto;
    min-height: 220px;
    height: 100%;
  }
}

@media (min-width: 768px) {
  .fh-ppc-landing {
    font-family: "Epilogue", system-ui, sans-serif;
  }
}

@media (max-width: 580px) {
  .fh-ppc-landing .hero {
    padding: 0.5rem 0 1.25rem;
    margin-top: 0 !important;
  }
}

@media (min-width: 921px) {
  .fh-ppc-landing .hero-img-wrap {
    min-height: 420px;
  }
}
