/* =========================================================
   PerQ – Wallet Loyalty Pages (Page-Specific Styling Only)
   This file MUST NOT affect Enterprise or core site pages
========================================================= */

/* ---------------------------------------------------------
   HERO
--------------------------------------------------------- */

.perq-hero {
  padding: 120px 20px 100px;
  text-align: center;
}

.perq-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  color: #222;
  max-width: 900px;
  margin: 0 auto 25px;
}

.perq-hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 35px;
  line-height: 1.7;
  color: #222;
}

/* ---------------------------------------------------------
   SECTIONS
--------------------------------------------------------- */

.perq-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 80px 20px;
}

.perq-section h2 {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--brand-orange);
  margin-bottom: 25px;
  text-align: center;
}

.perq-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 20px;
  text-align: center;
}

/* ---------------------------------------------------------
   BULLET LISTS
--------------------------------------------------------- */

.perq-bullets {
  max-width: 700px;
  margin: 40px auto 0;
  padding-left: 20px;
  text-align: left;
}

.perq-bullets li {
  font-size: 1.05rem;
  margin-bottom: 14px;
  line-height: 1.6;
  color: #333;
}

/* ---------------------------------------------------------
   GUARANTEE BOX
--------------------------------------------------------- */

.perq-guarantee {
  background: var(--bg-soft);
  color: #fefefe;
  border-radius: 14px;
  padding: 45px 35px;
  margin-top: 70px;
  text-align: center;
}

.perq-guarantee h3 {
  font-size: 1.7rem;
  color: var(--brand-yellow);
  margin-bottom: 20px;
}

.perq-guarantee p {
  color: #fefefe;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CTA
--------------------------------------------------------- */

.perq-section .cta-button {
  font-size: 1.15rem;
  padding: 18px 40px;
  margin-top: 20px;
}

/* ---------------------------------------------------------
   RESPONSIVE
--------------------------------------------------------- */

@media (max-width: 768px) {
  .perq-hero {
    padding: 90px 20px 80px;
  }

  .perq-hero h1 {
    font-size: 2.1rem;
  }

  .perq-hero p {
    font-size: 1.05rem;
  }

  .perq-section {
    padding: 60px 20px;
  }
}


/* =========================================================
   PerQ Hero with Background Image
========================================================= */

.perq-hero-image {
  position: relative;
  min-height: 90vh;
  width: 100%;

  background-image: url('/images/perqpizzashop.webp');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  padding: 120px 20px 80px;
}

/* Dark overlay */
.perq-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Ensure content is above overlay */
.perq-hero-image > * {
  position: relative;
  z-index: 1;
}

/* Headline */
.perq-hero-image h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

/* Subhead */
.perq-hero-image p {
  font-size: 1.25rem;
  max-width: 720px;
  margin: 0 auto 35px;
  line-height: 1.6;
  color: #f1f1f1;
}

/* CTA spacing */
.perq-hero-image .cta-button {
  margin-top: 10px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .perq-hero-image {
    min-height: 85vh;
    padding: 100px 20px 60px;
  }

  .perq-hero-image p {
    font-size: 1.05rem;
  }
}
