/* =========================================================
   VELOURA EAST — PARTNER PROGRAM
   Dedicated stylesheet for partner/index.php only.
   Its own visual language again (like industry-solutions.css
   was for concierge/index.php) — pricing-tier cards, a vertical
   scrollytelling journey with a fill-as-you-scroll line, a
   top reading-progress bar, and a chip cloud. Tokens (--gold,
   --black, --muted, --border, --bg-2) still come from core.css
   so it reads as the same brand.

   Motion note: scroll-reveal, word-stagger, and hero parallax
   reuse the SITE-WIDE engine already loaded on every page
   (assets/css/luxury-motion.css + assets/js/luxury-motion.js).
   This file only styles the page-specific interactions that
   engine doesn't cover — see partner-program.js for: FAQ
   accordion, vertical journey fill line, top scroll-progress bar.
========================================================= */

.pp-container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.pp-container.narrow { max-width: 760px; }

.pp-gold-divider { width: 48px; height: 2px; background: var(--gold); margin: 0 auto 20px; }

.pp-section { padding: 108px 0; }
.pp-section-alt { background: var(--bg-2); }
.pp-section-dark { background: var(--black); color: #fff; }
.pp-section-dark .pp-eyebrow { color: rgba(255,255,255,.55); }
.pp-section-dark h2 { color: #fff; }
.pp-section-dark p { color: rgba(255,255,255,.72); }

.pp-section-head { text-align: center; max-width: 700px; margin: 0 auto 60px; }
.pp-eyebrow {
  font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px; display: block;
}
.pp-section h2 {
  font-family: 'Playfair Display', serif; font-weight: 400;
  font-size: clamp(27px, 3.2vw, 36px); color: var(--black); line-height: 1.25; margin-bottom: 8px;
}
.pp-lead { color: var(--muted); font-size: 15px; line-height: 1.9; margin-top: 16px; }


/* ===========================================================
   TOP SCROLL-PROGRESS BAR
=========================================================== */
.pp-progress-track { position: fixed; top: 72px; left: 0; width: 100%; height: 2px; z-index: 60; background: transparent; }
.pp-progress-bar { height: 100%; width: 0%; background: linear-gradient(90deg, var(--gold), #E4CB98); transition: width .1s linear; }
@media (max-width: 900px) { .pp-progress-track { top: 64px; } }


/* ===========================================================
   1. HERO
=========================================================== */
.pp-hero {
  position: relative; min-height: 760px; padding: 210px 0 130px;
  color: #fff; text-align: center; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; background: #0a0a0a;
}
.pp-hero-bgimg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center; opacity: .5;
}
.pp-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.4) 0%, rgba(0,0,0,.6) 55%, rgba(0,0,0,.82) 100%),
    radial-gradient(circle at 22% 20%, rgba(201,169,110,.2), transparent 55%),
    radial-gradient(circle at 80% 78%, rgba(201,169,110,.14), transparent 50%);
}
.pp-hero-content { position: relative; z-index: 2; max-width: 820px; width: 100%; margin: 0 auto; padding: 0 24px; }
.pp-hero .pp-tag {
  display: inline-block; color: var(--gold); font-size: 11px; letter-spacing: .35em;
  text-transform: uppercase; padding-bottom: 18px; position: relative;
}
.pp-hero .pp-tag::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 42px; height: 1px; background: var(--gold);
}
.pp-hero h1 {
  font-family: 'Playfair Display', serif; font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 400; line-height: 1.2; margin: 26px 0 26px; color: #fff;
  text-shadow: 0 8px 40px rgba(0,0,0,.6);
}
.pp-hero-lead {
  max-width: 640px; margin: 0 auto 42px; color: rgba(255,255,255,.88);
  font-size: 16.5px; line-height: 1.9; font-weight: 300;
}
.pp-hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px; }

/* Slow ambient rotation of a faint gold ring behind the hero copy */
.pp-hero-ring {
  position: absolute; z-index: 1; top: 50%; left: 50%; width: 900px; height: 900px;
  transform: translate(-50%,-50%); border: 1px solid rgba(201,169,110,.14); border-radius: 50%;
  animation: ppSpin 90s linear infinite;
}
.pp-hero-ring::before {
  content: ''; position: absolute; inset: 60px; border: 1px solid rgba(201,169,110,.1); border-radius: 50%;
}
@keyframes ppSpin { to { transform: translate(-50%,-50%) rotate(360deg); } }


/* ===========================================================
   2. BUTTONS
=========================================================== */
.pp-btn-primary {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 17px 40px; font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: #1a1a1a;
  background: linear-gradient(135deg, #E4CB98 0%, var(--gold) 45%, var(--gold-2) 100%);
  border: none; border-radius: 2px; text-decoration: none; cursor: pointer;
  overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: 0 8px 24px rgba(201,169,110,.28);
}
.pp-btn-primary::before {
  content: ''; position: absolute; inset: 0; left: -60%; width: 40%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.55), transparent);
  transform: skewX(-20deg); transition: left .6s ease;
}
.pp-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(201,169,110,.4); }
.pp-btn-primary:hover::before { left: 130%; }

.pp-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px;
  font-size: 11px; letter-spacing: .12em; text-decoration: none; border-radius: 2px;
  transition: all .25s ease;
}
.pp-btn-ghost-light { color: rgba(255,255,255,.85); border: 1px solid rgba(255,255,255,.28); }
.pp-btn-ghost-light:hover { color: #fff; border-color: rgba(255,255,255,.6); background: rgba(255,255,255,.06); }
.pp-btn-ghost-dark { color: var(--black); border: 1px solid rgba(17,17,17,.2); }
.pp-btn-ghost-dark:hover { border-color: var(--gold); background: rgba(201,169,110,.06); }

@media (max-width: 480px) {
  .pp-hero-actions { width: 100%; flex-direction: column; }
  .pp-btn-primary, .pp-btn-ghost { width: 100%; }
}


/* ===========================================================
   3. PARTNERSHIP OPPORTUNITIES — model cards
=========================================================== */
.pp-models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 1080px; margin: 0 auto; }
.pp-model-card {
  display: flex; gap: 24px; align-items: flex-start; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; padding: 32px; transition: transform .35s cubic-bezier(.16,.84,.44,1), box-shadow .35s ease, border-color .35s ease;
}
.pp-model-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px -24px rgba(0,0,0,.25); border-color: var(--gold-line); }
.pp-model-tile {
  position: relative; width: 84px; height: 84px; flex-shrink: 0; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(150deg, #16130f 0%, #241c12 60%, #2c2313 100%);
}
.pp-model-tile img { width: 100%; height: 100%; object-fit: cover; }
.pp-model-tile svg { width: 32px; height: 32px; color: var(--gold); position: relative; z-index: 1; }
.pp-model-tile::before {
  content: ''; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(circle, rgba(201,169,110,.35) 0, transparent 2px);
  background-size: 18px 18px;
}
.pp-model-body h3 { font-size: 17px; color: var(--black); margin-bottom: 8px; }
.pp-model-body p { font-size: 13.5px; color: var(--muted); line-height: 1.75; }

@media (max-width: 860px) {
  .pp-models { grid-template-columns: 1fr; }
  .pp-model-card { flex-direction: column; }
}


/* ===========================================================
   4. ICON-TILE CHECKLIST GRID (What We Provide / Grow / Portal)
=========================================================== */
.pp-tiles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1px;
  background: var(--border); max-width: 1200px; margin: 0 auto;
}
.pp-section-dark .pp-tiles-grid { background: rgba(255,255,255,.08); }
.pp-tile {
  background: #fff; padding: 28px 22px; display: flex; align-items: center; gap: 14px;
  position: relative; overflow: hidden;
}
.pp-section-dark .pp-tile { background: #111; }
.pp-tile::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.16,.84,.44,1);
}
.pp-tile:hover::after { transform: scaleX(1); }
.pp-tile-icon {
  width: 32px; height: 32px; flex-shrink: 0; color: var(--gold);
  display: flex; align-items: center; justify-content: center; transition: transform .3s ease;
}
.pp-tile:hover .pp-tile-icon { transform: scale(1.12) rotate(-4deg); }
.pp-tile-icon svg { width: 19px; height: 19px; }
.pp-tile span { font-size: 13px; color: var(--black); line-height: 1.4; }
.pp-section-dark .pp-tile span { color: rgba(255,255,255,.82); }


/* ===========================================================
   5. INVESTMENT & PARTNERSHIP PACKAGES — pricing tiers
=========================================================== */
.pp-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1080px; margin: 0 auto; align-items: center; }
.pp-tier {
  background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 44px 32px; text-align: center;
  transition: transform .4s cubic-bezier(.16,.84,.44,1), box-shadow .4s ease, border-color .4s ease;
}
.pp-tier:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -28px rgba(0,0,0,.28); border-color: var(--gold-line); }
.pp-tier-featured { background: var(--black); color: #fff; transform: scale(1.06); box-shadow: 0 30px 70px -24px rgba(0,0,0,.4); position: relative; z-index: 1; }
.pp-tier-featured:hover { transform: scale(1.06) translateY(-6px); }
.pp-tier-featured .pp-tier-desc { color: rgba(255,255,255,.72); }
.pp-tier-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 22px; display: flex; align-items: center;
  justify-content: center; background: rgba(201,169,110,.1); color: var(--gold);
}
.pp-tier-featured .pp-tier-icon { background: rgba(201,169,110,.16); }
.pp-tier-icon svg { width: 24px; height: 24px; }
.pp-tier h3 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 400; margin-bottom: 12px; }
.pp-tier-desc { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

@media (max-width: 900px) {
  .pp-tiers { grid-template-columns: 1fr; max-width: 420px; }
  .pp-tier-featured { transform: none; }
  .pp-tier-featured:hover { transform: translateY(-6px); }
}


/* ===========================================================
   6. OUR PARTNER JOURNEY — vertical scrollytelling timeline
=========================================================== */
.pp-journey { position: relative; max-width: 720px; margin: 0 auto; padding-left: 64px; }
.pp-journey-track {
  position: absolute; left: 23px; top: 4px; bottom: 4px; width: 2px; background: rgba(255,255,255,.12);
}
.pp-journey-fill {
  position: absolute; left: 23px; top: 4px; width: 2px; height: 0%; background: var(--gold);
  transition: height .12s linear;
}
.pp-journey-step { position: relative; padding-bottom: 46px; }
.pp-journey-step:last-child { padding-bottom: 0; }
.pp-journey-node {
  position: absolute; left: -64px; top: 0; width: 48px; height: 48px; border-radius: 50%;
  background: #0d0d0d; border: 1px solid rgba(201,169,110,.4); display: flex; align-items: center; justify-content: center;
  color: var(--gold); z-index: 1; transition: transform .3s ease, background .3s ease;
}
.pp-journey-step:hover .pp-journey-node { transform: scale(1.1); background: rgba(201,169,110,.15); }
.pp-journey-node svg { width: 20px; height: 20px; }
.pp-journey-body h3 { font-size: 16.5px; color: #fff; margin-bottom: 6px; }
.pp-journey-body p { font-size: 13.5px; color: rgba(255,255,255,.65); line-height: 1.75; max-width: 520px; }

@media (max-width: 600px) {
  .pp-journey { padding-left: 54px; }
  .pp-journey-track, .pp-journey-fill { left: 19px; }
  .pp-journey-node { left: -54px; width: 40px; height: 40px; }
  .pp-journey-node svg { width: 17px; height: 17px; }
}


/* ===========================================================
   7. WHO SHOULD APPLY — chip cloud
=========================================================== */
.pp-chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.pp-chip {
  font-size: 13px; letter-spacing: .02em; color: var(--black); background: #fff;
  border: 1px solid var(--border); padding: 12px 22px; border-radius: 30px;
  transition: all .25s cubic-bezier(.16,.84,.44,1); cursor: default;
}
.pp-chip:hover { border-color: var(--gold); color: var(--gold-2); transform: translateY(-3px); box-shadow: 0 10px 22px -12px rgba(0,0,0,.3); }


/* ===========================================================
   8. FAQ — grid-rows accordion
=========================================================== */
.pp-faq { max-width: 780px; margin: 0 auto; }
.pp-faq-item { border-bottom: 1px solid var(--border); }
.pp-faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  padding: 24px 4px; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; font-size: 15px; color: var(--black); font-family: inherit;
}
.pp-faq-q-text { font-weight: 500; }
.pp-faq-icon {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--gold-line); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; color: var(--gold);
  transition: transform .3s ease, background .3s ease;
}
.pp-faq-item.open .pp-faq-icon { transform: rotate(135deg); background: rgba(201,169,110,.12); }
.pp-faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.16,.84,.44,1); }
.pp-faq-item.open .pp-faq-a { grid-template-rows: 1fr; }
.pp-faq-a-inner { overflow: hidden; }
.pp-faq-a-inner p { padding: 0 4px 24px; font-size: 13.5px; color: var(--muted); line-height: 1.85; max-width: 660px; }


/* ===========================================================
   9. FINAL CTA
=========================================================== */
.pp-cta {
  position: relative; text-align: center; overflow: hidden;
  background: linear-gradient(160deg, #0d0d0d 0%, #171310 60%, #1c1610 100%); color: #fff;
}
.pp-cta::before {
  content: ''; position: absolute; inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(201,169,110,.16), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(201,169,110,.1), transparent 50%);
}
.pp-cta > .pp-container { position: relative; z-index: 1; }
.pp-cta h2 { color: #fff; margin-bottom: 18px; }
.pp-cta p { color: rgba(255,255,255,.72); font-size: 15px; line-height: 1.85; margin: 0 auto 32px; max-width: 640px; }
.pp-cta-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }


/* ===========================================================
   10. RESPONSIVE
=========================================================== */
@media (max-width: 768px) {
  .pp-hero { padding: 130px 0 84px; min-height: 620px; }
  .pp-section { padding: 72px 0; }
  .pp-section-head { margin-bottom: 40px; }
  .pp-tiers { gap: 20px; }
}
@media (max-width: 480px) {
  .pp-hero-lead { font-size: 14.5px; }
  .pp-section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  .pp-hero-ring { animation: none !important; }
  .pp-model-card, .pp-tier, .pp-journey-node, .pp-chip { transition: none !important; }
  .pp-progress-bar, .pp-journey-fill { transition: none !important; }
}
