/* =========================================================
   Allenberry — Holiday Gift Cards landing (/gift-cards)

   Built from the approved design handoff "Allenberry Holiday Gifts".
   The design exported every style inline; here they live as classes so the
   page reads cleanly in components/PageGiftCards.jsx. The visual result
   matches the design. Everything is scoped under .gc-page so nothing leaks
   into the rest of the SPA. Fonts come from the site tokens loaded in
   styles/base.css (Fraunces, Inter, JetBrains Mono).

   The design's own header and footer are dropped in favour of the site's
   shared TopBar and Footer (App.jsx renders them around every page).
   ========================================================= */

.gc-page {
  --gc-navy: #1E2A36;
  --gc-gold: #8A6A2F;
  --gc-gold-light: #E9D9B4;
  --gc-gold-mid: #D9BF86;
  --gc-blue: #2F5576;
  --gc-cream: #F6F1E6;
  --gc-body: #3E4A56;
  --gc-rule: #DDD7CB;
  --gc-rule-soft: #E2DED3;
  --gc-serif: Fraunces, Georgia, serif;
  --gc-sans: Inter, system-ui, sans-serif;
  --gc-mono: 'JetBrains Mono', ui-monospace, monospace;

  font-family: var(--gc-sans);
  color: var(--gc-navy);
  background: #ffffff;
}
.gc-page a { color: var(--gc-blue); }
.gc-page a:hover { color: var(--gc-navy); }

/* Fixed TopBar is ~92px tall; anchored sections land below it. */
.gc-page [id] { scroll-margin-top: 96px; }

/* ---------- shared type ---------- */
.gc-eyebrow {
  font-family: var(--gc-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  color: var(--gc-gold);
  text-transform: uppercase;
}
.gc-h2 {
  margin: 0;
  font-family: var(--gc-serif);
  font-weight: 300;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
  color: var(--gc-navy);
}
.gc-h2 em { color: var(--gc-gold); font-weight: 300; }
.gc-h3 {
  margin: 0;
  font-family: var(--gc-serif);
  font-weight: 400;
  font-size: 26px;
}
.gc-lede { margin: 0; font-size: 19px; line-height: 1.65; color: var(--gc-body); }
.gc-body { margin: 0; font-size: 17px; line-height: 1.6; color: var(--gc-body); }

/* ---------- layout ---------- */
.gc-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 110px 32px;
  box-sizing: border-box;
}
.gc-band-cream { background: var(--gc-cream); border-top: 1px solid var(--gc-rule-soft); }
.gc-band-white { background: #ffffff; border-top: 1px solid var(--gc-rule-soft); }
.gc-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 24px 80px;
}
.gc-intro > .gc-h2 { flex: 1 1 500px; min-width: 0; }
.gc-intro > p { flex: 1 1 440px; min-width: 0; padding-top: 8px; }

/* ---------- buttons ---------- */
.gc-page .gc-btn {
  display: inline-block;
  font-family: var(--gc-sans);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gc-page .gc-btn--navy { background: var(--gc-navy); color: #ffffff; }
.gc-page .gc-btn--navy:hover { background: #2B3A4A; color: #ffffff; }
.gc-page .gc-btn--white { background: #ffffff; color: var(--gc-navy); }
.gc-page .gc-btn--white:hover { background: var(--gc-cream); color: var(--gc-navy); }
.gc-page .gc-btn--outline-light {
  color: #ffffff;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.7);
  padding: 15px 28px;
}
.gc-page .gc-btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); color: #ffffff; }
.gc-page .gc-underline-light {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding: 10px 0;
}
.gc-page .gc-underline-light:hover { color: #ffffff; border-bottom-color: #ffffff; }

/* ---------- 1. hero ---------- */
.gc-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  flex-direction: column;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(14,20,28,0.84) 0%, rgba(14,20,28,0.62) 42%, rgba(14,20,28,0.22) 72%, rgba(14,20,28,0.08) 100%),
    url(../images/gift-cards/hero-mantel.jpg) center 50% / cover no-repeat;
}
@media (max-width: 700px) {
  .gc-hero {
    background:
      linear-gradient(90deg, rgba(14,20,28,0.84) 0%, rgba(14,20,28,0.70) 60%, rgba(14,20,28,0.40) 100%),
      url(../images/gift-cards/hero-mantel-1000.jpg) 70% 50% / cover no-repeat;
  }
}
.gc-hero__inner {
  width: 100%;
  max-width: 1180px;
  margin: auto auto 0;
  /* Top padding clears the site's fixed, transparent TopBar. */
  padding: 212px 32px 120px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.gc-hero h1 {
  margin: 0;
  font-family: var(--gc-serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 72px);
  line-height: 1.06;
  color: #ffffff;
}
.gc-hero h1 em { color: var(--gc-gold-light); font-weight: 300; }
.gc-hero p { margin: 0; max-width: 540px; font-size: 19px; line-height: 1.65; color: #F3EFE6; }
.gc-hero__ctas { display: flex; align-items: center; gap: 16px 32px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- 2. how it works ---------- */
.gc-how { padding-bottom: 90px; display: flex; flex-direction: column; gap: 20px; }
.gc-how .gc-intro { margin-bottom: 32px; }
.gc-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px; }
.gc-step { border-top: 1px solid var(--gc-rule); padding: 28px 0; display: flex; flex-direction: column; gap: 12px; }

/* ---------- 3. picker ---------- */
.gc-buy { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.gc-buy__left { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gc-buy__left > p { margin: 0; font-size: 18px; line-height: 1.6; color: var(--gc-body); }
.gc-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px; }
.gc-amount {
  min-height: 56px;
  border-radius: 0;
  font-family: var(--gc-serif);
  font-size: 22px;
  cursor: pointer;
  background: #ffffff;
  color: var(--gc-navy);
  border: 1px solid var(--gc-rule);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.gc-amount:hover { border-color: var(--gc-navy); }
.gc-amount[aria-pressed="true"] { background: var(--gc-navy); color: #ffffff; border-color: var(--gc-navy); }
.gc-amount:focus-visible { outline: 2px solid var(--gc-blue); outline-offset: 2px; }

.gc-order {
  flex: 1 1 360px;
  min-width: 0;
  border: 1px solid var(--gc-rule);
  box-shadow: 0 20px 60px rgba(30, 42, 54, 0.08);
  background: #ffffff;
}
.gc-order__inner {
  margin: 16px;
  border: 1px solid #E5C9B4;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.gc-order__eyebrow { font-family: var(--gc-mono); font-size: 12px; letter-spacing: 0.25em; color: #8A5A3A; }
.gc-order__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--gc-rule-soft);
}
.gc-order__row > span:first-child { font-size: 17px; color: var(--gc-body); }
.gc-order__value { font-family: var(--gc-serif); font-size: 30px; }
.gc-order__value--bonus { color: var(--gc-gold); }
.gc-order__note { margin: 0; font-size: 16px; line-height: 1.55; color: var(--gc-body); }
.gc-order .gc-btn { text-align: center; }
.gc-order__small { margin: 0; font-size: 14px; line-height: 1.6; color: var(--gc-body); text-align: center; }

/* ---------- 4. good everywhere ---------- */
.gc-use { display: flex; flex-direction: column; gap: 20px; }
.gc-use .gc-intro { margin-bottom: 40px; }
.gc-cards { display: flex; flex-wrap: wrap; gap: 56px 32px; }
.gc-card { flex: 1 1 420px; display: flex; flex-direction: column; gap: 12px; }
.gc-card img { width: 100%; height: 320px; object-fit: cover; display: block; }
.gc-card__eyebrow {
  font-family: var(--gc-mono);
  font-size: 12px;
  letter-spacing: 0.25em;
  color: var(--gc-blue);
  margin-top: 12px;
}

/* ---------- 5. allenberry pass (navy) ---------- */
.gc-pass { background: var(--gc-navy); }
.gc-pass a { color: var(--gc-gold-light); }
.gc-pass a:hover { color: #ffffff; }
.gc-pass__wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.gc-pass__left { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 22px; color: #DDD8CE; }
.gc-pass__left .gc-eyebrow { color: var(--gc-gold-mid); }
.gc-pass__left .gc-h2 { color: #ffffff; }
.gc-pass__left .gc-h2 em { color: var(--gc-gold-light); }
.gc-pass__left > p { margin: 0; font-size: 19px; line-height: 1.65; }
.gc-checks { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 17px; }
.gc-checks li { display: flex; gap: 14px; align-items: flex-start; }
.gc-checks svg { flex: none; margin-top: 4px; }

.gc-passcard-col { flex: 1 1 400px; min-width: 0; display: flex; }
.gc-passcard {
  flex: 1;
  border: 1px solid #C9D3DD;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  background: #ffffff;
  color: var(--gc-navy);
}
.gc-passcard a { color: var(--gc-blue); }
.gc-passcard a:hover { color: var(--gc-navy); }
.gc-passcard .gc-btn--navy, .gc-passcard .gc-btn--navy:hover { color: #ffffff; }
.gc-passcard__ticket {
  margin: 16px;
  border: 1px solid #C9D3DD;
  padding: 26px 28px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gc-passcard__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.gc-passcard__top img { height: 46px; width: auto; }
.gc-mono-sm { font-family: var(--gc-mono); font-size: 12px; letter-spacing: 0.25em; color: #5C5852; }
.gc-passcard h3 { margin: 0; font-family: var(--gc-serif); font-weight: 400; font-size: 40px; }
.gc-passcard__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--gc-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gc-body);
}
.gc-passcard__body { padding: 20px 40px 40px; display: flex; flex-direction: column; gap: 22px; }
.gc-passcard__price { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.gc-passcard__price > span:first-child { font-family: var(--gc-serif); font-size: 60px; line-height: 1; }
.gc-passcard__price s { font-size: 20px; color: #5C5852; }
.gc-badge {
  align-self: flex-start;
  font-family: var(--gc-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: #ffffff;
  background: var(--gc-gold);
  padding: 7px 12px;
}
.gc-passcard__body > p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--gc-body); }
.gc-passcard__body > p.gc-small { font-size: 14px; }
.gc-passcard .gc-btn { align-self: flex-start; padding: 16px 30px; }
@media (max-width: 480px) {
  .gc-passcard__body { padding: 16px 24px 32px; }
}

/* ---------- 6. spa memberships ---------- */
.gc-spa { display: flex; flex-wrap: wrap; align-items: center; gap: 48px 64px; }
.gc-spa > img {
  flex: 1 1 460px;
  min-width: 0;
  width: 100%;
  height: 440px;
  object-fit: cover;
  object-position: 35% center;
  display: block;
}
.gc-spa__copy { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.gc-spa__tagline { margin: 0; font-family: var(--gc-serif); font-weight: 300; font-style: italic; font-size: 22px; color: var(--gc-gold); }
.gc-spa__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 4px; }
.gc-spa__price > span:nth-child(1) { font-family: var(--gc-mono); font-size: 12px; letter-spacing: 0.22em; color: var(--gc-body); }
.gc-spa__price > span:nth-child(2) { font-family: var(--gc-serif); font-size: 48px; line-height: 1; }
.gc-spa__price > span:nth-child(3) { font-size: 16px; color: var(--gc-body); }
.gc-spa__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 6px; }
.gc-spa__ctas > span { font-size: 16px; color: var(--gc-body); }
.gc-spa__ctas > span a { color: var(--gc-body); text-decoration: none; }
@media (max-width: 600px) {
  .gc-spa > img { height: 320px; }
}

/* ---------- 7. closing ---------- */
.gc-close {
  color: #ffffff;
  background:
    linear-gradient(0deg, rgba(18,26,34,0.76), rgba(18,26,34,0.60)),
    url(../images/gift-cards/closing-snowy-creek.jpg) center 45% / cover no-repeat;
}
.gc-close__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 130px 32px;
  box-sizing: border-box;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}
.gc-close .gc-eyebrow { color: #F1E6CC; }
.gc-close h2 {
  margin: 0;
  font-family: var(--gc-serif);
  font-weight: 300;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.1;
  color: #ffffff;
}
.gc-close h2 em { color: var(--gc-gold-light); }
.gc-close p { margin: 0; max-width: 560px; font-size: 19px; line-height: 1.6; color: #F3EFE6; }
.gc-close__ctas { display: flex; justify-content: center; align-items: center; gap: 16px 24px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- phone ---------- */
@media (max-width: 600px) {
  .gc-wrap { padding: 80px 20px; }
  .gc-hero__inner { padding: 160px 20px 80px; }
  .gc-close__inner { padding: 100px 20px; }
  .gc-order__inner { padding: 22px; }
  .gc-intro > .gc-h2, .gc-intro > p, .gc-buy__left, .gc-order,
  .gc-card, .gc-pass__left, .gc-passcard-col, .gc-spa > img, .gc-spa__copy { flex-basis: 100%; }
}
