/* ==========================================================================
   Giving Back page — Chick-fil-A Raynham
   Tokens, header, footer, buttons, cards, hero and reveals live in theme.css.
   This file only styles what is unique to givingback/index.html.
   ========================================================================== */

/* ---------- Hero ---------- */
.gb-hero::before {
  /* Warmer bloom for this page: butter fading into the red tint */
  background: radial-gradient(circle, rgba(255, 183, 3, .22), rgba(229, 22, 54, .06) 45%, transparent 64%);
}

.gb-quote {
  position: relative;
  margin-top: 34px;
  padding-left: 22px;
  border-left: 3px solid var(--red);
  max-width: 44ch;
}

.gb-quote p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.4;
  color: var(--ink-2);
}

.gb-hero__media { position: relative; }

.gb-hero__sticker {
  position: absolute;
  top: -18px;
  left: -14px;
  z-index: 2;
  transform: rotate(-6deg);
}

.gb-hero .page-hero__media img {
  aspect-ratio: 1 / 1;
  object-position: 50% 40%;
}

/* ---------- Request cards ---------- */
.request-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
}

.request-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 42px);
}

.request-card__label {
  display: inline-block;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.request-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  margin-bottom: 14px;
}

.request-card > p { margin-bottom: 20px; }

.request-card__list {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--ink-2);
}

.request-card__list li {
  position: relative;
  padding-left: 28px;
}

.request-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red-tint) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='m6 12.5 4 4 8-9' fill='none' stroke='%23e51636' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 10px no-repeat;
}

.request-card .btn { margin-top: auto; }

/* The second card leans butter so the pair reads as two distinct offers */
.request-card:nth-child(2) .icon-bubble { background: var(--butter-tint); color: var(--red); }
.request-card:nth-child(2) .request-card__label { color: var(--red); }
.request-card:nth-child(2) .request-card__list li::before { background-color: var(--butter-tint); }

/* ---------- Pillars ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}

.pillar {
  --pillar-tint: var(--red-tint);
  position: relative;
  padding: 32px 26px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  text-align: center;
  overflow: hidden;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}

.pillar::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: var(--pillar-accent, var(--red));
  opacity: .9;
}

.pillar:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.pillar img {
  width: 82px;
  height: 70px;
  object-fit: contain;
  margin: 0 auto 20px;
  padding: 10px;
  border-radius: 20px;
  background: var(--pillar-tint);
  box-sizing: content-box;
  transition: transform .4s var(--spring);
}

.pillar:hover img { transform: translateY(-3px) rotate(-3deg); }

.pillar h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  text-wrap: balance;
}

.pillar p {
  font-size: .96rem;
  color: var(--ink-2);
}

.pillar--pink   { --pillar-accent: #e8508a; --pillar-tint: #fde9f1; }
.pillar--blue   { --pillar-accent: #3b8dd9; --pillar-tint: #e6f1fc; }
.pillar--orange { --pillar-accent: #f28c28; --pillar-tint: #fff0e2; }
.pillar--green  { --pillar-accent: #4caf6d; --pillar-tint: #e7f6ec; }

/* ---------- Giving philosophy + wide photo strip ---------- */
.gb-philosophy { padding-bottom: 0; }

.gb-philosophy__text {
  max-width: 720px;
  margin: 0 auto clamp(40px, 6vw, 72px);
  text-align: center;
}

.gb-philosophy__text h2 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  margin-bottom: 16px;
}

.gb-philosophy__text p {
  color: var(--ink-2);
  font-size: 1.1rem;
  max-width: 58ch;
  margin-inline: auto;
}

.gb-strip {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade the top edge of the strip into the paper so the cut-out photo sits in the page */
.gb-strip::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 28%;
  background: linear-gradient(to bottom, var(--paper-2), transparent);
  pointer-events: none;
  z-index: 1;
}

.gb-strip img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.2s var(--ease);
}

.gb-strip:hover img { transform: scale(1.03); }

/* ---------- Banner actions ---------- */
.banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .request-grid { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gb-hero__sticker { top: -14px; left: 12px; }
}

@media (max-width: 640px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { padding: 28px 22px 26px; }
  .gb-strip img { min-height: 160px; }
  .gb-quote { margin-top: 26px; }
  .banner__actions .btn { width: 100%; }
}
